Disable x87 inline functions for SSE2 math
[glibc.git] / ChangeLog
blob41f5d2eb896323d4247c66e05416db73d9791938
1 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
3         [BZ #16510]
4         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
5         of __x86_64__ when disabling x87 inline functions.
7 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
9         [BZ #15605]
10         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
12 2014-01-04  Maxim Kuvyrkov  <maxim@kugelworks.com>
13             Ondřej Bílka  <neleai@seznam.cz>
15         [BZ #15073]
16         * malloc/malloc.c (_int_free): Perform sanity check only if we
17         have_lock.
19 2013-11-11  David S. Miller  <davem@davemloft.net>
21         [BZ #16150]
22         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
23         symbol in the non-vis3 case in static builds.
24         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
25         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
26         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
27         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
29 2013-11-06  David S. Miller  <davem@davemloft.net>
31         [BZ #15985]
32         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
33         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
35 2013-09-06  David S. Miller  <davem@davemloft.net>
37         * po/zh_TW.po: Update Chinese (traditional) translation from
38         translation project.
40 2013-08-22  David S. Miller  <davem@davemloft.net>
42         * po/ca.po: Update Catalan translation from translation project.
43         * po/uk.po: Add Ukrainian translations from translation project.
45 2013-08-03  David S. Miller  <davem@davemloft.net>
47         * po/ko.po: Update Korean translation from translation project.
49 2013-08-01  David S. Miller  <davem@davemloft.net>
51         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
52         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
53         Bilka.
55 2013-07-30  David S. Miller  <davem@davemloft.net>
57         * po/fr.po: Update French translation from translation project.
59 2013-07-28  David S. Miller  <davem@davemloft.net>
61         * po/cs.po: Update Czech translation from translation project.
63         * po/sv.po: Update Swedish translation from translation project.
65 2013-07-27  David S. Miller  <davem@davemloft.net>
67         * po/eo.po: Update Esperanto translation from translation project.
69         * po/vi.po: Update Vietnamese translation from translation project.
71         * po/de.po: Update German translation from translation project.
73 2013-07-26  David S. Miller  <davem@davemloft.net>
75         * po/bg.po: Update Bulgarian translation from translation project.
77         * po/nl.po: Update Dutch translation from translation project.
78         * po/pl.po: Update Polish translation from translation project.
79         * po/ru.po: Update Russian translation from translation project.
81 2013-07-24  David S. Miller  <davem@davemloft.net>
83         * po/libc.pot: Update.
85 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
87         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
88         variable page size.
89         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
90         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
91         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
93 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
95         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
97 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
98             Andreas Schwab  <schwab@suse.de>
99             Roland McGrath  <roland@hack.frob.com>
100             Joseph Myers  <joseph@codesourcery.com>
101             Carlos O'Donell  <carlos@redhat.com>
103         [BZ #15755]
104         * config.h.in: Define HAVE_PT_CHOWN.
105         * config.make.in (build-pt-chown): New variable.
106         * configure.in (--enable-pt_chown): New configure option.
107         * configure: Regenerate.
108         * login/Makefile: Include Makeconfig.  Build pt_chown only if
109         build-pt-chown is enabled.
110         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
111         pt_chown to fix pty ownership.
112         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
113         CLOSE_ALL_FDS.
114         * manual/install.texi (Configuring and compiling): Mention
115         --enable-pt_chown. Add @findex for grantpt.
116         * INSTALL: Regenerate.
118 2013-07-20  David S. Miller  <davem@davemloft.net>
120         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
121         difference between 32-bit and 64-bit.
123 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
125         [BZ #15711]
126         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
127         Avoid system header dependency with -ffreestanding.
128         ($(objpfx)bits/syscall%d): Likewise.
130 2013-07-13  David S. Miller  <davem@davemloft.net>
132         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
133         underflows from atanl/atan2l due to bug 15319.
134         (casinh_test_data): Likewise.
136 2013-07-07  David S. Miller  <davem@davemloft.net>
138         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
140 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
142         * sysdeps/i386/fpu/libm-test-ulps: Update.
143         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
145 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
147         * configure.in (--enable-lock-elision): Fix message text.
148         * INSTALL: Regenerate.
149         * configure: Regenerate.
151 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
153         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
155 2013-07-03  Andreas Jaeger  <aj@suse.de>
157         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
158         define.
159         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
160         (ptrace_peeksiginfo_args): Add.
161         (__ptrace_peeksiginfo_flags): Add.
162         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
163         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
164         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
166 2013-07-03  Allan McRae  <allan@archlinux.org>
168         * sysdeps/i386/fpu/libm-test-ulps: Update.
170 2013-07-02  David S. Miller  <davem@davemloft.net>
172         * sysdeps/sparc/fpu/libm-test-ulps: Update.
174 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
176         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
178 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
180         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
181         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
183 2013-07-02  Andi Kleen <ak@linux.intel.com>
185         * config.h.in (ENABLE_LOCK_ELISION): Add.
186         * configure.in (--enable-lock-elision): Add option.
187         * manual/install.texi: Document --enable lock elision.
188         * configure: Regenerate
189         * INSTALL: Regenerate.
191 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
193         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
194         SSE4.2 strcasecmp for libc.a.
195         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
197 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
199         [BZ #13304]
200         * soft-fp/op-common.h (_FP_FMA): New macro.
201         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
202         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
203         (_FP_MUL_MEAT_1_imm): ... here.
204         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
205         (_FP_MUL_MEAT_1_wide): ... here.
206         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
207         (_FP_MUL_MEAT_1_hard): ... here.
208         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
209         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
210         (_FP_MUL_MEAT_2_wide): ... here.
211         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
212         (_FP_MUL_MEAT_2_wide_3mul): ... here.
213         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
214         (_FP_MUL_MEAT_2_gmp): ... here.
215         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
216         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
217         (_FP_MUL_MEAT_4_wide): ... here.
218         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
219         (_FP_MUL_MEAT_4_gmp): ... here.
220         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
221         (_FP_WFRACBITS_DW_S): Likewise.
222         (_FP_WFRACXBITS_DW_S): Likewise.
223         (_FP_HIGHBIT_DW_S): Likewise.
224         (FP_FMA_S): Likewise.
225         (_FP_FRAC_HIGH_DW_S): Likewise.
226         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
227         (_FP_WFRACBITS_DW_D): Likewise.
228         (_FP_WFRACXBITS_DW_D): Likewise.
229         (_FP_HIGHBIT_DW_D): Likewise.
230         (FP_FMA_D): Likewise.
231         (_FP_FRAC_HIGH_DW_D): Likewise.
232         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
233         (_FP_WFRACBITS_DW_E): Likewise.
234         (_FP_WFRACXBITS_DW_E): Likewise.
235         (_FP_HIGHBIT_DW_E): Likewise.
236         (FP_FMA_E): Likewise.
237         (_FP_FRAC_HIGH_DW_E): Likewise.
238         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
239         (_FP_WFRACBITS_DW_Q): Likewise.
240         (_FP_WFRACXBITS_DW_Q): Likewise.
241         (_FP_HIGHBIT_DW_Q): Likewise.
242         (FP_FMA_Q): Likewise.
243         (_FP_FRAC_HIGH_DW_Q): Likewise.
244         * soft-fp/fmasf4.c: New file.
245         * soft-fp/fmadf4.c: Likewise.
246         * soft-fp/fmatf4.c: Likewise.
248 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
250         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
251         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
252         Silvermont.
253         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
254         macro.
255         (index_Slow_SSE4_2): Likewise.
256         (index_Prefer_PMINUB_for_stringop): Likewise.
257         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
258         bit_Slow_SSE4_2 is set.
259         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
260         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
262 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
264         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
265         rtld_global._dl_hwcap2.
266         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
267         POWER8.
268         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
269         POWER8 feature descriptions defined in _dl_hwcap2.
270         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
271         string handling for POWER8 feature bits.
272         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
273         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
274         _dl_powerpc_cap_flags.
275         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
276         * sysdeps/powerpc/rtld-global-offsets.sym
277         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
278         _dl_hwcap2 in the rtld_global_ro structure.
280 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
282         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
283         hardware capabilities in support of AT_HWCAP2.
284         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
285         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
286         GLRO(dl_hwcap2).
287         (_dl_show_auxv): Add support for calling _dl_procinfo to display
288         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
289         explicitly the unknown a_type display mechanism is used.
290         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
291         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
292         struct member.
293         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
294         to macro prototype for AT_HWCAP2 support.
295         * sysdeps/i386/dl-procinfo.h: Likewise.
296         * sysdeps/s390/dl-procinfo.h: Likewise.
297         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
298         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
299         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
300         return -1 for unknown a_type display fallback.
301         * sysdeps/sparc/dl-procinfo.h: Likewise.
302         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
303         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
305 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
307         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
308         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
310 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
312         [BZ #12492]
313         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
314         mprotect making __stack_prot writable.
316 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
317             Joseph Myers  <joseph@codesourcery.com>
319         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
320         as being properly aligned.
322 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
324         * dlfcn/modstatic5.c: New file.
325         * dlfcn/tststatic5.c: New file.
326         * dlfcn/Makefile (tests): Add tststatic5.
327         (tests-static): Likewise.
328         (modules-names): Add modstatic5.
329         (tststatic5-ENV): New variable.
330         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
332         [BZ #15022]
333         * elf/dl-support.c (_dl_main_map): New variable.
334         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
335         (_dl_nns, _dl_load_adds): Set to 1.
336         (_dl_initial_searchlist): Refer to _dl_main_map.
337         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
338         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
339         call to _dl_get_origin.
340         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
341         around call_map.
342         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
343         * dlfcn/modstatic3.c: New file.
344         * dlfcn/tststatic3.c: New file.
345         * dlfcn/tststatic4.c: New file.
346         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
347         (tests-static): Likewise.
348         (modules-names): Add modstatic3.
349         (tststatic3-ENV, tststatic4-ENV): New variables.
350         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
351         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
353 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
355         * configure.in (CC): Require GCC version 4.4 or later.
356         * configure: Regenerated.
357         * manual/install.texi (Tools for Compilation): Update GCC version
358         requirement.
359         * INSTALL: Regenerated.
361 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
363         [BZ #15674]
364         * string/test-memcmp.c (check2): New.
365         (main): Call check2.
367         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
369 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
371         [BZ #15022]
372         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
373         over to...
374         (dl_open_worker) [!SHARED]: ... here.
376 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
378         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
380 2013-06-25  Richard Henderson  <rth@redhat.com>
382         * locale/programs/locarchive.c: Include <libc-internal.h>
384 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
386         * manual/texinfo.tex: Update to version 2013-06-21.17, with
387         trailing whitespace removed.
389 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
391         [BZ #10283]
392         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
393         * locale/programs/locarchive.c: Include libc-mmap.h.
394         (prepare_address_space): Take two new outputs (the mmap base and len).
395         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
396         values.
397         (create_archive): Declare new mmap base and len values for
398         prepare_address_space, and store the result in ah.
399         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
400         (enlarge_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         Declare new mmap base and len values for
403         prepare_address_space, and store the result in new_ah.
404         (open_archive): Declare new mmap base and len values for
405         prepare_address_space, and store the result in ah.
406         (close_archive): If ah->mmap_base is not NULL, use that and
407         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
408         * sysdeps/generic/libc-mmap.h: New file.
410 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
412         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
413         (ALIGN_UP): Likewise.
414         (PTR_ALIGN_DOWN): Likewise.
415         (PTR_ALIGN_UP): Likewise.
417 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
419         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
420         entry mapped to PPC_PLATFORM_POWER8.
421         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
422         POWER8.
423         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
424         (_dl_string_platform): Add case for exporting platform position for
425         POWER8.
426         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
427         search path to sysdeps/powerpc/powerpc32/power8 directory.
428         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
429         search path to sysdeps/powerpc/powerpc64/power8 directory.
430         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
431         power7 directories.
432         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
433         power7 directories.
435 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
437         * INSTALL: Regenerate.
439         * nscd/connections.c (nscd_init): Fix comment.
441 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
443         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
445         [BZ #15667]
446         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
447         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
449 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
451         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
452         DL_DST_REQ_STATIC.
453         (DL_DST_REQ_STATIC): Remove macro.
455 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
457         [BZ #7006]
458         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
459         with a shift of 0 bits.
461 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
463         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
464         $(tststatic-ENV).
466 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
468         [BZ #15655]
469         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
471 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
473         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
474         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
475         accepts -fno-tree-loop-distribute-patterns.
476         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
477         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
478         recursive call.
479         * string/memset.c (memset): Likewise.
480         * string/test-memmove.c (simple_memmove): Disable loop transformation
481         to library calls.
482         * string/test-memset.c (simple_memset): Likewise.
483         * benchtests/bench-memmove.c (simple_memmove): Likewise.
484         * benchtests/bench-memset.c (simple_memset): Likewise.
485         * configure: Regenerated.
487 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
489         * math/test-misc.c (main): Ignore fesetround failure when failures
490         of subsequent rounding tests would be ignored.
492         [BZ #15654]
493         * math/fedisblxcpt.c (fedisableexcept): Return 0.
494         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
495         * math/fegetenv.c (__fegetenv): Return 0.
496         * math/fegetexcept.c (fegetexcept): Return 0.
497         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
498         FE_TONEAREST.
499         * math/feholdexcpt.c (feholdexcept): Return 0.
500         * math/fesetenv.c (__fesetenv): Return 0.
501         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
502         argument FE_TONEAREST.
503         * math/feupdateenv.c (__feupdateenv): Return 0.
504         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
506 2013-06-18  Roland McGrath  <roland@hack.frob.com>
508         * elf/rtld-Rules (rtld-compile-command.S): New variable.
509         (rtld-compile-command.s, rtld-compile-command.c): New variables.
510         ($(objpfx)rtld-%.os rules): Use them.
512 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
514         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
515         fields.
517 2013-06-17  Roland McGrath  <roland@hack.frob.com>
519         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
520         length of target pattern, then descending length of dependency pattern.
521         * configure.in (AWK): Require gawk 3.1.2 or newer.
522         * manual/install.texi (Tools for Compilation): Say that we do.
523         * configure: Regenerated.
525         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
526         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
527         * scripts/sysd-rules.awk: ... this new script.
528         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
529         than a glob-style pattern.
531 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
533         * math/test-misc.c (main): Do not treat incorrectly rounded
534         conversions as failure unless ROUNDING_TESTS passes.
536 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
538         [BZ #15631]
539         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
540         restore exception state around main square root computation, then
541         check for inexactness explicitly.
543         * math/libm-test.inc (fma_test_data): Add another test.
545 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
547         * manual/threads.texi (Non-POSIX Extensions): New document
548         node.  Document pthread_getattr_default_np and
549         pthread_setattr_default_np.
551         * Versions.def (libpthread): Add GLIBC_2.18.
552         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
553         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
554         Likewise.
555         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
556         Likewise.
557         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
558         Likewise.
559         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
560         Likewise.
561         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
562         Likewise.
563         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
564         Likewise.
565         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
566         Likewise.
567         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
568         Likewise.
569         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
570         Likewise.
572 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
574         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
575         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
577 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
578             H.J. Lu  <hjl.tools@gmail.com>
580         [BZ #15627]
581         * sysdeps/x86_64/rtld-memset.c: Remove file.
582         * sysdeps/x86_64/rtld-memset.S: New file.
584 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
586         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
587         (test_in_one_mode): Take arguments for whether the rounding mode
588         is supported for each floating-point type.
589         (do_test): Pass new arguments to test_in_one_mode using
590         ROUNDING_TESTS.
592 2013-06-13  Roland McGrath  <roland@hack.frob.com>
594         * posix/tst-waitid.c (do_test): Distinguish different instances of
595         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
596         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
597         before entering the kernel for waitpid.
599 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
601         * NEWS: Fix note on clock function precision.  Text by Roland
602         McGrath.
604 2013-06-13  Roland McGrath  <roland@hack.frob.com>
606         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
607         it into place only when and if the sanity check passes.
609 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
611         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
612         output for whether conversion result is exact.  Take argument
613         indicating whether type is IBM long double.
614         (round_for_all): Change need_exact field to ibm_ld.
615         * stdlib/tst-strtod-round.c (struct exactness): New type.
616         (struct test): Change bool ld_ok field to struct exactness exact.
617         (TEST): Update all definitions for change to field.
618         (tests): Regenerate array contents.
619         (test_in_one_mode): Take pointer to new field instead of old ld_ok
620         field value.  Check for IBM long double here.
621         (do_test): Update calls to test_in_one_mode.
623 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
625         [BZ #12515]
626         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
627         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
629 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
631         [BZ #15605]
632         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
633         generated by the compiler on loop optimizations.
634         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
635         general definitions.
637 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
639         * math/bug-nextafter.c: Include <math-tests.h>.
640         (main): Only test for exceptions if EXCEPTION_TESTS is true for
641         the relevant type.
642         * math/bug-nexttoward.c: Include <math-tests.h>.
643         (main): Only test for exceptions if EXCEPTION_TESTS is true for
644         the relevant type.
645         * math/test-misc.c: Include <math-tests.h>.
646         (main): Only test for exceptions if EXCEPTION_TESTS is true for
647         the relevant type.
649 2013-06-12  Andreas Jaeger  <aj@suse.de>
651         * po/ia.po: Update Interlingua translation from translation
652         project.
654 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
656         * include/fenv.h: Include stdbool.h.
657         (struct rm_ctx): New structure.
658         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
659         Define macro.
660         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
661         (SET_RESTORE_ROUNDF): Likewise.
662         (SET_RESTORE_ROUNDL): Likewise.
663         (SET_RESTORE_ROUND_NOEX): Likewise.
664         (SET_RESTORE_ROUND_NOEXF): Likewise.
665         (SET_RESTORE_ROUND_NOEXL): Likewise.
666         (SET_RESTORE_ROUND_53BIT): Likewise.
667         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
668         (libc_feresetround_noexf_ctx): Likewise.
669         (libc_feresetround_noexl_ctx): Likewise.
670         (libc_feholdsetround_53bit_ctx): Likewise.
671         (libc_feresetround_53bit_ctx): Likewise.
672         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
673         (libc_feholdexcept_setround_sse_ctx): New function.
674         (libc_fesetenv_sse_ctx): Likewise.
675         (libc_feupdateenv_sse_ctx): Likewise.
676         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
677         (libc_feholdexcept_setround_387_ctx): Likewise.
678         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
679         (libc_feholdsetround_387_prec_ctx): Likewise.
680         (libc_feholdsetround_387_ctx): Likewise.
681         (libc_feholdsetround_387_53bit_ctx): Likewise.
682         (libc_feholdsetround_sse_ctx): Likewise.
683         (libc_feresetround_sse_ctx): Likewise.
684         (libc_feresetround_387_ctx): Likewise.
685         (libc_feupdateenv_387_ctx): Likewise.
686         (libc_feholdexcept_setroundf_ctx): Define macro.
687         (libc_fesetenvf_ctx): Likewise.
688         (libc_feupdateenvf_ctx): Likewise.
689         (libc_feholdsetroundf_ctx): Likewise.
690         (libc_feresetroundf_ctx): Likewise.
691         (libc_feholdexcept_setround_ctx): Likewise.
692         (libc_fesetenv_ctx): Likewise.
693         (libc_feupdateenv_ctx): Likewise.
694         (libc_feholdsetround_ctx): Likewise.
695         (libc_feresetround_ctx): Likewise.
696         (libc_feholdexcept_setroundl_ctx): Likewise.
697         (libc_feupdateenvl_ctx): Likewise.
698         (libc_feholdsetroundl_ctx): Likewise.
699         (libc_feresetroundl_ctx): Likewise.
700         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
701         (libc_feresetround_53bit_ctx): Likewise.
703 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
705         * locale/iso-639.def: Convert to UTF-8.
707 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
709         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
710         (EXCEPTION_TESTS_double): Likewise.
711         (EXCEPTION_TESTS_long_double): Likewise.
712         (EXCEPTION_TESTS): Likewise.
713         * math/libm-test.inc (test_exceptions): Only test exceptions if
714         EXCEPTION_TESTS (FLOAT).
716 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
718         * benchtests/Makefile (string-bench): Add strcpy_chk and
719         stpcpy_chk.
720         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
721         * benchtests/bench-stpcpy_chk.c: New file.
722         * benchtests/bench-strcpy_chk-ifunc.c: New file.
723         * benchtests/bench-strcpy_chk.c: New file.
724         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
725         code.
726         (do_test): Likewise.
728 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
730         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
731         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
732         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
733         with tabs where appropriate.
734         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
735         dl-procinfo.h.
736         [PPC_PLATFORM_PPC440]: Likewise.
737         [PPC_PLATFORM_PPC464]: Likewise.
738         [PPC_PLATFORM_PPC476]: Likewise.
739         (_dl_string_platform): Add support for detecting ppc405, ppc440,
740         ppc464, and ppc476 platform strings merging from ports/
741         dl-procinfo.h.
743 2013-06-11  Andreas Schwab  <schwab@suse.de>
745         [BZ #14991]
746         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
747         (from_ucs4_idx): Regenerate.
748         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
749         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
750         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
751         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
752         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
753         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
754         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
755         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
756         from FROM_LOOP and TO_LOOP specific macros.
757         (BODY): Handle combining characters.
758         * iconvdata/BIG5HKSCS.irreversible: Update.
759         * iconvdata/BIG5HKSCS.precomposed: New file.
760         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
761         characters.
762         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
764 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
766         * include/sys/time.h: Fix indentation and add copyright header.
768         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
769         (do_test): Likewise.
770         * string/test-memchr.c (do_one_test): Likewise.
771         (do_test): Likewise.
772         * string/test-memcmp.c (do_one_test): Likewise.
773         (do_test): Likewise.
774         * string/test-memcpy.c (do_one_test): Likewise.
775         (do_test): Likewise.
776         * string/test-memmem.c (do_one_test): Likewise.
777         (do_test): Likewise.
778         (do_random_tests): Likewise.
779         * string/test-memmove.c (do_one_test): Likewise.
780         (do_test): Likewise.
781         * string/test-memset.c (do_one_test): Likewise.
782         (do_test): Likewise.
783         * string/test-rawmemchr.c (do_one_test): Likewise.
784         (do_test): Likewise.
785         * string/test-strcasecmp.c (do_one_test): Likewise.
786         (do_test): Likewise.
787         * string/test-strcasestr.c (do_one_test): Likewise.
788         (do_test): Likewise.
789         * string/test-strcat.c (do_one_test): Likewise.
790         (do_test): Likewise.
791         * string/test-strchr.c (do_one_test): Likewise.
792         (do_test): Likewise.
793         * string/test-strcmp.c (do_one_test): Likewise.
794         (do_test): Likewise.
795         * string/test-strcpy.c (do_one_test): Likewise.
796         (do_test): Likewise.
797         * string/test-string.h: Likewise.
798         (test_init): Likewise.
799         * string/test-strlen.c (do_one_test): Likewise.
800         (do_test): Likewise.
801         * string/test-strncasecmp.c (do_one_test): Likewise.
802         (do_test): Likewise.
803         * string/test-strncat.c (do_one_test): Likewise.
804         (do_test): Likewise.
805         * string/test-strncmp.c (do_one_test): Likewise.
806         (do_test_limit): Likewise.
807         (do_test): Likewise.
808         * string/test-strncpy.c (do_one_test): Likewise.
809         (do_test): Likewise.
810         * string/test-strnlen.c (do_one_test): Likewise.
811         (do_test): Likewise.
812         * string/test-strpbrk.c (do_one_test): Likewise.
813         (do_test): Likewise.
814         * string/test-strrchr.c (do_one_test): Likewise.
815         (do_test): Likewise.
816         * string/test-strspn.c (do_one_test): Likewise.
817         (do_test): Likewise.
818         * string/test-strstr.c (do_one_test): Likewise.
819         (do_test): Likewise.
821         * benchtests/Makefile (string-bench): Add string benchmarks.
822         * benchtests/bench-bcopy-ifunc.c: New file.
823         * benchtests/bench-bcopy.c: New file.
824         * benchtests/bench-bzero-ifunc.c: New file.
825         * benchtests/bench-bzero.c: New file.
826         * benchtests/bench-memccpy-ifunc.c: New file.
827         * benchtests/bench-memccpy.c: New file.
828         * benchtests/bench-memchr-ifunc.c: New file.
829         * benchtests/bench-memchr.c: New file.
830         * benchtests/bench-memcmp-ifunc.c: New file.
831         * benchtests/bench-memcmp.c: New file.
832         * benchtests/bench-memmem-ifunc.c: New file.
833         * benchtests/bench-memmem.c: New file.
834         * benchtests/bench-memmove-ifunc.c: New file.
835         * benchtests/bench-memmove.c: New file.
836         * benchtests/bench-mempcpy-ifunc.c: New file.
837         * benchtests/bench-mempcpy.c: New file.
838         * benchtests/bench-memset-ifunc.c: New file.
839         * benchtests/bench-memset.c: New file.
840         * benchtests/bench-rawmemchr-ifunc.c: New file.
841         * benchtests/bench-rawmemchr.c: New file.
842         * benchtests/bench-stpcpy-ifunc.c: New file.
843         * benchtests/bench-stpcpy.c: New file.
844         * benchtests/bench-stpncpy-ifunc.c: New file.
845         * benchtests/bench-stpncpy.c: New file.
846         * benchtests/bench-strcasecmp-ifunc.c: New file.
847         * benchtests/bench-strcasecmp.c: New file.
848         * benchtests/bench-strcasestr-ifunc.c: New file.
849         * benchtests/bench-strcasestr.c: New file.
850         * benchtests/bench-strcat-ifunc.c: New file.
851         * benchtests/bench-strcat.c: New file.
852         * benchtests/bench-strchr-ifunc.c: New file.
853         * benchtests/bench-strchr.c: New file.
854         * benchtests/bench-strchrnul-ifunc.c: New file.
855         * benchtests/bench-strchrnul.c: New file.
856         * benchtests/bench-strcmp-ifunc.c: New file.
857         * benchtests/bench-strcmp.c: New file.
858         * benchtests/bench-strcpy-ifunc.c: New file.
859         * benchtests/bench-strcpy.c: New file.
860         * benchtests/bench-strcspn-ifunc.c: New file.
861         * benchtests/bench-strcspn.c: New file.
862         * benchtests/bench-strlen-ifunc.c: New file.
863         * benchtests/bench-strlen.c: New file.
864         * benchtests/bench-strncasecmp-ifunc.c: New file.
865         * benchtests/bench-strncasecmp.c: New file.
866         * benchtests/bench-strncat-ifunc.c: New file.
867         * benchtests/bench-strncat.c: New file.
868         * benchtests/bench-strncmp-ifunc.c: New file.
869         * benchtests/bench-strncmp.c: New file.
870         * benchtests/bench-strncpy-ifunc.c: New file.
871         * benchtests/bench-strncpy.c: New file.
872         * benchtests/bench-strnlen-ifunc.c: New file.
873         * benchtests/bench-strnlen.c: New file.
874         * benchtests/bench-strpbrk-ifunc.c: New file.
875         * benchtests/bench-strpbrk.c: New file.
876         * benchtests/bench-strrchr-ifunc.c: New file.
877         * benchtests/bench-strrchr.c: New file.
878         * benchtests/bench-strspn-ifunc.c: New file.
879         * benchtests/bench-strspn.c: New file.
880         * benchtests/bench-strstr-ifunc.c: New file.
881         * benchtests/bench-strstr.c: New file.
883         * benchtests/Makefile: Disable parallel execution of targets.
884         (string-bench): Add memcpy.
885         (benchset): New variable to store a list of benchmark sets.
886         (bench-func): Renamed from bench.
887         (bench-set): New target.
888         (bench): Depend on bench-func and bench-set.
889         * benchtests/README: Add section on benchmark sets.
890         * benchtests/bench-memcpy-ifunc.c: New file.
891         * benchtests/bench-memcpy.c: New file.
892         * benchtests/bench-string.h: New file.
894 2013-06-11  Andreas Schwab  <schwab@suse.de>
896         [BZ #15577]
897         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
898         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
899         values in the triple.
900         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
901         terminator in the group key.
903 2013-06-11  Andreas Jaeger  <aj@suse.de>
905         * po/zh_TW.po: Update Chinese (traditional) translation from
906         translation project.
908 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
910         * include/time.h (__clock_gettime): Add libc_hidden_proto.
911         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
912         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
913         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
914         (clock_getcpuclockid): Likewise.
915         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
916         Add weak_alias and libc_hidden_def.
917         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
918         * rt/clock_gettime.c (clock_gettime): Rename to
919         __clock_gettime.  Add weak_alias and libc_hidden_def.
920         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
921         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
922         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
923         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
924         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
925         Likewise.
926         * rt/clock_settime.c (clock_settime): Rename to
927         __clock_settime.  Add weak_alias and libc_hidden_def.
928         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
930 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
932         * mach/err_boot.sub: Remove trailing whitespace.
933         * mach/err_ipc.sub: Likewise.
934         * mach/err_mach.sub: Likewise.
936         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
937         (ROUNDING_TESTS_double): Likewise.
938         (ROUNDING_TESTS_long_double): Likewise.
939         (ROUNDING_TESTS): Likewise.
940         * math/libm-test.inc: Include <math-tests.h>.
941         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
942         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
943         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
944         (IF_ROUND_INIT_FE_UPWARD): Likewise.
946 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
948         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
949         of assigning.
951 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
953         * sysdeps/gnu/errlist.awk: Do not generate space at end of
954         otherwise empty TRANS lines.
955         * sysdeps/gnu/errlist.c: Regenerated.
957         * catgets/gencat.c (error_print): Use (void) in function
958         definition.
959         * crypt/crypt_util.c (__init_des): Likewise.
960         * crypt/speeds.c (Stop): Likewise.
961         (main): Likewise.
962         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
963         * inet/ruserpass.c (token): Likewise.
964         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
965         * intl/localealias.c (extend_alias_table): Likewise.
966         * intl/plural-exp.c (init_germanic_plural): Likewise.
967         * libio/fcloseall.c (__fcloseall): Likewise.
968         * libio/genops.c (_IO_flush_all): Likewise.
969         (_IO_flush_all_linebuffered): Likewise.
970         (_IO_cleanup): Likewise.
971         (_IO_iter_begin): Likewise.
972         (_IO_iter_end): Likewise.
973         (_IO_list_lock): Likewise.
974         (_IO_list_unlock): Likewise.
975         (_IO_list_resetlock): Likewise.
976         * libio/getchar.c (getchar): Likewise.
977         * libio/getchar_u.c (getchar_unlocked): Likewise.
978         * libio/getwchar.c (getwchar): Likewise.
979         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
980         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
981         * login/getpt.c (__getpt): Likewise.
982         * login/tst-utmp.c (main): Likewise.
983         * malloc/hooks.c (__malloc_check_init): Likewise.
984         * malloc/malloc.c (__malloc_stats): Likewise.
985         * malloc/mtrace.c (tr_break): Likewise.
986         (mtrace): Likewise.
987         (muntrace): Likewise.
988         * misc/fstab.c (endfsent): Likewise.
989         * misc/getclktck.c (__getclktck): Likewise.
990         * misc/getdtsz.c (__getdtablesize): Likewise.
991         * misc/gethostid.c (gethostid): Likewise.
992         * misc/getpagesize.c (__getpagesize): Likewise.
993         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
994         (__get_nprocs): Likewise.
995         (__get_phys_pages): Likewise.
996         (__get_avphys_pages): Likewise.
997         * misc/getttyent.c (getttyent): Likewise.
998         (setttyent): Likewise.
999         (endttyent): Likewise.
1000         * misc/getusershell.c (getusershell): Likewise.
1001         (endusershell): Likewise.
1002         (setusershell): Likewise.
1003         (initshells): Likewise.
1004         * misc/hsearch.c (__hdestroy): Likewise.
1005         * misc/sync.c (sync): Likewise.
1006         * misc/syslog.c (closelog_internal): Likewise.
1007         (closelog): Likewise.
1008         * misc/ttyslot.c (ttyslot): Likewise.
1009         * misc/vhangup.c (vhangup): Likewise.
1010         * posix/fork.c (__fork): Likewise.
1011         * posix/getegid.c (__getegid): Likewise.
1012         * posix/geteuid.c (__geteuid): Likewise.
1013         * posix/getgid.c (__getgid): Likewise.
1014         * posix/getpid.c (__getpid): Likewise.
1015         * posix/getppid.c (__getppid): Likewise.
1016         * posix/getuid.c (__getuid): Likewise.
1017         * posix/pause.c (pause): Likewise.
1018         * posix/setpgrp.c (setpgrp): Likewise.
1019         * posix/setsid.c (__setsid): Likewise.
1020         * posix/test-vfork.c (noop): Likewise.
1021         * resolv/gethnamaddr.c (_endhtent): Likewise.
1022         (_gethtent): Likewise.
1023         (ht_endhostent): Likewise.
1024         (gethostent): Likewise.
1025         (dns_service): Likewise.
1026         * stdlib/drand48.c (drand48): Likewise.
1027         * stdlib/lrand48.c (lrand48): Likewise.
1028         * stdlib/mrand48.c (mrand48): Likewise.
1029         * stdlib/rand.c (rand): Likewise.
1030         * stdlib/random.c (__random): Likewise.
1031         * stdlib/setenv.c (clearenv): Likewise.
1032         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
1033         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
1034         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
1035         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
1036         (__get_nprocs): Likewise.
1037         (__get_phys_pages): Likewise.
1038         (__get_avphys_pages): Likewise.
1039         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
1040         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
1041         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
1042         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
1043         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
1044         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
1045         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
1046         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
1047         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
1048         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
1049         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
1050         * sysdeps/mach/hurd/sync.c (sync): Likewise.
1051         * sysdeps/posix/clock.c (clock): Likewise.
1052         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
1053         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
1054         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
1055         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
1056         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
1057         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
1058         (__get_nprocs_conf): Likewise.
1059         (__get_phys_pages): Likewise.
1060         (__get_avphys_pages): Likewise.
1061         * time/clock.c (clock): Likewise.
1062         * time/tzset.c (__tzname_max): Likewise.
1064 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
1066         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
1067         (__bswap_32): Do not use "register".
1068         * crypt/crypt.c (_ufc_doit_r): Likewise.
1069         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
1070         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
1071         * gmon/gmon.c (__monstartup): Likewise.
1072         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
1073         * hurd/hurdmalloc.c (more_memory): Likewise.
1074         (malloc): Likewise.
1075         (free): Likewise.
1076         (realloc): Likewise.
1077         (malloc_fork_prepare): Likewise.
1078         (malloc_fork_parent): Likewise.
1079         (malloc_fork_child): Likewise.
1080         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
1081         (_svcauth_des): Likewise.
1082         * inet/inet_lnaof.c (inet_lnaof): Likewise.
1083         * inet/inet_net.c (inet_network): Likewise.
1084         * inet/inet_netof.c (inet_netof): Likewise.
1085         * inet/rcmd.c (__validuser2_sa): Likewise.
1086         * io/fts.c (fts_open): Likewise.
1087         (fts_load): Likewise.
1088         (fts_close): Likewise.
1089         (fts_read): Likewise.
1090         (fts_children): Likewise.
1091         (fts_build): Likewise.
1092         (fts_stat): Likewise.
1093         (fts_sort): Likewise.
1094         (fts_alloc): Likewise.
1095         (fts_lfree): Likewise.
1096         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
1097         (_IO_file_xsgetn): Likewise.
1098         (_IO_file_xsgetn_mmap): Likewise.
1099         * libio/iofopncook.c (_IO_cookie_read): Likewise.
1100         (_IO_cookie_write): Likewise.
1101         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
1102         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
1103         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
1104         * malloc/obstack.c (_obstack_begin): Likewise.
1105         (_obstack_begin_1): Likewise.
1106         (_obstack_newchunk): Likewise.
1107         (_obstack_allocated_p): Likewise.
1108         (obstack_free): Likewise.
1109         (_obstack_memory_used): Likewise.
1110         * misc/getttyent.c (getttynam): Likewise.
1111         (getttyent): Likewise.
1112         (skip): Likewise.
1113         (value): Likewise.
1114         * misc/getusershell.c (initshells): Likewise.
1115         * misc/syslog.c (__vsyslog_chk): Likewise.
1116         * misc/ttyslot.c (ttyslot): Likewise.
1117         * nis/nis_hash.c (__nis_hash): Likewise.
1118         * posix/fnmatch_loop.c (FCT): Likewise.
1119         * posix/getconf.c (print_all): Likewise.
1120         (main): Likewise.
1121         * posix/getopt.c (exchange): Likewise.
1122         * posix/glob.c (globfree): Likewise.
1123         (prefix_array): Likewise.
1124         (__glob_pattern_type): Likewise.
1125         * resolv/arpa/nameser.h (NS_GET16): Likewise.
1126         (NS_GET32): Likewise.
1127         (NS_PUT16): Likewise.
1128         (NS_PUT32): Likewise.
1129         * resolv/gethnamaddr.c (getanswer): Likewise.
1130         (gethostbyname2): Likewise.
1131         (gethostbyaddr): Likewise.
1132         (_gethtent): Likewise.
1133         (_gethtbyname2): Likewise.
1134         (_gethtbyaddr): Likewise.
1135         * resolv/ns_print.c (dst_s_get_int16): Likewise.
1136         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
1137         * resolv/res_init.c (__res_vinit): Likewise.
1138         (net_mask): Likewise.
1139         * resolv/res_mkquery.c (outchar): Likewise.
1140         (PRINT): Likewise.
1141         * stdio-common/printf_fp.c (outchar): Likewise.
1142         (PRINT): Likewise.
1143         * stdio-common/printf_fphex.c (outchar): Likewise.
1144         (PRINT): Likewise.
1145         * stdio-common/printf_size.c (outchar): Likewise.
1146         (PRINT): Likewise.
1147         * stdio-common/test_rdwr.c (main): Likewise.
1148         * stdio-common/tfformat.c (matches): Likewise.
1149         * stdio-common/vfprintf.c (outchar): Likewise.
1150         (printf_unknown): Likewise.
1151         (buffered_vfprintf): Likewise.
1152         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
1153         * stdio-common/xbug.c (AppendToBuffer): Likewise.
1154         (ReadFile): Likewise.
1155         * stdlib/qsort.c (SWAP): Likewise.
1156         (_quicksort): Likewise.
1157         * stdlib/setenv.c (__add_to_environ): Likewise.
1158         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
1159         * stdlib/strtol_l.c (__strtol_l): Likewise.
1160         * stdlib/tst-strtod.c (main): Likewise.
1161         * stdlib/tst-strtol.c (main): Likewise.
1162         * stdlib/tst-strtoll.c (main): Likewise.
1163         * string/bits/string2.h (__strcmp_cc): Likewise.
1164         (__strcmp_cg): Likewise.
1165         (__strcspn_c1): Likewise.
1166         (__strcspn_c2): Likewise.
1167         (__strcspn_c3): Likewise.
1168         (__strspn_c1): Likewise.
1169         (__strspn_c2): Likewise.
1170         (__strspn_c3): Likewise.
1171         (__strsep_1c): Likewise.
1172         (__strsep_2c): Likewise.
1173         (__strsep_3c): Likewise.
1174         * string/memccpy.c (__memccpy): Likewise.
1175         * string/stpcpy.c (__stpcpy): Likewise.
1176         * string/strcmp.c (strcmp): Likewise.
1177         * string/strrchr.c (strrchr): Likewise.
1178         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
1179         Likewise.
1180         * sysdeps/mach/hurd/getcwd.c
1181         (_hurd_canonicalize_directory_name_internal): Likewise.
1182         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
1183         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
1184         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
1185         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
1186         Likewise, in both definitions.
1187         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
1188         definitions.
1189         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
1190         64] (__bswap_64): Likewise.
1191         * time/test_time.c (main): Likewise.
1192         * time/tzfile.c (__tzfile_read): Likewise.
1193         (__tzfile_compute): Likewise.
1194         * time/tzset.c (__tzset_parse_tz): Likewise.
1195         (tzset_internal): Likewise.
1196         (compute_change): Likewise.
1197         * wcsmbs/wcscat.c (__wcscat): Likewise.
1198         * wcsmbs/wcschr.c (wcschr): Likewise.
1199         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
1200         * wcsmbs/wcscspn.c (wcscspn): Likewise.
1201         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
1202         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
1203         * wcsmbs/wcsspn.c (wcsspn): Likewise.
1204         * wcsmbs/wcsstr.c (wcsstr): Likewise.
1205         * wcsmbs/wmemchr.c (wmemchr): Likewise.
1206         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
1207         * wcsmbs/wmemset.c (wmemset): Likewise.
1209 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
1211         * scripts/config.guess: Update to version 2013-05-16.
1212         * scripts/config.sub: Update to version 2013-04-24.
1213         * scripts/install-sh: Update to version 2011-11-20.07.
1214         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
1215         * scripts/move-if-change: Update to version 2012-01-06 07:23.
1217 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
1219         * debug/fgetws_u_chk.c: Fix leading whitespaces.
1220         * elf/sln.c: Likewise.
1221         * hurd/hurd/ioctl.h: Likewise.
1222         * hurd/hurdmalloc.c: Likewise.
1223         * hurd/xattr.c: Likewise.
1224         * include/shlib-compat.h: Likewise.
1225         * inet/ruserpass.c: Likewise.
1226         * libio/iofgets_u.c: Likewise.
1227         * libio/iofgetws_u.c: Likewise.
1228         * locale/programs/ld-identification.c: Likewise.
1229         * locale/programs/ld-time.c: Likewise.
1230         * mach/msg-destroy.c: Likewise.
1231         * nss/nss_files/files-netgrp.c: Likewise.
1232         * resolv/res_data.c: Likewise.
1233         * soft-fp/op-1.h: Likewise.
1234         * soft-fp/op-2.h: Likewise.
1235         * soft-fp/op-4.h: Likewise.
1236         * soft-fp/op-common.h: Likewise.
1237         * stdio-common/printf_fphex.c: Likewise.
1238         * stdlib/strtod_l.c: Likewise.
1239         * sunrpc/rpc/clnt.h: Likewise.
1240         * sysdeps/generic/framestate.c: Likewise.
1241         * sysdeps/i386/bsd-_setjmp.S: Likewise.
1242         * sysdeps/i386/bsd-setjmp.S: Likewise.
1243         * sysdeps/i386/__longjmp.S: Likewise.
1244         * sysdeps/i386/setjmp.S: Likewise.
1245         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
1246         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
1247         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
1248         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
1249         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
1250         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
1251         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
1252         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
1253         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
1254         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
1255         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
1256         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
1257         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
1258         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
1259         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
1260         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
1261         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
1262         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
1263         * sysdeps/ieee754/support.c: Likewise.
1264         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
1265         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
1266         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
1267         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
1268         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
1269         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
1270         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
1271         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
1272         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
1273         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
1274         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
1275         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
1276         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
1277         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
1278         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
1279         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
1280         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
1281         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
1283 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
1285         * posix/transbug.c: Remove executable mode.
1287 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
1289         * crypt/speeds.c: Remove trailing whitespace.
1290         * dlfcn/default.c: Likewise.
1291         * elf/ifuncdep2.c: Likewise.
1292         * elf/ifuncmain1.c: Likewise.
1293         * elf/ifuncmain1vis.c: Likewise.
1294         * elf/testobj.h: Likewise.
1295         * elf/tst-stackguard1.c: Likewise.
1296         * gmon/sys/gmon.h: Likewise.
1297         * hurd/hurdmsg.c: Likewise.
1298         * hurd/new-fd.c: Likewise.
1299         * hurd/ports-get.c: Likewise.
1300         * iconvdata/ibm1008_420.c: Likewise.
1301         * inet/tst-getni1.c: Likewise.
1302         * inet/tst-getni2.c: Likewise.
1303         * libio/ioungetc.c: Likewise.
1304         * libio/wfiledoalloc.c: Likewise.
1305         * manual/libm-err-tab.pl: Likewise.
1306         * math/w_dremf.c: Likewise.
1307         * misc/ftruncate.c: Likewise.
1308         * posix/bug-glob2.c: Likewise.
1309         * posix/tst-pcre.c: Likewise.
1310         * posix/wait4.c: Likewise.
1311         * resolv/README: Likewise.
1312         * resolv/res_debug.h: Likewise.
1313         * resolv/tst-inet_ntop.c: Likewise.
1314         * setjmp/bug269-setjmp.c: Likewise.
1315         * soft-fp/extended.h: Likewise.
1316         * soft-fp/op-1.h: Likewise.
1317         * soft-fp/op-2.h: Likewise.
1318         * soft-fp/op-4.h: Likewise.
1319         * soft-fp/op-8.h: Likewise.
1320         * soft-fp/testit.c: Likewise.
1321         * stdio-common/bug16.c: Likewise.
1322         * stdlib/random.c: Likewise.
1323         * sunrpc/rpcsvc/rquota.x: Likewise.
1324         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
1325         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
1326         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
1327         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
1328         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
1329         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
1330         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
1331         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
1332         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
1333         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
1334         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
1335         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
1336         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
1337         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
1338         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
1339         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
1340         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
1341         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
1342         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
1343         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
1344         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
1345         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
1346         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
1347         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
1348         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
1349         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
1350         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
1351         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
1352         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
1353         * sysdeps/ieee754/s_lib_version.c: Likewise.
1354         * sysdeps/mach/hurd/check_fds.c: Likewise.
1355         * sysdeps/mach/hurd/getsockname.c: Likewise.
1356         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
1357         * sysdeps/mach/hurd/recvfrom.c: Likewise.
1358         * sysdeps/powerpc/bits/link.h: Likewise.
1359         * sysdeps/powerpc/dl-procinfo.c: Likewise.
1360         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
1361         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
1362         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
1363         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
1364         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
1365         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
1366         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
1367         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
1368         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
1369         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
1370         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
1371         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
1372         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
1373         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
1374         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
1375         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
1376         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
1377         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
1378         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
1379         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
1380         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
1381         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
1382         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
1383         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
1384         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
1385         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
1386         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
1387         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
1388         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
1389         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
1390         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
1391         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
1392         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
1393         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
1394         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
1395         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
1396         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
1397         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
1398         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
1399         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
1400         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
1401         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
1402         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
1403         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
1404         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
1405         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
1406         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
1407         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
1408         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
1409         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
1410         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1411         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
1412         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
1413         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
1414         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
1415         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
1416         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
1417         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
1418         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
1419         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
1420         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
1421         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
1422         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
1423         * sysdeps/powerpc/sysdep.h: Likewise.
1424         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
1425         * sysdeps/s390/s390-64/sub_n.S: Likewise.
1426         * sysdeps/sh/dl-trampoline.S: Likewise.
1427         * sysdeps/sh/memset.S: Likewise.
1428         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
1429         * sysdeps/sh/strlen.S: Likewise.
1430         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
1431         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
1432         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
1433         * sysdeps/sparc/sparc32/rem.S: Likewise.
1434         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
1435         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
1436         * sysdeps/sparc/sparc32/strchr.S: Likewise.
1437         * sysdeps/sparc/sparc32/udiv.S: Likewise.
1438         * sysdeps/sparc/sparc32/urem.S: Likewise.
1439         * sysdeps/sparc/sparc64/add_n.S: Likewise.
1440         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
1441         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
1442         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
1443         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
1444         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
1445         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
1446         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
1447         * sysdeps/unix/bsd/times.c: Likewise.
1448         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
1449         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
1450         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
1451         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
1452         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
1453         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
1454         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
1455         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
1456         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
1457         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
1458         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
1459         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
1460         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
1461         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
1462         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
1463         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
1464         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
1465         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
1466         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
1467         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
1468         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
1469         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
1470         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
1471         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
1472         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
1473         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
1474         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
1475         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
1476         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
1477         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
1478         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
1479         * sysdeps/x86_64/strcspn.S: Likewise.
1481 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
1483         * locale/C-translit.h: Revert #include <stdint.h> because this is a
1484         generated file.  Regenerate properly from gen-translit.pl.
1485         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
1486         locale/C-translit.h.
1488 2013-06-05  Andreas Schwab  <schwab@suse.de>
1490         [BZ #15100]
1491         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
1492         week as 6 instead of -1.
1493         * time/tst-strptime.c (day_tests): Add test case.
1495 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
1497         * sysdeps/generic/math_private.h
1498         (libc_feholdexcept_setround_53bit): Replace with
1499         libc_feholdsetround_53bit.
1500         (libc_feupdateenv_53bit): Replace with
1501         libc_feresetround_53bit.
1502         (SET_RESTORE_ROUND_53BIT): Adjust.
1504 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
1506         * string/test-strchrnul.c: Add copyright header.
1508         * posix/tst-getaddrinfo4.c: Increase test timeout.
1510 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
1512         [BZ #15536]
1513         * math/libm-test.inc (MAX_EXP): Remove
1514         (MIN_EXP): Define.
1515         (ulp): Use MIN_EXP - MANT_DIG.
1516         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
1518 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
1520         * po/be.po: Revert last change.
1521         * po/zh_CN.po: Likewise.
1522         * po/header.pot: Likewise.
1524 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
1526         * Makefile ($(common-objpfx)linkobj/libc.so): Define
1527         link-libc-deps to empty as target-specific variable.
1528         * Makerules (link-libc-args): New variable.
1529         (libc-for-link): Likewise.
1530         (link-libc-deps): Likewise.
1531         (lib%.so): Depend on $(link-libc-deps).  Link with
1532         $(link-libc-args).
1533         (build-module): Link with $(link-libc-args).
1534         (build-module-asneeded): Likewise.
1535         (build-module-helper-objlist): Filter out $(link-libc-deps) from
1536         list of objects.
1537         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
1538         target-specific variable.
1539         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
1540         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
1541         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
1542         libc.
1543         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
1544         libc and ld.so.
1545         ($(objpfx)libpcprofile.so): Likewise.
1546         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
1547         libc_nonshared.a.
1548         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
1549         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
1550         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
1551         $(link-libc-deps).
1552         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
1553         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
1554         * login/Makefile ($(objpfx)libutil.so): Likewise.
1555         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
1556         * math/Makefile ($(objpfx)libm.so): Likewise.
1557         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
1558         $(objpfx)libnsl.so): Define libc-for-link as target-specific
1559         variable instead of depending directly on libc.
1560         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
1561         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
1562         $(link-libc-deps).
1563         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
1564         libc.
1565         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
1566         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
1567         ($(objpfx)libanl.so): Likewise.
1568         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
1569         ld.so.
1570         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
1571         $(link-libc-deps).
1572         * sysdeps/i386/fpu/Makefile: Remove file.
1573         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
1574         ($(objpfx)libm.so): Remove dependency on ld.so.
1576 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
1578         [BZ # 15553]
1579         * nis/yp_xdr.c (XDRMAXNAME): Define.
1580         (XDRMAXRECORD): Define.
1581         (xdr_domainname): Use XDRMAXNAME.
1582         (xdr_mapname): Likewise.
1583         (xdr_peername): Likewise.
1584         (xdr_keydat): Use XDRMAXRECORD.
1585         (xdr_valdat): Likewise.
1587 2013-05-30  Jeff Law  <law@redhat.com>
1589         [BZ #14256]
1590         * manual/errno.texi (ESTALE): Update to account for more than
1591         just NFS file systems.
1592         * sysdeps/gnu/errlist.c: Regenerated.
1594 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
1596         [BZ #15465]
1597         * elf/Makefile (tests): Add tst-null-argv.
1598         (modules-names):  Add tst-null-argv-lib.
1599         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
1600         (tst-null-argv-ENV): Set environment for tst-null-argv.
1601         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
1602         (RTLD_PROGNAME): New macro.
1603         * elf/tst-null-argv.c: New test case.
1604         * elf/tst-null-argv-lib.c: Library for test case.
1605         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
1606         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
1607         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
1608         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
1609         * elf/dl-init.c (call_init): Likewise.
1610         (_dl_init): Likewise.
1611         * elf/dl-load.c (print_search_path): Likewise.
1612         (_dl_map_object): Likewise.
1613         * elf/dl-lookup.c (do_lookup_x): Likewise.
1614         (add_dependency): Likewise.
1615         (_dl_lookup_symbol_x): Likewise.
1616         (_dl_debug_bindings): Likewise.
1617         * elf/dl-open.c (_dl_show_scope): Likewise.
1618         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
1619         * elf/dl-version.c (match_symbol): Likewise.
1620         (_dl_check_map_versions): Likewise.
1621         * elf/rtld.c (dl_main): Likewise.
1622         (print_unresolved): Use RTLD_PROGNAME.
1623         (print_missing_version): Likewise.
1624         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
1625         (elf_machine_rela): Likewise.
1626         * sysdeps/powerpc/powerpc32/dl-machine.c
1627         (__process_machine_rela): Likewise.
1628         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
1629         Likewise.
1630         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
1631         Likewise.
1632         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
1633         Likewise.
1634         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
1635         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
1636         Likewise.
1637         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
1638         Likewise.
1639         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
1641 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
1643         * po/be.po: Add descriptive title.
1644         * po/zh_CN.po: Likewise.
1645         * po/header.pot: Likewise.
1647 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
1649         * locale/programs/locarchive.c (create_archive): Inlucde fname in
1650         error message.
1651         (enlarge_archive): Likewise.
1653 2013-05-28  Ben North  <ben@redfrontdoor.org>
1655         * manual/arith.texi (frexp): It is the magnitude of the return
1656         value which lies in [0.5, 1), not the return value itself.
1658 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1660         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1662 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
1664         * stdio-common/bug26.c (main): Correct fscanf template.
1666         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
1667         declare _dl_skip_args.
1669         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
1670         Don't declare.
1672         * manual/platform.texi: Add missing @end deftypefun.
1674 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
1676         [BZ #15529]
1677         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
1678         bit of mantissa of 2^16382.
1679         * math/libm-test.inc (hypot_test_data): Add more tests.
1681         * math/libm-test.inc: Add drem and pow10 to list of tested
1682         functions.
1683         (pow10_test): New function.
1684         (drem_test): Likewise.
1685         (drem_test_tonearest): Likewise.
1686         (drem_test_towardzero): Likewise.
1687         (drem_test_downward): Likewise.
1688         (drem_test_upward): Likewise.
1689         (main): Call the new functions.
1691         * math/libm-test.inc (finite_test_data): Remove.
1692         (finite_test): Run tests from isfinite_test_data.
1693         (gamma_test_data): Remove.
1694         (gamma_test): Run tests from lgamma_test_data.
1695         * sysdeps/i386/fpu/libm-test-ulps: Update.
1696         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1698 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1700         * manual/platform.texi: Add PowerPC PPR function set documentation.
1701         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
1702         implementation.
1704 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
1706         * math/libm-test.inc (MAX_EXP): Define.
1707         (ULPDIFF): Define.
1708         (ulp): New function.
1709         (check_float_internal): Use ULPDIFF.
1710         (cpow_test): Disable failing test.
1711         (check_ulp): Test ulp() implemetnation.
1712         (main): Call check_ulp before starting tests.
1714 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
1716         * math/gen-libm-test.pl (generate_testfile): Do not handle
1717         START_DATA and END_DATA.
1718         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
1719         END_DATA.
1720         (acos_tonearest_test_data): Likewise.
1721         (acos_towardzero_test_data): Likewise.
1722         (acos_downward_test_data): Likewise.
1723         (acos_upward_test_data): Likewise.
1724         (acosh_test_data): Likewise.
1725         (asin_test_data): Likewise.
1726         (asin_tonearest_test_data): Likewise.
1727         (asin_towardzero_test_data): Likewise.
1728         (asin_downward_test_data): Likewise.
1729         (asin_upward_test_data): Likewise.
1730         (asinh_test_data): Likewise.
1731         (atan_test_data): Likewise.
1732         (atanh_test_data): Likewise.
1733         (atan2_test_data): Likewise.
1734         (cabs_test_data): Likewise.
1735         (cacos_test_data): Likewise.
1736         (cacosh_test_data): Likewise.
1737         (carg_test_data): Likewise.
1738         (casin_test_data): Likewise.
1739         (casinh_test_data): Likewise.
1740         (catan_test_data): Likewise.
1741         (catanh_test_data): Likewise.
1742         (cbrt_test_data): Likewise.
1743         (ccos_test_data): Likewise.
1744         (ccosh_test_data): Likewise.
1745         (ceil_test_data): Likewise.
1746         (cexp_test_data): Likewise.
1747         (cimag_test_data): Likewise.
1748         (clog_test_data): Likewise.
1749         (clog10_test_data): Likewise.
1750         (conj_test_data): Likewise.
1751         (copysign_test_data): Likewise.
1752         (cos_test_data): Likewise.
1753         (cos_tonearest_test_data): Likewise.
1754         (cos_towardzero_test_data): Likewise.
1755         (cos_downward_test_data): Likewise.
1756         (cos_upward_test_data): Likewise.
1757         (cosh_test_data): Likewise.
1758         (cosh_tonearest_test_data): Likewise.
1759         (cosh_towardzero_test_data): Likewise.
1760         (cosh_downward_test_data): Likewise.
1761         (cosh_upward_test_data): Likewise.
1762         (cpow_test_data): Likewise.
1763         (cproj_test_data): Likewise.
1764         (creal_test_data): Likewise.
1765         (csin_test_data): Likewise.
1766         (csinh_test_data): Likewise.
1767         (csqrt_test_data): Likewise.
1768         (ctan_test_data): Likewise.
1769         (ctan_tonearest_test_data): Likewise.
1770         (ctan_towardzero_test_data): Likewise.
1771         (ctan_downward_test_data): Likewise.
1772         (ctan_upward_test_data): Likewise.
1773         (ctanh_test_data): Likewise.
1774         (ctanh_tonearest_test_data): Likewise.
1775         (ctanh_towardzero_test_data): Likewise.
1776         (ctanh_downward_test_data): Likewise.
1777         (ctanh_upward_test_data): Likewise.
1778         (erf_test_data): Likewise.
1779         (erfc_test_data): Likewise.
1780         (exp_test_data): Likewise.
1781         (exp_tonearest_test_data): Likewise.
1782         (exp_towardzero_test_data): Likewise.
1783         (exp_downward_test_data): Likewise.
1784         (exp_upward_test_data): Likewise.
1785         (exp10_test_data): Likewise.
1786         (exp2_test_data): Likewise.
1787         (expm1_test_data): Likewise.
1788         (fabs_test_data): Likewise.
1789         (fdim_test_data): Likewise.
1790         (finite_test_data): Likewise.
1791         (floor_test_data): Likewise.
1792         (fma_test_data): Likewise.
1793         (fma_towardzero_test_data): Likewise.
1794         (fma_downward_test_data): Likewise.
1795         (fma_upward_test_data): Likewise.
1796         (fmax_test_data): Likewise.
1797         (fmin_test_data): Likewise.
1798         (fmod_test_data): Likewise.
1799         (fpclassify_test_data): Likewise.
1800         (frexp_test_data): Likewise.
1801         (gamma_test_data): Likewise.
1802         (hypot_test_data): Likewise.
1803         (ilogb_test_data): Likewise.
1804         (isfinite_test_data): Likewise.
1805         (isgreater_test_data): Likewise.
1806         (isgreaterequal_test_data): Likewise.
1807         (isinf_test_data): Likewise.
1808         (isless_test_data): Likewise.
1809         (islessequal_test_data): Likewise.
1810         (islessgreater_test_data): Likewise.
1811         (isnan_test_data): Likewise.
1812         (isnormal_test_data): Likewise.
1813         (issignaling_test_data): Likewise.
1814         (isunordered_test_data): Likewise.
1815         (j0_test_data): Likewise.
1816         (j1_test_data): Likewise.
1817         (jn_test_data): Likewise.
1818         (ldexp_test_data): Likewise.
1819         (lgamma_test_data): Likewise.
1820         (lrint_test_data): Likewise.
1821         (lrint_tonearest_test_data): Likewise.
1822         (lrint_towardzero_test_data): Likewise.
1823         (lrint_downward_test_data): Likewise.
1824         (lrint_upward_test_data): Likewise.
1825         (llrint_test_data): Likewise.
1826         (llrint_tonearest_test_data): Likewise.
1827         (llrint_towardzero_test_data): Likewise.
1828         (llrint_downward_test_data): Likewise.
1829         (llrint_upward_test_data): Likewise.
1830         (log_test_data): Likewise.
1831         (log10_test_data): Likewise.
1832         (log1p_test_data): Likewise.
1833         (log2_test_data): Likewise.
1834         (logb_test_data): Likewise.
1835         (logb_downward_test_data): Likewise.
1836         (lround_test_data): Likewise.
1837         (llround_test_data): Likewise.
1838         (modf_test_data): Likewise.
1839         (nearbyint_test_data): Likewise.
1840         (nextafter_test_data): Likewise.
1841         (nexttoward_test_data): Likewise.
1842         (pow_test_data): Likewise.
1843         (pow_tonearest_test_data): Likewise.
1844         (pow_towardzero_test_data): Likewise.
1845         (pow_downward_test_data): Likewise.
1846         (pow_upward_test_data): Likewise.
1847         (remainder_test_data): Likewise.
1848         (remainder_tonearest_test_data): Likewise.
1849         (remainder_towardzero_test_data): Likewise.
1850         (remainder_downward_test_data): Likewise.
1851         (remainder_upward_test_data): Likewise.
1852         (remquo_test_data): Likewise.
1853         (rint_test_data): Likewise.
1854         (rint_tonearest_test_data): Likewise.
1855         (rint_towardzero_test_data): Likewise.
1856         (rint_downward_test_data): Likewise.
1857         (rint_upward_test_data): Likewise.
1858         (round_test_data): Likewise.
1859         (scalb_test_data): Likewise.
1860         (scalbn_test_data): Likewise.
1861         (scalbln_test_data): Likewise.
1862         (signbit_test_data): Likewise.
1863         (sin_test_data): Likewise.
1864         (sin_tonearest_test_data): Likewise.
1865         (sin_towardzero_test_data): Likewise.
1866         (sin_downward_test_data): Likewise.
1867         (sin_upward_test_data): Likewise.
1868         (sincos_test_data): Likewise.
1869         (sinh_test_data): Likewise.
1870         (sinh_tonearest_test_data): Likewise.
1871         (sinh_towardzero_test_data): Likewise.
1872         (sinh_downward_test_data): Likewise.
1873         (sinh_upward_test_data): Likewise.
1874         (sqrt_test_data): Likewise.
1875         (tan_test_data): Likewise.
1876         (tan_tonearest_test_data): Likewise.
1877         (tan_towardzero_test_data): Likewise.
1878         (tan_downward_test_data): Likewise.
1879         (tan_upward_test_data): Likewise.
1880         (tanh_test_data): Likewise.
1881         (tgamma_test_data): Likewise.
1882         (trunc_test_data): Likewise.
1883         (y0_test_data): Likewise.
1884         (y1_test_data): Likewise.
1885         (yn_test_data): Likewise.
1886         (significand_test_data): Likewise.
1888         * math/gen-libm-test.pl (@functions): Remove variable.
1889         (generate_testfile): Don't handle START and END lines.
1890         * math/libm-test.inc (START): New macro.
1891         (END): Likewise.
1892         (END_COMPLEX): Likewise.
1893         (acos_test): Use END macro without arguments.
1894         (acos_test_tonearest): Likewise.
1895         (acos_test_towardzero): Likewise.
1896         (acos_test_downward): Likewise.
1897         (acos_test_upward): Likewise.
1898         (acosh_test): Likewise.
1899         (asin_test): Likewise.
1900         (asin_test_tonearest): Likewise.
1901         (asin_test_towardzero): Likewise.
1902         (asin_test_downward): Likewise.
1903         (asin_test_upward): Likewise.
1904         (asinh_test): Likewise.
1905         (atan_test): Likewise.
1906         (atanh_test): Likewise.
1907         (atan2_test): Likewise.
1908         (cabs_test): Likewise.
1909         (cacos_test): Use END_COMPLEX macro without arguments.
1910         (cacosh_test): Likewise.
1911         (carg_test): Use END macro without arguments.
1912         (casin_test): Use END_COMPLEX macro without arguments.
1913         (casinh_test): Likewise.
1914         (catan_test): Likewise.
1915         (catanh_test): Likewise.
1916         (cbrt_test): Use END macro without arguments.
1917         (ccos_test): Use END_COMPLEX macro without arguments.
1918         (ccosh_test): Likewise.
1919         (ceil_test): Use END macro without arguments.
1920         (cexp_test): Use END_COMPLEX macro without arguments.
1921         (cimag_test): Use END macro without arguments.
1922         (clog_test): Use END_COMPLEX macro without arguments.
1923         (clog10_test): Likewise.
1924         (conj_test): Likewise.
1925         (copysign_test): Use END macro without arguments.
1926         (cos_test): Likewise.
1927         (cos_test_tonearest): Likewise.
1928         (cos_test_towardzero): Likewise.
1929         (cos_test_downward): Likewise.
1930         (cos_test_upward): Likewise.
1931         (cosh_test): Likewise.
1932         (cosh_test_tonearest): Likewise.
1933         (cosh_test_towardzero): Likewise.
1934         (cosh_test_downward): Likewise.
1935         (cosh_test_upward): Likewise.
1936         (cpow_test): Use END_COMPLEX macro without arguments.
1937         (cproj_test): Likewise.
1938         (creal_test): Use END macro without arguments.
1939         (csin_test): Use END_COMPLEX macro without arguments.
1940         (csinh_test): Likewise.
1941         (csqrt_test): Likewise.
1942         (ctan_test): Likewise.
1943         (ctan_test_tonearest): Likewise.
1944         (ctan_test_towardzero): Likewise.
1945         (ctan_test_downward): Likewise.
1946         (ctan_test_upward): Likewise.
1947         (ctanh_test): Likewise.
1948         (ctanh_test_tonearest): Likewise.
1949         (ctanh_test_towardzero): Likewise.
1950         (ctanh_test_downward): Likewise.
1951         (ctanh_test_upward): Likewise.
1952         (erf_test): Use END macro without arguments.
1953         (erfc_test): Likewise.
1954         (exp_test): Likewise.
1955         (exp_test_tonearest): Likewise.
1956         (exp_test_towardzero): Likewise.
1957         (exp_test_downward): Likewise.
1958         (exp_test_upward): Likewise.
1959         (exp10_test): Likewise.
1960         (exp2_test): Likewise.
1961         (expm1_test): Likewise.
1962         (fabs_test): Likewise.
1963         (fdim_test): Likewise.
1964         (finite_test): Likewise.
1965         (floor_test): Likewise.
1966         (fma_test): Likewise.
1967         (fma_test_towardzero): Likewise.
1968         (fma_test_downward): Likewise.
1969         (fma_test_upward): Likewise.
1970         (fmax_test): Likewise.
1971         (fmin_test): Likewise.
1972         (fmod_test): Likewise.
1973         (fpclassify_test): Likewise.
1974         (frexp_test): Likewise.
1975         (gamma_test): Likewise.
1976         (hypot_test): Likewise.
1977         (ilogb_test): Likewise.
1978         (isfinite_test): Likewise.
1979         (isgreater_test): Likewise.
1980         (isgreaterequal_test): Likewise.
1981         (isinf_test): Likewise.
1982         (isless_test): Likewise.
1983         (islessequal_test): Likewise.
1984         (islessgreater_test): Likewise.
1985         (isnan_test): Likewise.
1986         (isnormal_test): Likewise.
1987         (issignaling_test): Likewise.
1988         (isunordered_test): Likewise.
1989         (j0_test): Likewise.
1990         (j1_test): Likewise.
1991         (jn_test): Likewise.
1992         (ldexp_test): Likewise.
1993         (lgamma_test): Likewise.
1994         (lrint_test): Likewise.
1995         (lrint_test_tonearest): Likewise.
1996         (lrint_test_towardzero): Likewise.
1997         (lrint_test_downward): Likewise.
1998         (lrint_test_upward): Likewise.
1999         (llrint_test): Likewise.
2000         (llrint_test_tonearest): Likewise.
2001         (llrint_test_towardzero): Likewise.
2002         (llrint_test_downward): Likewise.
2003         (llrint_test_upward): Likewise.
2004         (log_test): Likewise.
2005         (log10_test): Likewise.
2006         (log1p_test): Likewise.
2007         (log2_test): Likewise.
2008         (logb_test): Likewise.
2009         (logb_test_downward): Likewise.
2010         (lround_test): Likewise.
2011         (llround_test): Likewise.
2012         (modf_test): Likewise.
2013         (nearbyint_test): Likewise.
2014         (nextafter_test): Likewise.
2015         (nexttoward_test): Likewise.
2016         (pow_test): Likewise.
2017         (pow_test_tonearest): Likewise.
2018         (pow_test_towardzero): Likewise.
2019         (pow_test_downward): Likewise.
2020         (pow_test_upward): Likewise.
2021         (remainder_test): Likewise.
2022         (remainder_test_tonearest): Likewise.
2023         (remainder_test_towardzero): Likewise.
2024         (remainder_test_downward): Likewise.
2025         (remainder_test_upward): Likewise.
2026         (remquo_test): Likewise.
2027         (rint_test): Likewise.
2028         (rint_test_tonearest): Likewise.
2029         (rint_test_towardzero): Likewise.
2030         (rint_test_downward): Likewise.
2031         (rint_test_upward): Likewise.
2032         (round_test): Likewise.
2033         (scalb_test): Likewise.
2034         (scalbn_test): Likewise.
2035         (scalbln_test): Likewise.
2036         (signbit_test): Likewise.
2037         (sin_test): Likewise.
2038         (sin_test_tonearest): Likewise.
2039         (sin_test_towardzero): Likewise.
2040         (sin_test_downward): Likewise.
2041         (sin_test_upward): Likewise.
2042         (sincos_test): Likewise.
2043         (sinh_test): Likewise.
2044         (sinh_test_tonearest): Likewise.
2045         (sinh_test_towardzero): Likewise.
2046         (sinh_test_downward): Likewise.
2047         (sinh_test_upward): Likewise.
2048         (sqrt_test): Likewise.
2049         (tan_test): Likewise.
2050         (tan_test_tonearest): Likewise.
2051         (tan_test_towardzero): Likewise.
2052         (tan_test_downward): Likewise.
2053         (tan_test_upward): Likewise.
2054         (tanh_test): Likewise.
2055         (tgamma_test): Likewise.
2056         (trunc_test): Likewise.
2057         (y0_test): Likewise.
2058         (y1_test): Likewise.
2059         (yn_test): Likewise.
2060         (significand_test): Likewise.
2062 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
2064         [BZ #15381]
2065         * libio/genops.c (_IO_no_init): Initialize wide struct info.
2067 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
2069         [BZ #14894]
2070         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
2071         __ppc_mdoio and __ppc_mdoom.
2072         * manual/platform.texi: Document new functions __ppc_yield,
2073         __ppc_mdoio and __ppc_mdoom.
2075 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
2077         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
2078         (main): Mention "tls" pseudo-hwcap is legacy.
2079         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
2081 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
2083         * math/gen-libm-test.pl (parse_args): Output only string of
2084         arguments as text for test name, not full call or descriptions of
2085         tests for extra outputs.
2086         (generate_testfile): Do not pass function name to parse_args.
2087         Generate this_func variable from START.
2088         * math/libm-test.inc (struct test_f_f_data): Rename test_name
2089         field to arg_str.
2090         (struct test_ff_f_data): Likewise.
2091         (test_ff_f_data_nexttoward): Likewise.
2092         (struct test_fi_f_data): Likewise.
2093         (struct test_fl_f_data): Likewise.
2094         (struct test_if_f_data): Likewise.
2095         (struct test_fff_f_data): Likewise.
2096         (struct test_c_f_data): Likewise.
2097         (struct test_f_f1_data): Likewise.  Remove field extra_name.
2098         (struct test_fF_f1_data): Likewise.
2099         (struct test_ffI_f1_data): Likewise.
2100         (struct test_c_c_data): Rename test_name field to arg_str.
2101         (struct test_cc_c_data): Likewise.
2102         (struct test_f_i_data): Likewise.
2103         (struct test_ff_i_data): Likewise.
2104         (struct test_f_l_data): Likewise.
2105         (struct test_f_L_data): Likewise.
2106         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
2107         and extra2_name.
2108         (COMMON_TEST_SETUP): New macro.
2109         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
2110         (COMMON_TEST_CLEANUP): Likewise.
2111         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
2112         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
2113         macros.
2114         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
2115         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
2116         macros.
2117         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
2118         (RUN_TEST_fff_f): Take argument string.  Call new setup and
2119         cleanup macros.
2120         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
2121         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
2122         macros.
2123         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
2124         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
2125         macros.
2126         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
2127         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
2128         cleanup macros.
2129         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
2130         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
2131         cleanup macros.
2132         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
2133         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
2134         cleanup macros.
2135         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
2136         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
2137         macros.
2138         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
2139         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
2140         macros.
2141         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
2142         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
2143         macros.
2144         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
2145         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
2146         cleanup macros.
2147         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
2148         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
2149         cleanup macros.
2150         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
2151         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
2152         macros.
2153         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
2154         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
2155         cleanup macros.
2156         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
2157         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
2158         macros.
2159         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
2160         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
2161         macros.
2162         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
2163         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
2164         cleanup macros.
2165         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
2167 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
2169         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
2170         to _sifields.sigfault.
2171         (si_addr_lsb): Define new macro.
2172         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
2173         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
2174         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
2176 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
2178         [BZ #15441]
2179         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
2180         returns -1.
2181         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
2182         null return -1.
2183         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
2184         loading the domain.
2186 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
2188         * math/gen-libm-test.pl (parse_args): Do not include expected
2189         result in test name.
2190         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
2191         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
2192         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
2193         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
2194         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
2195         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2197 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
2199         * benchtests/Makefile: Sort function entries.
2201         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
2202         tanh, asinh, acosh, atanh.
2203         * benchtests/acos-inputs: New file.
2204         * benchtests/acosh-inputs: New file.
2205         * benchtests/asin-inputs: New file.
2206         * benchtests/asinh-inputs: New file.
2207         * benchtests/atanh-inputs: New file.
2208         * benchtests/cosh-inputs: New file.
2209         * benchtests/log-inputs: New file.
2210         * benchtests/sinh-inputs: New file.
2211         * benchtests/tanh-inputs: New file.
2213 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
2215         [BZ #15339]
2216         * posix/tst-getaddrinfo4.c: New test.
2217         * posix/Makefile (tests): Add it.
2219 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
2221         [BZ #15339]
2222         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
2223         when no services were used.
2224         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
2225         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
2227 2013-05-21  Andreas Schwab  <schwab@suse.de>
2229         [BZ #15014]
2230         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
2231         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
2232         successful.
2233         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
2234         redundant variable declarations and reallocation of buffer when
2235         parsing as IPv6 address.  Always set NSS status when called from
2236         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
2237         buffer too small.  Correct computation of needed size.
2238         * nss/Makefile (tests): Add test-digits-dots.
2239         * nss/test-digits-dots.c: New test.
2241 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
2243         * benchtests/Makefile: Remove instructions for adding
2244         benchmark tests.
2245         * benchtests/README: New file to explain how to execute and
2246         enhance the benchmark tests.
2248 2013-05-21  Andreas Schwab  <schwab@suse.de>
2250         [BZ #15493]
2251         * setjmp/Makefile (tests): Add tst-sigsetjmp.
2252         * setjmp/tst-sigsetjmp.c: New test.
2254 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
2256         * sysdeps/x86_64/memset.S (memset): New implementation.
2257         (__bzero): Likewise.
2258         (__memset_tail): New function.
2260 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
2262         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
2263         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
2264         __memcpy_sse2_unaligned ifunc selection.
2265         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
2266         Add memcpy-sse2-unaligned.S.
2267         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
2268         Add: __memcpy_sse2_unaligned.
2270 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
2272         [BZ #15490]
2273         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
2274         math_force_eval before restoring floating-point envrionment.
2275         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
2276         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
2277         Likewise.
2278         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
2279         <math_private.h>.
2280         (__nearbyintl): Use math_force_eval before restoring
2281         floating-point environment.
2282         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
2284         * math/gen-libm-test.pl (special_functions): Remove.
2285         (parse_args): Don't handle TEST_extra.  Handle functions with no
2286         return value.
2287         * math/libm-test.inc (struct test_sincos_data): Replace with
2288         struct test_fFF_11_data.
2289         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
2290         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
2291         (sincos_test_data): Change element type to struct
2292         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
2293         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
2294         RUN_TEST_LOOP_sincos.
2295         * math/README.libm-test: Don't mention special handling of
2296         individual functions.
2297         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
2298         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
2299         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
2300         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
2301         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
2302         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2304         * math/gen-libm-test.pl (get_variable): Remove function.
2305         (parse_args): Don't show pointer parameters to call in test
2306         names.  Use "extra output N" in test names for extra outputs
2307         rather than naming variables.
2309 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
2311         [BZ #15488]
2312         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
2313         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
2314         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
2315         double tests.
2316         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
2317         disable.
2318         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
2319         check_long_double.
2321         * math/gen-libm-test.pl (@tests): Remove variable.
2322         ($count): Likewise.
2323         (new_test): Remove function.
2324         (show_exceptions): New function.
2325         (special_functions): Use show_exceptions instead of new_test.
2326         (parse_args): Likewise.
2327         (generate_testfile): Pass only function name in generated call to
2328         print_max_error or print_complex_max_error.
2329         (get_ulps): Do not handle complex tests specially.
2330         (output_test): Rename to ...
2331         (get_all_ulps_for_test): ... this.  Return a string rather than
2332         printing to a file.  Require ulps to be present.
2333         (output_ulps): Generate arrays rather than #defines.
2334         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
2335         (struct ulp_data): New type.
2336         (BUILD_COMPLEX_ULP): Remove macro.
2337         (compare_ulp_data): New function.
2338         (find_ulps): Likewise.
2339         (find_test_ulps): Likewise.
2340         (find_function_ulps): Likewise.
2341         (find_complex_function_ulps): Likewise.
2342         (print_max_error): Determine allowed ulps using
2343         find_function_ulps.
2344         (print_complex_max_error): Determine allowed ulps using
2345         find_complex_function_ulps.
2346         (check_float_internal): Determine max ulps using find_test_ulps.
2347         (check_float): Do not take max_ulp parameter.  Update call to
2348         check_float_internal.
2349         (check_complex): Likewise.
2350         (check_int): Do not take max_ulp parameter.
2351         (check_long): Likewise.
2352         (check_bool): Likewise.
2353         (check_longlong): Likewise.
2354         (struct test_f_f_data): Remove max_ulp field.
2355         (struct test_ff_f_data): Likewise.
2356         (struct test_ff_f_data_nexttoward): Likewise.
2357         (struct test_fi_f_data): Likewise.
2358         (struct test_fl_f_data): Likewise.
2359         (struct test_if_f_data): Likewise.
2360         (struct test_fff_f_data): Likewise.
2361         (struct test_c_f_data): Likewise.
2362         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
2363         (struct test_fF_f1_data): Likewise.
2364         (struct test_ffI_f1_data): Likewise.
2365         (struct test_c_c_data): Remove max_ulp field.
2366         (struct test_cc_c_data): Likewise.
2367         (struct test_f_i_data): Likewise.
2368         (struct test_ff_i_data): Likewise.
2369         (struct test_f_l_data): Likewise.
2370         (struct test_f_L_data): Likewise.
2371         (struct test_sincos_data): Likewise.
2372         (RUN_TEST_f_f): Do not handle ulps.
2373         (RUN_TEST_LOOP_f_f): Likewise.
2374         (RUN_TEST_2_f): Likewise.
2375         (RUN_TEST_LOOP_2_f): Likewise.
2376         (RUN_TEST_fff_f): Likewise.
2377         (RUN_TEST_LOOP_fff_f): Likewise.
2378         (RUN_TEST_c_f): Likewise.
2379         (RUN_TEST_LOOP_c_f): Likewise.
2380         (RUN_TEST_f_f1): Likewise.
2381         (RUN_TEST_LOOP_f_f1): Likewise.
2382         (RUN_TEST_fF_f1): Likewise.
2383         (RUN_TEST_LOOP_fF_f1): Likewise.
2384         (RUN_TEST_fI_f1): Likewise.
2385         (RUN_TEST_LOOP_fI_f1): Likewise.
2386         (RUN_TEST_ffI_f1): Likewise.
2387         (RUN_TEST_LOOP_ffI_f1): Likewise.
2388         (RUN_TEST_c_c): Likewise.
2389         (RUN_TEST_LOOP_c_c): Likewise.
2390         (RUN_TEST_cc_c): Likewise.
2391         (RUN_TEST_LOOP_cc_c): Likewise.
2392         (RUN_TEST_f_i): Likewise.
2393         (RUN_TEST_LOOP_f_i): Likewise.
2394         (RUN_TEST_f_i_tg): Likewise.
2395         (RUN_TEST_LOOP_f_i_tg): Likewise.
2396         (RUN_TEST_ff_i_tg): Likewise.
2397         (RUN_TEST_LOOP_ff_i_tg): Likewise.
2398         (RUN_TEST_f_b): Likewise.
2399         (RUN_TEST_LOOP_f_b): Likewise.
2400         (RUN_TEST_f_b_tg): Likewise.
2401         (RUN_TEST_LOOP_f_b_tg): Likewise.
2402         (RUN_TEST_f_l): Likewise.
2403         (RUN_TEST_LOOP_f_l): Likewise.
2404         (RUN_TEST_f_L): Likewise.
2405         (RUN_TEST_LOOP_f_L): Likewise.
2406         (RUN_TEST_sincos): Likewise.
2407         (RUN_TEST_LOOP_sincos): Likewise.
2409 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
2411         [BZ #15480]
2412         [BZ #15485]
2413         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
2414         main case of finite arguments, set rounding mode to FE_TONEAREST
2415         and discard exceptions.
2416         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
2417         exceptions.
2418         (remainder_tonearest_test_data): New variable.
2419         (remainder_test_tonearest): New function.
2420         (remainder_towardzero_test_data): New variable.
2421         (remainder_test_towardzero): New function.
2422         (remainder_downward_test_data): New variable.
2423         (remainder_test_downward): New function.
2424         (remainder_upward_test_data): New variable.
2425         (remainder_test_upward): New function.
2426         (main): Call the new test functions.
2428         * math/libm-test.inc (struct test_f_f1_data): Remove field
2429         extra_init.
2430         (struct test_fF_f1_data): Likewise.
2431         (struct test_ffI_f1_data): Likewise.
2432         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
2433         based on value of EXTRA_EXPECTED.
2434         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
2435         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
2436         EXTRA_VAR based on value of EXTRA_EXPECTED.
2437         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
2438         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
2439         EXTRA_VAR based on value of EXTRA_EXPECTED.
2440         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
2441         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
2442         EXTRA_VAR based on value of EXTRA_EXPECTED.
2443         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
2444         * math/gen-libm-test.pl (parse_args): Don't output initializers
2445         for extra output values.
2447         * math/libm-test.inc (check_int): Expect result to be exactly
2448         equal to expected value and do not handle ulps.
2449         (check_long): Likewise.
2450         (check_longlong): Likewise.
2452         * math/libm-test.inc (ceil_test_data): Test for "inexact"
2453         exceptions.
2454         (cimag_test_data): Likewise.
2455         (conj_test_data): Likewise.
2456         (copysign_test_data): Likewise.
2457         (cproj_test_data): Likewise.
2458         (creal_test_data): Likewise.
2459         (fabs_test_data): Likewise.
2460         (fdim_test_data): Likewise.
2461         (finite_test_data): Likewise.
2462         (floor_test_data): Likewise.
2463         (fmax_test_data): Likewise.
2464         (fmin_test_data): Likewise.
2465         (fmod_test_data): Likewise.
2466         (fpclassify_test_data): Likewise.
2467         (frexp_test_data): Likewise.
2468         (ilogb_test_data): Likewise.
2469         (isfinite_test_data): Likewise.
2470         (isgreater_test_data): Likewise.
2471         (isgreaterequal_test_data): Likewise.
2472         (isinf_test_data): Likewise.
2473         (isless_test_data): Likewise.
2474         (islessequal_test_data): Likewise.
2475         (islessgreater_test_data): Likewise.
2476         (isnan_test_data): Likewise.
2477         (isnormal_test_data): Likewise.
2478         (issignaling_test_data): Likewise.
2479         (isunordered_test_data): Likewise.
2480         (ldexp_test_data): Likewise.
2481         (lrint_test_data): Likewise.
2482         (lrint_test_data) [TEST_FLOAT]: Disable one test.
2483         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
2484         (lrint_tonearest_test_data): Test for "inexact" exceptions.
2485         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
2486         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
2487         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
2488         test input.
2489         (lrint_towardzero_test_data): Test for "inexact" exceptions.
2490         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
2491         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
2492         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
2493         that test input.
2494         (lrint_downward_test_data): Test for "inexact" exceptions.
2495         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
2496         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
2497         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
2498         test input.
2499         (lrint_upward_test_data): Test for "inexact" exceptions.
2500         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
2501         test input.
2502         (llrint_test_data): Test for "inexact" exceptions.
2503         (llrint_test_data) [TEST_FLOAT]: Disable one test.
2504         (llrint_tonearest_test_data): Test for "inexact" exceptions.
2505         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
2506         (llrint_towardzero_test_data): Test for "inexact" exceptions.
2507         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
2508         (llrint_downward_test_data): Test for "inexact" exceptions.
2509         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
2510         (llrint_upward_test_data): Test for "inexact" exceptions.
2511         (logb_test_data): Likewise.
2512         (logb_downward_test_data): Likewise.
2513         (nextafter_test_data): Likewise.
2514         (nexttoward_test_data): Likewise.
2515         (remainder_test_data): Likewise.
2516         (remquo_test_data): Likewise.
2517         (scalbn_test_data): Likewise.
2518         (scalbln_test_data): Likewise.
2519         (signbit_test_data): Likewise.
2520         (sqrt_test_data): Likewise.
2521         (significand_test_data): Likewise.
2523 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
2525         [BZ #15424]
2526         * benchtests/bench-modf.c (struct args): Mark arg0 as
2527         volatile.
2528         * scripts/bench.pl: Mark members of struct args as volatile.
2530 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2532         [BZ # 15497]
2533         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
2534         negative infinity on POWER6 or lower.
2535         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
2537 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
2539         [BZ #15442]
2540         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
2541         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
2542         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
2543         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
2544         (_FP_SETQNAN): New macro.
2545         (_FP_SETQNAN_SEMIRAW): Likewise.
2546         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
2547         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
2548         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
2549         (FP_EXTEND): Use _FP_FRAC_SNANP.
2550         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
2551         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
2552         into account.
2553         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
2554         New macro.
2555         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
2556         Likewise.
2558 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
2560         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
2561         with DIVIDE_BY_ZERO_EXCEPTION.
2562         (gamma_test_data): Likewise.
2563         (lgamma_test_data): Likewise.
2564         (log_test_data): Likewise.
2565         (log10_test_data): Likewise.
2566         (log2_test_data): Likewise.
2567         (tgamma_test_data): Likewise.
2569         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
2570         (acos_test_tonearest): Likewise.
2571         (acos_test_towardzero): Likewise.
2572         (acos_test_downward): Likewise.
2573         (acos_test_upward): Likewise.
2574         (acosh_test): Likewise.
2575         (asin_test): Likewise.
2576         (asin_test_tonearest): Likewise.
2577         (asin_test_towardzero): Likewise.
2578         (asin_test_downward): Likewise.
2579         (asin_test_upward): Likewise.
2580         (asinh_test): Likewise.
2581         (atan_test): Likewise.
2582         (atanh_test): Likewise.
2583         (atan2_test): Likewise.
2584         (cabs_test): Likewise.
2585         (cacos_test): Likewise.
2586         (cacosh_test): Likewise.
2587         (casin_test): Likewise.
2588         (casinh_test): Likewise.
2589         (catan_test): Likewise.
2590         (catanh_test): Likewise.
2591         (cbrt_test): Likewise.
2592         (ccos_test): Likewise.
2593         (ccosh_test): Likewise.
2594         (cexp_test): Likewise.
2595         (clog_test): Likewise.
2596         (clog10_test): Likewise.
2597         (cos_test): Likewise.
2598         (cos_test_tonearest): Likewise.
2599         (cos_test_towardzero): Likewise.
2600         (cos_test_downward): Likewise.
2601         (cos_test_upward): Likewise.
2602         (cosh_test): Likewise.
2603         (cosh_test_tonearest): Likewise.
2604         (cosh_test_towardzero): Likewise.
2605         (cosh_test_downward): Likewise.
2606         (cosh_test_upward): Likewise.
2607         (cpow_test): Likewise.
2608         (csin_test): Likewise.
2609         (csinh_test): Likewise.
2610         (csqrt_test): Likewise.
2611         (ctan_test): Likewise.
2612         (ctan_test_tonearest): Likewise.
2613         (ctan_test_towardzero): Likewise.
2614         (ctan_test_downward): Likewise.
2615         (ctan_test_upward): Likewise.
2616         (ctanh_test): Likewise.
2617         (ctanh_test_tonearest): Likewise.
2618         (ctanh_test_towardzero): Likewise.
2619         (ctanh_test_downward): Likewise.
2620         (ctanh_test_upward): Likewise.
2621         (erf_test): Likewise.
2622         (erfc_test): Likewise.
2623         (exp_test): Likewise.
2624         (exp_test_tonearest): Likewise.
2625         (exp_test_towardzero): Likewise.
2626         (exp_test_downward): Likewise.
2627         (exp_test_upward): Likewise.
2628         (exp10_test): Likewise.
2629         (exp2_test): Likewise.
2630         (expm1_test): Likewise.
2631         (fmod_test): Likewise.
2632         (gamma_test): Likewise.
2633         (hypot_test): Likewise.
2634         (j0_test): Likewise.
2635         (j1_test): Likewise.
2636         (jn_test): Likewise.
2637         (lgamma_test): Likewise.
2638         (log_test): Likewise.
2639         (log10_test): Likewise.
2640         (log1p_test): Likewise.
2641         (log2_test): Likewise.
2642         (logb_test_downward): Likewise.
2643         (pow_test): Likewise.
2644         (pow_test_tonearest): Likewise.
2645         (pow_test_towardzero): Likewise.
2646         (pow_test_downward): Likewise.
2647         (pow_test_upward): Likewise.
2648         (remainder_test): Likewise.
2649         (remquo_test): Likewise.
2650         (sin_test): Likewise.
2651         (sin_test_tonearest): Likewise.
2652         (sin_test_towardzero): Likewise.
2653         (sin_test_downward): Likewise.
2654         (sin_test_upward): Likewise.
2655         (sincos_test): Likewise.
2656         (sinh_test): Likewise.
2657         (sinh_test_tonearest): Likewise.
2658         (sinh_test_towardzero): Likewise.
2659         (sinh_test_downward): Likewise.
2660         (sinh_test_upward): Likewise.
2661         (sqrt_test): Likewise.
2662         (tan_test): Likewise.
2663         (tan_test_tonearest): Likewise.
2664         (tan_test_towardzero): Likewise.
2665         (tan_test_downward): Likewise.
2666         (tan_test_upward): Likewise.
2667         (tanh_test): Likewise.
2668         (tgamma_test): Likewise.
2669         (y0_test): Likewise.
2670         (y1_test): Likewise.
2671         (yn_test): Likewise.
2673         * math/gen-libm-test.pl (adjust_arg): Remove function.
2674         (special_function): Remove argument $in_func.  Only handle
2675         generating output for tables of tests, not inside functions.
2676         (parse_args): Likewise.
2677         (generate_testfile): Remove variable $in_func.  Update call to
2678         parse_args.
2679         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
2680         (MINUS_ZERO_INIT): Rename macro to minus_zero.
2681         (PLUS_INFTY_INIT): Rename macro to plus_infty.
2682         (MINUS_INFTY_INIT): Rename macro to minus_infty.
2683         (QNAN_VALUE_INIT): Rename macro to qnan_value.
2684         (MAX_VALUE_INIT): Rename macro to max_value.
2685         (MIN_VALUE_INIT): Rename macro to min_value.
2686         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
2687         (plus_zero): Remove variable.
2688         (minus_zero): Likewise.
2689         (plus_infty): Likewise.
2690         (minus_infty): Likewise.
2691         (qnan_value): Likewise.
2692         (max_value): Likewise.
2693         (min_value): Likewise.
2694         (min_subnorm_value): Likewise.
2696 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
2698         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
2699         uint64_t or uint32_t usage.
2700         * crypt/sha256-block.c: Likewise.
2701         * crypt/sha256-crypt.c: Likewise.
2702         * crypt/sha256.c: Likewise.
2703         * crypt/sha512-block.c: Likewise.
2704         * crypt/sha512-crypt.c: Likewise.
2705         * crypt/sha512.c: Likewise.
2706         * debug/backtrace-tst.c: Likewise.
2707         * debug/pcprofiledump.c: Likewise.
2708         * elf/cache.c: Likewise.
2709         * elf/dl-cache.c: Likewise.
2710         * elf/dl-misc.c: Likewise.
2711         * elf/dl-profile.c: Likewise.
2712         * elf/dl-support.c: Likewise.
2713         * elf/ldconfig.c: Likewise.
2714         * elf/sprof.c: Likewise.
2715         * iconv/dummy-repertoire.c: Likewise.
2716         * iconv/iconv_charmap.c: Likewise.
2717         * iconv/skeleton.c: Likewise.
2718         * iconvdata/8bit-generic.c: Likewise.
2719         * iconvdata/cp737.h: Likewise.
2720         * iconvdata/cp775.h: Likewise.
2721         * iconvdata/ibm1008.h: Likewise.
2722         * iconvdata/ibm1025.h: Likewise.
2723         * iconvdata/ibm1046.h: Likewise.
2724         * iconvdata/ibm1097.h: Likewise.
2725         * iconvdata/ibm1112.h: Likewise.
2726         * iconvdata/ibm1122.h: Likewise.
2727         * iconvdata/ibm1123.h: Likewise.
2728         * iconvdata/ibm1124.h: Likewise.
2729         * iconvdata/ibm1129.h: Likewise.
2730         * iconvdata/ibm1130.h: Likewise.
2731         * iconvdata/ibm1132.h: Likewise.
2732         * iconvdata/ibm1133.h: Likewise.
2733         * iconvdata/ibm1137.h: Likewise.
2734         * iconvdata/ibm1140.h: Likewise.
2735         * iconvdata/ibm1141.h: Likewise.
2736         * iconvdata/ibm1142.h: Likewise.
2737         * iconvdata/ibm1143.h: Likewise.
2738         * iconvdata/ibm1144.h: Likewise.
2739         * iconvdata/ibm1145.h: Likewise.
2740         * iconvdata/ibm1146.h: Likewise.
2741         * iconvdata/ibm1147.h: Likewise.
2742         * iconvdata/ibm1148.h: Likewise.
2743         * iconvdata/ibm1149.h: Likewise.
2744         * iconvdata/ibm1153.h: Likewise.
2745         * iconvdata/ibm1154.h: Likewise.
2746         * iconvdata/ibm1155.h: Likewise.
2747         * iconvdata/ibm1156.h: Likewise.
2748         * iconvdata/ibm1157.h: Likewise.
2749         * iconvdata/ibm1158.h: Likewise.
2750         * iconvdata/ibm1160.h: Likewise.
2751         * iconvdata/ibm1161.h: Likewise.
2752         * iconvdata/ibm1162.h: Likewise.
2753         * iconvdata/ibm1163.h: Likewise.
2754         * iconvdata/ibm1164.h: Likewise.
2755         * iconvdata/ibm1166.h: Likewise.
2756         * iconvdata/ibm1167.h: Likewise.
2757         * iconvdata/ibm12712.h: Likewise.
2758         * iconvdata/ibm1390.h: Likewise.
2759         * iconvdata/ibm1399.h: Likewise.
2760         * iconvdata/ibm16804.h: Likewise.
2761         * iconvdata/ibm4517.h: Likewise.
2762         * iconvdata/ibm4899.h: Likewise.
2763         * iconvdata/ibm4909.h: Likewise.
2764         * iconvdata/ibm4971.h: Likewise.
2765         * iconvdata/ibm5347.h: Likewise.
2766         * iconvdata/ibm803.h: Likewise.
2767         * iconvdata/ibm856.h: Likewise.
2768         * iconvdata/ibm901.h: Likewise.
2769         * iconvdata/ibm902.h: Likewise.
2770         * iconvdata/ibm9030.h: Likewise.
2771         * iconvdata/ibm9066.h: Likewise.
2772         * iconvdata/ibm921.h: Likewise.
2773         * iconvdata/ibm922.h: Likewise.
2774         * iconvdata/ibm9448.h: Likewise.
2775         * iconvdata/isiri-3342.h: Likewise.
2776         * iconvdata/jis0201.h: Likewise.
2777         * include/link.h: Likewise.
2778         * include/netdb.h: Likewise.
2779         * inet/check_native.c: Likewise.
2780         * inet/check_pf.c: Likewise.
2781         * inet/getipv4sourcefilter.c: Likewise.
2782         * inet/getnameinfo.c: Likewise.
2783         * inet/getsourcefilter.c: Likewise.
2784         * inet/htonl.c: Likewise.
2785         * inet/setipv4sourcefilter.c: Likewise.
2786         * inet/setsourcefilter.c: Likewise.
2787         * inet/test-inet6_opt.c: Likewise.
2788         * inet/tst-network.c: Likewise.
2789         * locale/C-collate.c: Likewise.
2790         * locale/C-ctype.c: Likewise.
2791         * locale/C-time.c: Likewise.
2792         * locale/C-translit.h: Likewise.
2793         * locale/loadarchive.c: Likewise.
2794         * locale/programs/3level.h: Likewise.
2795         * locale/programs/charmap.c: Likewise.
2796         * locale/programs/charmap.h: Likewise.
2797         * locale/programs/ld-address.c: Likewise.
2798         * locale/programs/ld-collate.c: Likewise.
2799         * locale/programs/ld-ctype.c: Likewise.
2800         * locale/programs/ld-identification.c: Likewise.
2801         * locale/programs/ld-measurement.c: Likewise.
2802         * locale/programs/ld-messages.c: Likewise.
2803         * locale/programs/ld-monetary.c: Likewise.
2804         * locale/programs/ld-name.c: Likewise.
2805         * locale/programs/ld-numeric.c: Likewise.
2806         * locale/programs/ld-paper.c: Likewise.
2807         * locale/programs/ld-telephone.c: Likewise.
2808         * locale/programs/ld-time.c: Likewise.
2809         * locale/programs/linereader.c: Likewise.
2810         * locale/programs/locale.c: Likewise.
2811         * locale/programs/locarchive.c: Likewise.
2812         * locale/programs/locfile.h: Likewise.
2813         * locale/programs/repertoire.c: Likewise.
2814         * locale/programs/simple-hash.c: Likewise.
2815         * locale/programs/simple-hash.h: Likewise.
2816         * malloc/memusage.c: Likewise.
2817         * malloc/memusagestat.c: Likewise.
2818         * nis/nis_defaults.c: Likewise.
2819         * nis/nis_hash.c: Likewise.
2820         * nis/nis_print.c: Likewise.
2821         * nis/nis_xdr.c: Likewise.
2822         * nscd/connections.c: Likewise.
2823         * nscd/hstcache.c: Likewise.
2824         * nscd/nscd_gethst_r.c: Likewise.
2825         * nscd/nscd_getserv_r.c: Likewise.
2826         * nscd/nscd_helper.c: Likewise.
2827         * nscd/servicescache.c: Likewise.
2828         * nss/makedb.c: Likewise.
2829         * nss/nss_db/db-XXX.c: Likewise.
2830         * nss/nss_db/db-initgroups.c: Likewise.
2831         * nss/nss_db/db-netgrp.c: Likewise.
2832         * nss/nss_files/files-network.c: Likewise.
2833         * nss/nss_files/files-parse.c: Likewise.
2834         * posix/bug-regex5.c: Likewise.
2835         * posix/fnmatch_loop.c: Likewise.
2836         * posix/regcomp.c: Likewise.
2837         * posix/regexec.c: Likewise.
2838         * posix/tst-rfc3484-2.c: Likewise.
2839         * posix/tst-rfc3484-3.c: Likewise.
2840         * posix/tst-rfc3484.c: Likewise.
2841         * resolv/nss_dns/dns-canon.c: Likewise.
2842         * resolv/nss_dns/dns-network.c: Likewise.
2843         * resolv/res_init.c: Likewise.
2844         * resolv/res_mkquery.c: Likewise.
2845         * resolv/tst-aton.c: Likewise.
2846         * stdlib/cxa_atexit.c: Likewise.
2847         * stdlib/cxa_finalize.c: Likewise.
2848         * stdlib/gen-fpioconst.c: Likewise.
2849         * stdlib/strtol_l.c: Likewise.
2850         * string/tst-endian.c: Likewise.
2851         * sunrpc/auth_des.c: Likewise.
2852         * sunrpc/clnt_udp.c: Likewise.
2853         * sunrpc/rtime.c: Likewise.
2854         * sunrpc/svcauth_des.c: Likewise.
2855         * sunrpc/xdr.c: Likewise.
2856         * sunrpc/xdr_intXX_t.c: Likewise.
2857         * sunrpc/xdr_rec.c: Likewise.
2858         * sysdeps/generic/ldconfig.h: Likewise.
2859         * sysdeps/generic/ldsodefs.h: Likewise.
2860         * sysdeps/generic/memusage.h: Likewise.
2861         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
2862         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
2863         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
2864         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
2865         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
2866         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
2867         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
2868         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
2869         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
2870         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
2871         * sysdeps/posix/getaddrinfo.c: Likewise.
2872         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
2873         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
2874         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
2875         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
2876         * sysdeps/powerpc/test-gettimebase.c: Likewise.
2877         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
2878         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
2879         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
2880         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
2881         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
2882         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
2883         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
2884         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
2885         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
2886         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
2887         * sysdeps/x86_64/dl-tls.h: Likewise.
2888         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
2889         * time/alt_digit.c: Likewise.
2890         * time/era.c: Likewise.
2891         * wcsmbs/tst-c16c32-1.c: Likewise.
2893 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
2895         * math/libm-test.inc (struct test_sincos_data): New type.
2896         (RUN_TEST_LOOP_sincos): New macro.
2897         (sincos_test_data): New variable.
2898         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
2900 2013-05-16  Richard Henderson  <rth@redhat.com>
2902         * math/atest-exp2.c (LIMB64): New macro.
2903         (CONSTSZ): New macro.
2904         (mp_exp1, mp_exp_m1, mp_log2): New variables.
2905         (hexdig): Move ...
2906         (print_mpn_fp): ... to function scope.
2907         (read_mpn_hex): Remove.
2908         (get_log2): Remove.
2909         (exp2_mpn): Use mp_log2.
2910         (main): Use mp_exp1.
2912 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
2914         * math/libm-test.inc: Remove comment about not testing "inexact"
2915         exceptions.
2916         (INEXACT_EXCEPTION): New macro.
2917         (NO_INEXACT_EXCEPTION): Likewise.
2918         (INVALID_EXCEPTION_OK): Update value.
2919         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
2920         (OVERFLOW_EXCEPTION_OK): Likewise.
2921         (UNDERFLOW_EXCEPTION_OK): Likewise.
2922         (IGNORE_ZERO_INF_SIGN): Likewise.
2923         (ERRNO_UNCHANGED): Likewise.
2924         (ERRNO_EDOM): Likewise.
2925         (ERRNO_ERANGE): Likewise.
2926         (test_exceptions): Handle testing "inexact" exceptions.
2927         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
2928         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
2929         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
2930         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
2931         INEXACT_EXCEPTION.
2932         (rint_towardzero_test_data): Likewise.
2933         (rint_downward_test_data): Likewise.
2934         (rint_upward_test_data): Likewise.
2936         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
2937         with OVERFLOW_EXCEPTION.
2938         (exp10_test_data): Likewise.
2939         (exp2_test_data): Likewise.
2940         (expm1_test_data): Likewise.
2941         (lgamma_test_data): Likewise.
2942         (pow_test_data): Likewise.
2943         (tgamma_test_data): Likewise.
2944         (yn_test_data): Remove duplicate test of overflow.
2946         * math/libm-test.inc (struct test_cc_c_data): New type.
2947         (RUN_TEST_LOOP_cc_c): New macro.
2948         (cpow_test_data): New variable.
2949         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
2951         * math/libm-test.inc (struct test_f_L_data): New type.
2952         (RUN_TEST_LOOP_f_L): New macro.
2953         (llrint_test_data): New variable.
2954         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
2955         (llrint_tonearest_test_data): New variable.
2956         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
2957         (llrint_towardzero_test_data): New variable.
2958         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
2959         (llrint_downward_test_data): New variable.
2960         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
2961         (llrint_upward_test_data): New variable.
2962         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
2963         (llround_test_data): New variable.
2964         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
2966 2013-05-13  Peter Collingbourne  <pcc@google.com>
2968         * math/atest-exp2.c (get_log2): Remove const attribute.
2970 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
2972         * math/libm-test.inc (struct test_f_l_data): New type.
2973         (RUN_TEST_LOOP_f_l): New macro.
2974         (lrint_test_data): New variable.
2975         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
2976         (lrint_tonearest_test_data): New variable.
2977         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
2978         (lrint_towardzero_test_data): New variable.
2979         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
2980         (lrint_downward_test_data): New variable.
2981         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
2982         (lrint_upward_test_data): New variable.
2983         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
2984         (lround_test_data): New variable.
2985         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
2987 2013-05-15  Peter Collingbourne  <pcc@google.com>
2989         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
2990         (EXTRACT_WORDS64) Use where appropriate.
2991         (INSERT_WORDS64) Likewise.
2993         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
2994         constraints with x constraints.
2995         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
2997         * malloc/obstack.c (_obstack_compat): Add initializer.
2999 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
3001         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
3002         si_trapno and add si_addr_lsb to _sifields.sigfault.
3003         (si_trapno): Remove macro.
3004         (si_addr_lsb): Define new macro.
3005         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
3007 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
3009         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
3010         instead of TEST_f_l.
3011         (llrint_test_tonearest): Likewise.
3012         (llrint_test_towardzero): Likewise.
3013         (llrint_test_downward): Likewise.
3014         (llrint_test_upward): Likewise.
3015         (llround_test): Likewise.
3017         * math/libm-test.inc (struct test_f_i_data): Add comment.
3018         (RUN_TEST_LOOP_f_b): New macro.
3019         (RUN_TEST_LOOP_f_b_tg): Likewise.
3020         (finite_test_data): New variable.
3021         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
3022         (isfinite_test_data): New variable.
3023         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
3024         (isinf_test_data): New variable.
3025         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
3026         (isnan_test_data): New variable.
3027         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
3028         (isnormal_test_data): New variable.
3029         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
3030         (issignaling_test_data): New variable.
3031         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
3032         (signbit_test_data): New variable.
3033         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
3035         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
3036         with INVALID_EXCEPTION.
3037         (acosh_test_data): Likewise.
3038         (asin_test_data): Likewise.
3039         (atanh_test_data): Likewise.
3040         (fmod_test_data): Likewise.
3041         (log_test_data): Likewise.
3042         (log10_test_data): Likewise.
3043         (log2_test_data): Likewise.
3044         (pow_test_data): Likewise.
3045         (sqrt_test_data): Likewise.
3046         (y0_test_data): Likewise.
3047         (y1_test_data): Likewise.
3048         (yn_test_data): Likewise.
3050         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
3051         function contents.
3053         * math/libm-test.inc (struct test_ff_i_data): New type.
3054         (RUN_TEST_LOOP_ff_i_tg): New macro.
3055         (isgreater_test_data): New variable.
3056         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
3057         (isgreaterequal_test_data): New variable.
3058         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
3059         (isless_test_data): New variable.
3060         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
3061         (islessequal_test_data): New variable.
3062         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
3063         (islessgreater_test_data): New variable.
3064         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
3065         (isunordered_test_data): New variable.
3066         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
3068 2013-05-14  David S. Miller  <davem@davemloft.net>
3070         * sysdeps/sparc/fpu/libm-test-ulps: Update.
3072 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
3074         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
3076         * math/libm-test.inc (struct test_fF_f1_data): Change type of
3077         extra_test to int.
3078         (struct test_f_i_data): Change type of max_ulp to int.
3080         * math/libm-test.inc (test_ffI_f1_data): New type.
3081         (RUN_TEST_LOOP_ffI_f1): New macro.
3082         (remquo_test_data): New variable.
3083         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
3085         * setjmp/tst-setjmp-fp.c: New file.
3086         * setjmp/Makefile (tests): Add tst-setjmp-fp.
3087         (link-libm): New variable.
3088         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
3090         * math/libm-test.inc (struct test_f_i_data): New type.
3091         (RUN_TEST_LOOP_f_i): New macro.
3092         (RUN_TEST_LOOP_f_i_tg): Likewise.
3093         (fpclassify_test_data): New variable.
3094         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
3095         (ilogb_test_data): New variable.
3096         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
3098         * math/libm-test.inc (scalbln_test): Correct function name in END
3099         call.
3101         * math/libm-test.inc (struct test_f_f1_data): Add comment.
3102         (RUN_TEST_LOOP_fI_f1): New macro.
3103         (frexp_test_data): New variable.
3104         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
3106         * math/libm-test.inc (struct test_fF_f1_data): New type.
3107         (RUN_TEST_LOOP_fF_f1): New macro.
3108         (modf_test_data): New variable.
3109         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
3111         * math/libm-test.inc (struct test_f_f1_data): New type.
3112         (RUN_TEST_LOOP_f_f1): New macro.
3113         (gamma_test_data): New variable.
3114         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
3115         (lgamma_test_data): New variable.
3116         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
3118 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
3120         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
3121         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
3122         (main): Comment "tls" pseudo-hwcap.
3124 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
3126         * math/libm-test.inc (struct test_fl_f_data): New type.
3127         (RUN_TEST_LOOP_fl_f): New variable.
3128         (scalbln_test_data): New variable.
3129         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
3131         * math/libm-test.inc (struct test_fi_f_data): New type.
3132         (RUN_TEST_LOOP_fi_f): New macro.
3133         (ldexp_test_data): New variable.
3134         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
3135         (scalbn_test_data): New variable.
3136         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
3138         * math/libm-test.inc (struct test_c_f_data): New type.
3139         (RUN_TEST_LOOP_c_f): New macro.
3140         (cabs_test_data): New variable.
3141         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
3142         (carg_test_data): New variable.
3143         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
3144         (cimag_test_data): New variable.
3145         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
3146         (creal_test_data): New variable.
3147         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
3149         * math/libm-test.inc (struct test_if_f_data): New type.
3150         (RUN_TEST_LOOP_if_f): New macro.
3151         (jn_test_data): New variable.
3152         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
3153         (yn_test_data): New variable.
3154         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
3156         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
3158 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3160         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
3161         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
3163 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
3165         * benchtests/Makefile (CPPFLAGS-nonlib): Add
3166         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
3167         (bench-deps): Add bench-timing.h.
3168         * benchtests-bench-skeleton.c: Include bench-timing.h.
3169         (main): Use TIMING_* macros instead of clock_gettime.
3170         * benchtests/bench-timing.h: New file.
3172         [BZ #14582]
3173         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
3174         Renamed from _LIB_VERSION.
3175         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
3177 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
3179         * math/libm-test.inc (struct test_fff_f_data): New type.
3180         (RUN_TEST_LOOP_fff_f): New macro.
3181         (fma_test_data): New variable.
3182         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
3183         (fma_towardzero_test_data): New variable.
3184         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
3185         (fma_downward_test_data): New variable.
3186         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
3187         (fma_upward_test_data): New variable.
3188         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
3190         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
3191         (struct test_c_c_data): New type.
3192         (RUN_TEST_LOOP_c_c): New macro.
3193         (cacos_test_data): New variable.
3194         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
3195         (cacosh_test_data): New variable.
3196         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
3197         (casin_test_data): New variable.
3198         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
3199         (casinh_test_data): New variable.
3200         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
3201         (catan_test_data): New variable.
3202         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
3203         (catanh_test_data): New variable.
3204         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
3205         (ccos_test_data): New variable.
3206         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
3207         (ccosh_test_data): New variable.
3208         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
3209         (cexp_test_data): New variable.
3210         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
3211         (clog_test_data): New variable.
3212         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
3213         (clog10_test_data): New variable.
3214         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
3215         (conj_test_data): New variable.
3216         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
3217         (cproj_test_data): New variable.
3218         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
3219         (csin_test_data): New variable.
3220         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
3221         (csinh_test_data): New variable.
3222         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
3223         (csqrt_test_data): New variable.
3224         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
3225         (ctan_test_data): New variable.
3226         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
3227         (ctan_tonearest_test_data): New variable.
3228         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
3229         (ctan_towardzero_test_data): New variable.
3230         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
3231         (ctan_downward_test_data): New variable.
3232         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
3233         (ctan_upward_test_data): New variable.
3234         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
3235         (ctanh_test_data): New variable.
3236         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
3237         (ctanh_tonearest_test_data): New variable.
3238         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
3239         (ctanh_towardzero_test_data): New variable.
3240         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
3241         (ctanh_downward_test_data): New variable.
3242         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
3243         (ctanh_upward_test_data): New variable.
3244         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
3245         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
3246         of BUILD_COMPLEX.
3248         * math/libm-test.inc (struct test_ff_f_data): New type.
3249         (struct test_ff_f_data_nexttoward): Likewise.
3250         (RUN_TEST_LOOP_2_f): New macro.
3251         (RUN_TEST_LOOP_ff_f): Likewise.
3252         (atan2_test_data): New variable.
3253         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
3254         (copysign_test_data): New variable.
3255         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
3256         (fdim_test_data): New variable.
3257         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
3258         (fmax_test_data): New variable.
3259         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
3260         (fmin_test_data): New variable.
3261         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
3262         (fmod_test_data): New variable.
3263         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
3264         (hypot_test_data): New variable.
3265         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
3266         (nextafter_test_data): New variable.
3267         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
3268         (nexttoward_test_data): New variable.
3269         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
3270         (pow_test_data): New variable.
3271         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
3272         (pow_tonearest_test_data): New variable.
3273         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
3274         (pow_towardzero_test_data): New variable.
3275         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
3276         (pow_downward_test_data): New variable.
3277         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
3278         (pow_upward_test_data): New variable.
3279         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
3280         (remainder_test_data): New variable.
3281         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
3282         (scalb_test_data): New variable.
3283         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
3284         * sysdeps/i386/fpu/libm-test-ulps: Update.
3286 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
3288         * math/libm-test.inc (fma_test): Use max_value instead of local
3289         variable fltmax.
3290         (nextafter_test): Likewise.
3292         * math/libm-test.inc (acos_towardzero_test_data): New variable.
3293         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3294         (acos_downward_test_data): New variable.
3295         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3296         (acos_upward_test_data): New variable.
3297         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3298         (acosh_test_data): New variable.
3299         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
3300         (asin_test_data): New variable.
3301         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
3302         (asin_tonearest_test_data): New variable.
3303         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3304         (asin_towardzero_test_data): New variable.
3305         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3306         (asin_downward_test_data): New variable.
3307         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3308         (asin_upward_test_data): New variable.
3309         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3310         (asinh_test_data): New variable.
3311         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
3312         (atan_test_data): New variable.
3313         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
3314         (atanh_test_data): New variable.
3315         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
3316         (cbrt_test_data): New variable.
3317         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
3318         (ceil_test_data): New variable.
3319         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
3320         (cos_test_data): New variable.
3321         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
3322         (cos_tonearest_test_data): New variable.
3323         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3324         (cos_towardzero_test_data): New variable.
3325         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3326         (cos_downward_test_data): New variable.
3327         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3328         (cos_upward_test_data): New variable.
3329         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3330         (cosh_test_data): New variable.
3331         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
3332         (cosh_tonearest_test_data): New variable.
3333         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3334         (cosh_towardzero_test_data): New variable.
3335         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3336         (cosh_downward_test_data): New variable.
3337         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3338         (cosh_upward_test_data): New variable.
3339         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3340         (erf_test_data): New variable.
3341         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
3342         (erfc_test_data): New variable.
3343         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
3344         (exp_test_data): New variable.
3345         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
3346         (exp_tonearest_test_data): New variable.
3347         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3348         (exp_towardzero_test_data): New variable.
3349         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3350         (exp_downward_test_data): New variable.
3351         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3352         (exp_upward_test_data): New variable.
3353         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3354         (exp10_test_data): New variable.
3355         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
3356         (exp2_test_data): New variable.
3357         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
3358         (expm1_test_data): New variable.
3359         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
3360         (fabs_test_data): New variable.
3361         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
3362         (floor_test_data): New variable.
3363         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
3364         (j0_test_data): New variable.
3365         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
3366         (j1_test_data): New variable.
3367         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
3368         (log_test_data): New variable.
3369         (log_test): Run tests with RUN_TEST_LOOP_f_f.
3370         (log10_test_data): New variable.
3371         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
3372         (log1p_test_data): New variable.
3373         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
3374         (log2_test_data): New variable.
3375         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
3376         (logb_test_data): New variable.
3377         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
3378         (logb_downward_test_data): New variable.
3379         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3380         (nearbyint_test_data): New variable.
3381         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
3382         (rint_test_data): New variable.
3383         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
3384         (rint_tonearest_test_data): New variable.
3385         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3386         (rint_towardzero_test_data): New variable.
3387         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3388         (rint_downward_test_data): New variable.
3389         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3390         (rint_upward_test_data): New variable.
3391         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3392         (round_test_data): New variable.
3393         (round_test): Run tests with RUN_TEST_LOOP_f_f.
3394         (sin_test_data): New variable.
3395         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
3396         (sin_tonearest_test_data): New variable.
3397         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3398         (sin_towardzero_test_data): New variable.
3399         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3400         (sin_downward_test_data): New variable.
3401         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3402         (sin_upward_test_data): New variable.
3403         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3404         (sinh_test_data): New variable.
3405         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
3406         (sinh_tonearest_test_data): New variable.
3407         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3408         (sinh_towardzero_test_data): New variable.
3409         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3410         (sinh_downward_test_data): New variable.
3411         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3412         (sinh_upward_test_data): New variable.
3413         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3414         (sqrt_test_data): New variable.
3415         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
3416         (tan_test_data): New variable.
3417         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
3418         (tan_tonearest_test_data): New variable.
3419         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3420         (tan_towardzero_test_data): New variable.
3421         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3422         (tan_downward_test_data): New variable.
3423         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3424         (tan_upward_test_data): New variable.
3425         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3426         (tanh_test_data): New variable.
3427         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
3428         (tgamma_test_data): New variable.
3429         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
3430         (trunc_test_data): New variable.
3431         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
3432         (y0_test_data): New variable.
3433         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
3434         (y1_test_data): New variable.
3435         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
3436         (significand_test_data): New variable.
3437         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
3439 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
3441         [BZ #12387]
3442         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
3444 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
3446         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
3448 2013-05-10  Andreas Jaeger  <aj@suse.de>
3450         [BZ #15448]
3451         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
3452         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
3454 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
3456         * math/gen-libm-test.pl (adjust_arg): New function.
3457         (special_functions): Handle generating output in both functions
3458         and arrays.
3459         (parse_args): Likewise.
3460         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
3461         $in_func argument to parse_args.
3462         * math/libm-test.inc (struct test_f_f_data): New type.
3463         (IF_ROUND_INIT_): New macro.
3464         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
3465         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
3466         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
3467         (IF_ROUND_INIT_FE_UPWARD): Likewise.
3468         (ROUND_RESTORE_): Likewise.
3469         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
3470         (ROUND_RESTORE_FE_TONEAREST): Likewise.
3471         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
3472         (ROUND_RESTORE_FE_UPWARD): Likewise.
3473         (RUN_TEST_LOOP_f_f): New macro.
3474         (acos_test_data): New variable.
3475         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
3476         (acos_tonearest_test_data): New variable.
3477         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3479 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
3481         * benchtests/bench-skeleton.c (startup): Fix coding style.
3483 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
3485         [BZ #6809]
3486         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
3487         negative infinity argument.
3488         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
3489         negative infinity argument.
3490         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
3491         negative infinity argument.
3492         * math/libm-test.inc (tgamma_test): Expect errno to be set for
3493         domain errors.
3495 2013-05-10  Florian Weimer  <fweimer@redhat.com>
3497         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
3498         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
3499         * iconv/iconv_prog.c (main): Likewise.
3500         * locale/programs/charmap-dir.c (charmap_readdir)
3501         (fopen_uncompressed): Likewise.
3502         * locale/programs/locfile.c (siblings_uncached)
3503         (write_locale_data): Use lstat64 instead of lstat.
3504         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
3505         stat.
3507 2013-05-10  Andreas Jaeger  <aj@suse.de>
3509         [BZ #15395]
3510         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
3511         localization.
3512         Include <locale.h>.
3514 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
3516         * elf/dl-close.c (_dl_close_worker): Add comments.
3518 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
3520         [BZ #15359]
3521         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
3522         high part of pi/2.
3523         (__ieee754_rem_pio2l): Update comments.
3525         [BZ #15429]
3526         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
3527         high part of pi/2.
3528         (__ieee754_rem_pio2l): Update comments.
3530         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
3531         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
3533         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
3534         M_PI_4l.
3536         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
3537         (M_PI_34_LOG10El): Likewise.
3538         (M_PI2_LOG10El): Likewise.
3539         (M_PI4_LOG10El): Likewise.
3540         (M_PI_LOG10El): Likewise.
3542 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3544         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3546 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
3548         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
3549         (MINUS_ZERO_INIT): Likewise.
3550         (PLUS_INFTY_INIT): Likewise.
3551         (MINUS_INFTY_INIT): Likewise.
3552         (QNAN_VALUE_INIT): Likewise.
3553         (MAX_VALUE_INIT): Likewise.
3554         (MIN_VALUE_INIT): Likewise.
3555         (MIN_SUBNORM_VALUE_INIT): Likewise.
3556         (plus_zero): Initialize with PLUS_ZERO_INIT.
3557         (minus_zero): Initialize with MINUS_ZERO_INIT.
3558         (plus_infty): Initialize with PLUS_INFTY_INIT.
3559         (minus_infty): Initialize with MINUS_INFTY_INIT.
3560         (qnan_value): Initialize with QNAN_VALUE_INIT.
3561         (max_value): Initialize with MAX_VALUE_INIT.
3562         (min_value): Initialize with MIN_VALUE_INIT.
3563         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
3565         * math/libm-test.inc (RUN_TEST_if_f): New macro.
3566         (jn_test): Use TEST_if_f instead of TEST_ff_f.
3567         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
3568         (yn_test): Use TEST_if_f instead of TEST_ff_f.
3570         * math/libm-test.inc (RUN_TEST_f_f): New macro.
3571         (RUN_TEST_2_f): Likewise.
3572         (RUN_TEST_ff_f): Likewise.
3573         (RUN_TEST_fi_f): Likewise.
3574         (RUN_TEST_fl_f): Likewise.
3575         (RUN_TEST_fff_f): Likewise.
3576         (RUN_TEST_c_f): Likewise.
3577         (RUN_TEST_f_f1): Likewise.
3578         (RUN_TEST_fF_f1): Likewise.
3579         (RUN_TEST_fI_f1): Likewise.
3580         (RUN_TEST_ffI_f1): Likewise.
3581         (RUN_TEST_c_c): Likewise.
3582         (RUN_TEST_cc_c): Likewise.
3583         (RUN_TEST_f_i): Likewise.
3584         (RUN_TEST_f_i_tg): Likewise.
3585         (RUN_TEST_ff_i_tg): Likewise.
3586         (RUN_TEST_f_b): Likewise.
3587         (RUN_TEST_f_b_tg): Likewise.
3588         (RUN_TEST_f_l): Likewise.
3589         (RUN_TEST_f_L): Likewise.
3590         (RUN_TEST_sincos): Likewise.
3591         * math/gen-libm-test.pl (new_test): Take new argument to indicate
3592         whether to show exceptions.  Do not include ");\n" in return
3593         value.
3594         (special_functions): Output call to RUN_TEST_sincos instead of
3595         check_float calls.  Update calls to new_test.
3596         (parse_args): Output call to single RUN_TEST_* macro instead of
3597         check_* calls and other assignments.  Update calls to new_test.
3599         [BZ #2546]
3600         [BZ #2560]
3601         [BZ #5159]
3602         [BZ #15426]
3603         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
3604         input to result for tgamma overflow.
3605         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
3606         (gamma_coeff): New variable.
3607         (NCOEFF): New macro.
3608         (gamma_positive): New function.
3609         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
3610         underflow here.  Use gamma_positive instead of exp (lgamma) for
3611         other arguments.
3612         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
3613         (gamma_coeff): New variable.
3614         (NCOEFF): New macro.
3615         (gammaf_positive): New function.
3616         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
3617         underflow here.  Use gamma_positive instead of exp (lgamma) for
3618         other arguments.
3619         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
3620         (gamma_coeff): New variable.
3621         (NCOEFF): New macro.
3622         (gammal_positive): New function.
3623         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
3624         underflow here.  Use gamma_positive instead of exp (lgamma) for
3625         other arguments.
3626         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
3627         (gamma_coeff): New variable.
3628         (NCOEFF): New macro.
3629         (gammal_positive): New function.
3630         (__ieee754_gammal_r): Handle positive infinity, overflow and
3631         underflow here.  Handle NaN the same as positive infinity.  Remove
3632         check x < 0xffffffff for negative integers.  Use gamma_positive
3633         instead of exp (lgamma) for other arguments.
3634         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
3635         (gamma_coeff): New variable.
3636         (NCOEFF): New macro.
3637         (gammal_positive): New function.
3638         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
3639         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
3640         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
3641         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
3642         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
3643         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
3644         * sysdeps/generic/math_private.h (__gamma_productf): New
3645         prototype.
3646         (__gamma_product): Likewise.
3647         (__gamma_productl): Likewise.
3648         * math/Makefile (libm-calls): Add gamma_product.
3649         * math/libm-test.inc (tgamma_test): Add more tests.
3650         * sysdeps/i386/fpu/libm-test-ulps: Update.
3651         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3653 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
3655         * benchtests/bench-skeleton.c (main): Preheat CPU.
3657 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
3659         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
3661 2013-05-07  Roland McGrath  <roland@hack.frob.com>
3663         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
3664         and _dl_skip_args_internal.
3666 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
3668         * manual/message.texi (Message Translation): Talk about users.
3669         Message to key mapping impacts design.
3671 2013-05-06  Roland McGrath  <roland@hack.frob.com>
3673         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
3675         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
3677         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
3678         * sysdeps/wordsize-64/glob64.c: ... here.
3680         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
3681         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
3682         New macros.
3684         * debug/getlogin_r_chk.c: Moved to ...
3685         * login/getlogin_r_chk.c: ... here.
3686         * debug/Makefile (routines): Move getlogin_r_chk to ...
3687         * login/Makefile (routines): ... here.
3688         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
3689         * login/Versions (libc: GLIBC_2.4): ... here.
3691         * io/poll.c (__poll): Renamed from poll.
3692         Add libc_hidden_def.
3693         (poll): Define as weak alias.
3695         * debug/ptsname_r_chk.c: Moved to ...
3696         * login/ptsname_r_chk.c: ... here.
3697         * debug/Makefile (routines): Move ptsname_r_chk to ...
3698         * login/Makefile (routines): ... here.
3699         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
3700         * login/Versions (libc: GLIBC_2.4): ... here.
3702         * posix/getlogin.c: Moved to ...
3703         * login/getlogin.c: ... here.
3704         * posix/getlogin_r.c: Moved to ...
3705         * login/getlogin_r.c: ... here.
3706         * posix/getlogin_r.c: Moved to ...
3707         * login/getlogin_r.c: ... here.
3708         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
3709         * login/Makefile (routines): ... here.
3710         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
3711         * login/Versions (libc: GLIBC_2.0): ... here.
3713         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
3714         (setrlimit): Define as weak alias.
3716         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
3717         Call __ names for open, ftruncate, and close.
3718         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
3719         (truncate): Define as weak alias.
3721 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
3723         * math/gen-libm-test.pl (parse_args): Initialize x before each
3724         test of frexp, modf and remquo.
3726         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
3727         test signgam value.
3729 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3731         [BZ #15418]
3732         [BZ #15419]
3733         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
3734         internal tests.
3735         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
3737 2013-05-06  Roland McGrath  <roland@hack.frob.com>
3739         * elf/dl-writev.h: New file.
3740         * elf/dl-misc.c: Include it.
3741         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
3742         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
3744 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
3746         * math/libm-test.inc (noXFails): Remove variable.
3747         (noXPasses): Likewise.
3748         (BUILD_COMPLEX_INT): Remove macro.
3749         (print_screen): Remove xfail argument.
3750         (print_screen_max_error): Likewise.
3751         (update_stats): Likewise.
3752         (print_max_error): Likewise.  Update calls to other affected
3753         functions.
3754         (print_complex_max_error): Likewise.
3755         (test_single_exception): Update calls to print_screen.
3756         (test_single_errno): Likewise.
3757         (check_float_internal): Remove xfail argument.  Update calls to
3758         other affected functions.
3759         (check_float): Likewise.
3760         (check_complex): Likewise.
3761         (check_int): Likewise.
3762         (check_long): Likewise.
3763         (check_bool): Likewise.
3764         (check_longlong): Likewise.
3765         (main): Don't print noXFails and noXPasses.
3766         * math/gen-libm-test.pl (top level): Don't mention expected
3767         failure handling in comment.
3768         (new_test): Don't handle expected failures.
3769         (parse_args): Don't mention expected failure handling in comment.
3770         (generate_testfile): Don't handle expected failures.
3771         (parse_ulps): Likewise.
3772         (print_ulps_file): Likewise.
3773         (get_failure): Remove function.
3774         (output_test): Don't handle expected failures.
3775         * make/README.libm-test: Don't mention expected failure handling.
3777         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
3778         (minus_zero): Likewise.
3779         (plus_infty): Likewise.
3780         (minus_infty): Likewise.
3781         (qnan_value): Likewise.
3782         (max_value): Likewise.
3783         (min_value): Likewise.
3784         (min_subnorm_value): Likewise.
3785         (initialize): Do not initialize those variables dynamically.
3787 2013-05-03  Roland McGrath  <roland@hack.frob.com>
3789         * io/open.c (__open_2): Moved to ...
3790         * io/open_2.c: ... this new file.
3791         * io/open64.c (__open64_2): Moved to ...
3792         * io/open64_2.c: ... this new file.
3793         * io/openat.c (__openat_2): Moved to ...
3794         * io/openat_2.c: ... this new file.
3795         * io/openat64.c (__openat64_2): Moved to ...
3796         * io/openat64_2.c: ... this new file.
3797         * io/Makefile (routines): Add them.
3798         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
3799         * sysdeps/unix/sysv/linux/open_2.c: File removed.
3800         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
3801         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
3802         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
3803         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
3804         (__openat64): Add hidden_ver.
3805         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
3806         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
3808         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
3809         Separately conditionalize setting of GLRO(dl_sysinfo) so
3810         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
3811         as well, but the actual setting is only under [NEED_DL_SYSINFO].
3813 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3815         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
3816         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
3817         definition.
3818         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
3819         * sysdeps/unix/sysv/linux/powerpc/init-first.c
3820         (_libc_vdso_platform_setup): Add __vdso_time initialization.
3821         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
3822         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
3824 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
3826         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
3827         test signgam value.
3829         * math/libm-test.inc (hypot_test): Do not use
3830         IGNORE_ZERO_INF_SIGN.
3832 2013-05-03  Andreas Jaeger  <aj@suse.de>
3834         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
3835         Linux 3.9.
3836         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
3837         (PF_MAX): Adjust for VSOCK change.
3839 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3841         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3843 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
3845         [BZ #15264]
3846         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
3847         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
3848         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
3850 2013-05-02  David S. Miller  <davem@davemloft.net>
3852         * sysdeps/sparc/fpu/libm-test-ulps: Update.
3854 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
3856         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
3858 2013-05-01  Roland McGrath  <roland@hack.frob.com>
3860         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
3862 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
3864         [BZ #14952]
3865         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
3866         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
3867         Use __attribute__ ((__gnu_inline__)).
3868         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
3869         Don't use __attribute__ ((__gnu_inline__)).
3871 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
3873         [BZ #15423]
3874         * math/s_catan.c (__catan): Handle small real or imaginary part of
3875         input specially to avoid spurious underflow.
3876         * math/s_catanf.c (__catanf): Likewise.
3877         * math/s_catanh.c (__catanh): Likewise.
3878         * math/s_catanhf.c (__catanhf): Likewise.
3879         * math/s_catanhl.c (__catanhl): Likewise.
3880         * math/s_catanl.c (__catanl): Likewise.
3881         * math/libm-test.inc (catan_test): Add more tests.
3882         (catanh_test): Likewise.
3883         * sysdeps/i386/fpu/libm-test-ulps: Update.
3884         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3886 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3888         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3890 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
3892         [BZ #15416]
3893         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
3894         accurately for denominator in atan2.
3895         * math/s_catanf.c (__catanf): Likewise.
3896         * math/s_catanh.c (__catanh): Likewise.
3897         * math/s_catanhf.c (__catanhf): Likewise.
3898         * math/s_catanhl.c (__catanhl): Likewise.
3899         * math/s_catanl.c (__catanl): Likewise.
3900         * math/libm-test.inc (catan_test): Add more tests.
3901         (catanh_test): Likewise.
3902         * sysdeps/i386/fpu/libm-test-ulps: Update.
3903         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3905 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
3907         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
3909         * benchtests/Makefile (bench): Remove slow benchmarks.
3910         * benchtests/atan-inputs: Add slow benchmark inputs.
3911         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
3912         (BENCH_FUNC): Accept variant offset.
3913         (VARIANT): Define.
3914         * benchtests/bench-skeleton.c (main): Run benchmark for each
3915         variant.
3916         * benchtests/cos-inputs: Add slow benchmark inputs.
3917         * benchtests/exp-inputs: Likewise.
3918         * benchtests/pow-inputs: Likewise.
3919         * benchtests/sin-inputs: Likewise.
3920         * benchtests/slowatan-inputs: Remove.
3921         * benchtests/slowatan.c: Remove.
3922         * benchtests/slowcos-inputs: Remove.
3923         * benchtests/slowcos.c: Remove.
3924         * benchtests/slowexp-inputs: Remove.
3925         * benchtests/slowexp.c: Remove.
3926         * benchtests/slowpow-inputs: Remove.
3927         * benchtests/slowpow.c: Remove.
3928         * benchtests/slowsin-inputs: Remove.
3929         * benchtests/slowsin.c: Remove.
3930         * benchtests/slowtan-inputs: Remove.
3931         * benchtests/slowtan.c: Remove.
3932         * benchtests/tan-inputs: Add slow benchmark inputs.
3933         * scripts/bench.pl: Parse comments and directives.
3935         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
3936         in CPPFLAGS.
3937         ($(objpfx)bench-%.c): Remove *-ITER.
3938         * benchtests/bench-modf.c: Remove definition of ITER.
3939         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
3940         (main): Loop for DURATION seconds instead of fixed number of
3941         iterations.
3942         * scripts/bench.pl: Don't expect iterations in parameters.
3944 2013-04-29  Roland McGrath  <roland@hack.frob.com>
3946         * io/fchdir.c (__fchdir): Renamed from fchdir.
3947         (fchdir): Define as weak alias.
3949 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
3951         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
3952         (ERRNO_EDOM): Likewise.
3953         (ERRNO_ERANGE): Likewise.
3954         (noErrnoTests): New variable.
3955         (init_max_error): Set errno to 0.
3956         (test_single_errno): New function.
3957         (test_errno): Likewise.
3958         (check_float_internal): Call test_errno.  Set errno to 0.
3959         (check_complex): Refer to errno tests in comment.
3960         (check_int): Call test_errno.  Set errno to 0.
3961         (check_long): Likewise.
3962         (check_bool): Likewise.
3963         (check_longlong): Likewise.
3964         (cos_test): Use ERRNO_* flags for errno tests instead of
3965         check_int.
3966         (expm1_test): Likewise.
3967         (fmod_test): Likewise.
3968         (ilogb_test): Likewise.
3969         (lgamma_test): Likewise.
3970         (pow_test): Likewise.
3971         (remainder_test): Likewise.
3972         (sin_test): Likewise.
3973         (tan_test): Likewise.
3974         (yn_test): Likewise.
3975         (initialize): Set errno to 0.
3976         (main): Print number of errno tests.
3977         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
3979 2013-04-29  Andreas Jaeger  <aj@suse.de>
3981         [BZ #15084]
3982         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
3983         and RES_USEVC.
3985         [BZ #15085]
3986         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
3987         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
3988         unimplemented.
3990         [BZ #15380]
3991         * stdlib/random.c (__initstate): Return NULL if
3992         __initstate fails.
3994         [BZ #15086]
3995         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
3996         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
3997         RES_SNGLKUPREOP.
3999 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4001         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4003 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
4005         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
4006         of individual tests.
4007         (casin_test): Likewise.
4008         (casinh_test): Likewise.
4010 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
4012         [BZ #15409]
4013         * math/s_catan.c (__catan): Handle arguments with large real or
4014         imaginary part separately without squaring.
4015         * math/s_catanf.c (__catanf): Likewise.
4016         * math/s_catanh.c (__catanh): Likewise.
4017         * math/s_catanhf.c (__catanhf): Likewise.
4018         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
4019         and redefine.
4020         (__catanhl): Handle arguments with large real or imaginary part
4021         separately without squaring.
4022         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
4023         and redefine.
4024         (__catanl): Handle arguments with large real or imaginary part
4025         separately without squaring.
4026         * math/libm-test.inc (catan_test): Add more tests.
4027         (catanh_test): Likewise.
4028         * sysdeps/i386/fpu/libm-test-ulps: Update.
4029         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4031 2013-04-27  Andreas Jaeger  <aj@suse.de>
4033         [BZ #15007]
4034         * stdlib/stdlib.h: Update guards for qecvt.
4035         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
4036         <stdlib.h>.
4038 2013-04-27  Allan McRae  <allan@archlinux.org>
4040         * sysdeps/i386/fpu/libm-test-ulps: Update.
4042 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
4044         [BZ #15406]
4045         * math/s_catan.c: Include <float.h>.
4046         (__catan): Ensure underflow exception occurs for underflowed
4047         result.
4048         * math/s_catanf.c: Include <float.h>.
4049         (__catanf): Ensure underflow exception occurs for underflowed
4050         result.
4051         * math/s_catanh.c: Include <float.h>.
4052         (__catanh): Ensure underflow exception occurs for underflowed
4053         result.
4054         * math/s_catanhf.c: Include <float.h>.
4055         (__catanhf): Ensure underflow exception occurs for underflowed
4056         result.
4057         * math/s_catanhl.c: Include <float.h>.
4058         (__catanhl): Ensure underflow exception occurs for underflowed
4059         result.
4060         * math/s_catanl.c: Include <float.h>.
4061         (__catanl): Ensure underflow exception occurs for underflowed
4062         result.
4063         * math/libm-test.inc (catan_test): Add more tests.
4064         (catanh_test): Likewise.
4066         [BZ #15405]
4067         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
4068         underflowed result.
4069         * math/s_ccoshf.c (__ccoshf): Likewise.
4070         * math/s_ccoshl.c (__ccoshl): Likewise.
4071         * math/s_csin.c (__csin): Likewise.
4072         * math/s_csinf.c (__csinf): Likewise.
4073         * math/s_csinh.c (__csinh): Likewise.
4074         * math/s_csinhf.c (__csinhf): Likewise.
4075         * math/s_csinhl.c (__csinhl): Likewise.
4076         * math/s_csinl.c (__csinl): Likewise.
4077         * math/libm-test.inc (ccos_test): Add more tests.
4078         (ccosh_test): Likewise.
4079         (csin_test): Likewise.
4080         (csinh_test): Likewise.
4082 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4084         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
4085         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
4086         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
4087         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
4088         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
4089         powerpc/power5+/fpu folders.
4090         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
4093 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
4095         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4097 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
4099         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
4100         additions to variable.
4101         [$(config-machine) = x86_64] (modules-names): Likewise.
4102         ($(objpfx)tst-audit3): Remove dependency.
4103         ($(objpfx)tst-audit3.out): Likewise.
4104         ($(objpfx)tst-audit4): Likewise.
4105         ($(objpfx)tst-audit4.out): Likewise.
4106         ($(objpfx)tst-audit5): Likewise.
4107         ($(objpfx)tst-audit5.out): Likewise.
4108         ($(objpfx)tst-audit6): Likewise.
4109         ($(objpfx)tst-audit6.out): Likewise.
4110         ($(objpfx)tst-audit7): Likewise.
4111         ($(objpfx)tst-audit7.out): Likewise.
4112         (tst-audit3-ENV): Remove variable.
4113         (tst-audit4-ENV): Likewise.
4114         (tst-audit5-ENV): Likewise.
4115         (tst-audit6-ENV): Likewise.
4116         (tst-audit7-ENV): Likewise.
4117         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
4118         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
4119         addition to variable.
4120         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
4121         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
4122         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
4123         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
4124         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
4125         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
4126         tst-audit3, tst-audit4 and tst-audit5.
4127         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
4128         tst-audit6 and tst-audit7.
4129         [$(subdir) = elf] (modules-names): Add audit modules for those
4130         tests.
4131         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
4132         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
4133         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
4134         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
4135         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
4136         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
4137         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
4138         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
4139         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
4140         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
4141         [$(subdir) = elf] (tst-audit3-ENV): New variable.
4142         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
4143         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
4144         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
4145         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
4146         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
4147         Likewise.
4148         [$(subdir) = elf && $(config-cflags-avx) = yes]
4149         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
4150         [$(subdir) = elf && $(config-cflags-avx) = yes]
4151         (CFLAGS-tst-auditmod4a.c): Likewise.
4152         [$(subdir) = elf && $(config-cflags-avx) = yes]
4153         (CFLAGS-tst-auditmod4b.c): Likewise.
4154         [$(subdir) = elf && $(config-cflags-avx) = yes]
4155         (CFLAGS-tst-auditmod6b.c): Likewise.
4156         [$(subdir) = elf && $(config-cflags-avx) = yes]
4157         (CFLAGS-tst-auditmod6c.c): Likewise.
4158         [$(subdir) = elf && $(config-cflags-avx) = yes]
4159         (CFLAGS-tst-auditmod7b.c): Likewise.
4160         * elf/tst-audit3.c: Move to ...
4161         * sysdeps/x86_64/tst-audit3.c: ... here.
4162         * elf/tst-audit4.c: Move to ...
4163         * sysdeps/x86_64/tst-audit4.c: ... here.
4164         * elf/tst-audit5.c: Move to ...
4165         * sysdeps/x86_64/tst-audit5.c: ... here.
4166         * elf/tst-audit6.c: Move to ...
4167         * sysdeps/x86_64/tst-audit6.c: ... here.
4168         * elf/tst-audit7.c: Move to ...
4169         * sysdeps/x86_64/tst-audit7.c: ... here.
4170         * elf/tst-auditmod3a.c: Move to ...
4171         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
4172         * elf/tst-auditmod3b.c: Move to ...
4173         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
4174         * elf/tst-auditmod4a.c: Move to ...
4175         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
4176         * elf/tst-auditmod4b.c: Move to ...
4177         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
4178         * elf/tst-auditmod5a.c: Move to ...
4179         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
4180         * elf/tst-auditmod5b.c: Move to ...
4181         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
4182         * elf/tst-auditmod6a.c: Move to ...
4183         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
4184         * elf/tst-auditmod6b.c: Move to ...
4185         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
4186         * elf/tst-auditmod6c.c: Move to ...
4187         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
4188         * elf/tst-auditmod7a.c: Move to ...
4189         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
4190         * elf/tst-auditmod7b.c: Move to ...
4191         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
4193 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
4195         [BZ #15366]
4196         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
4197         define unconditionally.
4198         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
4199         define unconditionally.
4200         (INT8_C, INT16_C, etc.): Likewise.
4202 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
4204         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
4205         __ehdr_start with hidden visibility.
4207         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
4209 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
4211         * math/libm-test.inc (cos_test): Use accurate hex constants.
4212         (sincost_test): Likewise.
4214 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
4216         * math/libm-test.inc (catan_test): Add more tests.
4217         (catanh_test): Likewise.
4219         * math/s_catanf.c (__catanf): Use suffixed floating-point
4220         constants.
4221         * math/s_catanhf.c (__catanhf): Likewise.
4222         * math/s_catanhl.c (__catanhl): Likewise.
4223         * math/s_catanl.c (__catanl): Likewise.
4225         [BZ #15394]
4226         * math/s_catan.c (__catan): Calculate imaginary part of result
4227         with log1p not log unless computing log of number close to 0.
4228         * math/s_catanf.c (__catanf): Likewise.
4229         * math/s_catanl.c (__catanl): Likewise.
4230         * math/s_catanh.c (__catanh): Calculate real part of result with
4231         log1p not log unless computing log of number close to 0.
4232         * math/s_catanhf.c (__catanhf): Likewise.
4233         * math/s_catanhl.c (__catanhl): Likewise.
4234         * math/libm-test.inc (catan_test): Add more tests.
4235         (catanh_test): Likewise.
4236         * sysdeps/i386/fpu/libm-test-ulps: Update.
4237         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4239 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
4241         * benchtests/Makefile: Mention files in which fast and slow
4242         paths of math functions are implemented.
4244 2013-04-23  Roland McGrath  <roland@hack.frob.com>
4246         * sysdeps/posix/timespec_get.c: New file.
4248 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4250         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
4251         POWER.
4252         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
4253         for POWER.
4254         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
4255         powerpc/power5/fpu folders.
4256         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
4257         * benchtests/Makefile: Add modf testcase.
4258         * benchtests/bench-modf.c: New file: Benchmark test for mo
4260 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
4262         [BZ #14888]
4263         * time/Makefile (tests): Add tst-strptime-whitespace.
4264         * time/strptime_l.c (get_number): Use ISSPACE.
4265         (__strptime_internal): Likewise.
4266         * time/tst-strptime-whitespace.c: New test case.
4268 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
4270         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
4271         member.
4272         (_nss_files_init): Set it here.
4274 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
4276         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
4277         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
4278         unsigned.
4280 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
4282         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
4284 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
4286         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
4287         size just once.
4289 2013-04-21  David S. Miller  <davem@davemloft.net>
4291         * po/ru.po: Update Russion translation from translation project.
4293 2013-04-17  Adam Conrad  <adconrad@0c3.net>
4295         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
4296         and setfsgid.
4298 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
4300         * configure.in: Remove i386 configure warning. Remove i386 case.
4301         * configure: Regenerate.
4302         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
4303         Add example to error message.
4304         * sysdeps/i386/configure: Regenerate.
4306 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
4308         * benchtests/Makefile (bench): Add cos, tan, slowcos and
4309         slowtan.
4310         * benchtests/cos-inputs: New file.
4311         * benchtests/slowcos-inputs: New file.
4312         * benchtests/slowcos.c: New file.
4313         * benchtests/slowtan-inputs: New file.
4314         * benchtests/slowtan.c: New file.
4315         * benchtests/tan-inputs: New file.
4317 2013-04-16  Roland McGrath  <roland@hack.frob.com>
4319         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
4320         considered kosher.
4322 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
4324         * benchtests/Makefile: Include cppflags-iterator.mk to add
4325         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
4327         * Makefile.in (bench-clean): New target.
4328         * benchtests/Makefile (bench-clean): Likewise.
4330 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
4332         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
4334 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
4336         * stdio-common/tstdiomisc.c: Fix coding-style violation.
4338 2013-04-15  Andreas Schwab  <schwab@suse.de>
4340         * nscd/grpcache.c (cache_addgr): Properly check for short write.
4341         * nscd/initgrcache.c (addinitgroupsX): Likewise.
4342         * nscd/pwdcache.c (cache_addpw): Likewise.
4343         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
4344         more than recsize.
4346 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
4348         * benchtests/Makefile (bench): Write all output to
4349         bench-out.tmp together.
4351 2013-04-15  Andreas Schwab  <schwab@suse.de>
4353         * nscd/nscd.c (main): Don't fork again after closing files.
4355 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
4357         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
4359         * benchtests/Rules (bench-deps): Collect dependencies into a
4360         single variable.  Add Makefile to dependencies.
4361         ($(objpfx)bench-%.c): Depend on bench-deps.
4363 2013-04-12  Roland McGrath  <roland@hack.frob.com>
4364             Xavier Roche  <roche+kml2@exalead.com>
4366         [BZ #15361]
4367         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
4368         just that it's a file descriptor.
4369         * manual/llio.texi (Synchronizing AIO Operations): Update description
4370         for EBADF error from aio_fsync.
4372 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
4374         * Rules (bench): Move target definition...
4375         * benchtests/Makefile: ... here.
4377 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
4379         * math/libm-test.inc (cos_test): Fix PI/2 test.
4380         (sincos_test): Likewise.
4381         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
4382         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
4384 2013-04-11  Andreas Schwab  <schwab@suse.de>
4386         [BZ #13988]
4387         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
4388         accept exponent character only when digits were seen.
4389         * stdio-common/Makefile (tests): Add bug26.
4390         * stdio-common/bug26.c: New file.
4392         [BZ #14293]
4393         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
4394         non-freeable.
4396 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
4398         * Makeconfig (rtld-prefix): Define built linker prefix.
4399         * Rules (run-bench): Use it.
4400         * math/Makefile (run-regen-ulps): Likewise.
4402         * Rules (bench): Remove eval.
4404 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
4405             Roland McGrath  <roland@hack.frob.com>
4406             Ondrej Bilka  <neleai@seznam.cz>
4408         [BZ #15346]
4409         * time/getdate.c: Include ctype.h and alloca.h.
4410         (__getdate_r): Trim leading and trailing spaces of input.
4411         * time/tst-getdate.c (tests): Add tests with leading and
4412         trailing spaces.
4414 2013-04-08  Roland McGrath  <roland@hack.frob.com>
4416         [BZ #14280]
4417         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
4418         when computing value.
4420 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
4422         * math/README.libm-test (How can I generate "libm-test-ulps"?):
4423         Use testrun.sh to run libm tests.
4425         [BZ #15309]
4426         * elf/dl-open.c (dl_open_worker): memset all of seen array.
4428 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
4430         [BZ #15264]
4431         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
4433 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
4435         * Makefile.in (regen-ulps): New target.
4436         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
4437         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
4438         [ifneq (no,$(PERL)] (regen-ulps): New target.
4439         [ifeq (no,$(PERL)] (regen-ulps): New target.
4440         * math/libm-test.inc (ulps_file_name): Define.
4441         (output_dir): New variable.
4442         (options): Add "output-dir" option.
4443         (parse_opt): Handle 'o' case.
4444         (main): If output_dir is non-NULL use it as a prefix
4445         otherwise use "".
4446         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
4448 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
4450         [BZ #10060, #10062]
4451         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
4452         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
4453         fail configure if __sync_val_compare_and_swap is not inlined.
4454         * sysdeps/i386/configure: Regenerate.
4455         * configure.in: Build for i686 when configured for i386.
4456         * configure: Regenerate.
4457         * README: Remove i386 reference.
4459 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
4461         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
4462         * sysdeps/s390/s390-64/sysdep.h: Likewise.
4464 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
4466         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
4467         (lmsnanval): New variables.
4468         (F): Add conversion tests.
4469         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
4470         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
4472         * stdio-common/tstdiomisc.c (F): Properly collect individual
4473         tests' results.
4475         [BZ #14686, #15336]
4476         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
4477         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
4478         Instead, use input NaN values or generate a qNaN by arithmetic
4479         operation.  Also fix bugs to comply with the standard.
4480         * math/libm-test.inc (remainder_test): Add more tests.
4482         [BZ #15335, #15342]
4483         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
4484         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
4485         input NaN values or generate a qNaN by arithmetic operation.
4487         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
4488         unreachable code.
4490         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
4491         definitions.
4493 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
4495         [BZ #14478]
4496         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
4497         underflowed result.
4498         * math/s_cexpf.c (__cexpf): Likewise.
4499         * math/s_cexpl.c (__cexpl): Likewise.
4500         * math/libm-test.inc (cexp_test): Add more tests.
4502 2013-04-03  Andreas Schwab  <schwab@suse.de>
4504         [BZ #15330]
4505         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
4506         order arrays from heap if bigger than alloca cutoff.
4508 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
4510         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
4511         (SNAN_TESTS_double): Refer to GCC PR56831.
4512         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
4513         GCC PR56828.
4515 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
4517         * Rules (bench): Move bench.out after the run is complete.
4519         * Rules (bench): Echo currently running benchmark.
4521         * benchtests/Makefile (bench): Add atan and slowatan.
4522         * benchtests/atan-inputs: New file.
4523         * benchtests/slowatan-inputs: New file.
4524         * benchtests/slowatan.c: New file.
4526         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
4527         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
4528         its value.
4530         [BZ #15305]
4531         * sysdeps/unix/sysv/linux/kernel-features.h
4532         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
4533         __ASSUME_XFS_RESTRICTED_CHOWN.
4534         * sysdeps/unix/sysv/linux/pathconf.c
4535         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
4536         Save and restore errno.
4538 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
4540         [BZ #15327]
4541         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
4542         arguments using __kernel_casinh.
4543         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
4544         arguments using __kernel_casinhf.
4545         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
4546         arguments using __kernel_casinhl.
4547         * math/libm-test.inc (cacosh_test): Add more tests.
4548         * sysdeps/i386/fpu/libm-test-ulps: Update.
4549         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4551 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
4553         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
4554         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
4556         * bench/Makefile (bench): Add sin and slowsin.
4557         * benchtests/sin-inputs: New file.
4558         * benchtests/slowsin-inputs: New file.
4559         * benchtests/slowsin.c: New file.
4561         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
4562         (bench): Add slowexp and slowpow.
4563         (exp-ITER): Increase iterations.
4564         (pow-ITER): Likewise.
4565         * benchtests/exp-inputs: Change input.
4566         * benchtests/pow-inputs: Likewise.
4567         * benchtests/slowexp-inputs: New file.
4568         * benchtests/slowexp.c: New file.
4569         * benchtests/slowpow-inputs: New file.
4570         * benchtests/slowpow.c: New file.
4572 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4574         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
4575         instructions.
4576         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
4577         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
4578         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
4579         * benchtests/Makefile: Add rint benchtest.
4580         * benchtests/rint-inputs: Input for rint benchtest.
4582 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
4584         * Versions.def (libm): Add GLIBC_2.18.
4585         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
4586         hidden libm prototypes.
4587         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
4588         * math/Makefile (libm-calls): Add s_issignaling.
4589         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
4590         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
4591         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
4592         declaration.
4593         * math/math.h [__USE_GNU] (issignaling): New macro.
4594         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
4595         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
4596         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
4597         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
4598         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
4599         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
4600         * manual/arith.texi (issignaling): New section.
4601         * manual/libm-err-tab.pl (@all_functions): Update comment.
4602         * math/gen-libm-test.pl (parse_args): Apply special handling for
4603         issignaling.
4604         * math/libm-test.inc (print_float, issignaling_test): New
4605         functions.
4606         (check_float_internal): Add issignaling checks.
4607         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
4608         default definition.
4609         * sysdeps/powerpc/math-tests.h: New file.
4610         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
4611         tests.
4612         * math/test-snan.c (TEST_FUNC): Likewise.
4614 2013-03-30  David S. Miller  <davem@davemloft.net>
4616         * po/de.po: Update from translation team.
4618 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
4620         [BZ #10357]
4621         * math/k_casinh.c (__kernel_casinh): Handle arguments with
4622         imaginary part less than 1.0 and real part less than 0.5
4623         specially.
4624         * math/k_casinhf.c (__kernel_casinhf): Likewise.
4625         * math/k_casinhl.c (__kernel_casinhl): Likewise.
4626         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
4627         (cacos_test): Add more tests.
4628         (casin_test): Likewise.
4629         (casinh_test): Likewise.
4630         * sysdeps/i386/fpu/libm-test-ulps: Update.
4631         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4633 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
4635         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
4636         ONE with its value.
4638         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
4639         (__pow_mp): Replace ONE and MONE with their values.
4640         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
4641         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
4642         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
4643         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
4644         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
4645         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
4647         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
4649         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
4650         (__pow_mp): Replace ZERO and MZERO with their values.
4651         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
4652         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
4653         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
4654         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
4655         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
4656         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
4657         (__sqr): Likewise.
4659         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
4661         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
4663 2013-03-28  Roland McGrath  <roland@hack.frob.com>
4665         * include/stdlib.h [!SHARED] (__call_tls_dtors):
4666         Declare with __attribute__ ((weak)).
4667         * stdlib/exit.c (__libc_atexit) [!SHARED]:
4668         Call __call_tls_dtors only if it's not NULL.
4670 2013-03-28  Roland McGrath  <roland@hack.frob.com>
4672         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
4673         didn't do it already, then set _dl_phdr and _dl_phnum based on the
4674         magic __ehdr_start linker symbol if it's defined.
4675         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
4676         them up here if it was already done.
4678         * elf/dl-support.c (_dl_phdr): Make pointer to const.
4679         (_dl_aux_init): Use const in cast when setting it.
4680         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
4681         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
4682         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
4684         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
4685         Declare them here.
4686         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
4687         * csu/libc-tls.c: Nor here.
4688         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
4690         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
4691         (__libc_message): Never call vsyslog.
4693 2013-03-28  Alan Modra  <amodra@gmail.com>
4695         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
4696         Define as empty.
4697         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
4698         Likewise.
4700 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4702         [BZ #15214]
4703         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
4704         underflow.
4705         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4707 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
4709         [BZ #15304]
4710         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
4711         Don't add gid passed as argument.
4713         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
4715 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
4717         [BZ #15307]
4718         * math/k_casinh.c (__kernel_casinh): Handle arguments with
4719         imaginary part between 1.0 and 1.5 and real part less than 0.5
4720         specially.
4721         * math/k_casinhf.c (__kernel_casinhf): Likewise.
4722         * math/k_casinhl.c (__kernel_casinhl): Likewise.
4723         * math/libm-test.inc (cacos_test): Add more tests.
4724         (casin_test): Likewise.
4725         (casinh_test): Likewise.
4726         * sysdeps/i386/fpu/libm-test-ulps: Update.
4727         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4729 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
4731         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
4732         constants.
4733         (norm): Likewise.
4734         (denorm): Likewise.
4735         (__dbl_mp): Likewise.
4736         (add_magnitudes): Likewise.
4737         (sub_magnitudes): Likewise.
4738         (__add): Likewise.
4739         (__sub): Likewise.
4740         (__mul): Likewise.
4741         (__sqr): Likewise.
4742         (__inv): Likewise.
4743         (__dvd): Likewise.
4745         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
4746         commented code.
4747         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
4748         (__dubcos): Likewise.
4749         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
4750         (__ieee754_acos): Likewise.
4751         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
4752         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
4753         (__exp1): Likewise.
4754         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
4755         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
4756         (log1): Likewise.
4757         (my_log2): Likewise.
4758         (checkint): Likewise.
4759         * sysdeps/ieee754/dbl-64/e_remainder.c
4760         (__ieee754_remainder): Likewise.
4761         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
4762         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
4763         (bsloww): Likewise.
4764         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
4766         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
4767         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
4768         MANTISSA_STORE_T to store computations on mantissa.  Use
4769         macros for rounding and division.
4770         (denorm): Likewise.
4771         (__dbl_mp): Likewise.
4772         (add_magnitudes): Likewise.
4773         (sub_magnitudes): Likewise.
4774         (__mul): Likewise.
4775         (__sqr): Likewise.
4776         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
4777         powers of two in terms of TWOPOW macro.
4778         (mp_no): Make type of mantissa as MANTISSA_T.
4779         [!RADIXI]: Define RADIXI.
4780         [!TWO52]: Define TWO52.
4781         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
4783 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4785         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
4786         llroundl symbol when building for PPC32.
4788 2013-03-24  Mark H Weaver  <mhw@netris.org>
4790         * manual/arith.texi (Normalization Functions): Fix prototypes for
4791         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
4793 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4795         [BZ #13889]
4796         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
4797         high value to check if expl overflow.
4798         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
4799         to check for underflow and overflow.
4800         * math/libm-test.inc: Add exp test.
4802 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
4804         [BZ #11120]
4805         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
4806         with NOT_IN_libc.
4808 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4810         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
4811         symbol.
4813 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
4815         * math/gen-libm-test.pl (parse_args, special_functions): Properly
4816         wrap blocks consisting of several statements.
4818         * sysdeps/generic/math-tests.h: New file.
4819         * sysdeps/i386/fpu/math-tests.h: Likewise.
4820         * math/test-snan.c: Include it.
4821         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
4823 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
4825         [BZ #15285]
4826         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
4827         (__ieee754_j0l): Do not improve calculations using cos of twice
4828         input for inputs above LDBL_MAX / 2.0L.
4829         (__ieee754_y0l): Likewise.
4830         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
4831         (__ieee754_j1l): Do not improve calculations using cos of twice
4832         input for inputs above LDBL_MAX / 2.0L.
4833         (__ieee754_y1l): Likewise.
4834         * math/libm-test.inc (j0_test): Add another test.
4835         (j1_test): Likewise.
4836         (y0_test): Likewise.
4837         (y1_test): Likewise.
4838         * sysdeps/i386/fpu/libm-test-ulps: Update.
4840 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
4842         * Rules ($(objpfx)bench-%.c): Include code from a C source
4843         file.
4845 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
4847         [BZ #15287]
4848         * math/k_casinh.c (__kernel_casinh): Handle arguments with
4849         imaginary part 1.0 and real part less than 0.5 specially.
4850         * math/k_casinhf.c (__kernel_casinhf): Likewise.
4851         * math/k_casinhl.c (__kernel_casinhl): Likewise.
4852         * math/libm-test.inc (cacos_test): Add more tests.
4853         (casin_test): Likewise.
4854         (casinh_test): Likewise.
4855         * sysdeps/i386/fpu/libm-test-ulps: Update.
4856         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4858 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
4860         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
4861         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
4863 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
4865         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
4866         * config.make.in (config-cflags-sse4): Remove variable.
4867         (config-cflags-avx): Likewise.
4868         (config-cflags-sse2avx): Likewise.
4869         (config-cflags-novzeroupper): Likewise.
4870         (config-asflags-i686): Likewise.
4871         (have-mfma4): Likewise.
4872         (have-as-vis3): Likewise.
4873         (MIG): Likewise.
4874         * configure.in (MIG): Do not AC_SUBST.
4875         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
4876         (libc_cv_cc_sse4): Do not AC_SUBST.
4877         (libc_cv_cc_avx): Likewise.
4878         (libc_cv_cc_sse2avx): Likewise.
4879         (libc_cv_cc_novzeroupper): Likewise.
4880         (libc_cv_cc_fma4): Likewise.
4881         (libc_cv_as_i686): Likewise.
4882         (libc_cv_sparc_as_vis3): Likewise.
4883         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
4884         LIBC_CONFIG_VAR.
4885         (config-asflags-i686): Likewise.
4886         (config-cflags-avx): Likewise.
4887         (config-cflags-sse2avx): Likewise.
4888         (have-mfma4): Likewise.
4889         (config-cflags-novzeroupper): Likewise.
4890         * sysdeps/mach/configure.in (MIG): Likewise.
4891         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
4892         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
4893         LIBC_CONFIG_VAR.
4894         (config-cflags-avx): Likewise.
4895         (config-cflags-sse2avx): Likewise.
4896         (have-mfma4): Likewise.
4897         (config-cflags-novzeroupper): Likewise.
4898         * configure: Regenerated.
4899         * sysdeps/i386/configure: Likewise.
4900         * sysdeps/mach/configure: Likewise.
4901         * sysdeps/sparc/configure: Likewise.
4902         * sysdeps/x86_64/configure: Likewise.
4904 2013-03-20  Roland McGrath  <roland@hack.frob.com>
4906         [BZ #14812]
4907         * locale/programs/localedef.c (options): Put N_ translation marker
4908         on argument names, not just descriptions.
4910 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
4912         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
4914 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
4916         [BZ #14176]
4917         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
4919 2013-03-19  Roland McGrath  <roland@hack.frob.com>
4921         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
4922         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
4923         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
4924         [!BEFORE_ABORT] (before_abort): New function.
4925         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
4926         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
4927         (writev_for_fatal): New function.
4928         (WRITEV_FOR_FATAL): New macro; call that.
4929         (backtrace_and_maps): New function.
4930         (BEFORE_ABORT): New macro; call that.
4931         (struct str_list): Type removed.
4932         (__libc_message, __libc_fatal): Functions removed.
4933         Include <sysdeps/posix/libc_fatal.c> instead.
4935 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
4937         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
4938         constants.
4939         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
4940         double constants.
4942 2013-03-19  Andreas Schwab  <schwab@suse.de>
4944         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
4945         * sysdeps/gnu/configure: Regenerate.
4947         * configure.in: Substitute libc_cv_rtlddir.
4948         * configure: Regenerate.
4949         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
4950         * Makeconfig (rtlddir, inst_rtlddir): New variables.
4951         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
4952         * elf/Makefile (install-others, CFLAGS-interp.c)
4953         (ldso_install, common-ldd-rewrite): Likewise.
4954         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
4955         $(inst_slibdir)/$(rtld-installed-name).
4956         * scripts/rellns-sh: Add -p option.
4957         * Makerules (make-shlib-link): Use rellns-sh to get relative name
4958         for source.
4960 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
4962         * manual/nptl.texi: Renamed to ...
4963         * manual/threads.texi: ... this.
4964         * manual/Makefile (chapters): Update.
4966 2013-03-18  Roland McGrath  <roland@hack.frob.com>
4968         [BZ #14812]
4969         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
4970         on argument names, not just descriptions.
4971         * malloc/memusagestat.c (options): Likewise.
4972         * nss/getent.c (options): Likewise.
4974 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
4976         [BZ #14812]
4977         * iconv/iconv_prog.c (options): Put N_ translation marker
4978         on argument names, not just descriptions.
4979         * iconv/iconvconfig.c (options): Likewise.
4981 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
4983         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
4984         implementation which is faster on all x86_64 architectures.
4985         Tested on AMD, Intel Nehalem, SNB, IVB.
4986         * sysdeps/x86_64/strnlen.S: Likewise.
4988         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
4989         Remove all multiarch strlen and strnlen versions.
4990         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
4991         Remove strlen and strnlen related parts.
4993         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
4994         Inline strlen part.
4995         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
4997         * sysdeps/x86_64/multiarch/strlen.S: Remove.
4998         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
4999         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
5000         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
5001         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
5002         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
5004 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
5006         * manual/memory.texi (Malloc Tunable Parameters):
5007         Sort parameters alphabetically. Add comments for missing entries.
5009 2013-03-17  David S. Miller  <davem@davemloft.net>
5011         * sysdeps/sparc/fpu/libm-test-ulps: Update.
5013 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
5015         [BZ #15283]
5016         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
5017         for arguments at most half maximum finite value.
5018         * math/libm-test.inc (j0_test): Add more tests.
5019         (j1_test): Likewise.
5020         (y0_test): Likewise.
5021         (y1_test): Likewise.
5022         * sysdeps/i386/fpu/libm-test-ulps: Update.
5023         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5025         [BZ #14155]
5026         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
5027         1 / x and functions P and Q for arguments above 0x1p256L.
5028         (__ieee754_y0l): Likewise.
5029         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
5030         (__ieee754_y1l): Likewise.
5031         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
5032         (j1_test): Likewise.
5033         (y0_test): Likewise.
5034         (y1_test): Likewise.
5036 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
5038         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
5039         variable.
5041 2013-03-15  Roland McGrath  <roland@hack.frob.com>
5043         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
5044         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
5045         zero since it's initialized to EXEC_PAGESIZE.
5047         * sysdeps/unix/sysv/linux/ldsodefs.h
5048         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
5049         * sysdeps/generic/ldsodefs.h: ... here.
5051 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
5053         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
5055         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
5056         math/test-snan.c.
5057         * math/test-snan.c: Renamed from
5058         sysdeps/powerpc/fpu/test-powerpc-snan.c.
5059         * math/Makefile (tests): Add test-snan.
5060         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
5061         test-powerpc-snan.
5063         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
5064         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
5065         functions.
5066         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
5067         __builtin_nan family of functions.
5068         * math/libm-test.inc (initialize): Initialize qnan_value with
5069         __builtin_nan family of functions.
5070         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
5071         Remove variables.
5072         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
5073         Remove functions.
5074         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
5075         storage class.  Initialize qNaN_var and sNaN_var with
5076         __builtin_nan and __builtin_nans families of functions,
5077         respectively.
5079         * math/libm-test.inc (acosh_test): Also test with qNaN input.
5080         (sqrt_test): Remove duplicate test with qNaN input.
5081         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
5082         (round_test, signbit_test, significand_test): Note missing +/-Inf
5083         as well as qNaN tests.
5085         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
5086         qNaN_var.  Fix a few strings, too.
5087         * math/libm-test.inc (nan_value): Rename to qnan_value.
5088         * math/gen-libm-test.pl (%beautify): Adjust to that.
5089         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
5090         * math/test-misc.c (main): Likewise.
5091         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
5092         to __qnan_bytes, and __qnan_union, respectively.
5093         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
5094         Likewise.
5095         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
5096         and lqnanval, respectively.
5097         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
5098         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
5099         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
5100         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
5102         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
5103         * math/test-misc.c (main) [__x86_64__]: Enable test for long
5104         doubles.
5106         * math/test-misc.c (main): Fix copy'n'pastos.
5107         * misc/tst-efgcvt.c (special): Likewise.
5109         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
5110         Remove declarations.
5112 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
5114         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
5115         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
5116         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
5117         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
5119 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5121         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
5122         macro to return vdso values correctly in IFUNC implementations.
5123         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
5124         Optimization by using IFUNC.
5126 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
5127             Richard Henderson  <rth@redhat.com>
5128             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
5130         * Makefile.in (bench): New target.
5131         * NEWS: Mention the benchmark framework.
5132         * Rules (bench): Likewise.
5133         (binaries-bench): Generate binaries for functions to
5134         benchmark.
5135         * benchtests/Makefile: New makefile for benchmark tests.
5136         * benchtests/bench-skeleton.c: New skeleton file for benchmark
5137         programs.
5138         * benchtests/exp-inputs: New input file for EXP function.
5139         * benchtests/pow-inputs: New input file for POW function.
5140         * scripts/bench.pl: New script to generate source files for
5141         benchmark programs.
5143 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
5145         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
5146         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
5147         computations on mantissa.  Use macros for rounding and
5148         division.
5149         (denorm): Likewise.
5150         (__dbl_mp): Likewise.
5151         (add_magnitudes): Likewise.
5152         (sub_magnitudes): Likewise.
5153         (__mul): Likewise.
5154         (__sqr): Likewise.
5155         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
5156         powers of two in terms of TWOPOW macro.
5157         (mp_no): Make type of mantissa as MANTISSA_T.
5158         [!RADIXI]: Define RADIXI.
5159         [!TWO52]: Define TWO52.
5160         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
5162         * manual/nptl.texi (cindex): Modify threads to pthreads.
5164 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
5166         * sysdeps/x86_64/preconfigure: Regenerated.
5168 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
5170         [BZ #14155]
5171         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
5172         0x1p28 and above.
5173         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
5174         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
5175         0x1p28 and above.
5176         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
5177         * math/libm-test.inc (j0_test): Do not allow one spurious
5178         underflow exception.
5179         (y1_test): Likewise.
5181 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
5183         * manual/Makefile (chapters): Add nptl.
5184         * manual/debug.texi (Debugging Support): Add link to Threads
5185         chapter.
5186         * manual/nptl.texi: New file.
5188         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
5190 2013-03-14  Petr Baudis  <pasky@ucw.cz>
5192         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
5193         for non-NULL pointer before the memory validity test. Pointed
5194         out by Holger Brunck <holger.brunck@keymile.com>.
5196 2013-03-13  Andreas Schwab  <schwab@suse.de>
5198         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
5199         instead of .os.
5201 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
5203         * timezone/zic.c: Update from tzcode 2013b.
5205 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
5207         * manual/install.texi (Configuring and compiling):
5208         Mention i686 and i586.
5209         * INSTALL: Regenerate.
5211 2013-03-12  Roland McGrath  <roland@hack.frob.com>
5213         * sysdeps/init_array/elf-init.c: New file.
5214         * csu/elf-init.c
5215         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
5216         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
5218         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
5219         __gmon_start__ as global, but as static with a .preinit_array pointer.
5220         * sysdeps/init_array/gmon-start.c: New file.  Use that.
5221         * sysdeps/init_array/crti.S: New file, empty except for comments.
5222         * sysdeps/init_array/crtn.S: Likewise.
5224 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
5226         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
5227         definining bcopy.
5228         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
5229         Remove Prefer_SSE_for_memop.
5230         * sysdeps/x86_64/multiarch/init-arch.h: Remove
5231         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
5232         HAS_PREFER_SSE_FOR_MEMOP.
5233         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
5234         memset-x86-64.
5235         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
5236         Remove bzero, memset ifunc support.
5237         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
5238         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
5239         * sysdeps/x86_64/multiarch/memset.S: Likewise.
5240         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
5242 2013-03-11  Andreas Schwab  <schwab@suse.de>
5244         [BZ #15234]
5245         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
5246         by SHLIB_COMPAT.
5247         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
5248         (GLIBC_2.16): Remove pthread_atfork.
5250 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
5252         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
5253         (ptestcases.h): Likewise.
5255 2013-03-08  Roland McGrath  <roland@hack.frob.com>
5257         * Makeconfig ($(common-objpfx)config.status): Depend on
5258         sysdeps/*/preconfigure{,.in} too.
5260 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
5262         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
5263         (__free_hook): Use void * instead of __malloc_ptr_t.
5264         (__malloc_hook): Likewise.
5265         (__realloc_hook): Likewise.
5266         (__memalign_hook): Likewise.
5267         (__after_morecore_hook): Likewise.
5268         * malloc/arena.c (save_malloc_hook): Likewise.
5269         (save_free_hook): Likewise.
5270         * malloc/hooks.c (malloc_hook_ini): Likewise.
5271         (realloc_hook_ini): Likewise.
5272         (memalign_hook_ini): Likewise.
5273         * malloc/malloc.c (malloc_hook_ini): Likewise.
5274         (realloc_hook_ini): Likewise.
5275         (memalign_hook_ini): Likewise.
5276         (__free_hook): Likewise.
5277         (__malloc_hook): Likewise.
5278         (__realloc_hook): Likewise.
5279         (__memalign_hook): Likewise.
5280         (__libc_malloc): Likewise.
5281         (__libc_free): Likewise.
5282         (__libc_realloc): Likewise.
5283         (__libc_memalign): Likewise.
5284         (__libc_valloc): Likewise.
5285         (__libc_pvalloc): Likewise.
5286         (__libc_calloc): Likewise.
5287         (__posix_memalign): Likewise.
5288         * malloc/morecore.c (__sbrk): Likewise.
5289         (__default_morecore): Likewise.
5291         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
5293         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
5294         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
5295         __malloc_ptrdiff_t.
5297         * malloc/malloc.h (__malloc_size_t): Remove macro.
5298         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
5299         __malloc_size_t.
5300         (old_memalign_hook): Likewise.
5301         (old_realloc_hook): Likewise.
5302         (struct hdr): Likewise.
5303         (flood): Likewise.
5304         (mallochook): Likewise.
5305         (memalignhook): Likewise.
5306         (reallochook): Likewise.
5307         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
5308         (tr_old_realloc_hook): Likewise.
5309         (tr_old_memalign_hook): Likewise.
5310         (tr_mallochook): Likewise.
5311         (tr_reallochook): Likewise.
5312         (tr_memalignhook): Likewise.
5314 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5316         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
5317         default_ldbl_pack and using as default implementation.
5318         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
5319         implementation.
5320         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
5321         redundant definition.
5322         (ldbl_insert_mantissa): Likewise.
5323         (ldbl_canonicalize): Likewise.
5324         (ldbl_nearbyint): Likewise.
5325         (ldbl_pack): Rename to ldbl_pack_ppc.
5326         (ldbl_unpack): Rename to ldbl_unpack_ppc.
5327         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
5328         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
5330 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
5332         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
5333         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
5334         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
5335         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
5336         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
5337         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
5338         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
5339         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
5341 2013-03-07  Andreas Jaeger  <aj@suse.de>
5343         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5344         bits/mman-linux.h.
5346 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
5348         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
5349         Include mpa.h and declare __MPEXP.
5350         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
5351         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
5352         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
5353         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
5354         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
5355         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
5356         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
5358         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
5359         (__slowpow): Use long double EXPL and LOGL functions to
5360         compute POW.
5361         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
5362         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
5363         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
5364         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
5365         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
5366         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
5368         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
5369         intermediate variable to calculate exponent.
5370         (__sqr): Likewise.
5371         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
5372         Likewise.
5373         (__sqr): Likewise.
5375         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
5376         [!NO__SQR]: Define __sqr.
5377         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
5378         and NO__SQR.  Remove all code except __mul and __sqr.  Include
5379         sysdeps/ieee754/dbl-64/mpa.c.
5380         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
5382         [BZ #12723]
5383         * posix/Makefile (tests): Add tst-pathconf.
5384         * posix/tst-pathconf.c: New test case.
5385         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
5386         _PC_PIPE_BUF.
5387         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
5389 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
5391         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
5393 2013-03-06  Andreas Jaeger  <aj@suse.de>
5395         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
5396         definition via __MAP_ANONYMOUS.
5398         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
5399         it's not part of Linux headers.
5401         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
5402         (MAP_HUGE_MASK): Define.
5404         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
5405         Define.
5406         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
5407         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
5408         Define.
5409         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
5410         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
5411         Define.
5412         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
5413         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
5414         Define.
5415         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
5417         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
5418         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
5419         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
5420         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
5421         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
5422         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
5424         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
5425         Handle f2fs.
5427         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
5428         Handle f2fs and efivarfs.
5430         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
5431         f2fs.
5433         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
5434         (EFIVARFS_MAGIC): Add.
5435         (F2FS_LINK_MAX): Add.
5437 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
5439         * stdio-common/vfprintf.c: Replace __builtin_expect with
5440         __glibc_unlikely.
5442 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
5444         [BZ #13550]
5445         * sysdeps/generic/bp-sym.h: Remove file.
5446         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
5447         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
5448         <bp-sym.h> and <bp-asm.h>.
5449         (__longjmp): Don't use BP_SYM.
5450         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
5451         and <bp-asm.h>.
5452         (memcpy): Don't use BP_SYM.
5453         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
5454         <bp-sym.h> and <bp-asm.h>.
5455         (memcpy): Don't use BP_SYM.
5456         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
5457         <bp-asm.h>.
5458         (memcpy): Don't use BP_SYM.
5459         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
5460         <bp-asm.h>.
5461         (memset): Don't use BP_SYM.
5462         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
5463         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
5464         (__bzero): Don't use BP_SYM.
5465         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
5466         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
5467         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
5468         <bp-sym.h> and <bp-asm.h>.
5469         (memcmp): Don't use BP_SYM.  Remove comment about bounded
5470         pointers.
5471         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
5472         <bp-sym.h> and <bp-asm.h>.
5473         (memcpy): Don't use BP_SYM.
5474         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
5475         <bp-sym.h> and <bp-asm.h>.
5476         (memset): Don't use BP_SYM.
5477         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
5478         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
5479         (__bzero): Don't use BP_SYM.
5480         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
5481         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
5482         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
5483         <bp-sym.h> and <bp-asm.h>.
5484         (strncmp): Don't use BP_SYM.  Remove comment about bounded
5485         pointers.
5486         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
5487         <bp-sym.h> and <bp-asm.h>.
5488         (memcpy): Don't use BP_SYM.
5489         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
5490         <bp-sym.h> and <bp-asm.h>.
5491         (memset): Don't use BP_SYM.
5492         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
5493         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
5494         (__bzero): Don't use BP_SYM.
5495         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
5496         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
5497         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
5498         <bp-sym.h> and <bp-asm.h>.
5499         (__memchr): Don't use BP_SYM.
5500         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
5501         <bp-sym.h> and <bp-asm.h>.
5502         (memcmp): Don't use BP_SYM.  Remove comment about bounded
5503         pointers.
5504         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
5505         <bp-sym.h> and <bp-asm.h>.
5506         (memcpy): Don't use BP_SYM.
5507         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
5508         <bp-sym.h> and <bp-asm.h>.
5509         (__mempcpy): Don't use BP_SYM.
5510         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
5511         <bp-sym.h> and <bp-asm.h>.
5512         (__memrchr): Don't use BP_SYM.
5513         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
5514         <bp-sym.h> and <bp-asm.h>.
5515         (memset): Don't use BP_SYM.
5516         (__bzero): Likewise.
5517         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
5518         <bp-sym.h> and <bp-asm.h>.
5519         (__rawmemchr): Don't use BP_SYM.
5520         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
5521         <bp-sym.h> and <bp-asm.h>.
5522         (__STRCMP): Don't use BP_SYM.
5523         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
5524         <bp-sym.h> and <bp-asm.h>.
5525         (strchr): Don't use BP_SYM.
5526         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
5527         <bp-sym.h> and <bp-asm.h>.
5528         (__strchrnul): Don't use BP_SYM.
5529         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
5530         <bp-sym.h> and <bp-asm.h>.
5531         (strlen): Don't use BP_SYM.
5532         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
5533         <bp-sym.h> and <bp-asm.h>.
5534         (strncmp): Don't use BP_SYM.  Remove comment about bounded
5535         pointers.
5536         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
5537         <bp-sym.h> and <bp-asm.h>.
5538         (__strnlen): Don't use BP_SYM.
5539         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
5540         <bp-sym.h> and <bp-asm.h>.
5541         (__GI__setjmp): Don't use BP_SYM.
5542         (_setjmp): Likewise.
5543         (__sigsetjmp): Likewise.
5544         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
5545         (L(start_addresses)): Don't use BP_SYM.
5546         (_start): Likewise.
5547         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
5548         <bp-asm.h>.
5549         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
5550         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
5551         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
5552         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
5553         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
5554         <bp-asm.h>.
5555         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
5556         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
5557         about bounded pointers.
5558         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
5559         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
5560         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
5561         <bp-asm.h>.
5562         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
5563         about bounded pointers.  Remove GKM FIXME comments.
5564         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
5565         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
5566         <bp-asm.h>.
5567         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
5568         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
5569         Remove GKM FIXME comments.
5570         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
5571         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
5572         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
5573         <bp-asm.h>.
5574         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
5575         about bounded pointers.  Remove GKM FIXME comment.
5576         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
5577         and <bp-asm.h>.
5578         (strncmp): Don't use BP_SYM.  Remove comment about bounded
5579         pointers.
5580         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
5581         <bp-sym.h> and <bp-asm.h>.
5582         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
5583         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
5584         <bp-sym.h> and <bp-asm.h>.
5585         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
5586         comment.
5588 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
5590         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
5591         call free(NULL).
5593 2013-03-05  David S. Miller  <davem@davemloft.net>
5595         * po/es.po: Update from translation team.
5597 2013-03-05  Andreas Jaeger  <aj@suse.de>
5599         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
5600         <bits/mman-linux.h>.
5601         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
5602         is fine.
5603         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
5604         <bits/mman-linux.h> to end of file.
5605         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
5606         is fine.
5607         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
5608         <bits/mman-linux.h> to end of file.
5609         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
5610         is fine.
5611         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
5612         <bits/mman-linux.h> to end of file.
5614         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
5615         (MCL_CURRENT, MCL_FUTURE): Define here.
5617 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
5619         [BZ #15232]
5620         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
5621         attribute_hidden.
5622         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
5624 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
5626         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
5627         fourth parameter needed for rt_sigprocmask syscall.
5628         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
5629         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
5630         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
5631         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
5632         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
5633         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
5635 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
5637         [BZ #13550]
5638         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
5639         comment about bounded pointers.
5640         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
5641         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
5643 2013-03-04  Andreas Jaeger  <aj@suse.de>
5645         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
5646         common definitions.
5648         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
5649         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
5650         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
5651         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
5652         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
5653         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
5655 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5657         [BZ #15055]
5658         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
5659         __ieee754_sqrl instead of __sqrl.
5661 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
5663         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
5664         * sysdeps/powerpc/fpu_control.h: ... here.
5665         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
5666         * sysdeps/powerpc/bits/fenvinline.h: ... here.
5667         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
5668         * sysdeps/powerpc/bits/mathinline.h: ... here.
5670 2013-03-01  Roland McGrath  <roland@hack.frob.com>
5672         * elf/dl-hwcaps.c (_dl_important_hwcaps):
5673         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
5674         to just [NEED_DL_SYSINFO_DSO].
5675         * elf/dl-support.c: Likewise.
5676         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
5677         * elf/rtld.c (dl_main): Likewise.
5678         * elf/setup-vdso.h (setup_vdso): Likewise.
5679         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
5680         * sysdeps/unix/sysv/linux/dl-sysdep.c
5681         (_dl_discover_osversion): Likewise.
5683 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
5685         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
5686         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
5688 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
5690         * NEWS: Mention libm performance improvements and non-x86 PI
5691         futex support.
5693         * csu/libc-start.c (__pthread_initialize_minimal): Change
5694         function arguments.
5695         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
5697 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
5699         [BZ #13550]
5700         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
5701         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
5702         <bp-sym.h> and <bp-asm.h>.
5703         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
5704         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
5705         and <bp-asm.h>.
5706         (memcpy): Don't use BP_SYM.
5707         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
5708         <bp-asm.h>.
5709         (__mpn_add_n): Don't use BP_SYM.
5710         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
5711         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
5712         and <bp-asm.h>.
5713         (__mpn_addmul_1): Don't use BP_SYM.
5714         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
5715         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
5716         <bp-sym.h>.
5717         (_setjmp): Don't use BP_SYM.
5718         (__novmx_setjmp): Likewise.
5719         (__GI__setjmp): Likewise.
5720         (__vmx_setjmp): Likewise.
5721         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
5722         <bp-sym.h>.
5723         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
5724         (__bzero): Don't use BP_SYM.
5725         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
5726         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
5727         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
5728         <bp-sym.h> and <bp-asm.h>.
5729         (memcpy): Don't use BP_SYM.
5730         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
5731         <bp-sym.h> and <bp-asm.h>.
5732         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
5733         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
5734         <bp-sym.h> and <bp-asm.h>.
5735         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
5736         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
5737         <bp-asm.h>.
5738         (__mpn_lshift): Don't use BP_SYM.
5739         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
5740         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
5741         <bp-asm.h>.
5742         (memset): Don't use BP_SYM.
5743         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
5744         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
5745         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
5746         <bp-asm.h>.
5747         (__mpn_mul_1): Don't use BP_SYM.
5748         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
5749         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
5750         <bp-sym.h> and <bp-asm.h>.
5751         (memcmp): Don't use BP_SYM.
5752         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
5753         <bp-sym.h> and <bp-asm.h>.
5754         (memcpy): Don't use BP_SYM.
5755         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
5756         <bp-sym.h> and <bp-asm.h>.
5757         (memset): Don't use BP_SYM.
5758         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
5759         <bp-sym.h> and <bp-asm.h>.
5760         (strncmp): Don't use BP_SYM.
5761         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
5762         <bp-sym.h> and <bp-asm.h>.
5763         (memcpy): Don't use BP_SYM.
5764         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
5765         <bp-sym.h> and <bp-asm.h>.
5766         (memset): Don't use BP_SYM.
5767         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
5768         <bp-sym.h> and <bp-asm.h>.
5769         (__memchr): Don't use BP_SYM.
5770         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
5771         <bp-sym.h> and <bp-asm.h>.
5772         (memcmp): Don't use BP_SYM.
5773         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
5774         <bp-sym.h> and <bp-asm.h>.
5775         (memcpy): Don't use BP_SYM.
5776         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
5777         <bp-sym.h> and <bp-asm.h>.
5778         (__mempcpy): Don't use BP_SYM.
5779         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
5780         <bp-sym.h> and <bp-asm.h>.
5781         (__memrchr): Don't use BP_SYM.
5782         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
5783         <bp-sym.h> and <bp-asm.h>.
5784         (memset): Don't use BP_SYM.
5785         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
5786         <bp-sym.h> and <bp-asm.h>.
5787         (__rawmemchr): Don't use BP_SYM.
5788         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
5789         <bp-sym.h> and <bp-asm.h>.
5790         (__STRCMP): Don't use BP_SYM.
5791         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
5792         <bp-sym.h> and <bp-asm.h>.
5793         (strchr): Don't use BP_SYM.
5794         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
5795         <bp-sym.h> and <bp-asm.h>.
5796         (__strchrnul): Don't use BP_SYM.
5797         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
5798         <bp-sym.h> and <bp-asm.h>.
5799         (strlen): Don't use BP_SYM.
5800         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
5801         <bp-sym.h> and <bp-asm.h>.
5802         (strncmp): Don't use BP_SYM.
5803         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
5804         <bp-sym.h> and <bp-asm.h>.
5805         (__strnlen): Don't use BP_SYM.
5806         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
5807         <bp-asm.h>.
5808         (__mpn_rshift): Don't use BP_SYM.
5809         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
5810         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
5811         <bp-sym.h> and <bp-asm.h>.
5812         (__sigsetjmp): Don't use BP_SYM.
5813         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
5814         (L(start_addresses)): Don't use BP_SYM.
5815         (_start): Likewise.
5816         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
5817         <bp-asm.h>.
5818         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
5819         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
5820         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
5821         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
5822         <bp-asm.h>.
5823         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
5824         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
5825         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
5826         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
5827         <bp-asm.h>.
5828         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
5829         comments.
5830         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
5831         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
5832         <bp-asm.h>.
5833         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
5834         FIXME comments.
5835         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
5836         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
5837         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
5838         <bp-asm.h>.
5839         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
5840         comment.
5841         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
5842         and <bp-asm.h>.
5843         (strncmp): Don't use BP_SYM,
5844         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
5845         <bp-asm.h>.
5846         (__mpn_sub_n): Don't use BP_SYM.
5847         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
5848         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
5849         and <bp-asm.h>.
5850         (__mpn_submul_1): Don't use BP_SYM.
5851         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
5852         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
5853         <bp-sym.h> and <bp-asm.h>.
5854         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
5855         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
5856         <bp-sym.h> and <bp-asm.h>.
5857         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
5858         comment.
5860 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
5862         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
5863         Use ZK to minimize writes to Z.
5864         (sub_magnitudes): Simplify code a bit.
5865         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
5866         Use ZK to minimize writes to Z.
5867         (sub_magnitudes): Simplify code a bit.
5869 2013-02-27  Roland McGrath  <roland@hack.frob.com>
5871         * csu/gmon-start.c: Add special exception to license text.
5873 2013-02-27  Richard Henderson  <rth@redhat.com>
5875         * scripts/config.guess: Update from config.git.
5876         * scripts/config.sub: Likewise.
5878 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
5880         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
5882         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
5884         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
5886         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
5888         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
5890 2013-02-26  Roland McGrath  <roland@hack.frob.com>
5892         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
5893         [$(build-shared = yes].
5895 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
5897         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
5898         (__mul): Reduce iterations for calculating mantissa.
5900         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
5901         MPTWO.
5902         (__mpranred): Likewise.
5904         [BZ #15160]
5905         * malloc/memusagestat.c (main): Draw graphs for heap and stack
5906         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
5908 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
5910         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
5911         Define __attribute__.
5913 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
5915         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
5916         unused.
5917         * posix/regex_internal.h (__attribute): Remove.
5918         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
5919         (re_string_context_at): Likewise.
5920         (bitset_not): Use __attribute__ and mark function as possibly
5921         unused.
5922         (bitset_merge): Likewise.
5923         (bitset_mask): Likewise.
5924         (re_string_char_size_at): Likewise.
5925         (re_string_wchar_at): Likewise.
5926         (re_string_elem_size_at): Likewise.
5928 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
5930         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
5931         code.
5932         (cc32): Likewise.
5934         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
5935         (__acr): Likewise.
5936         (__cpy): Likewise.
5937         (norm): Likewise.
5938         (denorm): Likewise.
5939         (__dbl_mp): Likewise.
5940         (add_magnitudes): Likewise.
5941         (sub_magnitudes): Likewise.
5942         (__mul): Likewise.
5943         (__inv): Likewise.
5945         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
5946         style.
5948         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
5949         style.
5951         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
5952         code.
5954         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
5955         up changes with default code.
5956         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
5957         Likewise.
5959 2013-02-24  Allan McRae  <allan@archlinux.org>
5961         * manual/socket.texi (The Internet Namespace): Order menu items
5962         to match that in the file.
5964         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
5965         node listing of the info page menu.
5967 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
5969         [BZ #13550]
5970         * sysdeps/i386/bp-asm.h: Remove file.
5971         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
5972         (PARMS): Do not use macros from bp-asm.h.
5973         (S1): Likewise.
5974         (S2): Likewise.
5975         (SIZE): Likewise.
5976         (__mpn_add_n): Do not use BP_SYM
5977         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
5978         "bp-asm.h".
5979         (PARMS): Do not use macros from bp-asm.h.
5980         (S1): Likewise.
5981         (SIZE): Likewise.
5982         (__mpn_addmul_1): Do not use BP_SYM
5983         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
5984         "bp-asm.h".
5985         (PARMS): Do not use macros from bp-asm.h.
5986         (SIGMSK): Likewise.
5987         (_setjmp): Likewise.  Do not use BP_SYM.
5988         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
5989         "bp-asm.h".
5990         (PARMS): Do not use macros from bp-asm.h.
5991         (SIGMSK): Likewise.
5992         (setjmp): Likewise.  Do not use BP_SYM.
5993         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
5994         "bp-asm.h".
5995         (PARMS): Do not use macros from bp-asm.h.
5996         (__frexp): Do not use BP_SYM.
5997         (frexp): Likewise.
5998         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
5999         "bp-asm.h".
6000         (PARMS): Do not use macros from bp-asm.h.
6001         (__frexpf): Do not use BP_SYM.
6002         (frexpf): Likewise.
6003         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
6004         "bp-asm.h".
6005         (PARMS): Do not use macros from bp-asm.h.
6006         (__frexpl): Do not use BP_SYM.
6007         (frexpl): Likewise.
6008         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
6009         "bp-asm.h".
6010         (PARMS): Do not use macros from bp-asm.h.
6011         (__remquo): Do not use BP_SYM.
6012         (remquo): Likewise.
6013         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
6014         "bp-asm.h".
6015         (PARMS): Do not use macros from bp-asm.h.
6016         (__remquof): Do not use BP_SYM.
6017         (remquof): Likewise.
6018         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
6019         "bp-asm.h".
6020         (PARMS): Do not use macros from bp-asm.h.
6021         (__remquol): Do not use BP_SYM.
6022         (remquol): Likewise.
6023         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
6024         "bp-asm.h".
6025         (PARMS): Do not use macros from bp-asm.h.
6026         (DEST): Likewise.
6027         (SRC): Likewise.
6028         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
6029         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
6030         "bp-asm.h".
6031         (PARMS): Do not use macros from bp-asm.h.
6032         (strlen): Do not use BP_SYM.
6033         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
6034         "bp-asm.h".
6035         (PARMS): Do not use macros from bp-asm.h.
6036         (S1): Likewise.
6037         (S2): Likewise.
6038         (SIZE): Likewise.
6039         (__mpn_add_n): Do not use BP_SYM.
6040         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
6041         "bp-asm.h".
6042         (PARMS): Do not use macros from bp-asm.h.
6043         (S1): Likewise.
6044         (SIZE): Likewise.
6045         (__mpn_addmul_1): Do not use BP_SYM.
6046         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
6047         weak_alias.
6048         (bzero): Likewise.
6049         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
6050         "bp-asm.h".
6051         (PARMS): Do not use macros from bp-asm.h.
6052         (S): Likewise.
6053         (SIZE): Likewise.
6054         (__mpn_lshift): Do not use BP_SYM.
6055         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
6056         "bp-asm.h".
6057         (PARMS): Do not use macros from bp-asm.h.
6058         (DEST): Likewise.
6059         (SRC): Likewise.
6060         (LEN): Likewise.
6061         (memcpy): Likewise.  Do not use BP_SYM.
6062         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
6063         libc_hidden_def and weak_alias.
6064         (mempcpy): Do not use BP_SYM in weak_alias.
6065         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
6066         "bp-asm.h".
6067         (PARMS): Do not use macros from bp-asm.h.
6068         (DEST): Likewise.
6069         (LEN): Likewise.
6070         [!BZERO_P] (CHR): Likewise.
6071         (memset): Likewise.  Do not use BP_SYM.
6072         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
6073         "bp-asm.h".
6074         (PARMS): Do not use macros from bp-asm.h.
6075         (S1): Likewise.
6076         (SIZE): Likewise.
6077         (__mpn_mul_1): Do not use BP_SYM.
6078         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
6079         "bp-asm.h".
6080         (PARMS): Do not use macros from bp-asm.h.
6081         (S): Likewise.
6082         (SIZE): Likewise.
6083         (__mpn_rshift): Do not use BP_SYM.
6084         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
6085         "bp-asm.h".
6086         (PARMS): Do not use macros from bp-asm.h.
6087         (STR): Likewise.
6088         (CHR): Likewise.
6089         (strchr): Likewise.  Do not use BP_SYM.
6090         (index): Do not use BP_SYM in weak_alias.
6091         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
6092         "bp-asm.h".
6093         (PARMS): Do not use macros from bp-asm.h.
6094         (DEST): Likewise.
6095         (SRC): Likewise.
6096         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
6097         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
6098         "bp-asm.h".
6099         (PARMS): Do not use macros from bp-asm.h.
6100         (strlen): Do not use BP_SYM.
6101         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
6102         "bp-asm.h".
6103         (PARMS): Do not use macros from bp-asm.h.
6104         (S1): Likewise.
6105         (S2): Likewise.
6106         (SIZE): Likewise.
6107         (__mpn_sub_n): Do not use BP_SYM.
6108         * sysdeps/i386/i586/submul_1.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         (SIZE): Likewise.
6113         (__mpn_submul_1): Do not use BP_SYM.
6114         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
6115         "bp-asm.h".
6116         (PARMS): Do not use macros from bp-asm.h.
6117         (S1): Likewise.
6118         (S2): Likewise.
6119         (SIZE): Likewise.
6120         (__mpn_add_n): Do not use BP_SYM.
6121         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
6122         weak_alias.
6123         (bzero): Likewise.
6124         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
6125         "bp-asm.h".
6126         (PARMS): Do not use macros from bp-asm.h.
6127         (BLK2): Likewise.
6128         (LEN): Likewise.
6129         (memcmp): Do not use BP_SYM.
6130         (bcmp): Do not use BP_SYM in weak_alias.
6131         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
6132         "bp-asm.h".
6133         (PARMS): Do not use macros from bp-asm.h.
6134         (DEST): Likewise.
6135         (SRC): Likewise.
6136         (LEN): Likewise.
6137         (memcpy): Likewise.  Do not use BP_SYM.
6138         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
6139         "bp-asm.h".
6140         (PARMS): Do not use macros from bp-asm.h.
6141         (DEST): Likewise.
6142         (SRC): Likewise.
6143         (LEN): Likewise.
6144         (memmove): Likewise.  Do not use BP_SYM.
6145         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
6146         "bp-asm.h".
6147         (PARMS): Do not use macros from bp-asm.h.
6148         (DEST): Likewise.
6149         (SRC): Likewise.
6150         (LEN): Likewise.
6151         (__mempcpy): Likewise.  Do not use BP_SYM.
6152         (mempcpy): Do not use BP_SYM in weak_alias.
6153         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
6154         "bp-asm.h".
6155         (PARMS): Do not use macros from bp-asm.h.
6156         (DEST): Likewise.
6157         (LEN): Likewise.
6158         [!BZERO_P] (CHR): Likewise.
6159         (memset): Likewise.  Do not use BP_SYM.
6160         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
6161         "bp-asm.h".
6162         (PARMS): Do not use macros from bp-asm.h.
6163         (STR2): Likewise.
6164         (strcmp): Do not use BP_SYM.
6165         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
6166         "bp-asm.h".
6167         (PARMS): Do not use macros from bp-asm.h.
6168         (STR): Likewise.
6169         (DELIM): Likewise.
6170         [USE_AS_STRTOK_R] (SAVE): Likewise.
6171         (FUNCTION): Likewise.  Do not use BP_SYM.
6172         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
6173         aliases.
6174         (strtok_r): Likewise.
6175         (__GI___strtok_r): Likewise.
6176         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
6177         (PARMS): Do not use macros from bp-asm.h.
6178         (S): Likewise.
6179         (SIZE): Likewise.
6180         (__mpn_lshift): Do not use BP_SYM.
6181         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
6182         (PARMS): Do not use macros from bp-asm.h.
6183         (STR): Likewise.
6184         (CHR): Likewise.
6185         (__memchr): Do not use BP_SYM.
6186         (memchr): Do not use BP_SYM in weak_alias.
6187         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
6188         (PARMS): Do not use macros from bp-asm.h.
6189         (BLK2): Likewise.
6190         (LEN): Likewise.
6191         (memcmp): Do not use BP_SYM.
6192         (bcmp): Do not use BP_SYM in weak_alias.
6193         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
6194         (PARMS): Do not use macros from bp-asm.h.
6195         (S1): Likewise.
6196         (SIZE): Likewise.
6197         (__mpn_mul_1): Do not use BP_SYM.
6198         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
6199         "bp-asm.h".
6200         (PARMS): Do not use macros from bp-asm.h.
6201         (STR): Likewise.
6202         (CHR): Likewise.
6203         (__rawmemchr): Do not use BP_SYM.
6204         (rawmemchr): Do not use BP_SYM in weak_alias.
6205         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
6206         (PARMS): Do not use macros from bp-asm.h.
6207         (S): Likewise.
6208         (SIZE): Likewise.
6209         (__mpn_rshift): Do not use BP_SYM.
6210         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
6211         (PARMS): Do not use macros from bp-asm.h.
6212         (SIGMSK): Likewise.
6213         (__sigsetjmp): Likewise.  Do not use BP_SYM.
6214         * sysdeps/i386/start.S: Do not include "bp-sym.h".
6215         (_start): Do not use BP_SYM.
6216         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
6217         (PARMS): Do not use macros from bp-asm.h.
6218         (DEST): Likewise.
6219         (SRC): Likewise.
6220         (__stpcpy): Likewise.  Do not use BP_SYM.
6221         (stpcpy): Do not use BP_SYM in weak_alias.
6222         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
6223         "bp-asm.h".
6224         (PARMS): Do not use macros from bp-asm.h.
6225         (DEST): Likewise.
6226         (SRC): Likewise.
6227         (LEN): Likewise.
6228         (__stpncpy): Likewise.  Do not use BP_SYM.
6229         (stpncpy): Do not use BP_SYM in weak_alias.
6230         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
6231         (PARMS): Do not use macros from bp-asm.h.
6232         (STR): Likewise.
6233         (CHR): Likewise.
6234         (strchr): Likewise.  Do not use BP_SYM.
6235         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
6236         "bp-asm.h".
6237         (PARMS): Do not use macros from bp-asm.h.
6238         (STR): Likewise.
6239         (CHR): Likewise.
6240         (__strchrnul): Likewise.  Do not use BP_SYM.
6241         (strchrnul): Do not use BP_SYM in weak_alias.
6242         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
6243         "bp-asm.h".
6244         (PARMS): Do not use macros from bp-asm.h.
6245         (STOP): Likewise.
6246         (strcspn): Do not use BP_SYM.
6247         * sysdeps/i386/strpbrk.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         (STOP): Likewise.
6252         (strpbrk): Likewise.  Do not use BP_SYM.
6253         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
6254         "bp-asm.h".
6255         (PARMS): Do not use macros from bp-asm.h.
6256         (STR): Likewise.
6257         (CHR): Likewise.
6258         (strrchr): Likewise.  Do not use BP_SYM.
6259         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
6260         (PARMS): Do not use macros from bp-asm.h.
6261         (SKIP): Likewise.
6262         (strspn): Do not use BP_SYM.
6263         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
6264         (PARMS): Do not use macros from bp-asm.h.
6265         (STR): Likewise.
6266         (DELIM): Likewise.
6267         (SAVE): Likewise.
6268         (FUNCTION): Likewise.  Do not use BP_SYM.
6269         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
6270         aliases.
6271         (strtok_r): Likewise.
6272         (__GI___strtok_r): Likewise.
6273         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
6274         (PARMS): Do not use macros from bp-asm.h.
6275         (S1): Likewise.
6276         (S2): Likewise.
6277         (SIZE): Likewise.
6278         (__mpn_sub_n): Do not use BP_SYM.
6279         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
6280         "bp-asm.h".
6281         (PARMS): Do not use macros from bp-asm.h.
6282         (S1): Likewise.
6283         (SIZE): Likewise.
6284         (__mpn_submul_1): Do not use BP_SYM.
6285         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
6286         <bp-sym.h>.
6287         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
6288         and <bp-asm.h>.
6289         (PARMS): Do not use macros from bp-asm.h.
6290         (FLAGS): Likewise.
6291         (PTID): Likewise.
6292         (TLS): Likewise.
6293         (CTID): Likewise.
6294         (__clone): Do not use BP_SYM.
6295         (clone): Do not use BP_SYM in weak_alias.
6296         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
6297         and <bp-asm.h>.
6298         (PARMS): Do not use macros from bp-asm.h.
6299         (LEN): Likewise.
6300         (__mmap64): Do not use BP_SYM.
6301         (mmap64): Do not use BP_SYM in weak_alias.
6302         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
6303         <bp-sym.h> and <bp-asm.h>.
6304         (PARMS): Do not use macros from bp-asm.h.
6305         (__posix_fadvise64_l64): Do not use BP_SYM.
6306         * sysdeps/unix/sysv/linux/i386/semtimedop.S
6307         (PARMS): Do not use macros from bp-asm.h.
6308         (NSOPS): Likewise.
6309         (semtimedop): Do not use BP_SYM.
6310         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
6311         and <bp-asm.h>.
6313 2013-02-21  Allan McRae  <allan@archlinux.org>
6315         * manual/message.texi (Charset conversion in gettext):
6316         Move @end statement to beginning of line.
6318 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
6320         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
6321         static.
6322         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
6323         Likewise.
6325         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
6326         (denorm): Likewise.
6327         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
6328         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
6330 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
6332         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
6333         tail-call to the resolved function if pltexit isn't needed.
6335 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
6337         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
6338         or Y being zero as being unlikely.
6339         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
6340         Likewise.
6342 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
6344         * manual/nss.texi (System Databases and Name Service Switch):
6345         Remove frobnicate @pxref.
6347 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
6349         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
6350         __attribute__ ((unused)) to __attribute__ ((__unused__)).
6352 2013-02-20  Petr Machata  <pmachata@redhat.com>
6354         * elf/elf.h (R_ARM_TARGET1): New macro.
6355         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
6356         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
6357         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
6358         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
6359         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
6360         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
6361         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
6362         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
6363         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
6364         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
6365         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
6366         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
6367         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
6368         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
6369         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
6370         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
6371         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
6372         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
6373         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
6374         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
6375         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
6376         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
6377         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
6378         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
6379         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
6380         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
6381         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
6382         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
6383         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
6384         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
6385         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
6386         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
6387         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
6388         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
6389         (R_ARM_THM_GOT_BREL12): Likewise.
6390         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
6391         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
6392         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
6393         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
6394         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
6395         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
6396         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
6397         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
6398         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
6400 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
6402         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
6403         __attribute_used__ to __attribute__ ((unused)).
6405 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
6407         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
6408         powerpc mpa.c.
6409         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
6410         comment formatting.
6411         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
6413 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
6415         [BZ #13550]
6416         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
6417         Remove macro.
6418         (ENTER): Remove both macro definitions.
6419         (LEAVE): Likewise.
6420         (CHECK_BOUNDS_LOW): Likewise.
6421         (CHECK_BOUNDS_HIGH): Likewise.
6422         (CHECK_BOUNDS_BOTH): Likewise.
6423         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
6424         (RETURN_BOUNDED_POINTER): Likewise.
6425         (RETURN_NULL_BOUNDED_POINTER): Likewise.
6426         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
6427         (POP_ERRNO_LOCATION_RETURN): Likewise.
6428         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
6429         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
6430         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
6431         macros.
6432         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6433         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
6434         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
6435         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
6436         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
6437         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
6438         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
6439         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
6440         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
6441         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
6442         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
6443         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
6444         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
6445         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
6446         removed macros.
6447         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6448         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
6449         macros.
6450         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
6451         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
6452         * sysdeps/i386/i586/memset.S (memset): Likewise.
6453         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
6454         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6455         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
6456         macros.
6457         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
6458         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
6459         Change uses of L(2) to L(out).
6460         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
6461         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
6462         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
6463         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
6464         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
6465         removed macros.
6466         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6467         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
6468         macros.
6469         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
6470         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
6471         (RETURN): Do not use macro LEAVE.
6472         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
6473         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
6474         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
6475         * sysdeps/i386/i686/memset.S (memset): Likewise.
6476         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
6477         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
6478         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
6479         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
6480         Likewise.
6481         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
6482         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
6483         L(1_2) and L(1_3) into L(1).
6484         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
6485         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
6486         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
6487         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
6488         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
6489         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
6490         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
6491         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6492         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
6493         macros.
6494         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
6495         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
6496         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
6497         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
6498         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
6499         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
6500         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
6501         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
6502         * sysdeps/i386/strcspn.S (strcspn): Likewise.
6503         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
6504         * sysdeps/i386/strrchr.S (strrchr): Likewise.
6505         * sysdeps/i386/strspn.S (strspn): Likewise.
6506         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
6507         conditional code.
6508         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
6509         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
6510         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
6511         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
6512         L(1_3) into L(1_1).
6513         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
6514         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
6515         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
6516         macros.
6517         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6519 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
6521         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
6522         macro.
6524 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
6526         * math/atest-exp.c (exp_mpn): Remove ROUND.
6527         * math/atest-exp2.c (exp_mpn): Likewise.
6528         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
6530         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
6531         * stdlib/tst-tls-atexit-lib.c: Likewise.
6532         * stdlib/tst-tls-atexit.c: Likewise.
6534 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
6536         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
6537         and __attribute_alloc_size__.
6539 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
6541         * include/programs/xmalloc.h: Change __attribute_alloc_size to
6542         __attribute_alloc_size__.
6543         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
6544         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
6546 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
6548         * include/programs/xmalloc.h: New file.
6549         * catgets/gencat.c: Include it.
6550         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
6551         * elf/pldd.c: Likewise.
6552         * iconv/iconv_charmap.c: Likewise.
6553         * iconv/iconvconfig.c: Likewise.
6554         * iconv/strtab.c: Likewise.
6555         * locale/programs/locale.c: Likewise.
6556         * locale/programs/localedef.h: Likewise.
6557         * locale/programs/simple-hash.c: Likewise.
6558         * nscd/nscd.h: Likewise.
6559         * nss/makedb.c: Likewise.
6560         * sysdeps/generic/ldconfig.h: Likewise.
6562 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
6564         * Versions.def: Add GLIBC_2.18.
6565         * include/link.h (struct link_map): New member l_tls_dtor_count.
6566         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
6567         (__call_tls_dtors): Likewise.
6568         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
6569         __cxa_thread_atexit_impl.
6570         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
6571         Likewise.
6572         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
6573         Likewise.
6574         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
6575         Likewise.
6576         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
6577         Likewise.
6578         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
6579         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
6580         Likewise.
6581         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
6582         Likewise.
6583         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
6584         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
6585         Likewise.
6586         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
6587         (tests): Add test case tst-tls-atexit.
6588         (modules-names): Add shared library for tst-tls-atexit.
6589         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
6590         (GLIBC_PRIVATE): Add __call_tls_dtors.
6591         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
6592         for libstdc++.
6593         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
6594         * stdlib/tst-tls-atexit.c: New test case.
6595         * stdlib/tst-tls-atexit-lib.c: New test case.
6597         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
6599         * elf/Versions (ld): Add _dl_find_dso_for_object.
6600         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
6601         * elf/dl-open.c (_dl_find_dso_for_object): New function.
6602         (dl_open_worker): Use _dl_find_dso_for_object.
6603         * elf/dl-sym.c (do_sym): Likewise.
6604         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
6606 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
6608         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
6609         Syntactic changes only.
6610         (_dl_runtime_profile): Do a tail-call to the resolved function.
6612 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
6614         [BZ #13550]
6615         * sysdeps/x86_64/bp-asm.h: Remove file.
6616         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
6617         <bp-sym.h> and <bp-asm.h>.
6618         (__clone): Do not use BP_SYM.
6619         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
6620         <bp-sym.h> and <bp-asm.h>.
6621         * sysdeps/unix/x86_64/sysdep.S: Likewise.
6622         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
6623         "bp-asm.h".
6624         (_setjmp): Do not use BP_SYM.
6625         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
6626         "bp-asm.h".
6627         (setjmp): Do not use BP_SYM.
6628         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
6629         libc_hidden_def.
6630         (mempcpy): Do not use BP_SYM in weak_alias.
6631         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
6632         "bp-asm.h".
6633         (strchr): Do not use BP_SYM.
6634         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
6635         "bp-asm.h".
6636         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
6637         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
6638         (_start): Do not use BP_SYM.
6639         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
6640         "bp-asm.h".
6641         (strcat): Do not use BP_SYM.
6642         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
6643         "bp-asm.h".
6644         (STRCMP): Do not use BP_SYM.
6645         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
6646         "bp-asm.h".
6647         (STRCPY): Do not use BP_SYM.
6648         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
6649         "bp-asm.h".
6650         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
6651         "bp-asm.h".
6652         (FUNCTION): Do not use BP_SYM.
6653         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
6654         weak_alias.
6655         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
6657 2013-02-17  Andreas Jaeger  <aj@suse.de>
6659         * time/Versions: Sort entries.
6660         * string/Versions: Likewise.
6661         * resolv/Versions: Likewise.
6662         * posix/Versions: Likewise.
6663         * iconv/Versions: Likewise.
6664         * elf/Versions: Likewise.
6665         * wcsmbs/Versions: Likewise.
6667 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
6669         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
6670         loop termination condition.
6672         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
6673         variable to calculate EZ.
6674         (__sqr): Likewise.
6676         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
6677         the lower precision input.
6679 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
6681         [BZ #13550]
6682         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
6683         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
6684         (run-via-rtld-prefix): Do not handle %-bp tests.
6685         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
6686         (all-object-suffixes): Remove .ob.
6687         (bppfx): Remove variable.
6688         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
6689         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
6690         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
6691         [$(build-bounded) = yes] (libtype.ob): Likewise.
6692         * Makerules (elide-routines.ob): Remove variable.
6693         (do-tests-clean): Do not handle *-bp.out.
6694         (common-mostlyclean): Do not handle *-bp and *-bp.out.
6695         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
6696         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
6697         (tests): Do not include $(tests-bp.out).
6698         (xtests): Do not include $(xtests-bp.out).
6699         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
6700         [$(build-bounded) = yes] ($(addprefix
6701         $(objpfx),$(binaries-bounded))): Remove rule.
6702         ($(objpfx)%-bp.out): Remove rule.
6703         * config.make.in (build-bounded): Remove variable.
6704         * crypt/Makefile [$(build-bounded) = yes]
6705         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
6706         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
6707         append to variable.
6708         [$(build-bounded) = yes] (install-lib): Likewise.
6709         [$(build-bounded) = yes] (generated): Likewise.
6710         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
6711         Remove rule.
6712         * intl/Makefile [$(build-bounded) = yes]
6713         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
6714         * math/Makefile [$(build-bounded) = yes]
6715         ($(tests:%=$(objpfx)%-bp): Likewise.
6716         * misc/Makefile [$(build-bounded) = yes]
6717         ($(objpfx)tst-tsearch-bp): Likewise.
6718         * nptl/Makeconfig (bounded-thread-library): Remove variable.
6719         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
6720         Remove dependency.
6721         * string/Makefile (o-objects.ob): Remove variable.
6722         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
6723         (CFLAGS-.ob): Remove variable.
6724         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
6725         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
6726         both definitions of variable.
6727         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
6728         (ASFLAGS-.ob): Remove variable.
6730 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
6732         [BZ #13550]
6733         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
6734         Remove __BOUNDED_POINTERS__ from condition.
6735         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
6736         * string/bits/string2.h [!__NO_STRING_INLINES &&
6737         !__BOUNDED_POINTERS__]: Likewise.
6738         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
6739         Likewise.
6740         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
6741         Remove conditional code.
6742         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
6743         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
6744         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
6745         condition.
6747         [BZ #13550]
6748         * csu/libc-start.c: Do not include <bp-sym.h>.
6749         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
6750         * elf/dl-open.c: Do not include <bp-sym.h>.
6751         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
6752         * math/fegetenv.c: Do not include <bp-sym.h>.
6753         (fegetenv): Do not use BP_SYM in versioned symbols.
6754         * nptl/sysdeps/pthread/bits/libc-lockP.h
6755         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
6756         <bp-sym.h>.
6757         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6758         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
6759         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6760         (__pthread_mutex_destroy): Likewise.
6761         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6762         (__pthread_mutex_lock): Likewise.
6763         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6764         (__pthread_mutex_trylock): Likewise.
6765         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6766         (__pthread_mutex_unlock): Likewise.
6767         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6768         (__pthread_mutexattr_init): Likewise.
6769         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6770         (__pthread_mutexattr_destroy): Likewise.
6771         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6772         (__pthread_mutexattr_settype): Likewise.
6773         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6774         (__pthread_rwlock_init): Likewise.
6775         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6776         (__pthread_rwlock_destroy): Likewise.
6777         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6778         (__pthread_rwlock_rdlock): Likewise.
6779         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6780         (__pthread_rwlock_tryrdlock): Likewise.
6781         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6782         (__pthread_rwlock_wrlock): Likewise.
6783         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6784         (__pthread_rwlock_trywrlock): Likewise.
6785         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6786         (__pthread_rwlock_unlock): Likewise.
6787         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6788         (__pthread_key_create): Likewise.
6789         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6790         (__pthread_setspecific): Likewise.
6791         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6792         (__pthread_getspecific): Likewise.
6793         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
6794         Likewise.
6795         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6796         (_pthread_cleanup_push_defer): Likewise.
6797         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6798         (_pthread_cleanup_pop_restore): Likewise.
6799         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6800         (pthread_setcancelstate): Likewise.
6801         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
6802         <bp-sym.h>.
6803         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
6804         (memchr): Do not use BP_SYM in weak_alias.
6805         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
6806         (fegetenv): Do not use BP_SYM in versioned symbols.
6807         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
6808         (fesetenv): Do not use BP_SYM in versioned symbols.
6809         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
6810         (feupdateenv): Do not use BP_SYM in versioned symbols.
6811         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
6812         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
6813         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
6814         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
6815         (open64): Do not use BP_SYM in weak_alias.
6816         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
6817         (fegetenv): Do not use BP_SYM in versioned symbols.
6818         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
6819         (fesetenv): Do not use BP_SYM in versioned symbols.
6820         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
6821         (feupdateenv): Do not use BP_SYM in versioned symbols.
6822         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
6823         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
6824         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
6825         (feraiseexcept): Do not use BP_SYM in versioned symbols.
6826         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
6827         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
6828         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
6829         <bp-sym.h>.
6830         (__libc_start_main): Do not use BP_SYM.
6832 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
6834         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
6835         redundant return line.
6836         (norm): Likewise.
6837         (denorm): Likewise.
6838         (dbl_mp): Likewise.
6839         (sub_magnitudes): Likewise.
6840         (__add): Likewise.
6841         (__sub): Likewise.
6842         (__mul): Likewise.
6843         (__inv): Likewise.
6844         (__dvd): Likewise.
6845         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
6846         (norm): Likewise.
6847         (denorm): Likewise.
6848         (dbl_mp): Likewise.
6849         (sub_magnitudes): Likewise.
6850         (__add): Likewise.
6851         (__sub): Likewise.
6852         (__mul): Likewise.
6853         (__inv): Likewise.
6854         (__dvd): Likewise.
6856         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
6857         instead of __mul.
6858         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
6859         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
6860         (cc32): Likewise.
6862         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
6863         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
6864         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
6865         of __mul for squares.
6866         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
6867         function
6868         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
6869         Likewise.
6870         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
6871         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
6873 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
6875         [BZ #13550]
6876         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
6877         code.
6878         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
6879         prototype or function definition.  Rename ubp_* variables and
6880         parameters.  Remove argv definitions conditional on
6881         [__BOUNDED_POINTERS__].
6882         * debug/backtrace.c (__backtrace): Do not use __unbounded.
6883         * elf/dl-runtime.c (_dl_fixup): Likewise.
6884         * include/set-hooks.h (RUN_HOOK): Likewise.
6885         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
6886         definition.
6887         * string/strcpy.c (strcpy): Do not use __unbounded.
6888         * sysdeps/generic/frame.h (struct layout): Likewise.
6889         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
6890         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
6891         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
6892         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
6893         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
6894         (__backtrace): Likewise.
6895         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
6896         use __ptrvalue.
6897         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
6898         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
6899         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
6900         Likewise.
6901         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
6902         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
6903         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
6904         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
6905         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
6906         Do not use __unbounded.
6907         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
6908         Rename __unboundedrlimits parameter to rlimits in prototype.
6909         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
6910         Do not use __unbounded.
6911         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
6912         not use __ptrvalue.
6913         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
6914         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
6915         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
6916         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
6917         __ptrvalue or __unbounded.
6918         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
6919         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
6920         use __unbounded.
6921         (__new_msgctl): Do not use __ptrvalue.
6922         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
6923         __unbounded.
6924         (__libc_msgrcv): Do not use __ptrvalue.
6925         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
6926         startup_info): Do not use __unbounded.
6927         (__libc_start_main): Likewise.  Rename ubp_* variables and
6928         parameters.  Remove argv definitions conditional on
6929         [__BOUNDED_POINTERS__].
6930         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
6931         __ptrvalue.
6932         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
6933         use __unbounded.
6934         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
6935         or __ptrvalue.
6936         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
6937         use __unbounded.
6938         (__new_shmctl): Do not use __ptrvalue.
6939         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
6940         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
6941         Likewise.
6942         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
6943         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
6944         (__libc_sigaction): Likewise.
6945         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
6946         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
6947         Likewise.
6948         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
6950 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
6952         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
6954         * string/mempcpy.c: Implement by calling memcpy.
6956 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
6958         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
6960         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
6961         evaluation.
6963         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
6964         values in the mantissa.
6966         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
6967         minimize writes to Z.
6968         (sub_magnitudes): Simplify code a bit.
6970 2013-02-12  Roland McGrath  <roland@hack.frob.com>
6972         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
6973         from the message.  The linker prefixes all warnings with that already.
6975 2013-02-12  Andreas Schwab  <schwab@suse.de>
6977         [BZ #15078]
6978         * posix/regexec.c (extend_buffers): Add parameter min_len.
6979         (check_matching): Pass minimum needed length.
6980         (clean_state_log_if_needed): Likewise.
6981         (get_subexp): Likewise.
6982         * posix/Makefile (tests): Add bug-regex34.
6983         (bug-regex34-ENV): Define.
6984         * posix/bug-regex34.c: New file.
6986         [BZ #11561]
6987         * posix/regcomp.c (parse_bracket_exp): When looking up collating
6988         elements compare against the byte sequence of it, not its name.
6989         * posix/Makefile (tests): Add bug-regex35.
6990         (bug-regex35-ENV): Define.
6991         * posix/bug-regex35.c: New file.
6993 2013-02-11  Tom de Vries  <tom@codesourcery.com>
6995         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
6996         comment.
6997         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
6998         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
6999         (CHECK_EOL): Add undef.
7001 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
7003         * bits/stdlib-bsearch.h: New file.
7004         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
7005         * stdlib/stdlib.h: Likewise.
7007 2013-02-11  Roland McGrath  <roland@hack.frob.com>
7009         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
7010         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
7011         declaration.
7012         * manual/search.texi (Array Search Function): Add missing const in
7013         lfind prototype.
7014         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
7015         declaration to use rlim_t.
7016         (Basic Scheduling Functions): Remove erroneous const from
7017         sched_getparam prototype.  Remove erroneous * from
7018         sched_get_priority_max and sched_get_priority_min prototypes.
7019         (Resource Usage): Fix summary @comment on vtimes to refer to
7020         sys/vtimes.h rather than vtimes.h.
7021         Add missing *s in vtimes prototype.
7022         (Limits on Resources): Fix ulimit prototype to return long int.
7023         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
7024         prototypes to use long int rather than double.
7025         (BSD Random): Fix initstate and setstate to use char *, not void *.
7026         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
7027         prototype to make second argument 'struct aiocb64 *const[]'.
7028         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
7029         (Status of AIO Operations): Remove erroneous const in aio_return and
7030         aio_return64 prototypes.
7031         (Synchronizing I/O): Fix sync prototype to return void.
7032         * manual/startup.texi (Suboptions): Remove an erroneous const in
7033         getsubopt prototype.
7034         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
7035         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
7036         use size_t rather than int.
7037         (Scanning All Users): Likewise for getpwent_r.
7038         (Setting Groups): Add missing const to setgroups prototype.
7039         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
7040         * manual/socket.texi (Host Names): Fix gethostbyaddr and
7041         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
7042         'const void *' rather than 'const char *'.
7043         (Host Address Functions): Likewise for inet_ntop.
7044         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
7045         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
7046         ssize_t for return value.
7047         (Sending Data): Likewise for send, sendto, sendmsg.
7048         (Socket Option Functions): Add a missing const in setsockopt prototype.
7049         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
7050         use wchar_t for the argument.
7051         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
7052         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
7053         take no arguments.
7054         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
7055         double/float/long double for second argument.
7056         Fix return types of significand, significandf, significandl.
7057         * manual/filesys.texi (Setting Permissions): Use mode_t for second
7058         argument in fchmod prototype.
7059         (File Owner): Use uid_t and gid_t in fchown prototype.
7060         (File Times): Add const to utimes, futimes, and lutimes prototypes.
7061         (Making Special Files): Use mode_t and dev_t in mknod prototype.
7062         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
7063         use 'const struct dirent **' as argument types to CMP function pointer
7064         argument.
7065         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
7066         (File Times): Fix summary magic @comment for struct utimbuf and utime
7067         to refer to utime.h, not time.h.
7068         * manual/string.texi (Argz Functions): Add missing const in
7069         argz_extract and argz_next prototypes.
7070         (Finding Tokens in a String): Likewise for basename.
7071         (String/Array Comparison): Fix typo in wcscasecmp prototype.
7072         (Copying and Concatenation): Fix typo in wmemmove prototype.
7073         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
7074         (Signal Stack): Remove erroneous const in sigstack prototype.
7075         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
7076         prototype.
7077         (Simple Calendar Time): Likewise for stime.
7078         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
7079         prototype.
7080         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
7081         say sys/sysctl.h instead.
7082         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
7083         and vsyslog prototypes.
7085 2013-02-11  Tom de Vries  <tom@codesourcery.com>
7087         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
7088         Remove.
7090 2013-02-11  Roland McGrath  <roland@hack.frob.com>
7092         * misc/sys/mman.h: Fix typo in mremap comment.
7094 2013-02-08  Roland McGrath  <roland@hack.frob.com>
7096         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
7097         the '\0' terminator.
7099 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
7101         [BZ #13550]
7102         * debug/segfault.c: Don't include <bp-checks.h>.
7103         * sysdeps/generic/bp-checks.h: Remove file.
7104         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
7105         (__GETDENTS): Don't use CHECK_N.
7106         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
7107         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
7108         (__getgroups): Don't use CHECK_N.
7109         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
7110         (setgroups): Don't use CHECK_N.
7111         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
7112         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
7113         (__libc_msgrcv): Don't use CHECK_N.
7114         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
7115         (__libc_msgsnd): Don't use CHECK_N.
7116         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
7117         <bp-checks.h>.
7118         (__libc_pread): Don't use CHECK_N.
7119         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
7120         include <bp-checks.h>.
7121         (__libc_pread64): Don't use CHECK_N.
7122         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
7123         include <bp-checks.h>.
7124         (__libc_pwrite): Don't use CHECK_N.
7125         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
7126         include <bp-checks.h>.
7127         (__libc_pwrite64): Don't use CHECK_N.
7128         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
7129         <bp-checks.h>.
7130         (__libc_pread): Don't use CHECK_N.
7131         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
7132         include <bp-checks.h>.
7133         (__libc_pread64): Don't use CHECK_N.
7134         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
7135         include <bp-checks.h>.
7136         (__libc_pwrite): Don't use CHECK_N.
7137         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
7138         include <bp-checks.h>.
7139         (__libc_pwrite64): Don't use CHECK_N.
7140         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
7141         (do_pread): Don't use CHECK_N.
7142         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
7143         (do_pread64): Don't use CHECK_N.
7144         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
7145         (do_pwrite): Don't use CHECK_N.
7146         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
7147         (do_pwrite64): Don't use CHECK_N.
7148         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
7149         (__libc_readv): Don't use CHECK_N.
7150         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
7151         (semop): Don't use CHECK_N.
7152         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
7153         <bp-checks.h>.
7154         (semtimedop): Don't use CHECK_N.
7155         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
7156         (__libc_pread): Don't use CHECK_N.
7157         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
7158         <bp-checks.h>.
7159         (__libc_pread64): Don't use CHECK_N.
7160         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
7161         <bp-checks.h>.
7162         (__libc_pwrite): Don't use CHECK_N.
7163         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
7164         <bp-checks.h>.
7165         (__libc_pwrite64): Don't use CHECK_N.
7166         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
7167         <bp-checks.h>.
7168         (__libc_msgrcv): Don't use CHECK_N.
7169         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
7170         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
7171         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
7172         (__libc_writev): Don't use CHECK_N.
7174 2013-02-08  Roland McGrath  <roland@hack.frob.com>
7176         * string/strcpy.c: Removed unused variable.
7178         * Makeconfig (+sysdep-includes): Define with := rather than =.
7179         Use an existing include/ subdir of each sysdeps dir before it.
7181 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
7183         * nscd/connection.c (register_traced_file): Comment function.
7184         [HAVE_INOTIFY] (union __inev): Define.
7185         [HAVE_INOTIFY] (inotify_check_files): New function.
7186         [HAVE_INOTIFY] (clear_db_cache): Likewise.
7187         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
7188         clear_db_cache.
7189         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
7191 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
7193         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
7194         loaded if not already and that a failure is permanent.
7196 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
7198         [BZ #15006]
7199         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
7200         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
7202 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
7204         [BZ #13550]
7205         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
7206         (CHECK_1_NULL_OK): Likewise.
7207         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
7208         (__fxstat): Do not use CHECK_1.
7209         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
7210         <bp-checks.h>.
7211         (___fxstat64): Do not use CHECK_1.
7212         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
7213         <bp-checks.h>.
7214         (__fxstatat): Do not use CHECK_1.
7215         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
7216         <bp-checks.h>.
7217         (__fxstatat64): Do not use CHECK_1.
7218         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
7219         <bp-checks.h>.
7220         (__fxstat): Do not use CHECK_1.
7221         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
7222         <bp-checks.h>.
7223         (__fxstatat): Do not use CHECK_1.
7224         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
7225         <bp-checks.h>.
7226         (__getresgid): Do not use CHECK_1.
7227         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
7228         <bp-checks.h>.
7229         (__getresuid): Do not use CHECK_1.
7230         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
7231         <bp-checks.h>.
7232         (__lxstat): Do not use CHECK_1.
7233         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
7234         <bp-checks.h>.
7235         (__old_msgctl): Do not use CHECK_1.
7236         (__new_msgctl): Likewise.
7237         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
7238         <bp-checks.h>.
7239         (__new_setrlimit): Do not use CHECK_1.
7240         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
7241         <bp-checks.h>.
7242         (__old_shmctl): Do not use CHECK_1.
7243         (__new_shmctl): Likewise.
7244         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
7245         <bp-checks.h>.
7246         (__xstat): Do not use CHECK_1.
7247         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
7248         (__lxstat): Do not use CHECK_1.
7249         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
7250         <bp-checks.h>.
7251         (___lxstat64): Do not use CHECK_1.
7252         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
7253         (__old_msgctl): Do not use CHECK_1.
7254         (__new_msgctl): Likewise.
7255         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
7256         <bp-checks.h>.
7257         (__gettimeofday): Do not use CHECK_1.
7258         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
7259         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
7260         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
7261         <bp-checks.h>.
7262         (__gettimeofday): Do not use CHECK_1.
7263         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
7264         (__old_shmctl): Do not use CHECK_1_NULL_OK.
7265         (__new_shmctl): Do not use CHECK_1.
7266         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
7267         <bp-checks.h>.
7268         (do_sigtimedwait): Do not use CHECK_1.
7269         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
7270         <bp-checks.h>.
7271         (do_sigwaitinfo): Do not use CHECK_1.
7272         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
7273         <bp-checks.h>.
7274         (msgctl): Do not use CHECK_1.
7275         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
7276         <bp-checks.h>.
7277         (shmctl): Do not use CHECK_1.
7278         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
7279         (ustat): Do not use CHECK_1.
7280         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
7281         <bp-checks.h>.
7282         (__fxstat): Do not use CHECK_1.
7283         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
7284         <bp-checks.h>.
7285         (__fxstatat): Do not use CHECK_1.
7286         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
7287         <bp-checks.h>.
7288         (__lxstat): Do not use CHECK_1.
7289         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
7290         <bp-checks.h>.
7291         (__xstat): Do not use CHECK_1.
7292         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
7293         (__xstat): Do not use CHECK_1.
7294         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
7295         (___xstat64): Do not use CHECK_1.
7297         [BZ #13550]
7298         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
7299         definitions.
7300         (CHECK_BOUNDS_HIGH): Likewise.
7301         * string/strcpy.c: Do not include <bp-checks.h>.
7302         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
7304 2013-02-07  Roland McGrath  <roland@hack.frob.com>
7306         * nscd/nscd-client.h (__nscd_drop_map_ref):
7307         Add __attribute__ ((unused)).
7308         * nis/nss-nisplus.h (niserr2nss): Likewise.
7310         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
7311         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
7313         * csu/libc-tls.c (init_static_tls, init_slotinfo):
7314         Remove inline keyword.
7315         * include/rounding-mode.h (round_away): Likewise.
7316         * libio/wfileops.c (adjust_wide_data): Likewise.
7317         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
7318         (__m128i_strloadu_tolower): Likewise.
7319         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
7320         (__m128i_strloadu_tolower): Likewise.
7321         * time/mktime.c (ydhms_diff): Likewise.
7322         * locale/elem-hash.h (elem_hash): Likewise.
7323         * locale/setlocale.c (setdata): Likewise.
7324         * posix/regex_internal.h (re_string_char_size_at): Likewise.
7325         (re_string_wchar_at): Likewise.
7326         (bitset_not, bitset_merge, bitset_mask): Likewise.
7327         [!(__GNUC__ > 3)] (inline): Remove macro.
7328         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
7329         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
7330         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
7331         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
7332         * string/memcmp.c (memcmp_bytes): Likewise.
7333         * locale/programs/locarchive.c (compute_hashval): Likewise.
7334         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
7335         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
7336         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
7337         * nss/getent.c (print_rpc, print_protocols): Likewise.
7338         (print_passwd, print_group, print_aliases): Likewise.
7339         * nis/nss-nisplus.h (niserr2nss): Likewise.
7340         * nscd/connections.c (restart_p): Likewise.
7341         Change return type to bool.
7343 2013-02-05  Roland McGrath  <roland@hack.frob.com>
7345         * Makeconfig (all-Depend-files): Add existing
7346         $(sorted-subdirs:=/Depend) files.
7347         (all-subdirs): Remove nss.
7348         * sysdeps/unix/inet/Subdirs: Add it here instead.
7349         * hesiod/Depend: New file.
7351         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
7352         instead of calling alloca.
7354         * io/lseek.c (__lseek): Rename to __libc_lseek.
7355         Define __lseek as an alias.
7357         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
7359 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
7361         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
7362         else clause and remove check for non-standard endianness.
7364 2013-02-04  David S. Miller  <davem@davemloft.net>
7366         * sysdeps/sparc/fpu/libm-test-ulps: Update.
7368 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
7370         [BZ #13550]
7371         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
7372         (__ubp_memchr): Remove prototype.
7373         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
7374         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
7375         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
7376         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
7377         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
7378         Remove alias.
7379         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
7380         (__ubp_memchr): Likewise.
7381         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
7382         (__ubp_memchr): Likewise.
7383         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
7384         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
7385         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
7386         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
7387         CHECK_STRING.
7388         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
7389         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
7390         (__getcwd): Do not use CHECK_STRING.
7391         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
7392         <bp-checks.h>.
7393         (__real_chown): Do not use CHECK_STRING.
7394         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
7395         <bp-checks.h>.
7396         (fchownat): Do not use CHECK_STRING.
7397         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
7398         CHECK_STRING.
7399         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
7400         <bp-checks.h>.
7401         (__lchown): Do not use CHECK_STRING.
7402         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
7403         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
7404         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
7405         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
7406         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
7407         include <bp-checks.h>.
7408         (truncate64): Do not use CHECK_STRING.
7409         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
7410         <bp-checks.h>.
7411         (__real_chown): Do not use CHECK_STRING.
7412         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
7413         <bp-checks.h>.
7414         (__lchown): Do not use CHECK_STRING.
7415         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
7416         <bp-checks.h>.
7417         (__chown): Do not use CHECK_STRING.
7418         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
7419         <bp-checks.h>.
7420         (truncate64): Do not use CHECK_STRING.
7421         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
7422         Likewise.
7423         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
7424         (__xmknod): Do not use CHECK_STRING.
7425         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
7426         <bp-checks.h>.
7427         (__xmknodat): Do not use CHECK_STRING.
7428         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
7429         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
7431 2013-02-04  Andreas Schwab  <schwab@suse.de>
7433         [BZ #14142]
7434         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
7435         * include/netdb.h: Likewise for h_errno.
7436         * elf/tst-stackguard1.c: Include <tls.h>.
7438 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
7440         * elf/link.h (struct link_map): Extend the l_addr comment.
7441         * include/link.h (struct link_map): Likewise.
7443 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
7445         [BZ #13550]
7446         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
7447         (BOUNDED_1): Remove macro.
7448         * debug/backtrace.c: Don't include <bp-checks.h>.
7449         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
7450         (__backtrace): Likewise.
7451         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
7452         <bp-checks.h>.
7453         (__backtrace): Don't use BOUNDED_1.
7454         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
7455         <bp-checks.h>.
7456         (__backtrace): Don't use BOUNDED_1.
7457         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
7458         (__backtrace): Don't use BOUNDED_1.
7459         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
7460         (shmat): Don't use BOUNDED_N.
7462 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
7464         [BZ #13550]
7465         * sysdeps/generic/bp-start.h: Remove file.
7466         * csu/libc-start.c: Don't include <bp-start.h>.
7467         (LIBC_START_MAIN): Set up __environ directly instead of using
7468         INIT_ARGV_and_ENVIRON.
7469         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
7470         <bp-start.h>.
7472         [BZ #13550]
7473         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
7474         definitions.
7475         (CHECK_FCNTL): Likewise.
7476         (CHECK_N_PAGES): Likewise.
7478         [BZ #13550]
7479         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
7480         definitions.
7481         (CHECK_SIGSET_NULL_OK): Likewise.
7482         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
7483         <bp-checks.h>.
7484         (sigpending): Don't use CHECK_SIGSET.
7485         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
7486         <bp-checks.h>.
7487         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
7488         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
7489         <bp-checks.h>.
7490         (do_sigsuspend): Don't use CHECK_SIGSET.
7491         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
7492         use CHECK_SIGSET.
7493         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
7494         (do_sigwait): Don't use CHECK_SIGSET.
7495         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
7496         use CHECK_SIGSET.
7497         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
7498         include <bp-checks.h>.
7499         (sigpending): Don't use CHECK_SIGSET.
7500         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
7501         include <bp-checks.h>.
7502         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
7503         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
7504         <bp-checks.h>.
7505         (sigpending): Don't use CHECK_SIGSET.
7506         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
7507         <bp-checks.h>.
7508         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
7510         [BZ #13550]
7511         * sysdeps/generic/bp-semctl.h: Remove file.
7512         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
7513         <bp-checks.h> and <bp-semctl.h>.
7514         (__old_semctl): Don't use CHECK_SEMCTL.
7515         (__new_semctl): Likewise.
7516         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
7517         and <bp-semctl.h>.
7518         (__old_semctl): Don't use CHECK_SEMCTL.
7519         (__new_semctl): Likewise.
7520         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
7521         <bp-checks.h> and <bp-semctl.h>.
7522         (__old_semctl): Don't use CHECK_SEMCTL.
7523         (__new_semctl): Likewise.
7524         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
7525         <bp-checks.h> and <bp-semctl.h>.
7526         (semctl): Don't use CHECK_SEMCTL.
7528         [BZ #13550]
7529         * Makerules (elide-bp-thunks): Remove variable.
7530         (elide-routines.oS): Don't use $(elide-bp-thunks).
7531         (elide-routines.os): Likewise.
7532         (elide-routines.o): Likewise.
7533         (elide-routines.op): Likewise.
7534         (elide-routines.og): Likewise.
7535         (objects): Don't use $(bp-thunks).
7536         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
7537         include.
7538         (common-generated): Do not add s-proto-bp.d.
7539         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
7540         (int): Likewise.
7541         (typ): Likewise.
7542         Do not generate makefile rules for bounded-pointer thunks.
7543         * sysdeps/generic/bp-thunks.h: Remove file.
7544         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
7545         * sysdeps/unix/s-proto-bp.S: Likewise.
7547         [BZ #15062]
7548         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
7549         parts of result separately when argument is not close to line from
7550         -i to i and one part of argument is small.
7551         * math/k_casinhf.c (__kernel_casinhf): Likewise.
7552         * math/k_casinhl.c (__kernel_casinhl): Likewise.
7553         * math/libm-test.inc (cacos_test): Add more tests.
7554         (casin_test): Likewise.
7555         (casinh_test): Likewise.
7556         * sysdeps/i386/fpu/libm-test-ulps: Update.
7557         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7559 2013-01-31  David S. Miller  <davem@davemloft.net>
7561         * po/de.po: Update from translation team.
7563 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
7565         * time/tzfile.c: Include stdint.h for SIZE_MAX.
7567 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
7569         * configure.in (_AC_PROG_CC_C89): New definition.
7570         * configure: Regenerate.
7572         * configure.in (AC_PROG_CPP): New definition.
7573         * configure: Regenerate.
7575 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
7577         * debug/tst-backtrace.h: New file.
7578         * debug/tst-backtrace2.c: Include tst-backtrace.h.
7579         (ret): Remove variable.
7580         (x): Likewise.
7581         (FAIL): Remove macro.
7582         (NO_INLINE): Likewise.
7583         (fn1): Use match function instead of strstr.
7584         * debug/tst-backtrace3.c: Include tst-backtrace.h.
7585         (ret): Remove variable.
7586         (x): Likewise.
7587         (FAIL): Remove macro.
7588         (NO_INLINE): Likewise.
7589         (fn): Use match function instead of strstr.
7590         * debug/tst-backtrace4.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.
7596         * debug/tst-backtrace5.c: Include tst-backtrace.h.
7597         (ret): Remove variable.
7598         (x): Likewise.
7599         (FAIL): Remove macro.
7600         (NO_INLINE): Likewise.
7601         (handle_signal): Use match function instead of strstr.
7603 2013-01-23  Roland McGrath  <roland@hack.frob.com>
7605         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
7607 2013-01-23  David S. Miller  <davem@davemloft.net>
7609         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
7610         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
7611         argument of CAS if possible.
7612         * sysdeps/sparc/sparc64/bits/atomic.h
7613         (__arch_compare_and_exchange_val_32_acq): Likewise.
7614         (__arch_compare_and_exchange_val_64_acq): Likewise.
7616 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
7618         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
7619         * sysdeps/posix/ulimit.c: ... this.
7620         Include <limits.h>.
7621         * sysdeps/unix/bsd/ulimit.c: Remove file.
7623 2013-01-23  Adam Conrad  <adconrad@0c3.net>
7625         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
7626         (LDFLAGS-tst-array5): Likewise.
7628 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
7630         [BZ #15036]
7631         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
7632         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
7633         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
7634         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
7636 2013-01-21  David S. Miller  <davem@davemloft.net>
7638         * sysdeps/sparc/backtrace.c: New file.
7639         * sysdeps/sparc/sparc32/backtrace.h: New file.
7640         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
7641         * sysdeps/sparc/sparc64/backtrace.h: New file.
7642         * sysdeps/sparc/sparc64/backtrace.c: Delete.
7643         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
7644         -funwind-tables.
7646 2013-01-21  Andreas Schwab  <schwab@suse.de>
7648         [BZ #15020]
7649         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
7650         closed its stdout.
7652 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
7654         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
7655         "mpa2.h".
7656         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
7658 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
7659             Mark Mitchell  <mark@codesourcery.com>
7660             Tom de Vries  <tom@codesourcery.com>
7661             Paul Pluzhnikov  <ppluzhnikov@google.com>
7663         * debug/tst-backtrace2.c: New file.
7664         * debug/tst-backtrace3.c: Likewise.
7665         * debug/tst-backtrace4.c: Likewise.
7666         * debug/tst-backtrace5.c: Likewise.
7667         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
7668         (CFLAGS-tst-backtrace3.c): Likewise.
7669         (CFLAGS-tst-backtrace4.c): Likewise.
7670         (CFLAGS-tst-backtrace5.c): Likewise.
7671         (LDFLAGS-tst-backtrace2): Likewise.
7672         (LDFLAGS-tst-backtrace3): Likewise.
7673         (LDFLAGS-tst-backtrace4): Likewise.
7674         (LDFLAGS-tst-backtrace5): Likewise.
7675         (tests): Add new tests tst-backtrace2, tst-backtrace3,
7676         tst-backtrace4 and tst-backtrace5.
7678 2013-01-18  Anton Blanchard  <anton@samba.org>
7679             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
7681         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
7682         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
7683         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
7684         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
7685         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
7686         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
7687         "+r" and remove output regs list as redundant.  Add explicit inline
7688         asm to specify register of return val to work around compiler codegen
7689         bug.  Remove (int) cast on return value.  Add return type parameter to
7690         use in macro so that this macro does not truncate return value for
7691         64-bit values.
7692         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
7693         pass to INTERNAL_VSYSCALL_NCS.
7694         (INLINE_VSYSCALL): Add 'long int' as return type to
7695         INTERNAL_VSYSCALL_NCS macro invocation.
7696         (INTERNAL_VSYSCALL): Add 'long int' as return type to
7697         INTERNAL_VSYSCALL_NCS macro invocation.
7698         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
7700 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
7702         [BZ #14496]
7703         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
7704         Fix application of SIMD FP exception mask.
7706         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
7707         mp_no from a power of two.
7708         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
7709         __mpexp_twomm1.  Use __pow_mp.
7711         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
7712         multiplication.
7714 2013-01-17  David S. Miller  <davem@davemloft.net>
7716         * sysdeps/sparc/fpu/libm-test-ulps: Update.
7718 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
7720         [BZ #15023]
7721         * include/complex.h: Condition contents on [!_COMPLEX_H].
7722         (__kernel_casinhf): New prototype.
7723         (__kernel_casinh): Likewise.
7724         (__kernel_casinhl): Likewise.
7725         * math/Makefile (libm_calls): Add k_casinh.
7726         * math/k_casinh.c: New file.
7727         * math/k_casinhf.c: Likewise.
7728         * math/k_casinhl.c: Likewise.
7729         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
7730         finite nonzero arguments.
7731         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
7732         finite nonzero arguments.
7733         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
7734         finite nonzero arguments.
7735         * math/s_casinh.c: Do not include <float.h>.
7736         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
7737         * math/s_casinhf.c: Do not include <float.h>.
7738         (__casinhf): Move code for finite nonzero arguments to
7739         k_casinhf.c.
7740         * math/s_casinhl.c: Do not include <float.h>.
7741         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
7742         redefine.
7743         (__casinhl): Move code for finite nonzero arguments to
7744         k_casinhl.c.
7745         * math/libm-test.inc (cacos_test): Add more tests.
7746         * sysdeps/i386/fpu/libm-test-ulps: Update.
7747         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7749 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
7751         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
7752         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
7753         [!HAVE_MREMAP]: Remove [defined linux] case.
7754         * malloc/arena.c: Do not include <malloc-sysdep.h>.
7756 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
7758         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
7760 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
7762         * elf/elf.h (R_386_SIZE32): New relocation.
7763         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
7764         R_386_SIZE32.
7765         (elf_machine_rela): Likewise.
7766         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
7767         R_X86_64_SIZE64 and R_X86_64_SIZE32.
7769 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
7771         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
7772         (FP_FAST_FMA): Do not define.
7773         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
7774         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
7775         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
7776         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
7777         !_SOFT_FLOAT]: Likewise.
7778         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
7779         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
7780         value.
7781         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
7782         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
7783         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
7784         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
7785         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
7786         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
7787         file.
7789 2013-01-16  Andreas Schwab  <schwab@suse.de>
7791         [BZ #14327]
7792         * include/stdlib.h (__mktemp): Add declaration.
7793         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
7794         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
7796 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
7798         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
7799         definitions.
7800         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
7801         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
7802         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
7803         definitions here.
7804         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
7805         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
7806         definitions.
7807         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
7808         and ONE.
7809         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
7810         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
7811         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
7812         definitions.
7813         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
7814         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
7815         definitions.
7816         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
7818         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
7820 2013-01-15  David S. Miller  <davem@davemloft.net>
7822         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
7823         trunc{,f} to libm-sysdep_routes.
7824         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
7825         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
7826         file.
7827         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
7828         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
7829         file.
7830         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
7831         file.
7832         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
7833         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
7834         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
7835         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
7836         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
7837         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
7838         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
7839         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
7841         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
7842         nearbyint{,f} to libm-sysdep_routes.
7843         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
7844         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
7845         New file.
7846         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
7847         file.
7848         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
7849         New file.
7850         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
7851         file.
7852         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
7853         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
7854         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
7855         file.
7856         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
7857         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
7858         file.
7859         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
7860         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
7861         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
7863         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
7864         libc_feholdexcept and libc_fesetenv.
7866 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
7868         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
7870 2013-01-14  David S. Miller  <davem@davemloft.net>
7872         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
7873         (SPARC_ASM_VIS2_IFUNC): Likewise.
7874         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
7875         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
7876         use of 'siam' instruction.
7877         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
7878         Likewise.
7879         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
7880         Likewise.
7881         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
7882         Likewise.
7883         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
7884         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
7885         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
7886         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
7887         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
7888         file.
7889         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
7890         file.
7891         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
7892         file.
7893         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
7894         file.
7895         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
7896         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
7897         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
7898         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
7899         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
7900         new VIS2 routines.
7901         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
7902         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
7903         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
7904         Likewise.
7905         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
7906         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
7907         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
7908         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
7909         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
7910         routines to libm-sysdep_routines.
7911         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
7913         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
7914         fdim/fdimf to libm-sysdep_routines.
7915         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
7916         file.
7917         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
7918         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
7919         file.
7920         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
7921         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
7922         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
7923         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
7924         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
7925         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
7926         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
7928 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
7930         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
7931         to optimize copies.
7933         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
7934         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
7935         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
7937         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
7938         local variable MPTWO.
7939         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
7940         Likewise.
7942 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
7944         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
7945         GLOB_NOESCAPE.
7947 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
7949         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
7951 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
7953         * manual/pattern.texi (glob_t): Document gl_flags.
7954         (glob64_t): Likewise.
7956 2013-01-11  David S. Miller  <davem@davemloft.net>
7958         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
7959         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
7960         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
7961         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
7962         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
7963         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
7964         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
7965         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
7966         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
7967         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
7968         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
7969         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
7970         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
7972         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
7973         sparc V9 rather than using V8 code.
7974         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
7975         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
7977         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
7978         Move to...
7979         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
7980         Here.
7982 2013-01-11  Roland McGrath  <roland@hack.frob.com>
7984         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
7985         not in the main loop.
7986         * configure: Regenerated.
7988 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
7990         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
7991         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
7992         to just #else.
7993         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
7994         [!__GLIBC_HAVE_LONG_LONG] case.
7995         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
7996         condition to just #else.
7997         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
7998         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
7999         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
8000         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
8001         unconditional.
8002         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
8003         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
8004         #elif condition to just #else.
8005         * sysdeps/unix/sysv/linux/sys/sysmacros.h
8006         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
8007         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
8008         #elif condition to just #else.
8010 2013-01-11  Steve Ellcey  <sellcey@mips.com>
8012         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
8013         (EF_MIPS_ARCH_64): Fix value.
8014         (EF_MIPS_ARCH_32R2): New.
8015         (EF_MIPS_ARCH_64R2): New.
8017 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
8019         * Makeconfig (+link-pie-before-libc): New.
8020         (+link-pie-after-libc): Likewise.
8021         (+link-pie-tests): Likewise.
8022         (+link-pie): Rewritten.
8023         (link-before-libc): Remove $(config-LDFLAGS).
8024         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
8025         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
8026         (config-LDFLAGS): Renamed to ...
8027         (rtld-LDFLAGS): This.
8028         (rtld-tests-LDFLAGS): New macro.
8029         (link-libc-rpath-link): Likewise.
8030         (link-libc-tests-rpath-link): Likewise.
8031         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
8032         (link-libc): Prepand $(link-libc-rpath-link).
8033         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
8034         (test-program-prefix): New macro.
8035         (test-via-rtld-prefix): Likewise.
8036         (test-program-cmd): Likewise.
8037         (host-test-program-cmd): Likewise.
8038         * Makefile ($(common-objpfx)testrun.sh): Replace
8039         $(run-program-prefix) with $(test-program-prefix).
8040         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
8041         $(rtld-LDFLAGS).
8042         ($(common-objpfx)shlib.lds): Likewise.
8043         (build-module-helper): Likewise.
8044         ($(common-objpfx)format.lds): Likewise.
8045         * Rules (binaries-pie-tests): New.
8046         (binaries-pie-notests): Likewise.
8047         (binaries-pie): Rewritten.
8048         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
8049         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
8050         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
8051         (make-test-out): Replace $(host-built-program-cmd) with
8052         $(host-test-program-cmd).
8053         * config.make.in (build-hardcoded-path-in-tests): New variable.
8054         * configure.in (--enable-hardcoded-path-in-tests): New configure
8055         option.
8056         (hardcoded_path_in_tests): New AC_SUBST.
8057         * configure: Regenerated.
8058         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
8059         $(built-program-cmd) with $(test-program-cmd).
8060         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
8061         (test_program_cmd): This.
8062         * elf/Makefile ($(objpfx)order.out): Run test with
8063         $(test-program-prefix).
8064         ($(objpfx)order2.out): Likewise.
8065         ($(objpfx)tst-initorder.out): Likewise.
8066         ($(objpfx)tst-initorder2.out): Likewise.
8067         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
8068         $(test-program-cmd).
8069         ($(objpfx)tst-array1-static.out): Likewise.
8070         ($(objpfx)tst-array2.out): Likewise.
8071         ($(objpfx)tst-array3.out): Likewise.
8072         ($(objpfx)tst-array4.out): Likewise.
8073         ($(objpfx)tst-array5.out): Likewise.
8074         ($(objpfx)tst-array5-static.out): Likewise.
8075         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
8076         $(test-program-cmd).
8077         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
8078         $(run-program-prefix) with $(test-program-prefix).
8079         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
8080         (test_program_prefix): This.
8081         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
8082         $(run-program-prefix) with $(test-program-prefix).
8083         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
8084         (test_program_prefix): This.
8085         * iconvdata/tst-tables.sh: Likewise.
8086         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
8087         $(run-program-prefix) with $(test-program-prefix).
8088         ($(objpfx)tst-translit.out): Likewise.
8089         ($(objpfx)tst-gettext2.out): Likewise.
8090         ($(objpfx)tst-gettext4.out): Likewise.
8091         ($(objpfx)tst-gettext6.out): Likewise.
8092         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
8093         (test_program_prefix): This.
8094         * intl/tst-gettext2.sh: Likewise.
8095         * intl/tst-gettext4.sh  Likewise.
8096         * intl/tst-gettext6.sh: Likewise.
8097         * intl/tst-translit.sh: Likewise.
8098         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
8099         with $(test-program-cmd).
8100         * libio/Makefile ($(objpfx)test-freopen.out): Replace
8101         $(run-program-prefix) with $(test-program-prefix).
8102         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
8103         (test_program_prefix): This.
8104         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
8105         $(run-program-prefix) with $(test-program-prefix).
8106         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
8107         (test_program_prefix): This.
8108         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
8109         * posix/Makefile ($(objpfx)globtest.out): Replace
8110         $(run-via-rtld-prefix) and $(test-wrapper) with
8111         $(test-program-prefix) and $(test-via-rtld-prefix).
8112         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
8113         $(test-program-prefix).
8114         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
8115         $(host-test-program-cmd).
8116         (tst-spawn-ARGS): Likewise.
8117         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
8118         $(test-program-prefix).
8119         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
8120         (test_via_rtld_prefix): This.
8121         (test_wrapper): Renamed to ...
8122         (test_program_prefix): This.
8123         (run_program_prefix): Replaced by test_program_prefix.
8124         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
8125         (test_program_prefix): This.
8126         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
8127         with $(host-test-program-cmd).
8128         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
8129         $(run-program-prefix) with $(test-program-prefix).
8130         ($(objpfx)tst-printf.out): Likewise.
8131         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
8132         $(test-program-cmd).
8133         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
8134         (test_program_prefix): This.
8135         * stdio-common/tst-unbputc.sh: Likewise.
8136         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
8137         $(run-program-prefix) with $(test-program-prefix).
8138         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
8139         (test_program_prefix): This.
8140         * string/Makefile ($(objpfx)tst-svc.out):  Replace
8141         $(built-program-cmd) with $(test-program-cmd).
8143 2013-01-11  Andreas Jaeger  <aj@suse.de>
8145         [BZ #15003]
8146         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
8147         value. Sync with Linux 3.7.
8149 2013-01-10  David S. Miller  <davem@davemloft.net>
8151         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
8152         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
8153         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
8155 2013-01-10  Roland McGrath  <roland@hack.frob.com>
8157         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
8158         never set.
8159         * configure: Regenerated.
8161 2013-01-10  David S. Miller  <davem@davemloft.net>
8163         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
8164         sparc V9 rather than using V8 code.
8165         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
8166         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
8168 2013-01-10  Roland McGrath  <roland@hack.frob.com>
8170         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
8171         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
8172         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
8173         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
8174         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
8175         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
8176         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
8177         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
8178         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
8179         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
8180         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
8181         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
8182         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
8183         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
8184         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
8185         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
8186         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
8187         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
8188         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
8189         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
8190         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
8191         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
8192         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
8193         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
8194         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
8195         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
8196         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
8198 2013-01-10  David S. Miller  <davem@davemloft.net>
8200         * sysdeps/sparc/fpu/libm-test-ulps: Update.
8202 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
8204         * posix/Makefile (tests-static): New variable.
8205         (tests): Add $(tests-static).
8206         (tst-exec-static-ARGS): New variable.
8207         (tst-spawn-static-ARGS): Likewise.
8208         * posix/tst-exec-static.c: New file.
8209         * posix/tst-spawn-static.c: Likewise.
8210         * posix/tst-exec.c: Support run directly.
8211         * posix/tst-spawn.c: Likewise.
8213 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
8215         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
8216         long.
8217         * math/bits/mathcalls.h (llrint): Likewise.
8218         (llround): Likewise.
8219         * stdlib/stdlib.h (struct drand48_data): Likewise.
8220         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
8221         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
8222         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
8223         Likewise.
8224         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
8225         Likewise.
8226         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
8227         (elf_greg_t): Likewise.
8228         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
8229         (__jmp_buf): Likewise.
8230         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
8231         definitions.
8232         (llrint): Likewise, for all definitions.
8233         (llrintl): Likewise.
8235         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
8236         Remove [__GNUC__] condition.
8237         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
8238         condition to just [__USE_ISOC99].
8239         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
8241 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
8243         [BZ #14200]
8244         * sysdeps/unix/sysv/linux/x86/bits/environments.h
8245         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
8246         defined.
8247         (_POSIX_V6_ILP32_OFF32): Likewise.
8248         (_XBS5_ILP32_OFF32): Likewise.
8249         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
8250         (__ILP32_OFFBIG_LDFLAGS): Likewise.
8252 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
8254         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
8256         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
8257         doubles __mpexp_twomm1.  Adjust usage.
8258         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
8259         Remove.
8261 2013-01-10  Andreas Schwab  <schwab@suse.de>
8263         [BZ #14964]
8264         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
8265         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
8267 2013-01-09  David S. Miller  <davem@davemloft.net>
8269         [BZ #15003]
8270         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
8271         TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
8272         TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
8273         TCP_FASTOPEN): Define.
8274         (tcp_repair_opt): New structure.
8275         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
8276         enum values.
8277         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
8278         TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
8279         TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
8280         (tcp_cookie_transactions): New structure.
8282 2013-01-09  Anton Blanchard  <anton@samba.org>
8284         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
8285         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
8286         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
8287         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
8289 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
8291         * include/features.h (__USE_ANSI): Remove.
8293 2013-01-09  Roland McGrath  <roland@hack.frob.com>
8295         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
8297         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
8299 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
8301         * sysdeps/s390/fpu/libm-test-ulps: Update.
8303         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8305         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
8306         (__acr): Likewise.
8307         (__cpy): Likewise.
8308         (norm): Likewise.
8309         (denorm): Likewise.
8310         (__mp_dbl): Likewise.
8311         (__dbl_mp): Likewise.
8312         (add_magnitudes): Likewise.
8313         (sub_magnitudes): Likewise.
8314         (__add): Likewise.
8315         (__sub): Likewise.
8316         (__mul): Likewise.
8317         (__inv): Likewise.
8318         (__dvd): Likewise.
8319         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
8320         (__acr): Likewise.
8321         (__cpy): Likewise.
8322         (norm): Likewise.
8323         (denorm): Likewise.
8324         (__mp_dbl): Likewise.
8325         (__dbl_mp): Likewise.
8326         (add_magnitudes): Likewise.
8327         (sub_magnitudes): Likewise.
8328         (__add): Likewise.
8329         (__sub): Likewise.
8330         (__mul): Likewise.
8331         (__inv): Likewise.
8332         (__dvd): Likewise.
8333         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
8334         (__acr): Likewise.
8335         (__cpy): Likewise.
8336         (norm): Likewise.
8337         (denorm): Likewise.
8338         (__mp_dbl): Likewise.
8339         (__dbl_mp): Likewise.
8340         (add_magnitudes): Likewise.
8341         (sub_magnitudes): Likewise.
8342         (__add): Likewise.
8343         (__sub): Likewise.
8344         (__mul): Likewise.
8345         (__inv): Likewise.
8346         (__dvd): Likewise.
8348 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
8350         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
8351         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
8352         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
8353         2 && __USE_EXTERN_INLINES]: Likewise.
8355 2013-01-08  Andreas Jaeger  <aj@suse.de>
8357         [BZ# 14985]
8358         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
8359         Remove.
8360         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
8361         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
8363 2013-01-07  Anton Blanchard  <anton@samba.org>
8365         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
8366         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
8367         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
8368         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
8369         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
8370         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
8371         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
8372         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
8373         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
8374         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
8375         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
8376         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
8377         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
8378         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
8379         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
8380         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
8381         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
8382         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
8383         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
8384         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
8385         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
8386         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
8387         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
8388         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
8389         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
8390         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
8391         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
8392         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
8393         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
8394         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
8395         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
8396         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
8397         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
8398         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
8399         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
8400         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
8401         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
8402         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
8403         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
8404         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
8405         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
8406         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
8407         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
8409 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
8411         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
8412         (__MALLOC_PMT): Likewise.
8413         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
8414         [__GNUC__], only on [_LIBC].
8415         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
8416         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
8417         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
8418         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
8419         forward declaration.
8420         (realloc_hook_ini): Likewise.
8421         (memalign_hook_ini): Likewise.
8422         (__libc_memalign): Do not use __MALLOC_PMT in variable
8423         declaration.
8424         (__libc_valloc): Likewise.
8425         (__libc_pvalloc): Likewise.
8426         (__libc_calloc): Likewise.
8427         (__posix_memalign): Likewise.
8429         [BZ #14996]
8430         * math/s_casinh.c: Include <float.h>.
8431         (__casinh): Do not do computation with squaring and square root
8432         for large arguments.
8433         * math/s_casinhf.c: Include <float.h>.
8434         (__casinhf): Do not do computation with squaring and square root
8435         for large arguments.
8436         * math/s_casinhl.c: Include <float.h>.
8437         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
8438         (__casinhl): Do not do computation with squaring and square root
8439         for large arguments.
8440         * math/libm-test.inc (casin_test): Add more tests.
8441         (casinh_test): Likewise.
8442         * sysdeps/i386/fpu/libm-test-ulps: Update.
8443         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8445 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
8447         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
8448         (__x86_64_raw_data_cache_size): Likewise.
8449         (__x86_64_data_cache_size_half): Likewise.
8450         (__x86_64_raw_data_cache_size_half): Likewise.
8451         (__x86_64_shared_cache_size): Likewise.
8452         (__x86_64_raw_shared_cache_size): Likewise.
8453         (__x86_64_shared_cache_size_half): Likewise.
8454         (__x86_64_raw_shared_cache_size_half): Likewise.
8455         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
8456         to ...
8457         (__x86_data_cache_size): This.
8458         (__x86_64_raw_data_cache_size): Renamed to ...
8459         (__x86_raw_data_cache_size): This.
8460         (__x86_64_data_cache_size_half): Renamed to ...
8461         (__x86_data_cache_size_half): This.
8462         (__x86_64_raw_data_cache_size_half): Renamed to ...
8463         (__x86_raw_data_cache_size_half): This.
8464         (__x86_64_shared_cache_size): Renamed to ...
8465         (__x86_shared_cache_size): This.
8466         (__x86_64_raw_shared_cache_size): Renamed to ...
8467         (__x86_raw_shared_cache_size): This.
8468         (__x86_64_shared_cache_size_half): Renamed to ...
8469         (__x86_shared_cache_size_half): This.
8470         (__x86_64_raw_shared_cache_size_half): Renamed to ...
8471         (__x86_raw_shared_cache_size_half): This.
8472         * sysdeps/x86_64/memcpy.S: Updated.
8473         * sysdeps/x86_64/memset.S: Likewise.
8474         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
8475         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
8476         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
8478 2013-01-04  David S. Miller  <davem@davemloft.net>
8480         * sysdeps/sparc/fpu/libm-test-ulps: Update.
8482 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
8484         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
8485         1 to avoid redefinition warning.
8486         (__USE_GNU): Don't define.
8487         (init_signaling_nan): Protoize.
8489         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8491 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
8493         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
8494         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
8495         (__cpymn): Likewise.
8496         (norm): Remove commented code.
8497         (denorm): Likewise.
8498         (__mp_dbl): Likewise.
8499         (__inv): Likewise.
8500         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
8501         (__cpymn): Likewise.
8502         (norm): Remove commented code.
8503         (denorm): Likewise.
8504         (__mp_dbl): Likewise.
8505         (__inv): Likewise.
8507         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
8508         mp_no value for 1.0 and 2.0.
8509         (norm): Use RADIXI instead of radixi.d.
8510         (denorm): Likewise.
8511         (__mul): Use 0.0 instead of zero.d.
8512         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
8513         mp_no value for 1.0 and 2.0.
8514         (norm): Use RADIXI instead of radixi.d.
8515         (denorm): Likewise.
8516         (__mul): Use 0.0 instead of zero.d.
8518 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
8520         [BZ #14994]
8521         * math/s_casinh.c (__casinh): Reduce finite argument to first
8522         quadrant then set signs of results at the end.
8523         * math/s_casinhf.c (__casinhf): Likewise.
8524         * math/s_casinhl.c (__casinhl): Likewise.
8525         * math/libm-test.inc (casin_test): Add more tests.
8526         (casinh_test): Likewise.
8527         * sysdeps/i386/fpu/libm-test-ulps: Update.
8528         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8530 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
8532         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
8534         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
8536         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
8537         declarations.
8538         (denorm): Likewise.
8539         (__mp_dbl): Likewise.
8540         (__inv): Likewise.
8542         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
8543         and adjust the header comment.
8545         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
8546         variable name from declaration.
8548 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
8550         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8551         Initialize COMMON_CPUID_INDEX_7 element.
8552         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
8553         (CPUID_RTM): Likewise.
8554         (HAS_RTM): Likewise.
8555         (COMMON_CPUID_INDEX_7): New enum.
8557 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
8559         [BZ #14981]
8560         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
8561         size is zero, record memory as freed.
8563 2013-01-03  Andreas Jaeger  <aj@suse.de>
8565         * po/ia.po: Add new Interlingua translation.
8567 2012-01-03  Allan McRae  <allan@archlinux.org>
8569         * locale/programs/localedef.c: Fix description of '--posix' flag.
8571 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
8573         * NEWS: Update dates in second copyright notice.
8574         * README: Update copyright dates in example.
8575         * manual/libc.texinfo: Update copyright dates.
8576         * scripts/test-installation.pl: Update copyright date in --version
8577         output.
8579         * hurd/ctty-input.c: Fix copyright notice formatting.
8580         * hurd/ctty-output.c: Likewise.
8581         * hurd/dtable.c: Likewise.
8582         * hurd/hurd-raise.c: Likewise.
8583         * hurd/hurdprio.c: Likewise.
8584         * hurd/msgportdemux.c: Likewise.
8585         * misc/sys/file.h: Likewise.
8586         * misc/sys/ioctl.h: Likewise.
8587         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
8588         * sysdeps/mach/hurd/chdir.c: Likewise.
8589         * sysdeps/mach/hurd/fchdir.c: Likewise.
8590         * sysdeps/mach/hurd/rename.c: Likewise.
8591         * sysdeps/mach/hurd/rmdir.c: Likewise.
8592         * sysdeps/mach/hurd/seekdir.c: Likewise.
8593         * sysdeps/mach/hurd/setsid.c: Likewise.
8594         * sysdeps/posix/wait3.c: Likewise.
8596         * All files with FSF copyright notices: Update copyright dates
8597         using scripts/update-copyrights.
8598         * intl/plural.c: Regenerated.
8599         * locale/programs/charmap-kw.h: Likewise.
8600         * locale/programs/locfile-kw.h: Likewise.
8602 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
8604         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
8605         four values.
8607         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
8608         calculation loop and add branch prediction.
8610         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
8611         check access beyond bounds of m1np.
8613         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
8614         MPTWO.
8615         (__inv): Remove local variable MPTWO to use the global
8616         constant.
8617         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
8618         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
8619         variable MPTWO.
8620         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
8621         MP3HALFS static const.
8623 2013-01-01  David S. Miller  <davem@davemloft.net>
8625         * po/ca.po: Update from translation team.
8627 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
8629         * scripts/update-copyrights: New file.
8630         * Makeconfig: Reformat copyright notice.
8631         * ctype/ctype.h: Likewise.
8632         * debug/swprintf_chk.c: Likewise.
8633         * elf/dl-cache.c: Likewise.
8634         * elf/dl-debug.c: Likewise.
8635         * elf/dl-object.c: Likewise.
8636         * grp/initgroups.c: Likewise.
8637         * hurd/Makefile: Likewise.
8638         * hurd/hurd/signal.h: Likewise.
8639         * hurd/hurdfault.c: Likewise.
8640         * hurd/hurdioctl.c: Likewise.
8641         * hurd/hurdlookup.c: Likewise.
8642         * hurd/intr-msg.c: Likewise.
8643         * iconv/gconv_open.c: Likewise.
8644         * libio/swprintf.c: Likewise.
8645         * locale/lc-ctype.c: Likewise.
8646         * locale/nl_langinfo.c: Likewise.
8647         * mach/Machrules: Likewise.
8648         * mach/Makefile: Likewise.
8649         * malloc/obstack.h: Likewise.
8650         * manual/Makefile: Likewise.
8651         * manual/tsort.awk: Likewise.
8652         * misc/bits/stab.def: Likewise.
8653         * nis/nis_print_group_entry.c: Likewise.
8654         * nis/nis_table.c: Likewise.
8655         * nis/nss_compat/compat-pwd.c: Likewise.
8656         * nis/nss_compat/compat-spwd.c: Likewise.
8657         * po/Makefile: Likewise.
8658         * posix/fnmatch.c: Likewise.
8659         * posix/regex.h: Likewise.
8660         * resolv/Makefile: Likewise.
8661         * resolv/nss_dns/dns-network.c: Likewise.
8662         * resolv/res_hconf.c: Likewise.
8663         * scripts/gen-sorted.awk: Likewise.
8664         * soft-fp/soft-fp.h: Likewise.
8665         * stdio-common/printf.h: Likewise.
8666         * stdlib/monetary.h: Likewise.
8667         * stdlib/random.c: Likewise.
8668         * stdlib/random_r.c: Likewise.
8669         * sysdeps/generic/Makefile: Likewise.
8670         * sysdeps/gnu/Makefile: Likewise.
8671         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
8672         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8673         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
8674         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8675         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
8676         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8677         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8678         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
8679         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
8680         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8681         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
8682         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
8683         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
8684         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
8685         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
8686         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
8687         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
8688         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
8689         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
8690         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8691         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
8692         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
8693         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
8694         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
8695         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
8696         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
8697         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
8698         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
8699         * sysdeps/mach/hurd/errnos.awk: Likewise.
8700         * sysdeps/mach/hurd/fork.c: Likewise.
8701         * sysdeps/mach/hurd/getcwd.c: Likewise.
8702         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
8703         * sysdeps/mach/hurd/mmap.c: Likewise.
8704         * sysdeps/mach/hurd/utimes.c: Likewise.
8705         * sysdeps/mach/hurd/xmknod.c: Likewise.
8706         * sysdeps/posix/profil.c: Likewise.
8707         * sysdeps/posix/readdir_r.c: Likewise.
8708         * sysdeps/powerpc/bits/mathdef.h: Likewise.
8709         * sysdeps/powerpc/bits/setjmp.h: Likewise.
8710         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
8711         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
8712         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
8713         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
8714         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
8715         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
8716         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
8717         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
8718         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
8719         * sysdeps/pthread/lio_listio.c: Likewise.
8720         * sysdeps/sparc/dl-procinfo.h: Likewise.
8721         * sysdeps/unix/i386/sysdep.S: Likewise.
8722         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
8723         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
8724         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
8725         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
8726         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
8727         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
8728         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
8729         * sysdeps/unix/sysv/linux/speed.c: Likewise.
8730         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
8731         * sysdeps/wordsize-32/divdi3.c: Likewise.
8732         * time/sys/time.h: Likewise.
8733         * wcsmbs/Makefile: Likewise.
8735 2013-01-01  David S. Miller  <davem@davemloft.net>
8737         * po/fr.po: Update from translation team.
8739         * catgets/gencat.c: Update copyright year.
8740         * csu/version.c: Likewise.
8741         * debug/catchsegv.sh: Likewise.
8742         * debug/pcprofiledump.c: Likewise.
8743         * debug/xtrace.sh: Likewise.
8744         * elf/ldconfig.c: Likewise.
8745         * elf/ldd.bash.in: Likewise.
8746         * elf/pldd.c: Likewise.
8747         * elf/sotruss.ksh: Likewise.
8748         * elf/sprof.c: Likewise.
8749         * iconv/iconv_prog.c: Likewise.
8750         * iconv/iconvconfig.c: Likewise.
8751         * locale/programs/locale.c: Likewise.
8752         * locale/programs/localedef.c: Likewise.
8753         * login/programs/pt_chown.c: Likewise.
8754         * malloc/memusage.sh: Likewise.
8755         * malloc/memusagestat.c: Likewise.
8756         * malloc/mtrace.pl: Likewise.
8757         * nscd/nscd.c: Likewise.
8758         * nss/getent.c: Likewise.
8759         * nss/makedb.c: Likewise.
8760         * posix/getconf.c: Likewise.
8762 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
8764         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
8765         numbers.
8767 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
8769         * math/bits/mathcalls.h (modf): Use __nonnull.
8771 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
8773         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
8774         (split): Use macro CN instead of the bare value.
8775         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
8776         could be used.
8777         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
8778         instead of the bare value.
8779         (power1): Likewise.
8781 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
8783         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
8784         __ATAN_TWOM.
8785         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
8787         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
8788         their values.
8789         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
8790         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
8791         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
8792         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
8794 2012-12-28  Andreas Jaeger  <aj@suse.de>
8796         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
8797         values are from Linux 3.7.
8799         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
8800         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
8802 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
8804         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
8805         TRUE case.
8807         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
8808         (norm): Likewise.
8809         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
8810         variables with preprocessor constants.
8811         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
8812         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
8813         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
8815 2012-12-27  Bruno Haible  <bruno@clisp.org>
8817         [BZ #14317]
8818         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
8819         only if needed.
8821 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
8823         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
8824         and use variable directly.
8825         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
8827         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
8828         MPONE.
8829         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
8830         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
8831         variable MPONE.
8832         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
8833         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
8834         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
8835         include directive.  Remove local variable MPONE.
8836         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
8837         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
8838         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
8840 2012-12-25  David S. Miller  <davem@davemloft.net>
8842         * version.h (RELEASE): Set to "development".
8843         (VERSION): Set to "2.17.90".
8844         * NEWS: Add 2.18 section.
8846 2012-12-21  David S. Miller  <davem@davemloft.net>
8848         * po/hr.po: Update from translation team.
8850 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
8852         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
8854 2012-12-19  Steve Ellcey  <sellcey@mips.com>
8856         * NEWS:  Mention new memcpy for MIPS.
8858 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
8860         * manual/contrib.texi (Contributors): Spelling correction.
8862 2012-12-15  David S. Miller  <davem@davemloft.net>
8864         * po/ru.po: Update from translation team.
8866 2012-12-13  David S. Miller  <davem@davemloft.net>
8868         * NEWS: Mention IFUNC testsuite enhancements.
8870         * po/pl.po: Update from translation team.
8871         * po/bg.po: Likewise.
8873         * manual/contrib.texi (Contributors): Update entries for Hongjiu
8874         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
8876 2012-12-11  David S. Miller  <davem@davemloft.net>
8878         * po/sv.po: Update from translation team.
8880         * po/vi.po: Update from translation team.
8882         * po/cs.po: Update from translation team.
8884         * po/de.po: Update from translation team.
8885         * po/eo.po: Likewise.
8886         * po/nl.po: Likewise.
8888 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
8890         [BZ #14246]
8891         * manual/argp.texi (Argp Helper Functions): Move node to follow
8892         Argp Parsing State.
8894         [BZ #14872]
8895         * manual/conf.texi (Limits on File System Capacity): Mention if
8896         terminating null is included in the max size.
8898 2012-12-10  Andreas Jaeger  <aj@suse.de>
8900         * po/cs.po: Update from translation team.
8902 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
8904         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
8905         void pointer and cast to uintptr_t.
8906         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
8907         path.
8908         * sysdeps/s390/s390-64/memcpy.S: Likewise.
8909         * sysdeps/s390/s390-64/memset.S: Likewise.
8911 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
8913         [BZ #14833]
8914         * menual/message.texi (Message Translation): Fix typos.
8915         (Helper programs for gettext): Likewise.
8917 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
8919         [BZ #14898]
8920         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
8921         Change to -1.
8923 2012-12-07  David S. Miller  <davem@davemloft.net>
8925         * po/libc.pot: Update.
8927 2012-12-07  Richard Henderson  <rth@redhat.com>
8929         [BZ #10114]
8930         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
8931         normal/normal case to before the switch.
8932         (_FP_DIV): Likewise.
8934 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
8935             Mike Frysinger  <vapier@gentoo.org>
8937         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
8938         check for __NR_fadvise64_64.
8940 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
8942         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
8943         0, not just to plain "0" as a statement.
8944         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
8945         with cw.
8947 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
8949         * NEWS: Use sourceware.org in Bugzilla URL.
8951 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
8953         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
8954         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
8956         * stdio-common/tst-put-error.c (do_test): Add newline to the
8957         padded test to ensure flush.
8959 2012-12-05  Jeff Law  <law@redhat.com>
8961         * sunrpc/etc.rpc (fedfs_admin): Add entry.
8963 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
8965         * README: Don't refer to ports add-on as distributed separately.
8966         Mention AArch64 in list of systems supported in the ports add-on.
8968         * LICENSES: Add more non-FSF copyright and license notices.
8970         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
8971         ((unused)).
8973         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
8975         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
8976         10000 as width of padded output.
8978 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
8980         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
8982         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
8983         variable LX with __attribute__ ((unused)).
8984         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
8985         Likewise.
8986         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
8987         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
8988         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
8989         with __attribute__ ((unused)).
8991 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
8993         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
8995 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
8997         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
8998         (CFLAGS-nldbl-acos.c): New variable.
8999         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
9000         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
9001         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
9002         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
9003         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
9004         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
9005         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
9006         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
9007         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
9008         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
9009         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
9010         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
9011         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
9012         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
9013         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
9014         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
9015         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
9016         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
9017         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
9018         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
9019         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
9020         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
9021         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
9022         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
9023         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
9024         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
9025         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
9026         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
9027         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
9028         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
9029         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
9030         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
9031         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
9032         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
9033         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
9034         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
9035         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
9036         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
9037         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
9038         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
9039         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
9040         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
9041         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
9042         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
9043         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
9044         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
9045         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
9046         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
9047         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
9048         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
9049         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
9050         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
9051         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
9052         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
9053         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
9054         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
9055         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
9056         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
9057         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
9058         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
9059         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
9060         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
9061         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
9062         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
9063         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
9064         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
9065         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
9066         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
9067         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
9068         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
9069         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
9070         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
9071         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
9072         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
9073         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
9074         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
9075         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
9076         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
9077         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
9078         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
9079         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
9080         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
9081         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
9082         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
9083         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
9084         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
9085         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
9086         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
9087         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
9088         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
9089         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
9090         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
9091         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
9092         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
9093         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
9094         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
9095         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
9097         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
9098         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
9100         [BZ #14914]
9101         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
9102         whole low double instead of just low 47 bits when splitting values
9103         into two parts.
9105 2012-12-03  Allan McRae  <allan@archlinux.org>
9107         * manual/stdio.texi (Predefined Printf Handlers): Remove
9108         @hsep and @vsep usage.
9110 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
9112         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
9113         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
9115 2012-12-03  Jeff Law  <law@redhat.com>
9117         * time/sys/time.h (settimeofday): Do not mark TV argument
9118         as __nonnull.
9120 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
9122         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
9123         when currently writing and seek to current position when not.
9124         * libio/Makefile (tests): Remove bug-fclose1.
9125         * libio/bug-fclose1.c: Delete.
9127 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
9129         * manual/arith.texi (feenableexcept): Fix typo.
9130         (fedisableexcept): Likewise.
9132 2012-11-30  Roland McGrath  <roland@hack.frob.com>
9134         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
9135         second, differently-typed declaration, rather than a cast.
9137 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
9139         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
9140         * include/rpc/svc.h: ... here.
9142 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
9144         [BZ #13013]
9145         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
9146         depending n and resplen2 to catch cases where answer
9147         equals answerp2.
9149 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
9151         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
9152         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
9154 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
9156         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
9158 2012-11-29  Roland McGrath  <roland@hack.frob.com>
9160         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
9162 2012-11-28  Jeff Law  <law@redhat.com>
9164         [BZ #13761]
9165         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
9166         dataset_temporary.  Track alloca usage into alloca_used.
9167         If dataset is large allocate and release it via malloc/free.
9169 2012-06-04  Florian Weimer  <fweimer@redhat.com>
9171         [BZ #14197]
9172         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
9174 2012-11-28  David S. Miller  <davem@davemloft.net>
9176         * sysdeps/sparc/fpu/libm-test-ulps: Update.
9178 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
9180         [BZ #14803]
9181         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
9182         of pi/2 rounded to nearest to 64 bits.
9183         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
9184         nearest to 64 bits.
9185         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
9186         bits.
9188 2012-11-28  Jeff Law <law@redhat.com>
9189             Martin Osvald <mosvald@redhat.com>
9191         [BZ #14889]
9192         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
9193         * sunrpc/svc.c: Include time.h.
9194         (__svc_accept_failed): New function.
9195         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
9196         any reason other than EINTR, call __svc_accept_failed.
9197         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
9198         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
9200 2012-11-28  Andreas Schwab  <schwab@suse.de>
9202         * scripts/abilist.awk: Also handle indirect functions in .opd
9203         section.
9205 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
9207         [BZ #13881]
9208         * sysdeps/x86/fpu/powl_helper.c: New file.
9209         * sysdeps/x86/fpu/Makefile: Likewise.
9210         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
9211         (p3): New object.
9212         (__ieee754_powl): Use __powl_helper for finite arguments except
9213         integer exponents below 8.
9214         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
9215         (p3): New object.
9216         (__ieee754_powl): Use __powl_helper for finite arguments except
9217         integer exponents below 8.
9218         * math/libm-test.inc (pow_test): Add more tests and enable some
9219         previously disabled tests.
9220         * sysdeps/i386/fpu/libm-test-ulps: Update.
9221         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9223 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
9224             Carlos O'Donell  <carlos_odonell@mentor.com>
9226         * nss/makedb.c (is_prime): Assert that input is odd and greater
9227         than 4.  Note that fact in a comment too.
9228         (next_prime): Add 4 to input.
9230 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
9232         [BZ #11741]
9233         * libio/Makefile (tests): Add test case tst-fwrite-error.
9234         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
9235         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
9236         * libio/tst-fwrite-error.c: New test case.
9238 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
9240         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
9241         before casting to void *.
9242         * include/libc-internal.h (__pointer_type): New macro.
9243         (__integer_if_pointer_type_sub): Likewise.
9244         (__integer_if_pointer_type): Likewise.
9245         (cast_to_integer): Likewise.
9246         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
9247         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
9248         before casting to atomic64_t.
9249         (atomic_exchange_acq): Likewise.
9250         (__arch_exchange_and_add_body): Likewise.
9251         (__arch_add_body): Likewise.
9252         (atomic_add_negative): Likewise.
9253         (atomic_add_zero): Likewise.
9255 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
9257         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
9258         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
9259         (add_fdes): Likewise.
9260         (linear_search_fdes): Likewise.
9261         (binary_search_unencoded_fdes): Likewise.
9263 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
9265         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
9267 2012-11-24  Adam Conrad  <adconrad@0c3.net>
9269         * configure.in: Autodetect C++ header directories.
9270         * configure: Regenerated.
9272 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
9274         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
9276 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
9278         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9280 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
9282         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
9283         LDBL_MANT_DIG == 106]: Disable some tests.
9284         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
9285         Likewise.
9286         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
9287         Likewise.
9289         [BZ #14871]
9290         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
9291         input for small inputs.  Return +/- pi/2 for large inputs.
9292         * math/libm-test.inc (atan_test): Add more tests.
9294         * sysdeps/generic/unwind-dw2-fde-glibc.c
9295         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
9296         __attribute__ ((unused)).
9298         [BZ #14645]
9299         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
9300         x * y if x and y are nonzero and z is zero.
9302         [BZ #14811]
9303         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
9304         nonzero exponents with absolute value below 0x1p-117 to +/-
9305         0x1p-117.
9307         [BZ #14869]
9308         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
9309         up arguments below 2**-450, not just those below 2**-500.
9310         * math/libm-test.inc (hypot_test): Add another test.
9312         [BZ #14868]
9313         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
9314         Return a+b for ratio over 2**120, not 2**60.
9315         * math/libm-test.inc (hypot_test): Add another test.
9317         * math/libm-test.inc (clog_test): Use
9318         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
9319         (clog10_test): Likewise.
9321         [BZ #6778]
9322         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
9324 2012-11-22  Andreas Schwab  <schwab@suse.de>
9326         * sysdeps/i386/fpu/libm-test-ulps: Update.
9328 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
9330         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
9331         printf output with newline.
9333 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
9335         [BZ #14865]
9336         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
9337         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
9338         -z nodlopen, -z initfirst and -z execstack support.
9339         * configure: Regenerated.
9341         * elf/elf.h (DF_1_NODIRECT): New macro.
9342         (DF_1_IGNMULDEF): Likewise.
9343         (DF_1_NOKSYMS): Likewise.
9344         (DF_1_NOHDR): Likewise.
9345         (DF_1_EDITED): Likewise.
9346         (DF_1_NORELOC): Likewise.
9347         (DF_1_SYMINTPOSE): Likewise.
9348         (DF_1_GLOBAUDIT): Likewise.
9349         (DF_1_SINGLETON): Likewise.
9350         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
9351         DT_1_SUPPORTED_MASK bits.
9352         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
9354 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
9356         * sysdeps/unix/make-syscalls.sh: Document prefixes.
9358 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
9360         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
9361         macro.
9363         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
9364         (sendmmsg): Move declarations...
9365         * socket/sys/socket.h: ... here.
9366         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
9367         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
9368         include it from...
9369         * socket/recvmmsg.c: ... this new file.
9370         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
9371         (sendmmsg): Rename to __sendmmsg, create weak alias and make
9372         definition of __sendmmsg hidden.
9373         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
9374         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
9375         Move ENOSYS stub into and include it from...
9376         * socket/sendmmsg.c: ... this new file.
9377         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
9378         (sysdep_routines): Move recvmmsg and sendmmsg...
9379         * socket/Makefile (routines): ... here.
9380         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
9381         (GLIBC_PRIVATE): Add __sendmmsg.
9382         * include/sys/socket.h (__sendmmsg): Add declarations.
9383         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
9384         sendmmsg.
9386 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
9388         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
9389         variable I1 with __attribute__ ((unused)).
9390         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
9392 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
9394         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
9395         DUMMY variables with __attribute__ ((unused)).
9397         * bits/byteswap.h: Include <bits/types.h>.
9398         (__bswap_64): Use __uint64_t instead of unsigned long long int.
9400 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
9402         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
9403         string_t.  Do not manually set errno.
9404         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
9405         length with __strnlen.  Make sure to both set errno and return it on
9406         failure.
9408 2012-11-19  David S. Miller  <davem@davemloft.net>
9410         With help from Joseph Myers.
9411         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
9412         very large arguments properly.
9413         * math/libm-test.inc (atan_test): New tests.
9414         (atan2_test): New tests.
9415         * sysdeps/sparc/fpu/libm-test-ulps: Update.
9416         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9418 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
9420         [BZ #14856]
9421         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
9422         Define to 3.
9424         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
9425         [POSIX] (EADDRNOTAVAIL): Likewise.
9426         [POSIX] (EAFNOSUPPORT): Likewise.
9427         [POSIX] (EALREADY): Likewise.
9428         [POSIX] (ECONNABORTED): Likewise.
9429         [POSIX] (ECONNREFUSED): Likewise.
9430         [POSIX] (ECONNRESET): Likewise.
9431         [POSIX] (EDESTADDRREQ): Likewise.
9432         [POSIX] (EDQUOT): Likewise.
9433         [POSIX] (EHOSTUNREACH): Likewise.
9434         [POSIX] (EIDRM): Likewise.
9435         [POSIX] (EISCONN): Likewise.
9436         [POSIX] (ELOOP): Likewise.
9437         [POSIX] (EMULTIHOP): Likewise.
9438         [POSIX] (ENETDOWN): Likewise.
9439         [POSIX] (ENETUNREACH): Likewise.
9440         [POSIX] (ENOBUFS): Likewise.
9441         [POSIX] (ENODATA): Likewise.
9442         [POSIX] (ENOLINK): Likewise.
9443         [POSIX] (ENOMSG): Likewise.
9444         [POSIX] (ENOPROTOOPT): Likewise.
9445         [POSIX] (ENOSR): Likewise.
9446         [POSIX] (ENOSTR): Likewise.
9447         [POSIX] (ENOTCONN): Likewise.
9448         [POSIX] (ENOTSOCK): Likewise.
9449         [POSIX] (EOPNOTSUPP): Likewise.
9450         [POSIX] (EOVERFLOW): Likewise.
9451         [POSIX] (EPROTO): Likewise.
9452         [POSIX] (EPROTONOSUPPORT): Likewise.
9453         [POSIX] (EPROTOTYPE): Likewise.
9454         [POSIX] (ESTALE): Likewise.
9455         [POSIX] (ETIME): Likewise.
9456         [POSIX] (ETXTBSY): Likewise.
9457         [POSIX] (EWOULDBLOCK): Likewise.
9458         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
9459         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
9460         [POSIX] (SEEK_CUR): Likewise.
9461         [POSIX] (SEEK_END): Likewise.
9462         [POSIX || UNIX98] (mode_t): Do not require.
9463         [POSIX] (off_t): Likewise.
9464         [POSIX] (pid_t): Likewise.
9465         [POSIX] (sys/stat.h): Do not allow header.
9466         [POSIX] (unistd.h): Likewise.
9467         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
9468         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
9469         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
9470         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
9471         require.
9472         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
9473         sigevent): Specify elements.
9474         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
9475         entry.
9476         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
9477         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
9479         * conform/data/cpio.h-data [POSIX]: Disable whole file.
9480         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
9481         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
9482         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
9483         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
9484         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
9485         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
9486         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
9487         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
9488         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
9489         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
9490         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
9491         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
9492         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
9493         Likewise.
9494         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
9495         Likewise.
9496         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
9497         Likewise.
9498         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
9499         Likewise.
9500         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
9501         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
9502         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
9503         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
9504         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
9505         Specify lower bound on value.
9506         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
9507         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
9508         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
9509         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
9510         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
9511         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
9512         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
9513         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
9514         value.
9515         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
9516         as optional.
9517         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
9518         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
9519         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
9520         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
9521         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
9522         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
9523         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
9524         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
9525         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
9526         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
9527         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
9528         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
9529         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
9530         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
9531         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
9532         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
9533         entry.
9534         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
9535         optional.
9536         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
9537         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
9538         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
9539         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
9540         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
9541         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
9542         Likewise.
9543         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
9544         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
9545         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
9546         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
9547         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
9548         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
9549         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
9550         as optional.
9551         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
9552         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
9553         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
9554         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
9555         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
9556         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
9557         specify as optional.
9558         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
9559         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
9560         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
9561         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
9562         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
9563         [XPG3] (NL_LANGMAX): Likewise.
9564         [POSIX || XPG3] (NL_MSGMAX): Likewise.
9565         [POSIX || XPG3] (NL_NMAX): Likewise.
9566         [POSIX || XPG3] (NL_SETMAX): Likewise.
9567         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
9568         [XPG3] (NZERO): Likewise.
9569         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
9570         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
9571         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
9572         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
9573         (REG_ERANGE): Expect.
9574         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
9575         optional-constant.
9576         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
9577         Use (void) in prototype.
9578         [POSIX] (*_t): Allow.
9579         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
9580         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
9581         (WRDE_BADVAL): Expect.
9583         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
9584         expect.
9585         [XPG3 || XPG4] (O_RSYNC): Likewise.
9586         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
9587         Likewise.
9588         [XPG3 || XPG4] (pthread_sigmask): Likewise.
9589         [XPG3 || XPG4] (sigqueue): Likewise.
9590         [XPG3 || XPG4] (sigtimedwait): Likewise.
9591         [XPG3 || XPG4] (sigwaitinfo): Likewise.
9592         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
9593         [XPG3 || XPG4] (vsnprintf): Likewise.
9594         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
9595         Likewise.
9596         [XPG3 || XPG4] (blksize_t): Likewise.
9597         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
9598         Likewise.
9599         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
9600         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
9601         [XPG3 || XPG4] (struct itimerspec): Likewise.
9602         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
9603         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
9604         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
9605         [XPG3 || XPG4] (clockid_t): Likewise.
9606         [XPG3 || XPG4] (timer_t): Likewise.
9607         [XPG3 || XPG4] (clock_getres): Likewise.
9608         [XPG3 || XPG4] (clock_gettime): Likewise.
9609         [XPG3 || XPG4] (clock_settime): Likewise.
9610         [XPG3 || XPG4] (nanosleep): Likewise.
9611         [XPG3 || XPG4] (timer_create): Likewise.
9612         [XPG3 || XPG4] (timer_delete): Likewise.
9613         [XPG3 || XPG4] (timer_gettime): Likewise.
9614         [XPG3 || XPG4] (timer_getoverrun): Likewise.
9615         [XPG3 || XPG4] (timer_settime): Likewise.
9616         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
9617         [XPG3 || XPG4] (getlogin_r): Likewise.
9618         [XPG3 || XPG4] (pread): Likewise.
9619         [XPG3 || XPG4] (pthread_atfork): Likewise.
9620         [XPG3 || XPG4] (pwrite): Likewise.
9622         [BZ #14835]
9623         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
9624         <bits/siginfo.h>.
9626 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
9628         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
9629         finalizing MALLSTREAM.
9631         * sysdeps/mach/hurd/syncfs.c: New file.
9633 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
9635         [BZ #14719]
9636         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
9637         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
9638         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
9639         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
9640         (_nss_dns_gethostbyname4_r): Likewise.
9641         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
9642         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
9644 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
9646         [BZ #13763]
9647         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
9649 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
9651         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
9652         * elf/cache.c (print_entry): Print ",AArch64" for
9653         FLAG_AARCH64_LIB64
9655         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
9656         * elf/cache.c (print_entry): Print ",hard-float" for
9657         FLAG_ARM_LIBHF.
9659 2012-11-18  David S. Miller  <davem@davemloft.net>
9661         With help from Joseph Myers.
9662         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
9663         cutoff to 2**-13.
9664         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
9665         cutoff to 2**-25.
9666         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
9667         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
9668         small.
9669         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
9670         * math/libm-test.inc (y0_test): New tests.
9671         (y1_test): New tests.
9672         * sysdeps/i386/fpu/libm-test-ulps: Update.
9673         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9674         * sysdeps/sparc/fpu/libm-test-ulps: Update.
9676 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
9678         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
9679         64-bit targets.
9680         * configure: Regenerated.
9682 2012-11-17  David S. Miller  <davem@davemloft.net>
9684         [BZ #14811]
9685         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
9686         nonzero exponents with absolute value below 0x1p-128 to +/-
9687         0x1p-128.
9689 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
9691         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
9693         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
9695         * posix/getconf-speclist.c: New file.
9696         * posix/posix-envs.def: Likewise.
9697         * posix/confstr.c (START_ENV_GROUP): New macro.
9698         (END_ENV_GROUP): Likewise.
9699         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
9700         (KNOWN_PRESENT_ENV_STRING): Likewise.
9701         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
9702         (UNKNOWN_ENVIRONMENT): Likewise.
9703         (confstr): Include posix-envs.def instead of handling
9704         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
9705         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
9706         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
9707         (END_ENV_GROUP): Likewise.
9708         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
9709         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
9710         (UNKNOWN_ENVIRONMENT): Likewise.
9711         (__sysconf): Include posix-envs.def instead of handling associated
9712         cases directly here.
9713         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
9714         preprocessing getconf-speclist.c rather than running getconf or
9715         generating empty file.
9717 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
9719         * scripts/check-local-headers.sh: Ignore 'mach' headers.
9721 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
9723         [BZ #14672]
9724         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
9726 2012-11-16  David S. Miller  <davem@davemloft.net>
9728         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
9729         smaller than LDBL_EPSILON/2.0L, just return xm1.
9731 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
9733         * elf/tst-array1.c (init): Set constructor priority to 1000.
9734         (fini): Set destructor priority to 1000.
9735         * elf/tst-array2dep.c: Likewise.
9737 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
9739         [BZ #11741]
9740         * libio/fileops.c (_IO_new_file_write): Correctly return error.
9741         (_IO_new_file_xsputn): Also return EOF if none of the input
9742         data was written when overflow failed.
9743         * libio/iopadn.c (_IO_padn): Likewise.
9744         * libio/iowpadn.c (_IO_wpadn): Likewise.
9745         * stdio-common/tst-put-error.c: Add copyright notice.
9746         (do_test): Add case for printing padded string.
9747         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
9748         _IO_padn returned error.
9749         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
9750         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
9751         return EOF.
9753 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
9755         * libio/libioP.h: Add comment note that the references to C++
9756         bits are now obsolete.
9758 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
9760         * math/libm-test.inc (check_complex): Use asprintf.
9762 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
9764         * debug/pcprofiledump.c (print_version): Update copyright year.
9765         * malloc/memusagestat.c (print_version): Likewise.
9767 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
9769         [BZ #14831]
9770         * elf/Makefile (tests): Add tst-audit8.
9771         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
9772         ($(objpfx)tst-audit8.out): New target.
9773         (tst-audit8-ENV): New variable.
9774         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
9775         audit if l_reloc_result is NULL.
9776         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
9777         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
9778         * elf/tst-audit8.c: New file.
9780 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
9782         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
9783         * misc/Makefile (CFLAGS-select.c): Define.
9784         * posix/Makefile (CFLAGS-pause.c): Define.
9786 2012-11-13  David S. Miller  <davem@davemloft.net>
9788         * crypt/Makefile: Move test targets after toplevel Rules
9789         inclusion.  Grab any necessary sysdep routines when linking.
9790         * crypt/md5.c (md5_process_block): Remove define, we will always
9791         name it __md5_process_block.
9792         (md5_finish_ctx): Update md5_process_block call.
9793         (md5_stream): Likewise.
9794         (md5_process_bytes): Likewise.
9795         (md5_process_block): Rename to __md5_process_block and move to ...
9796         * crypt/md5-block.c: ... here.
9797         * crypt/sha256.c (sha256_process_block): Move to ...
9798         * crypt/sha256-block.c: ... here.
9799         * crypt/sha512.c (sha512_process_block): Move to ...
9800         * crypt/sha512-block.c: ... here.
9801         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
9802         path.
9803         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
9804         * sysdeps/sparc/sparc64/multiarch/Makefile
9805         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
9806         crypt subdir.
9807         (localedef-aux): Add md5 crypto assembler when in locale subdir.
9808         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
9809         multiarch changes.
9810         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
9811         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
9812         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
9813         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
9814         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
9815         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
9816         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
9817         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
9818         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
9819         file.
9820         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
9821         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
9822         file.
9823         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
9825 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
9827         * timezone/tzselect.ksh: Update from tzcode git revision
9828         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
9829         * timezone/zdump.c: Likewise.
9830         * timezone/zic.c: Likewise.
9831         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
9832         in TZVERSION setting, not $(PKGVERSION).
9833         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
9834         REPORT_BUGS_TO settings.
9836         [BZ #14838]
9837         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
9838         macro.
9840 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
9842         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
9843         detection to immediately after _FP_ROUND().
9844         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
9845         bits are 0.
9847 2012-11-11  David S. Miller  <davem@davemloft.net>
9849         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
9850         inttypes.h
9851         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
9852         __close rather than their public counterparts.
9854 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
9856         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
9857         file.
9858         [UNIX98] (sem_timedwait): Do not expect.
9859         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
9860         [XPG4 || UNIX98] (sockatmark): Do not expect.
9861         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
9862         (clock_getcpuclockid): Do not expect.
9863         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
9864         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
9865         Do not expect.
9866         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
9867         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
9868         [UNIX98] (vwscanf): Likewise.
9869         [UNIX98] (vswscanf): Likewise.
9871 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
9873         * timezone/version.h: Remove file.
9874         * timezone/README: Do not refer to version.h.
9875         * timezone/Makefile ($(objpfx)zic.o): New dependency on
9876         $(objpfx)version.h.
9877         ($(objpfx)zdump.o): Likewise.
9878         ($(objpfx)version.h): New target.
9880         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
9881         2012i.
9882         * timezone/README: Don't mention modification to tzselect.ksh.
9883         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
9884         work on unmodified tzselect.ksh.  Substitute version numbers in
9885         tzselect.ksh.
9887         * Makefile (format-me): Remove.
9888         (INSTALL): Adjust indentation.  Use commands directly instead of
9889         using $(format-me).
9891         * aclocal.m4 (ACX_PKGVERSION): New macro.
9892         (ACX_BUGURL): Likewise.
9893         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
9894         (PKGVERSION): New AC_DEFINE_UNQUOTED.
9895         (REPORT_BUGS_TO): Likewise.
9896         * configure: Regenerated.
9897         * config.h.in (PKGVERSION): New macro.
9898         (REPORT_BUGS_TO): Likewise.
9899         * config.make.in (PKGVERSION): New variable.
9900         (PKGVERSION_TEXI): Likewise.
9901         (REPORT_BUGS_TO): Likewise.
9902         (REPORT_BUGS_TEXI): Likewise.
9903         * Makefile (format-me): Use -I$(common-objpfx)manual.
9904         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
9905         ($(common-objpfx)manual/%): New target.
9906         (manual/%): Remove target.
9907         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
9908         (print_version): Use PKGVERSION.
9909         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
9910         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
9911         and REPORT_BUGS_TO.
9912         ($(objpfx)xtrace): Likewise.
9913         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
9914         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
9915         (print_version): Use PKGVERSION.
9916         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
9917         (do_version): Use PKGVERSION.
9918         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
9919         REPORT_BUGS_TO.
9920         (common-ldd-rewrite): Likewise.
9921         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
9922         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
9923         (print_version): Use PKGVERSION.
9924         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
9925         * elf/pldd.c (argp_program_bug_address): Remove variable.
9926         (more_help): New function.
9927         (argp): Use more_help.
9928         (print_version): Use PKGVERSION.
9929         * elf/sln.c (main): Use PKGVERSION.
9930         (usage): Use REPORT_BUGS_TO.
9931         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
9932         (top level): Use PKGVERSION.
9933         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
9934         (print_version): Use PKGVERSION.
9935         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
9936         (print_version): Use PKGVERSION.
9937         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
9938         (print_version): Use PKGVERSION.
9939         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
9940         (print_version): Use PKGVERSION.
9941         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
9942         (print_version): Use PKGVERSION.
9943         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
9944         (print_version): Use PKGVERSION.
9945         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
9946         and BUGURL.
9947         ($(objpfx)memusage): Likewise.
9948         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
9949         (do_version): Use PKGVERSION.
9950         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
9951         (print_version): Use PKGVERSION.
9952         * malloc/mtrace.pl ($PACKAGE): Remove variable.
9953         ($PKGVERSION): New variable.
9954         ($REPORT_BUGS_TO): Likewise.
9955         (usage): Use $REPORT_BUGS_TO.
9956         (top level): Use $PKGVERSION.
9957         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
9958         ($(objpfx)pkgvers.texi): New rule.
9959         ($(objpfx)stamp-pkgvers): Likewise.
9960         * manual/install.texi: Include pkgvers.texi.
9961         (--with-pkgversion): Document new configure option.
9962         (--with-bugurl): Likewise.
9963         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
9964         than necessarily for this particular distribution.  Use
9965         REPORT_BUGS_TO for where to report bugs.
9966         * INSTALL: Regenerated.
9967         * manual/libc.texinfo: Include pkgvers.texi.
9968         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
9969         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
9970         (print_version): Use PKGVERSION.
9971         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
9972         (print_version): Use PKGVERSION.
9973         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
9974         (print_version): Use PKGVERSION.
9975         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
9976         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
9977         macro.
9978         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
9979         (print_version): Use PKGVERSION.
9980         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
9981         (print_version): Use PKGVERSION.
9982         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
9983         and PKGVERSION.
9985         * timezone/checktab.awk: Update from tzcode 2012i.
9986         * timezone/ialloc.c: Likewise.
9987         * timezone/private.h: Likewise.
9988         * timezone/scheck.c: Likewise.
9989         * timezone/tzfile.h: Likewise.
9990         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
9991         (TZVERSION): Hardcode tzcode version number.
9992         * timezone/zdump.c: Update from tzcode 2012i.
9993         * timezone/zic.c: Likewise.
9994         * timezone/version.h: New file.
9995         * timezone/README: Describe version.h.  Update upstream location.
9997         [BZ #14824]
9998         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
9999         (mktemp): Enable declaration.
10000         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
10001         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
10002         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
10003         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
10004         Likewise.
10005         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
10006         Likewise.
10007         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
10008         Likewise.
10009         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
10010         Likewise.
10011         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
10012         Likewise.
10013         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
10014         Likewise.
10016         [BZ #14821]
10017         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
10018         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
10019         for copies of such integer values.
10020         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
10021         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
10023 2012-11-09  Andreas Jaeger  <aj@suse.de>
10025         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
10026         definitions and declarations that are provided by
10027         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
10029 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
10031         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
10032         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
10033         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
10034         definition.
10036 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
10038         * elf/elf.h: Update comment before AArch64 relocations.
10040 2012-11-07  David S. Miller  <davem@davemloft.net>
10042         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
10043         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
10044         (__start_context): Declare.
10045         (__makecontext_ret): Delete.
10046         (__makecontext): Hook up __start_context instead of
10047         __makecontext_ret.
10048         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
10049         (sysdep_routines): Add __start_context when in stdlib.
10051 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
10053         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
10054         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
10055         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
10056         hardcoded "nm".
10057         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
10058         (READELF): New variable.  Use it instead of hardcoded "readelf".
10060 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
10062         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
10063         * sysdeps/x86/Makefile: Here.
10064         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
10065         * sysdeps/x86/tst-xmmymm.sh: This.
10067 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
10069         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
10070         expectations.
10071         [UNIX98] (pthread_barrier_t): Do not expect.
10072         [UNIX98] (pthread_barrierattr_t): Likewise.
10073         [UNIX98] (pthread_spinlock_t): Likewise.
10074         [UNIX98] (pthread_barrier_destroy): Likewise.
10075         [UNIX98] (pthread_barrier_init): Likewise.
10076         [UNIX98] (pthread_barrier_wait): Likewise.
10077         [UNIX98] (pthread_barrierattr_destroy): Likewise.
10078         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
10079         [UNIX98] (pthread_barrierattr_init): Likewise.
10080         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
10081         [UNIX98] (pthread_getcpuclockid): Likewise.
10082         [UNIX98] (pthread_mutex_timedlock): Likewise.
10083         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
10084         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
10085         [UNIX98] (pthread_sigmask): Likewise.
10086         [UNIX98] (pthread_spin_destroy): Likewise.
10087         [UNIX98] (pthread_spin_init): Likewise.
10088         [UNIX98] (pthread_spin_lock): Likewise.
10089         [UNIX98] (pthread_spin_trylock): Likewise.
10090         [UNIX98] (pthread_spin_unlock): Likewise.
10091         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
10092         Do not expect.
10093         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
10094         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
10095         [XPG3 || XPG4] (pthread_cond_t): Likewise.
10096         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
10097         [XPG3 || XPG4] (pthread_key_t): Likewise.
10098         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
10099         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
10100         [XPG3 || XPG4] (pthread_once_t): Likewise.
10101         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
10102         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
10103         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
10104         [XPG3 || XPG4] (pthread_t): Likewise.
10106         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
10107         not expect.
10108         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
10110         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
10111         Change function return type to int.
10113         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
10114         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
10115         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
10116         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
10117         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
10118         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
10119         [!POSIX] (posix_madvise): Likewise.
10120         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
10121         && !UNIX98].
10122         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
10123         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
10124         (mode_t): Likewise.
10125         (posix_mem_offset): Likewise.
10126         (posix_typed_mem_get_info): Likewise.
10127         (posix_typed_mem_open): Likewise.
10129         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
10130         Change condition to [XOPEN2K8].
10132         * conform/conformtest.pl: Preprocess allow-header data with -x c
10133         instead of from stdin.
10134         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
10135         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
10136         [C99-based standards] (cerfc): Likewise.
10137         [C99-based standards] (cexp2): Likewise.
10138         [C99-based standards] (cexpm1): Likewise.
10139         [C99-based standards] (clog10): Likewise.
10140         [C99-based standards] (clog1p): Likewise.
10141         [C99-based standards] (clog2): Likewise.
10142         [C99-based standards] (clgamma): Likewise.
10143         [C99-based standards] (ctgamma): Likewise.
10144         [C99-based standards] (cerff): Likewise.
10145         [C99-based standards] (cerfcf): Likewise.
10146         [C99-based standards] (cexp2f): Likewise.
10147         [C99-based standards] (cexpm1f): Likewise.
10148         [C99-based standards] (clog10f): Likewise.
10149         [C99-based standards] (clog1pf): Likewise.
10150         [C99-based standards] (clog2f): Likewise.
10151         [C99-based standards] (clgammaf): Likewise.
10152         [C99-based standards] (ctgammaf): Likewise.
10153         [C99-based standards] (cerfl): Likewise.
10154         [C99-based standards] (cerfcl): Likewise.
10155         [C99-based standards] (cexp2l): Likewise.
10156         [C99-based standards] (cexpm1l): Likewise.
10157         [C99-based standards] (clog10l): Likewise.
10158         [C99-based standards] (clog1pl): Likewise.
10159         [C99-based standards] (clog2l): Likewise.
10160         [C99-based standards] (clgammal): Likewise.
10161         [C99-based standards] (ctgammal): Likewise.
10162         * conform/data/inttypes.h-data [C99-based standards]: Include
10163         stdint.h-data.  Remove all expectations for stdint.h contents.
10164         [C99-based standards] (PRI*): Do not allow.
10165         [C99-based standards] (SCN*): Likewise.
10166         [C99-based standards] (*_t): Likewise.
10167         [C99-based-standards] (PRId8): Expect macro.
10168         [C99-based-standards] (PRIi8): Likewise.
10169         [C99-based-standards] (PRIo8): Likewise.
10170         [C99-based-standards] (PRIu8): Likewise.
10171         [C99-based-standards] (PRIx8): Likewise.
10172         [C99-based-standards] (PRIX8): Likewise.
10173         [C99-based-standards] (SCNd8): Likewise.
10174         [C99-based-standards] (SCNi8): Likewise.
10175         [C99-based-standards] (SCNo8): Likewise.
10176         [C99-based-standards] (SCNu8): Likewise.
10177         [C99-based-standards] (SCNx8): Likewise.
10178         [C99-based-standards] (PRIdLEAST8): Likewise.
10179         [C99-based-standards] (PRIiLEAST8): Likewise.
10180         [C99-based-standards] (PRIoLEAST8): Likewise.
10181         [C99-based-standards] (PRIuLEAST8): Likewise.
10182         [C99-based-standards] (PRIxLEAST8): Likewise.
10183         [C99-based-standards] (PRIXLEAST8): Likewise.
10184         [C99-based-standards] (SCNdLEAST8): Likewise.
10185         [C99-based-standards] (SCNiLEAST8): Likewise.
10186         [C99-based-standards] (SCNoLEAST8): Likewise.
10187         [C99-based-standards] (SCNuLEAST8): Likewise.
10188         [C99-based-standards] (SCNxLEAST8): Likewise.
10189         [C99-based-standards] (PRIdFAST8): Likewise.
10190         [C99-based-standards] (PRIiFAST8): Likewise.
10191         [C99-based-standards] (PRIoFAST8): Likewise.
10192         [C99-based-standards] (PRIuFAST8): Likewise.
10193         [C99-based-standards] (PRIxFAST8): Likewise.
10194         [C99-based-standards] (PRIXFAST8): Likewise.
10195         [C99-based-standards] (SCNdFAST8): Likewise.
10196         [C99-based-standards] (SCNiFAST8): Likewise.
10197         [C99-based-standards] (SCNoFAST8): Likewise.
10198         [C99-based-standards] (SCNuFAST8): Likewise.
10199         [C99-based-standards] (SCNxFAST8): Likewise.
10200         [C99-based-standards] (PRId16): Likewise.
10201         [C99-based-standards] (PRIi16): Likewise.
10202         [C99-based-standards] (PRIo16): Likewise.
10203         [C99-based-standards] (PRIu16): Likewise.
10204         [C99-based-standards] (PRIx16): Likewise.
10205         [C99-based-standards] (PRIX16): Likewise.
10206         [C99-based-standards] (SCNd16): Likewise.
10207         [C99-based-standards] (SCNi16): Likewise.
10208         [C99-based-standards] (SCNo16): Likewise.
10209         [C99-based-standards] (SCNu16): Likewise.
10210         [C99-based-standards] (SCNx16): Likewise.
10211         [C99-based-standards] (PRIdLEAST16): Likewise.
10212         [C99-based-standards] (PRIiLEAST16): Likewise.
10213         [C99-based-standards] (PRIoLEAST16): Likewise.
10214         [C99-based-standards] (PRIuLEAST16): Likewise.
10215         [C99-based-standards] (PRIxLEAST16): Likewise.
10216         [C99-based-standards] (PRIXLEAST16): Likewise.
10217         [C99-based-standards] (SCNdLEAST16): Likewise.
10218         [C99-based-standards] (SCNiLEAST16): Likewise.
10219         [C99-based-standards] (SCNoLEAST16): Likewise.
10220         [C99-based-standards] (SCNuLEAST16): Likewise.
10221         [C99-based-standards] (SCNxLEAST16): Likewise.
10222         [C99-based-standards] (PRIdFAST16): Likewise.
10223         [C99-based-standards] (PRIiFAST16): Likewise.
10224         [C99-based-standards] (PRIoFAST16): Likewise.
10225         [C99-based-standards] (PRIuFAST16): Likewise.
10226         [C99-based-standards] (PRIxFAST16): Likewise.
10227         [C99-based-standards] (PRIXFAST16): Likewise.
10228         [C99-based-standards] (SCNdFAST16): Likewise.
10229         [C99-based-standards] (SCNiFAST16): Likewise.
10230         [C99-based-standards] (SCNoFAST16): Likewise.
10231         [C99-based-standards] (SCNuFAST16): Likewise.
10232         [C99-based-standards] (SCNxFAST16): Likewise.
10233         [C99-based-standards] (PRId32): Likewise.
10234         [C99-based-standards] (PRIi32): Likewise.
10235         [C99-based-standards] (PRIo32): Likewise.
10236         [C99-based-standards] (PRIu32): Likewise.
10237         [C99-based-standards] (PRIx32): Likewise.
10238         [C99-based-standards] (PRIX32): Likewise.
10239         [C99-based-standards] (SCNd32): Likewise.
10240         [C99-based-standards] (SCNi32): Likewise.
10241         [C99-based-standards] (SCNo32): Likewise.
10242         [C99-based-standards] (SCNu32): Likewise.
10243         [C99-based-standards] (SCNx32): Likewise.
10244         [C99-based-standards] (PRIdLEAST32): Likewise.
10245         [C99-based-standards] (PRIiLEAST32): Likewise.
10246         [C99-based-standards] (PRIoLEAST32): Likewise.
10247         [C99-based-standards] (PRIuLEAST32): Likewise.
10248         [C99-based-standards] (PRIxLEAST32): Likewise.
10249         [C99-based-standards] (PRIXLEAST32): Likewise.
10250         [C99-based-standards] (SCNdLEAST32): Likewise.
10251         [C99-based-standards] (SCNiLEAST32): Likewise.
10252         [C99-based-standards] (SCNoLEAST32): Likewise.
10253         [C99-based-standards] (SCNuLEAST32): Likewise.
10254         [C99-based-standards] (SCNxLEAST32): Likewise.
10255         [C99-based-standards] (PRIdFAST32): Likewise.
10256         [C99-based-standards] (PRIiFAST32): Likewise.
10257         [C99-based-standards] (PRIoFAST32): Likewise.
10258         [C99-based-standards] (PRIuFAST32): Likewise.
10259         [C99-based-standards] (PRIxFAST32): Likewise.
10260         [C99-based-standards] (PRIXFAST32): Likewise.
10261         [C99-based-standards] (SCNdFAST32): Likewise.
10262         [C99-based-standards] (SCNiFAST32): Likewise.
10263         [C99-based-standards] (SCNoFAST32): Likewise.
10264         [C99-based-standards] (SCNuFAST32): Likewise.
10265         [C99-based-standards] (SCNxFAST32): Likewise.
10266         [C99-based-standards] (PRId64): Likewise.
10267         [C99-based-standards] (PRIi64): Likewise.
10268         [C99-based-standards] (PRIo64): Likewise.
10269         [C99-based-standards] (PRIu64): Likewise.
10270         [C99-based-standards] (PRIx64): Likewise.
10271         [C99-based-standards] (PRIX64): Likewise.
10272         [C99-based-standards] (SCNd64): Likewise.
10273         [C99-based-standards] (SCNi64): Likewise.
10274         [C99-based-standards] (SCNo64): Likewise.
10275         [C99-based-standards] (SCNu64): Likewise.
10276         [C99-based-standards] (SCNx64): Likewise.
10277         [C99-based-standards] (PRIdLEAST64): Likewise.
10278         [C99-based-standards] (PRIiLEAST64): Likewise.
10279         [C99-based-standards] (PRIoLEAST64): Likewise.
10280         [C99-based-standards] (PRIuLEAST64): Likewise.
10281         [C99-based-standards] (PRIxLEAST64): Likewise.
10282         [C99-based-standards] (PRIXLEAST64): Likewise.
10283         [C99-based-standards] (SCNdLEAST64): Likewise.
10284         [C99-based-standards] (SCNiLEAST64): Likewise.
10285         [C99-based-standards] (SCNoLEAST64): Likewise.
10286         [C99-based-standards] (SCNuLEAST64): Likewise.
10287         [C99-based-standards] (SCNxLEAST64): Likewise.
10288         [C99-based-standards] (PRIdFAST64): Likewise.
10289         [C99-based-standards] (PRIiFAST64): Likewise.
10290         [C99-based-standards] (PRIoFAST64): Likewise.
10291         [C99-based-standards] (PRIuFAST64): Likewise.
10292         [C99-based-standards] (PRIxFAST64): Likewise.
10293         [C99-based-standards] (PRIXFAST64): Likewise.
10294         [C99-based-standards] (SCNdFAST64): Likewise.
10295         [C99-based-standards] (SCNiFAST64): Likewise.
10296         [C99-based-standards] (SCNoFAST64): Likewise.
10297         [C99-based-standards] (SCNuFAST64): Likewise.
10298         [C99-based-standards] (SCNxFAST64): Likewise.
10299         [C99-based-standards] (PRIdMAX): Likewise.
10300         [C99-based-standards] (PRIiMAX): Likewise.
10301         [C99-based-standards] (PRIoMAX): Likewise.
10302         [C99-based-standards] (PRIuMAX): Likewise.
10303         [C99-based-standards] (PRIxMAX): Likewise.
10304         [C99-based-standards] (PRIXMAX): Likewise.
10305         [C99-based-standards] (SCNdMAX): Likewise.
10306         [C99-based-standards] (SCNiMAX): Likewise.
10307         [C99-based-standards] (SCNoMAX): Likewise.
10308         [C99-based-standards] (SCNuMAX): Likewise.
10309         [C99-based-standards] (SCNxMAX): Likewise.
10310         [C99-based-standards] (PRIdPTR): Likewise.
10311         [C99-based-standards] (PRIiPTR): Likewise.
10312         [C99-based-standards] (PRIoPTR): Likewise.
10313         [C99-based-standards] (PRIuPTR): Likewise.
10314         [C99-based-standards] (PRIxPTR): Likewise.
10315         [C99-based-standards] (PRIXPTR): Likewise.
10316         [C99-based-standards] (SCNdPTR): Likewise.
10317         [C99-based-standards] (SCNiPTR): Likewise.
10318         [C99-based-standards] (SCNoPTR): Likewise.
10319         [C99-based-standards] (SCNuPTR): Likewise.
10320         [C99-based-standards] (SCNxPTR): Likewise.
10321         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
10322         allow.
10323         * conform/data/stdint.h-data: Update comments to clarify
10324         requirements.
10325         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
10326         type.
10327         [C99-based standards] (INT8_MAX): Likewise.
10328         [C99-based standards] (INT16_MIN): Likewise.
10329         [C99-based standards] (INT16_MAX): Likewise.
10330         [C99-based standards] (INT32_MIN): Likewise.
10331         [C99-based standards] (INT32_MAX): Likewise.
10332         [C99-based standards] (INT64_MIN): Likewise.
10333         [C99-based standards] (INT64_MAX): Likewise.
10334         [C99-based standards] (UINT8_MAX): Likewise.
10335         [C99-based standards] (UINT16_MAX): Likewise.
10336         [C99-based standards] (UINT32_MAX): Likewise.
10337         [C99-based standards] (UINT64_MAX): Likewise.
10338         [C99-based standards] (INT_LEAST8_MIN): Likewise.
10339         [C99-based standards] (INT_LEAST8_MAX): Likewise.
10340         [C99-based standards] (INT_LEAST16_MIN): Likewise.
10341         [C99-based standards] (INT_LEAST16_MAX): Likewise.
10342         [C99-based standards] (INT_LEAST32_MIN): Likewise.
10343         [C99-based standards] (INT_LEAST32_MAX): Likewise.
10344         [C99-based standards] (INT_LEAST64_MIN): Likewise.
10345         [C99-based standards] (INT_LEAST64_MAX): Likewise.
10346         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
10347         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
10348         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
10349         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
10350         [C99-based standards] (INT_FAST8_MIN): Likewise.
10351         [C99-based standards] (INT_FAST8_MAX): Likewise.
10352         [C99-based standards] (INT_FAST16_MIN): Likewise.
10353         [C99-based standards] (INT_FAST16_MAX): Likewise.
10354         [C99-based standards] (INT_FAST32_MIN): Likewise.
10355         [C99-based standards] (INT_FAST32_MAX): Likewise.
10356         [C99-based standards] (INT_FAST64_MIN): Likewise.
10357         [C99-based standards] (INT_FAST64_MAX): Likewise.
10358         [C99-based standards] (UINT_FAST8_MAX): Likewise.
10359         [C99-based standards] (UINT_FAST16_MAX): Likewise.
10360         [C99-based standards] (UINT_FAST32_MAX): Likewise.
10361         [C99-based standards] (UINT_FAST64_MAX): Likewise.
10362         [C99-based standards] (INTPTR_MIN): Likewise.
10363         [C99-based standards] (INTPTR_MAX): Likewise.
10364         [C99-based standards] (UINTPTR_MAX): Likewise.
10365         [C99-based standards] (INTMAX_MIN): Likewise.
10366         [C99-based standards] (INTMAX_MAX): Likewise.
10367         [C99-based standards] (UINTMAX_MAX): Likewise.
10368         [C99-based standards] (PTRDIFF_MIN): Likewise.
10369         [C99-based standards] (PTRDIFF_MAX): Likewise.
10370         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
10371         [C99-based standards] (SIZE_MAX): Likewise.
10372         [C99-based standards] (WCHAR_MAX): Likewise.
10373         [C99-based standards] (WINT_MAX): Likewise.
10374         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
10375         constraint on value.
10376         [C99-based standards] (WCHAR_MIN): Likewise.
10377         [C99-based standards] (WINT_MIN): Likewise.
10378         [C99-based standards] (*_t): Allow.
10379         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
10380         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
10381         Include math.h-data and complex.h-data.  Remove all expectations
10382         of math.h and complex.h contents.
10383         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
10384         at end of line.
10385         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
10386         (struct tm): Expect tag.
10387         [C99-based-standards] (wcstof): Expect function.
10388         [C99-based-standards] (wcstold): Likewise.
10389         [C99-based-standards] (wcstoll): Likewise.
10390         [C99-based-standards] (wcstoull): Likewise.
10391         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
10392         macro-int-constant.  Specify type.
10393         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
10394         constraint on value.
10395         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
10396         Specify type.
10397         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
10398         Specify value.
10399         [ISO C standards]: Do not allow headers.
10400         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
10401         wcs[abcdefghijklmnopqrstuvwxyz]*.
10402         [ISO C standards] (*_t): Do not allow.
10403         * conform/data/wctype.h-data [C99-based standards] (iswblank):
10404         Expect function.
10405         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
10406         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
10407         Specify type.
10408         [ISO C standards]: Do not allow headers.
10409         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
10410         is[abcdefghijklmnopqrstuvwxyz]*.
10411         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
10412         to[abcdefghijklmnopqrstuvwxyz]*.
10413         [ISO C standards] (*_t): Do not allow.
10414         * conform/data/stdalign.h-data: New file.
10415         * conform/data/stdbool.h-data: Likewise.
10416         * conform/data/stdnoreturn.h-data: Likewise.
10418 2012-11-07  Roland McGrath  <roland@hack.frob.com>
10420         [BZ #14815]
10421         * manual/filesys.texi (Directory Entries): Typo fix.
10422         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
10424 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
10426         * elf/elf.h (EM_AARCH64): New macro.
10427         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
10428         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
10429         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
10430         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
10431         (R_AARCH64_TLSDESC): Likewise.
10432         (NT_ARM_TLS): Likewise.
10433         (NT_ARM_HW_BREAK): Likewise.
10434         (NT_ARM_HW_WATCH): Likewise.
10436 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
10438         [BZ #14811]
10439         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
10440         (__ieee754_powl): Saturate nonzero exponents with absolute value
10441         below 0x1p-79 to +/- 0x1p-79.
10442         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
10443         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
10444         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
10445         nonzero exponents with absolute value below 0x1p-32 to +/-
10446         0x1p-32.
10447         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
10448         (__ieee754_powl): Saturate nonzero exponents with absolute value
10449         below 0x1p-79 to +/- 0x1p-79.
10450         * math/libm-test.inc (pow_test): Add more tests.
10452 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
10454         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
10455         _dl_s390_cap_flags with kernel. Increase string length.
10456         (_dl_s390_platforms): Add z196 and zEC12.
10458 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
10460         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
10461         Change XOPEN21K to XOPEN2K.
10463 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
10465         * string/memmove.c: Use memcpy when possible.
10467 2012-11-06  Andreas Jaeger  <aj@suse.de>
10469         * po/eo.po: Update from translation team.
10471 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
10473         [BZ #14793]
10474         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
10475         exponent and small x and y exponents, scale x or y up.  Increase
10476         by 2 the exponent used in scaling up.
10477         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
10478         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
10479         * math/libm-test.inc (fma_test): Add more tests.
10480         (fma_test_towardzero): Likewise.
10481         (fma_test_downward): Likewise.
10482         (fma_test_upward): Likewise.
10484 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
10486         [BZ #14805]
10487         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
10488         fenv_t *.
10490         [BZ #14801]
10491         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
10492         namespace for names of struct fields.
10493         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
10494         fenv_t fields.
10495         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
10496         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
10498 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10500         [BZ #3665]
10501         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
10503 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
10505         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
10506         PTR_DEMANGLE.
10508         [BZ #5246]
10509         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
10510         PTR_DEMANGLE.
10512 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
10514         [BZ #14797]
10515         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
10516         definitely overflow as x * y not x * y + z.
10517         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
10518         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
10519         * math/libm-test.inc (fma_test): Add more tests.
10520         (fma_test_towardzero): Likewise.
10521         (fma_test_downward): Likewise.
10522         (fma_test_upward): Likewise.
10524 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
10526         [BZ #157]
10528         * include/stub-tag.h: Remove file.
10529         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
10530         '#include' of it.
10531         * manual/maint.texi (Porting): Don't reference it.
10532         * Makerules ($(objpfx)stubs): Likewise.
10533         * dirent/closedir.c: Don't include <stub-tag.h>.
10534         * dirent/dirfd.c: Likewise.
10535         * dirent/fdopendir.c: Likewise.
10536         * dirent/getdents.c: Likewise.
10537         * dirent/getdents64.c: Likewise.
10538         * dirent/opendir.c: Likewise.
10539         * dirent/readdir.c: Likewise.
10540         * dirent/readdir64.c: Likewise.
10541         * dirent/readdir64_r.c: Likewise.
10542         * dirent/readdir_r.c: Likewise.
10543         * dirent/rewinddir.c: Likewise.
10544         * dirent/seekdir.c: Likewise.
10545         * dirent/telldir.c: Likewise.
10546         * gmon/profil.c: Likewise.
10547         * grp/setgroups.c: Likewise.
10548         * inet/if_index.c: Likewise.
10549         * io/access.c: Likewise.
10550         * io/chdir.c: Likewise.
10551         * io/chmod.c: Likewise.
10552         * io/chown.c: Likewise.
10553         * io/close.c: Likewise.
10554         * io/dup.c: Likewise.
10555         * io/dup2.c: Likewise.
10556         * io/dup3.c: Likewise.
10557         * io/euidaccess.c: Likewise.
10558         * io/faccessat.c: Likewise.
10559         * io/fchdir.c: Likewise.
10560         * io/fchmod.c: Likewise.
10561         * io/fchmodat.c: Likewise.
10562         * io/fchown.c: Likewise.
10563         * io/fchownat.c: Likewise.
10564         * io/fcntl.c: Likewise.
10565         * io/flock.c: Likewise.
10566         * io/fstatfs.c: Likewise.
10567         * io/fstatfs64.c: Likewise.
10568         * io/fstatvfs.c: Likewise.
10569         * io/fstatvfs64.c: Likewise.
10570         * io/futimens.c: Likewise.
10571         * io/fxstat.c: Likewise.
10572         * io/fxstat64.c: Likewise.
10573         * io/fxstatat.c: Likewise.
10574         * io/fxstatat64.c: Likewise.
10575         * io/getcwd.c: Likewise.
10576         * io/isatty.c: Likewise.
10577         * io/lchmod.c: Likewise.
10578         * io/lchown.c: Likewise.
10579         * io/link.c: Likewise.
10580         * io/linkat.c: Likewise.
10581         * io/lseek.c: Likewise.
10582         * io/lseek64.c: Likewise.
10583         * io/lxstat64.c: Likewise.
10584         * io/mkdir.c: Likewise.
10585         * io/mkdirat.c: Likewise.
10586         * io/mkfifo.c: Likewise.
10587         * io/mkfifoat.c: Likewise.
10588         * io/open.c: Likewise.
10589         * io/open64.c: Likewise.
10590         * io/openat.c: Likewise.
10591         * io/openat64.c: Likewise.
10592         * io/pipe.c: Likewise.
10593         * io/pipe2.c: Likewise.
10594         * io/poll.c: Likewise.
10595         * io/posix_fadvise.c: Likewise.
10596         * io/posix_fadvise64.c: Likewise.
10597         * io/posix_fallocate.c: Likewise.
10598         * io/posix_fallocate64.c: Likewise.
10599         * io/read.c: Likewise.
10600         * io/readlink.c: Likewise.
10601         * io/readlinkat.c: Likewise.
10602         * io/rmdir.c: Likewise.
10603         * io/sendfile.c: Likewise.
10604         * io/sendfile64.c: Likewise.
10605         * io/statfs.c: Likewise.
10606         * io/statfs64.c: Likewise.
10607         * io/statvfs.c: Likewise.
10608         * io/statvfs64.c: Likewise.
10609         * io/symlink.c: Likewise.
10610         * io/symlinkat.c: Likewise.
10611         * io/ttyname.c: Likewise.
10612         * io/ttyname_r.c: Likewise.
10613         * io/umask.c: Likewise.
10614         * io/unlink.c: Likewise.
10615         * io/unlinkat.c: Likewise.
10616         * io/utime.c: Likewise.
10617         * io/utimensat.c: Likewise.
10618         * io/write.c: Likewise.
10619         * io/xmknod.c: Likewise.
10620         * io/xmknodat.c: Likewise.
10621         * io/xstat.c: Likewise.
10622         * io/xstat64.c: Likewise.
10623         * login/getpt.c: Likewise.
10624         * login/grantpt.c: Likewise.
10625         * login/unlockpt.c: Likewise.
10626         * math/e_acoshl.c: Likewise.
10627         * math/e_acosl.c: Likewise.
10628         * math/e_asinl.c: Likewise.
10629         * math/e_atan2l.c: Likewise.
10630         * math/e_atanhl.c: Likewise.
10631         * math/e_coshl.c: Likewise.
10632         * math/e_expl.c: Likewise.
10633         * math/e_fmodl.c: Likewise.
10634         * math/e_gammal_r.c: Likewise.
10635         * math/e_hypotl.c: Likewise.
10636         * math/e_j0l.c: Likewise.
10637         * math/e_j1l.c: Likewise.
10638         * math/e_jnl.c: Likewise.
10639         * math/e_lgammal_r.c: Likewise.
10640         * math/e_log10l.c: Likewise.
10641         * math/e_log2l.c: Likewise.
10642         * math/e_logl.c: Likewise.
10643         * math/e_powl.c: Likewise.
10644         * math/e_rem_pio2l.c: Likewise.
10645         * math/e_sinhl.c: Likewise.
10646         * math/e_sqrtl.c: Likewise.
10647         * math/fclrexcpt.c: Likewise.
10648         * math/fedisblxcpt.c: Likewise.
10649         * math/feenablxcpt.c: Likewise.
10650         * math/fegetenv.c: Likewise.
10651         * math/fegetexcept.c: Likewise.
10652         * math/fegetround.c: Likewise.
10653         * math/feholdexcpt.c: Likewise.
10654         * math/fesetenv.c: Likewise.
10655         * math/fesetround.c: Likewise.
10656         * math/feupdateenv.c: Likewise.
10657         * math/fgetexcptflg.c: Likewise.
10658         * math/fraiseexcpt.c: Likewise.
10659         * math/fsetexcptflg.c: Likewise.
10660         * math/ftestexcept.c: Likewise.
10661         * math/k_cosl.c: Likewise.
10662         * math/k_rem_pio2l.c: Likewise.
10663         * math/k_sinl.c: Likewise.
10664         * math/k_tanl.c: Likewise.
10665         * math/s_asinhl.c: Likewise.
10666         * math/s_atanl.c: Likewise.
10667         * math/s_cbrtl.c: Likewise.
10668         * math/s_erfl.c: Likewise.
10669         * math/s_expm1l.c: Likewise.
10670         * math/s_log1pl.c: Likewise.
10671         * math/s_tanhl.c: Likewise.
10672         * misc/acct.c: Likewise.
10673         * misc/brk.c: Likewise.
10674         * misc/chflags.c: Likewise.
10675         * misc/chroot.c: Likewise.
10676         * misc/fchflags.c: Likewise.
10677         * misc/fgetxattr.c: Likewise.
10678         * misc/flistxattr.c: Likewise.
10679         * misc/fremovexattr.c: Likewise.
10680         * misc/fsetxattr.c: Likewise.
10681         * misc/fsync.c: Likewise.
10682         * misc/ftruncate.c: Likewise.
10683         * misc/futimes.c: Likewise.
10684         * misc/futimesat.c: Likewise.
10685         * misc/getdomain.c: Likewise.
10686         * misc/getdtsz.c: Likewise.
10687         * misc/gethostid.c: Likewise.
10688         * misc/gethostname.c: Likewise.
10689         * misc/getloadavg.c: Likewise.
10690         * misc/getpagesize.c: Likewise.
10691         * misc/getsysstats.c: Likewise.
10692         * misc/getxattr.c: Likewise.
10693         * misc/gtty.c: Likewise.
10694         * misc/ioctl.c: Likewise.
10695         * misc/lgetxattr.c: Likewise.
10696         * misc/listxattr.c: Likewise.
10697         * misc/llistxattr.c: Likewise.
10698         * misc/lremovexattr.c: Likewise.
10699         * misc/lsetxattr.c: Likewise.
10700         * misc/lutimes.c: Likewise.
10701         * misc/madvise.c: Likewise.
10702         * misc/mincore.c: Likewise.
10703         * misc/mlock.c: Likewise.
10704         * misc/mlockall.c: Likewise.
10705         * misc/mmap.c: Likewise.
10706         * misc/mprotect.c: Likewise.
10707         * misc/msync.c: Likewise.
10708         * misc/munlock.c: Likewise.
10709         * misc/munlockall.c: Likewise.
10710         * misc/munmap.c: Likewise.
10711         * misc/preadv.c: Likewise.
10712         * misc/preadv64.c: Likewise.
10713         * misc/ptrace.c: Likewise.
10714         * misc/pwritev.c: Likewise.
10715         * misc/pwritev64.c: Likewise.
10716         * misc/readv.c: Likewise.
10717         * misc/reboot.c: Likewise.
10718         * misc/remap_file_pages.c: Likewise.
10719         * misc/removexattr.c: Likewise.
10720         * misc/revoke.c: Likewise.
10721         * misc/select.c: Likewise.
10722         * misc/setdomain.c: Likewise.
10723         * misc/setegid.c: Likewise.
10724         * misc/seteuid.c: Likewise.
10725         * misc/sethostid.c: Likewise.
10726         * misc/sethostname.c: Likewise.
10727         * misc/setregid.c: Likewise.
10728         * misc/setreuid.c: Likewise.
10729         * misc/setxattr.c: Likewise.
10730         * misc/sstk.c: Likewise.
10731         * misc/stty.c: Likewise.
10732         * misc/swapoff.c: Likewise.
10733         * misc/swapon.c: Likewise.
10734         * misc/sync.c: Likewise.
10735         * misc/syncfs.c: Likewise.
10736         * misc/syscall.c: Likewise.
10737         * misc/truncate.c: Likewise.
10738         * misc/ualarm.c: Likewise.
10739         * misc/usleep.c: Likewise.
10740         * misc/ustat.c: Likewise.
10741         * misc/utimes.c: Likewise.
10742         * misc/vhangup.c: Likewise.
10743         * misc/writev.c: Likewise.
10744         * posix/_exit.c: Likewise.
10745         * posix/alarm.c: Likewise.
10746         * posix/execve.c: Likewise.
10747         * posix/fexecve.c: Likewise.
10748         * posix/fork.c: Likewise.
10749         * posix/fpathconf.c: Likewise.
10750         * posix/getaddrinfo.c: Likewise.
10751         * posix/getegid.c: Likewise.
10752         * posix/geteuid.c: Likewise.
10753         * posix/getgid.c: Likewise.
10754         * posix/getgroups.c: Likewise.
10755         * posix/getlogin.c: Likewise.
10756         * posix/getlogin_r.c: Likewise.
10757         * posix/getpgid.c: Likewise.
10758         * posix/getpid.c: Likewise.
10759         * posix/getppid.c: Likewise.
10760         * posix/getresgid.c: Likewise.
10761         * posix/getresuid.c: Likewise.
10762         * posix/getsid.c: Likewise.
10763         * posix/getuid.c: Likewise.
10764         * posix/glob64.c: Likewise.
10765         * posix/nanosleep.c: Likewise.
10766         * posix/pathconf.c: Likewise.
10767         * posix/pause.c: Likewise.
10768         * posix/posix_madvise.c: Likewise.
10769         * posix/pread.c: Likewise.
10770         * posix/pread64.c: Likewise.
10771         * posix/pwrite.c: Likewise.
10772         * posix/pwrite64.c: Likewise.
10773         * posix/sched_getaffinity.c: Likewise.
10774         * posix/sched_getp.c: Likewise.
10775         * posix/sched_gets.c: Likewise.
10776         * posix/sched_primax.c: Likewise.
10777         * posix/sched_primin.c: Likewise.
10778         * posix/sched_rr_gi.c: Likewise.
10779         * posix/sched_setaffinity.c: Likewise.
10780         * posix/sched_setp.c: Likewise.
10781         * posix/sched_sets.c: Likewise.
10782         * posix/sched_yield.c: Likewise.
10783         * posix/setgid.c: Likewise.
10784         * posix/setlogin.c: Likewise.
10785         * posix/setpgid.c: Likewise.
10786         * posix/setresgid.c: Likewise.
10787         * posix/setresuid.c: Likewise.
10788         * posix/setsid.c: Likewise.
10789         * posix/setuid.c: Likewise.
10790         * posix/sleep.c: Likewise.
10791         * posix/spawni.c: Likewise.
10792         * posix/sysconf.c: Likewise.
10793         * posix/times.c: Likewise.
10794         * posix/wait.c: Likewise.
10795         * posix/wait3.c: Likewise.
10796         * posix/wait4.c: Likewise.
10797         * posix/waitpid.c: Likewise.
10798         * resolv/gai_sigqueue.c: Likewise.
10799         * resource/getpriority.c: Likewise.
10800         * resource/getrlimit.c: Likewise.
10801         * resource/getrusage.c: Likewise.
10802         * resource/nice.c: Likewise.
10803         * resource/setpriority.c: Likewise.
10804         * resource/setrlimit.c: Likewise.
10805         * resource/ulimit.c: Likewise.
10806         * rt/aio_cancel.c: Likewise.
10807         * rt/aio_fsync.c: Likewise.
10808         * rt/aio_read.c: Likewise.
10809         * rt/aio_sigqueue.c: Likewise.
10810         * rt/aio_suspend.c: Likewise.
10811         * rt/aio_write.c: Likewise.
10812         * rt/clock_getres.c: Likewise.
10813         * rt/clock_gettime.c: Likewise.
10814         * rt/clock_nanosleep.c: Likewise.
10815         * rt/clock_settime.c: Likewise.
10816         * rt/lio_listio.c: Likewise.
10817         * rt/mq_close.c: Likewise.
10818         * rt/mq_getattr.c: Likewise.
10819         * rt/mq_notify.c: Likewise.
10820         * rt/mq_open.c: Likewise.
10821         * rt/mq_receive.c: Likewise.
10822         * rt/mq_send.c: Likewise.
10823         * rt/mq_setattr.c: Likewise.
10824         * rt/mq_timedreceive.c: Likewise.
10825         * rt/mq_timedsend.c: Likewise.
10826         * rt/mq_unlink.c: Likewise.
10827         * rt/shm_open.c: Likewise.
10828         * rt/shm_unlink.c: Likewise.
10829         * rt/timer_create.c: Likewise.
10830         * rt/timer_delete.c: Likewise.
10831         * rt/timer_getoverr.c: Likewise.
10832         * rt/timer_gettime.c: Likewise.
10833         * rt/timer_settime.c: Likewise.
10834         * setjmp/__longjmp.c: Likewise.
10835         * setjmp/setjmp.c: Likewise.
10836         * signal/kill.c: Likewise.
10837         * signal/killpg.c: Likewise.
10838         * signal/raise.c: Likewise.
10839         * signal/sigaction.c: Likewise.
10840         * signal/sigaltstack.c: Likewise.
10841         * signal/sigblock.c: Likewise.
10842         * signal/sigignore.c: Likewise.
10843         * signal/sigintr.c: Likewise.
10844         * signal/signal.c: Likewise.
10845         * signal/sigpause.c: Likewise.
10846         * signal/sigpending.c: Likewise.
10847         * signal/sigqueue.c: Likewise.
10848         * signal/sigreturn.c: Likewise.
10849         * signal/sigset.c: Likewise.
10850         * signal/sigsetmask.c: Likewise.
10851         * signal/sigstack.c: Likewise.
10852         * signal/sigsuspend.c: Likewise.
10853         * signal/sigtimedwait.c: Likewise.
10854         * signal/sigvec.c: Likewise.
10855         * signal/sigwait.c: Likewise.
10856         * signal/sigwaitinfo.c: Likewise.
10857         * signal/sysv_signal.c: Likewise.
10858         * socket/accept.c: Likewise.
10859         * socket/accept4.c: Likewise.
10860         * socket/bind.c: Likewise.
10861         * socket/connect.c: Likewise.
10862         * socket/getpeername.c: Likewise.
10863         * socket/getsockname.c: Likewise.
10864         * socket/getsockopt.c: Likewise.
10865         * socket/isfdtype.c: Likewise.
10866         * socket/listen.c: Likewise.
10867         * socket/recv.c: Likewise.
10868         * socket/recvfrom.c: Likewise.
10869         * socket/recvmsg.c: Likewise.
10870         * socket/send.c: Likewise.
10871         * socket/sendmsg.c: Likewise.
10872         * socket/sendto.c: Likewise.
10873         * socket/setsockopt.c: Likewise.
10874         * socket/shutdown.c: Likewise.
10875         * socket/sockatmark.c: Likewise.
10876         * socket/socket.c: Likewise.
10877         * socket/socketpair.c: Likewise.
10878         * stdio-common/ctermid.c: Likewise.
10879         * stdio-common/cuserid.c: Likewise.
10880         * stdio-common/remove.c: Likewise.
10881         * stdio-common/rename.c: Likewise.
10882         * stdio-common/renameat.c: Likewise.
10883         * stdio-common/tempname.c: Likewise.
10884         * stdlib/getcontext.c: Likewise.
10885         * stdlib/makecontext.c: Likewise.
10886         * stdlib/setcontext.c: Likewise.
10887         * stdlib/swapcontext.c: Likewise.
10888         * stdlib/system.c: Likewise.
10889         * streams/fattach.c: Likewise.
10890         * streams/fdetach.c: Likewise.
10891         * streams/getmsg.c: Likewise.
10892         * streams/getpmsg.c: Likewise.
10893         * streams/putmsg.c: Likewise.
10894         * streams/putpmsg.c: Likewise.
10895         * sysdeps/unix/bsd/getpt.c: Likewise.
10896         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
10897         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
10898         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
10899         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
10900         Likewise.
10901         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
10902         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
10903         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
10904         * sysvipc/msgctl.c: Likewise.
10905         * sysvipc/msgget.c: Likewise.
10906         * sysvipc/msgrcv.c: Likewise.
10907         * sysvipc/msgsnd.c: Likewise.
10908         * sysvipc/semctl.c: Likewise.
10909         * sysvipc/semget.c: Likewise.
10910         * sysvipc/semop.c: Likewise.
10911         * sysvipc/semtimedop.c: Likewise.
10912         * sysvipc/shmat.c: Likewise.
10913         * sysvipc/shmctl.c: Likewise.
10914         * sysvipc/shmdt.c: Likewise.
10915         * sysvipc/shmget.c: Likewise.
10916         * termios/tcdrain.c: Likewise.
10917         * termios/tcflow.c: Likewise.
10918         * termios/tcflush.c: Likewise.
10919         * termios/tcgetattr.c: Likewise.
10920         * termios/tcgetpgrp.c: Likewise.
10921         * termios/tcsendbrk.c: Likewise.
10922         * termios/tcsetattr.c: Likewise.
10923         * termios/tcsetpgrp.c: Likewise.
10924         * time/adjtime.c: Likewise.
10925         * time/clock.c: Likewise.
10926         * time/getitimer.c: Likewise.
10927         * time/gettimeofday.c: Likewise.
10928         * time/setitimer.c: Likewise.
10929         * time/settimeofday.c: Likewise.
10930         * time/stime.c: Likewise.
10931         * time/time.c: Likewise.
10933 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
10935         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
10936         /usr/old/bin.
10938         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
10939         instead of spaces.
10940         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
10942 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
10944         [BZ #14796]
10945         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
10946         FE_TONEAREST before applying Dekker multiplication and Knuth
10947         addition.  Clear inexact exceptions and check for exact zero
10948         results afterwards.
10949         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
10950         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
10951         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
10952         * math/libm-test.inc (fma_test): Add more tests.
10953         (fma_test_towardzero): Likewise.
10954         (fma_test_downward): Likewise.
10955         (fma_test_upward): Likewise.
10956         * sysdeps/generic/math_private.h (default_libc_fesetround): New
10957         function.
10958         (libc_fesetround): New macro.
10959         (libc_fesetroundf): Likewise.
10960         (libc_fesetroundl): Likewise.
10961         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
10962         function.
10963         (libc_fesetround_387): Likewise.
10964         (libc_fesetroundf): New macro.
10965         (libc_fesetround): Likewise.
10966         (libc_fesetroundl): Likewise.
10967         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
10968         function.
10969         (libc_fesetroundf): New macro.
10970         (libc_fesetround): Likewise.
10971         (libc_fesetroundl): Likewise.
10972         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
10973         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
10974         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
10975         libm_hidden_ver.
10976         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
10977         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
10978         libm_hidden_def.
10979         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
10980         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
10981         libm_hidden_ver.
10982         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
10983         libm_hidden_def.
10985         [BZ #3439]
10986         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
10987         integer constant usable in #if and use that to give value to enum
10988         constant.
10989         (FE_DIVBYZERO): Likewise.
10990         (FE_UNDERFLOW): Likewise.
10991         (FE_OVERFLOW): Likewise.
10992         (FE_INVALID): Likewise.
10993         (FE_INVALID_SNAN): Likewise.
10994         (FE_INVALID_ISI): Likewise.
10995         (FE_INVALID_IDI): Likewise.
10996         (FE_INVALID_ZDZ): Likewise.
10997         (FE_INVALID_IMZ): Likewise.
10998         (FE_INVALID_COMPARE): Likewise.
10999         (FE_INVALID_SOFTWARE): Likewise.
11000         (FE_INVALID_SQRT): Likewise.
11001         (FE_INVALID_INTEGER_CONVERSION): Likewise.
11002         (FE_TONEAREST): Likewise.
11003         (FE_TOWARDZERO): Likewise.
11004         (FE_UPWARD): Likewise.
11005         (FE_DOWNWARD): Likewise.
11006         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
11007         (FE_DIVBYZERO): Likewise.
11008         (FE_OVERFLOW): Likewise.
11009         (FE_UNDERFLOW): Likewise.
11010         (FE_INEXACT): Likewise.
11011         (FE_TONEAREST): Likewise.
11012         (FE_DOWNWARD): Likewise.
11013         (FE_UPWARD): Likewise.
11014         (FE_TOWARDZERO): Likewise.
11015         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
11016         (FE_UNDERFLOW): Likewise.
11017         (FE_OVERFLOW): Likewise.
11018         (FE_DIVBYZERO): Likewise.
11019         (FE_INVALID): Likewise.
11020         (FE_TONEAREST): Likewise.
11021         (FE_TOWARDZERO): Likewise.
11022         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
11023         (FE_OVERFLOW): Likewise.
11024         (FE_UNDERFLOW): Likewise.
11025         (FE_DIVBYZERO): Likewise.
11026         (FE_INEXACT): Likewise.
11027         (FE_TONEAREST): Likewise.
11028         (FE_TOWARDZERO): Likewise.
11029         (FE_UPWARD): Likewise.
11030         (FE_DOWNWARD): Likewise.
11031         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
11032         (FE_DIVBYZERO): Likewise.
11033         (FE_OVERFLOW): Likewise.
11034         (FE_UNDERFLOW): Likewise.
11035         (FE_INEXACT): Likewise.
11036         (FE_TONEAREST): Likewise.
11037         (FE_DOWNWARD): Likewise.
11038         (FE_UPWARD): Likewise.
11039         (FE_TOWARDZERO): Likewise.
11041 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
11043         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
11045 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
11047         * scripts/cross-test-ssh.sh (command): Use newlines to separate
11048         commands.  Quote $PWD.
11049         (blacklist_exports): Don't use remove_newlines.  Replace "declare
11050         -x" by "export".
11051         (remove_newlines): Remove.
11053 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
11055         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
11056         * stdlib/stdlib.h (atof): Moved to ...
11057         * include/bits/stdlib-float.h: Here.  New file.
11058         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
11059         * stdlib/bits/stdlib-float.h: New file.
11060         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
11061         -mno-sse -mno-mmx.
11062         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
11063         <xmmintrin.h>.
11065 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
11067         * conform/conformtest.pl (@headers): Add fenv.h.
11068         * conform/data/fenv.h-data: New file.
11069         * include/fenv.h [_ISOMAC]: Disable all contents of file except
11070         include of <math/fenv.h>.
11072         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
11073         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
11074         && !UNIX98].  Enables tests for XOPEN2K8.
11075         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
11076         POSIX2008]: Likewise.
11078         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
11079         (struct rusage): Do not expect type or its members.
11081         [BZ #3439]
11082         * math/math.h (FP_NAN): Define macro to integer constant usable in
11083         #if and use that to give value to enum constant.
11084         (FP_INFINITE): Likewise.
11085         (FP_ZERO): Likewise.
11086         (FP_SUBNORMAL): Likewise.
11087         (FP_NORMAL): Likewise.
11089 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
11091         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
11092         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
11093         arguments.
11095 2012-11-02  Roland McGrath  <roland@hack.frob.com>
11097         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
11098         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
11099         autoconf-time if not.
11100         * configure.in: Remove AC_PREREQ.
11102 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
11104         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
11105         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
11106         of the internal implementation.
11108 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
11110         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
11111         except include of <misc/sys/syslog.h>.
11113 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
11115         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
11116         function returns with a NULL context exit with zero.
11118 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
11120         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
11122 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
11124         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
11125         (run_program_cmd): This.
11126         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
11127         (tst_langinfo): New variable.  Use it.
11129 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
11131         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
11132         floating point opcodes.
11134 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
11136         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
11137         variable.
11139         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
11141         * sysdeps/mach/hurd/powerpc: Remove directory.
11142         * sysdeps/mach/powerpc: Likewise.
11144 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
11146         * scripts/check-local-headers.sh: Ignore c++ headers.
11148 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
11150         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
11151         __libc_cleanup_region_start argument.
11153 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
11155         [BZ #14784]
11156         [BZ #14785]
11157         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
11158         x * y using scaling, not as x * y + z.
11159         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
11160         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11161         * math/libm-test.inc (fma_test): Add more tests.
11162         (fma_test_towardzero): Likewise.
11163         (fma_test_downward): Likewise.
11164         (fma_test_upward): Likewise.
11166 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
11168         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
11170 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
11172         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
11173         New variable.
11175 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
11177         * rt/tst-shm.c (worker): Correct checking for mmap failure.
11179 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
11181         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
11182         Fix sort order.
11183         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
11184         Likewise.
11186 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
11188         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
11189         Fix the order of the list for glibc 2.17.
11190         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
11191         Likewise.
11193 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
11195         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11197 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
11199         [BZ #14610]
11200         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
11201         for low part of x being zero before using __atanl (y).
11202         * math/libm-test.inc (atan2_test): Add another test.
11204         * manual/install.texi (Configuring and compiling): Document
11205         general use of test-wrapper and test-wrapper-env.
11206         * INSTALL: Regenerated.
11208         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
11209         (__fma): Do not extract and scale down low bits on after-rounding
11210         systems when result rounded to normal precision would have normal
11211         exponent.
11212         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
11213         (__fmal): Do not extract and scale down low bits on after-rounding
11214         systems when result rounded to normal precision would have normal
11215         exponent.
11216         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
11217         (__fmal): Do not extract and scale down low bits on after-rounding
11218         systems when result rounded to normal precision would have normal
11219         exponent.
11220         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
11221         macro.
11222         (fma_test): Add more tests.
11223         (fma_test_towardzero): Likewise.
11224         (fma_test_downward): Likewise.
11225         (fma_test_upward): Likewise.
11227 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
11229         * sysdeps/i386/tininess.h: Renamed to ...
11230         * sysdeps/x86/tininess.h: This.
11231         * sysdeps/x86_64/tininess.h: Removed.
11233 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
11235         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
11236         input.  Use $(build-program-cmd).
11237         ($(objpfx)tst-array1-static.out): Likewise.
11238         ($(objpfx)tst-array2.out): Likewise.
11239         ($(objpfx)tst-array3.out): Likewise.
11240         ($(objpfx)tst-array4.out): Likewise.
11241         ($(objpfx)tst-array5.out): Likewise.
11242         ($(objpfx)tst-array5-static.out): Likewise.
11244 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
11246         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
11247         if defined.
11249         * nss/nsswitch.h (nss_interface_function): Provide new
11250         macro for use with NSS functions.
11251         * grp/initgroups.c: Use new macro.
11252         * nss/getXXbyYY.c: Likewise.
11253         * nss/getXXbyYY_r.c: Likewise.
11254         * nss/getXXent.c: Likewise.
11255         * nss/getXXent_r.c: Likewise.
11256         * sysdeps/posix/getaddrinfo.c: Likewise.
11258 2012-10-30  Andreas Jaeger  <aj@suse.de>
11260         * po/ru.po: Update Russion translation from translation project.
11262 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
11264         [BZ #14152]
11265         [BZ #14783]
11266         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
11267         result and shift together with sticky bit instead of replicating
11268         round-to-nearest rounding.
11269         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
11270         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11271         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
11272         missing underflow exceptions.
11273         (fma_test_towardzero): Add more tests.
11274         (fma_test_downward): Likewise.
11275         (fma_test_upward): Likewise.
11277         [BZ #14047]
11278         * sysdeps/generic/tininess.h: New file.
11279         * sysdeps/i386/tininess.h: Likewise.
11280         * sysdeps/sh/tininess.h: Likewise.
11281         * sysdeps/x86_64/tininess.h: Likewise.
11282         * stdlib/tst-strtod-underflow.c: Likewise.
11283         * stdlib/tst-tininess.c: Likewise.
11284         * stdlib/strtod_l.c: Include <tininess.h>.
11285         (round_and_return): Do not set errno for exact underflow cases.
11286         Force an underflow exception when setting errno for underflow.
11287         Determine underflow based on rounding to normal precision if
11288         TININESS_AFTER_ROUNDING.
11289         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
11290         ERANGE for exact underflow cases.
11291         * stdlib/Makefile (tests): Add tst-tininess and
11292         tst-strtod-underflow.
11293         ($(objpfx)tst-tininess): Use $(link-libm).
11294         ($(objpfx)tst-strtod-underflow): Likewise.
11296 2012-10-30  Andreas Jaeger  <aj@suse.de>
11298         [BZ#14767]
11299         * elf/Makefile (tests): Remove conditional for have-initfini-array
11300         since this is now always required and the variable does not exist
11301         anymore.
11302         (tests-static): Likewise.
11303         (modules-names): Likewise.
11305         * po/eo.po: Add Esperanto translation from translation project.
11307         * elf/tst-array1.c (fini_array): Make writeable so that it can be
11308         merged with constructor/destructor.
11309         (init_array): Likewise.
11310         * elf/tst-array2dep.c (fini_array): Likewise.
11311         (init_array): Likewise.
11313 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
11315         * manual/message.texi: Delete @cartouche tags.
11317 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
11319         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
11320         EOPNOTSUPP.
11321         * sysdeps/mach/hurd/fsync.c: Likewise.
11323         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
11324         [_POSIX_REALTIME_SIGNALS]: Change condition to
11325         [_POSIX_REALTIME_SIGNALS > 0].
11327 2012-10-27  Andreas Jaeger  <aj@suse.de>
11329         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
11330         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
11331         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
11332         [__WORDSIZE != 64]: Likewise.
11334 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
11336         *  iconvdata/tst-table.sh: Remove ${SHELL}.
11337         *  iconvdata/tst-tables.sh: Likewise.
11339 2012-10-25  David S. Miller  <davem@davemloft.net>
11341         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
11342         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
11343         of strtoull.
11345         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
11346         ifunc-impl-list.c
11347         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
11348         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
11349         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
11350         file.
11352 2012-10-25  Roland McGrath  <roland@hack.frob.com>
11354         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
11355         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
11356         __getdirentries.
11358 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
11359             Jim Blandy  <jimb@codesourcery.com>
11361         * scripts/cross-test-ssh.sh: New file.
11362         * manual/install.texi (Configuring and compiling): Document use of
11363         cross-test-ssh.sh.
11364         * INSTALL: Regenerated.
11366 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
11368         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
11369         EOPNOTSUPP.
11371 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
11373         * Makeconfig (run-program-prefix): Fix comment.
11375 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
11376             Jim Blandy  <jimb@codesourcery.com>
11378         * Makeconfig (test-wrapper): New variable,
11379         (test-wrapper-env): Likewise.
11380         [$(cross-compiling) = yes && $(test-wrapper) != ""]
11381         (run-built-tests): Define to yes.
11382         (run-program-prefix): Use $(test-wrapper).
11383         (built-program-cmd): Likewise.
11384         * Rules (make-test-out): Use $(test-wrapper-env) and
11385         $(host-built-program-cmd).
11386         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
11387         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
11388         tst-pathopt.sh.
11389         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
11390         $(test-wrapper-env) to tst-rtld-load-self.sh.
11391         ($(objpfx)order2.out): Use $(test-wrapper).
11392         ($(objpfx)tst-initorder.out): Likewise.
11393         ($(objpfx)tst-initorder2.out): Likewise.
11394         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
11395         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
11396         (test_wrapper_env): New variable.  Use it to run ld.so.
11397         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
11398         Use it to run ld.so.
11399         (test_wrapper_env): Likewise.
11400         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
11401         $(test-wrapper) to run-iconv-test.sh.
11402         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
11403         (ICONV): Use $test_wrapper.
11404         * posix/Makefile ($(objpfx)globtest.out): Pass
11405         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
11406         globtest.sh, not $(run-program-prefix).
11407         * posix/globtest.sh (run_via_rtld_prefix): New variable.
11408         (test_wrapper): Likewise.
11409         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
11410         set together with run_via_rtld_prefix.
11411         (run_program_prefix): Define in terms of test_wrapper and
11412         run_via_rtld_prefix.
11414 2012-10-24  Roland McGrath  <roland@hack.frob.com>
11416         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
11417         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
11418         Targets removed.
11420         [BZ #14743]
11421         * include/time.h: Remove librt_hidden_proto (clock_gettime).
11422         Declare __clock_getres, __clock_gettime, __clock_settime,
11423         __clock_nanosleep, and __clock_getcpuclockid.
11424         * rt/clock_gettime.c: Define __clock_gettime as an alias.
11425         Remove librt_hidden_def (clock_gettime).
11426         * sysdeps/unix/clock_gettime.c: Likewise.
11427         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
11428         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
11429         * rt/clock_getres.c: Define __clock_getres as an alias.
11430         * sysdeps/posix/clock_getres.c: Likewise.
11431         * rt/clock_settime.c: Define __clock_settime as an alias.
11432         * sysdeps/unix/clock_settime.c: Likewise.
11433         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
11434         * sysdeps/unix/clock_nanosleep.c: Likewise.
11435         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
11436         * rt/clock-compat.c: New file.
11437         * rt/Makefile (librt-routines): Add clock-compat and move
11438         $(clock-routines) to ...
11439         (routines): ... here, new variable.
11440         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
11441         Don't add get_clockfreq here.
11442         * rt/Versions (libc: GLIBC_2.17): New version set.
11443         Add clock_* symbols here.
11444         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
11445         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
11446         (GLIBC_2.17): Add clock_* symbols.
11447         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
11448         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
11449         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
11450         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
11451         Likewise.
11452         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
11453         Likewise.
11454         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
11455         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
11456         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
11457         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
11458         * NEWS: Mention the move.
11460         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
11461         Use __open, __read, __close rather than their public counterparts.
11462         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
11463         (__get_clockfreq_via_cpuinfo): Likewise.
11464         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
11465         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
11467         * config.h.in (HAVE_IFUNC): New #undef.
11468         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
11469         was successful.
11470         * configure: Regenerated.
11472 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
11474         * configure.in: Move READELF check to start of file.
11475         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
11476         libc_cv_asm_gnu_indirect_function in the process.
11477         * configure: Regenerated.
11479 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
11481         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
11482         send the output to /dev/null.
11483         (libc_cv_cc_with_libunwind): Likewise.
11484         (libc_cv_as_noexecstack): Likewise.
11485         * configure: Regenerate.
11487 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
11489         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
11491         * posix/globtest.sh (TMPDIR): Do not set.
11492         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
11493         (testout): Likewise.
11495 2012-10-24  Andreas Jaeger  <aj@suse.de>
11497         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
11498         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
11499         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
11500         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
11501         posix_fadvise64, posix_fallocate64.
11503         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
11504         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
11505         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
11506         Likewise.
11507         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
11508         Likewise.
11509         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
11511         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
11512         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
11513         <bits/fcntl-linux.h>.
11514         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
11516         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
11517         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
11518         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
11519         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
11520         [__WORDSIZE != 64]: Likewise.
11522 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
11524         * Makeconfig (run-built-tests): New variable.
11525         * Rules [$(cross-compiling) = yes]: Change condition to
11526         [$(run-built-tests) = no].
11527         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
11528         to [$(run-built-tests) = yes].
11529         * elf/Makefile [$(cross-compiling) = no]: Likewise
11530         * grp/Makefile [$(cross-compiling) = no]: Likewise.
11531         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
11532         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
11533         * intl/Makefile [$(cross-compiling) = no]: Likewise.
11534         * io/Makefile [$(cross-compiling) = no]: Likewise.
11535         * libio/Makefile [$(cross-compiling) = no]: Likewise.
11536         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
11537         * misc/Makefile [$(cross-compiling) = no]: Likewise.
11538         * posix/Makefile [$(cross-compiling) = no]: Likewise.
11539         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
11540         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
11541         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
11542         * string/Makefile [$(cross-compiling) = no]: Likewise.
11544         * posix/Makefile ($(objpfx)globtest.out): Pass
11545         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
11546         $(rtld-installed-name).
11547         * posix/globtest.sh (elf_objpfx): Remove variable.
11548         (rtld_installed_name): Likewise.
11549         (library_path): Likewise.
11550         (run_program_prefix): New variable.  Use for running globtest
11551         binary.
11553 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
11554             Joseph Myers  <joseph@codesourcery.com>
11556         * Makeconfig (host-built-program-cmd): New variable.
11557         * elf/Makefile (tst-stackguard1-ARGS): Use
11558         $(host-built-program-cmd).
11559         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
11560         (tst-spawn-ARGS): Likewise.
11561         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
11563 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
11564             Jim Blandy  <jimb@codesourcery.com>
11566         * Makeconfig (run-via-rtld-prefix): New variable.
11567         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
11568         (built-program-cmd): Likewise.
11570 2012-10-22  Andreas Jaeger  <aj@suse.de>
11572         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
11573         __O_RSYNC if it exists, otherwise to O_SYNC.
11575 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
11576             Joseph Myers  <joseph@codesourcery.com>
11578         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
11579         /dev/null.
11580         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
11581         from /dev/null
11582         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
11583         /dev/null.
11585 2012-10-22  Andreas Jaeger  <aj@suse.de>
11587         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
11588         Define always.
11589         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
11591         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11592         bits/fcntl-linux.h.
11594         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
11595         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
11597         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
11598         to __O_LARGEFILE.
11599         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
11600         to __O_LARGEFILE.
11602 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
11603             Joseph Myers  <joseph@codesourcery.com>
11605         * config.make.in (NM): New variable.
11607 2012-10-21  Andreas Jaeger  <aj@suse.de>
11609         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
11610         definitions and declarations that are provided by
11611         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
11613 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
11615         [BZ #14683]
11616         * elf/Makefile (tests-static): Add tst-leaks1-static.
11617         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
11618         ($(objpfx)tst-leaks1-static): New rule.
11619         ($(objpfx)tst-leaks1-static-mem): Likewise.
11620         (tst-leaks1-static-ENV): New macro.
11621         * elf/dl-open.c (dl_open_worker): Check the main application
11622         only if SHARED is defined.
11623         * elf/tst-leaks1-static.c: New file.
11625 2012-10-20  Andreas Jaeger  <aj@suse.de>
11627         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
11628         generic values for Linux.
11629         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
11630         and declarations that are provided by <bits/fcntl-linux.h> and
11631         include <bits/fcntl-linux.h>.
11632         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
11633         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
11635 2012-10-20  Roland McGrath  <roland@hack.frob.com>
11637         * io/fcntl.h: Move include of <bits/types.h> to the top and
11638         include it unconditionally.
11640 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
11642         * wcsmbs/Makefile (tests-ifunc): New variable.
11643         (tests): Add $(tests-ifunc).
11644         * wcsmbs/test-wcschr-ifunc.c: New file.
11645         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
11646         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
11647         * wcsmbs/test-wcslen-ifunc.c: Likewise.
11648         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
11649         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
11651         * string/Makefile (tests-ifunc): New variable.
11652         (tests): Add $(tests-ifunc).
11653         * string/test-memccpy.c (TEST_NAME): New macro.
11654         * string/test-memchr.c (TEST_NAME): Likewise.
11655         * string/test-memcmp.c (TEST_NAME): Likewise.
11656         * string/test-memcpy.c (TEST_NAME): Likewise.
11657         * string/test-memmem.c (TEST_NAME): Likewise.
11658         * string/test-memmove.c (TEST_NAME): Likewise.
11659         * string/test-memset.c (TEST_NAME): Likewise.
11660         * string/test-rawmemchr.c (TEST_NAME): Likewise.
11661         * string/test-stpcpy.c (TEST_NAME): Likewise.
11662         * string/test-stpncpy.c (TEST_NAME): Likewise.
11663         * string/test-strcasecmp.c (TEST_NAME): Likewise.
11664         * string/test-strcasestr.c (TEST_NAME): Likewise.
11665         * string/test-strcat.c (TEST_NAME): Likewise.
11666         * string/test-strchr.c (TEST_NAME): Likewise.
11667         * string/test-strcmp.c(TEST_NAME): Likewise.
11668         * string/test-strcpy.c (TEST_NAME): Likewise.
11669         * string/test-strcspn.c (TEST_NAME): Likewise.
11670         * string/test-strlen.c (TEST_NAME): Likewise.
11671         * string/test-strncasecmp.c (TEST_NAME): Likewise.
11672         * string/test-strncmp.c (TEST_NAME): Likewise.
11673         * string/test-strncpy.c (TEST_NAME): Likewise.
11674         * string/test-strnlen.c (TEST_NAME): Likewise.
11675         * string/test-strpbrk.c (TEST_NAME): Likewise.
11676         * string/test-strrchr.c (TEST_NAME): Likewise.
11677         * string/test-strspn.c (TEST_NAME): Likewise.
11678         * string/test-strstr.c (TEST_NAME): Likewise.
11679         * string/test-bcopy-ifunc.c: New file.
11680         * string/test-bzero-ifunc.c: Likewise.
11681         * string/test-memccpy-ifunc.c: Likewise.
11682         * string/test-memchr-ifunc.c: Likewise.
11683         * string/test-memcmp-ifunc.c: Likewise.
11684         * string/test-memcpy-ifunc.c: Likewise.
11685         * string/test-memmem-ifunc.c: Likewise.
11686         * string/test-memmove-ifunc.c: Likewise.
11687         * string/test-mempcpy-ifunc.c: Likewise.
11688         * string/test-memset-ifunc.c: Likewise.
11689         * string/test-rawmemchr-ifunc.c: Likewise.
11690         * string/test-stpcpy-ifunc.c: Likewise.
11691         * string/test-stpncpy-ifunc.c: Likewise.
11692         * string/test-strcasecmp-ifunc.c: Likewise.
11693         * string/test-strcasestr-ifunc.c: Likewise.
11694         * string/test-strcat-ifunc.c: Likewise.
11695         * string/test-strchr-ifunc.c: Likewise.
11696         * string/test-strchrnul-ifunc.c: Likewise.
11697         * string/test-strcmp-ifunc.c: Likewise.
11698         * string/test-strcpy-ifunc.c: Likewise.
11699         * string/test-strcspn-ifunc.c: Likewise.
11700         * string/test-strlen-ifunc.c: Likewise.
11701         * string/test-strncasecmp-ifunc.c: Likewise.
11702         * string/test-strncat-ifunc.c: Likewise.
11703         * string/test-strncmp-ifunc.c: Likewise.
11704         * string/test-strncpy-ifunc.c: Likewise.
11705         * string/test-strnlen-ifunc.c: Likewise.
11706         * string/test-strpbrk-ifunc.c: Likewise.
11707         * string/test-strrchr-ifunc.c: Likewise.
11708         * string/test-strspn-ifunc.c: Likewise.
11709         * string/test-strstr-ifunc.c: Likewise.
11711         * debug/Makefile (tests-ifunc): New variable.
11712         (tests): Add $(tests-ifunc).
11713         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
11714         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
11715         * debug/test-stpcpy_chk-ifunc.c: New file.
11716         * debug/test-strcpy_chk-ifunc.c: Likewise.
11718 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
11720         [BZ #13601]
11721         * elf/dl-load.c (open_verify): Retry read if the entire ELF
11722         header is not read in.
11724 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
11726         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
11727         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
11728         directly.  Pass built executable to script as
11729         $(built-program-cmd).
11730         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
11731         $testprogram without using LD_LIBRARY_PATH and $ldso.
11733         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
11734         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
11735         $(rtld-installed-name).
11736         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
11737         (rtld_installed_name): Likewise.
11738         (library_path): Likewise.
11739         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
11740         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
11741         $(run-program-prefix) to tst-tables.sh.
11742         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
11743         it to run tst-table-from and tst-table-to.
11744         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
11745         Pass it to tst-table.sh.
11746         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
11747         $(run-program-prefix) to tst-gettext.sh.
11748         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
11749         tst-translit.sh.
11750         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
11751         tst-gettext2.sh.
11752         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
11753         to run tst-gettext.
11754         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
11755         to run tst-gettext2.
11756         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
11757         to run tst-translit.
11758         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
11759         $(run-program-prefix) to tst-mtrace.sh.
11760         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
11761         to run tst-mtrace.
11762         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
11763         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
11764         $(rtld-installed-name).
11765         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
11766         (rtld_installed_name): Likewise.
11767         (run_program_prefix): New variable.  Use it to run wordexp-test.
11769         * Makeconfig (ARCH): Remove all definitions.
11770         (machine): Likewise.
11771         [ARCH]: Remove conditional code.
11772         [!objdir]: Give error.
11773         [!objdir] (objpfx): Remove.
11774         [!objdir] (common-objpfx): Likewise.
11775         [!objdir] (common-objdir): Likewise.
11776         * configure.in (config_makefile): Remove.  Hardcode Makefile in
11777         AC_CONFIG_FILES call.
11778         * configure: Regenerated.
11780         [BZ #13888]
11781         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
11782         or TMPDIR.
11783         (testout): Likewise.
11785         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
11786         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
11787         $(rtld-installed-name).
11788         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
11789         (rtld_installed_name): Likwise.
11790         (runit): Remove function.
11791         (run_getconf): New variable,  Use it for running getconf binary.
11793 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
11795         [BZ #14716]
11796         * string/test-memmem.c (check_result): New function.
11797         (do_one_test): Use it.
11798         (check1): New function.
11799         (test_main): Use it.
11801 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
11803         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
11805 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
11807         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
11808         (_G_LSEEK64): Likewise.
11809         (_G_MMAP64): Likewise.
11810         (_G_FSTAT64): Likewise.
11811         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
11812         (_G_LSEEK64): Likewise.
11813         (_G_MMAP64): Likewise.
11814         (_G_FSTAT64): Likewise.
11815         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
11816         unconditional.  Call __mmap64 directly.
11817         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
11818         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
11819         __lseek64 directly.
11820         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
11821         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
11822         __mmap64 directly.
11823         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
11824         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
11825         __lseek64 directly.
11826         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
11827         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
11828         __lseek64 directly.
11829         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
11830         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
11831         __lseek64 directly.
11832         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
11833         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
11834         __fxstat64 directly.
11835         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
11836         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
11837         unconditional.
11838         (freopen64) [!_G_OPEN64]: Remove conditional code.
11839         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
11840         unconditional.
11841         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
11842         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
11843         unconditional.
11844         (ftello64) [!_G_LSEEK64]: Remove conditional code.
11845         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
11846         unconditional.
11847         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
11848         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
11849         unconditional.
11850         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
11851         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
11852         unconditional.
11853         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
11854         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
11855         unconditional.
11856         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
11857         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
11858         unconditional.
11859         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
11861 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
11863         [BZ #12140]
11864         * manual/memory.texi (Malloc Tunable Parameters): Add note
11865         about free list pointers overwriting some perturb bytes.
11866         Wording suggested by Roland McGrath.
11868 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
11870         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
11871         (lgamma_test): Likewise.
11872         (tgamma_test): Likewise.
11874 2012-10-16  Florian Weimer  <fweimer@redhat.com>
11876         [BZ #14700]
11877         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
11878         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
11880 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
11882         * NEWS: Mention BZ #14716.
11883         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
11884         when removing AVAILABLE1_USES_J macro.
11886 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
11888         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
11889         (__bswap_64): __uint64_t for unsigned 64-bit int.
11891 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
11893         * include/string.h (memmem): Declare libc hidden alias.
11894         * string/memmem.c (memmem): Define libc hidden alias.
11895         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
11896         __read, __close instead of open, read, close.
11898 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
11900         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
11901         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
11902         global and hidden.
11903         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
11904         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
11905         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
11906         Likewise.
11907         (__rawmemchr_sse2): Likewise.
11908         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
11909         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
11910         (__strchr_sse2): Likewise.
11911         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
11912         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
11913         (__strcasecmp_sse2): Likewise.
11914         (__strncasecmp_sse2): Likewise.
11915         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
11916         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
11917         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
11918         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
11919         (__strrchr_sse2): Likewise.
11920         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
11921         ifunc-impl-list.c.
11922         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
11923         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
11924         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
11925         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
11926         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
11927         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
11928         * sysdeps/x86_64/multiarch/memset.S: Likewise.
11929         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
11930         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
11931         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
11932         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
11933         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
11934         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
11935         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
11936         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
11937         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
11938         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
11939         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
11940         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
11941         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
11942         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
11943         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
11944         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
11945         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
11946         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
11947         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
11948         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
11949         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
11950         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
11951         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
11953         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
11954         global and hidden.
11955         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
11956         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
11957         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
11958         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
11959         Likewise.
11960         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
11961         Likewise.
11962         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
11963         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
11964         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
11965         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
11966         ifunc-impl-list.c.
11967         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
11968         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
11969         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
11970         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
11971         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
11972         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
11973         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
11974         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
11975         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
11976         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
11977         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
11978         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
11979         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
11980         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
11981         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
11982         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
11983         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
11984         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
11985         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
11986         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
11987         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
11988         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
11989         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
11990         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
11991         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
11992         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
11993         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
11994         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
11995         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
11996         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
11997         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
11998         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
11999         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
12000         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
12001         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
12002         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
12003         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
12004         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
12005         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
12006         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
12007         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
12009         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
12010         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
12011         * include/ifunc-impl-list.h: New file.
12012         * misc/ifunc-impl-list.c: Likewise.
12013         * misc/Makefile (routines): Add ifunc-impl-list.
12014         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
12015         * string/test-string.h: Include <ifunc-impl-list.h>.
12016         [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
12017         impl_array): New variables.
12018         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
12019         are defined.
12020         (test_init): Call __libc_ifunc_impl_list to initialize
12021         func_list if TEST_IFUNC and TEST_NAME are defined.
12023         * string/Makefile (strop-tests): Add bcopy and bzero.
12024         * string/test-bcopy.c: New file.
12025         * string/test-bzero.c: Likewise.
12026         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
12027         defined.
12028         * string/test-memset.c: Support bzero test if TEST_BZERO is
12029         defined.
12030         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
12031         __libc_memmove.
12032         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
12033         __libc_memset.
12034         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
12035         of memset.
12037 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
12039         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
12040         * configure: Regenerated.
12042         * Makeconfig (+link-static-before-libc): Don't include
12043         $(link-static-libc).
12045         * libio/libio.h (_IO_pos_t): Remove.
12047 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
12049         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
12050         McGrath.
12052 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
12054         * crypt/crypt-entry.c: Include fips-private.h.
12055         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
12056         * crypt/md5c-test.c (main): Tolerate disabled MD5.
12057         * sysdeps/unix/sysv/linux/fips-private.h: New file.
12058         * sysdeps/generic/fips-private.h: New file, dummy fallback.
12060 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
12062         * crypt/crypt-private.h: Include stdbool.h.
12063         (_ufc_setup_salt_r): Return bool.
12064         * crypt/crypt-entry.c: Include errno.h.
12065         (__crypt_r): Return NULL with EINVAL for bad salt.
12066         * crypt/crypt_util.c (bad_for_salt): New.
12067         (_ufc_setup_salt_r): Check that salt is long enough and within
12068         the specified alphabet.
12069         * crypt/badsalttest.c: New file.
12070         * crypt/Makefile (tests): Add it.
12071         ($(objpfx)badsalttest): New.
12073 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
12075         * NEWS: Add entry for BZ #14602.
12077 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
12079         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
12080         type-generic.
12081         * math/libm-test.inc: Update comment listing what functions and
12082         macros are tested.
12083         (isgreater_test): New function.
12084         (isgreaterequal_test): Likewise.
12085         (isless_test): Likewise.
12086         (islessequal_test): Likewise.
12087         (islessgreater_test): Likewise.
12088         (isunordered_test): Likewise.
12089         (main): Call the new functions.
12091 2012-10-09  Roland McGrath  <roland@hack.frob.com>
12093         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
12094         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
12095         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
12096         * sysdeps/i386/configure: Regenerated.
12097         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
12098         * sysdeps/mach/configure: Regenerated.
12099         * sysdeps/mach/hurd/configure: Regenerated.
12100         * sysdeps/powerpc/configure: Regenerated.
12101         * sysdeps/powerpc/powerpc32/configure: Regenerated.
12102         * sysdeps/powerpc/powerpc64/configure: Regenerated.
12103         * sysdeps/s390/s390-32/configure: Regenerated.
12104         * sysdeps/s390/s390-64/configure: Regenerated.
12105         * sysdeps/sh/configure: Regenerated.
12106         * sysdeps/sparc/configure: Regenerated.
12107         * sysdeps/unix/sysv/linux/configure: Regenerated.
12108         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
12109         * sysdeps/x86_64/configure: Regenerated.
12111         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
12112         defined.  Don't check if MAP is NULL.
12114 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
12116         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
12117         (_G_stat64): Likewise.
12118         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
12119         (_G_stat64): Likewise.
12120         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
12121         instead of struct _G_stat64.
12122         * libio/fileops.c (mmap_remap_check): Likewise.
12123         (decide_maybe_mmap): Likewise.
12124         (_IO_new_file_seekoff): Likewise.
12125         (_IO_file_stat): Likewise.
12126         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
12127         _G_off64_t.
12128         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
12129         instead of struct _G_stat64.
12130         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
12132 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
12134         [BZ #14602]
12135         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
12136         Replace with ...
12137         (CHECK_EOL): New macro.
12138         (two_way_short_needle): Check beginning of haystack for EOL.  Use
12139         CHECK_EOL.
12140         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
12141         Replace with CHECK_EOL.
12142         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
12143         Replace with CHECK_EOL.
12145 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
12147         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
12148         type-generic.
12149         * math/libm-test.inc: Update comment listing what functions and
12150         macros are tested.
12151         (finite_test): New function.
12152         (isinf_test): Likewise.
12153         (isnan_test): Likewise.
12154         (fpclassify_test): Test subnormal input.
12155         (isfinite_test): Likewise.
12156         (isnormal_test): Likewise.
12157         (main): Call the new functions.
12159 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
12161         [BZ #14660]
12162         * Makerules (%.dynsym): Force C locale when running
12163         $(OBJDUMP) --dynamic-syms.
12165 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
12167         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
12168         <stdint.h>.
12170 2012-10-06  David S. Miller  <davem@davemloft.net>
12172         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
12173         upper 32-bits of the length value in %o2 since we use branch-on-register
12174         tests which consider the entire 64-bit register.
12176 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
12178         * string/test-strstr.c (check2): Add a test for page boundary.
12180 2012-10-05  David S. Miller  <davem@davemloft.net>
12182         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
12183         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
12184         file.
12185         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
12186         sysdep_routines.
12187         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
12188         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
12189         and bzero when HWCAP_SPARC_CRYPTO is present.
12191 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
12193         [BZ #14602]
12194         * string/test-strstr.c (check2): New function.
12195         (test_main): Call check2.
12197         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
12198         and bug-strchr1.
12199         * string/bug-strcasestr1.c (do_test): Moved to ...
12200         * string/test-strcasestr.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-strchr1.c (do_test): Moved to ...
12206         * string/test-strchr.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-strstr1.c (main): Moved to ...
12212         * string/test-strstr.c (check1): Here.  New function.
12213         (do_one_test): Break out result checking code into ...
12214         (check_result): This.  New function.
12215         (do_one_test): Call check_result.
12216         (test_main): Call check1.
12217         * string/bug-strcasestr1.c: Removed.
12218         * string/bug-strchr1.c: Likewise.
12219         * string/bug-strstr1.c: Likewise.
12221         * elf/Makefile (dl-routines): Add hwcaps.
12222         * elf/dl-support.c (_dl_important_hwcaps): Removed.
12223         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
12224         (_dl_important_hwcaps): Moved to ...
12225         * elf/dl-hwcaps.c: Here.  New file.
12226         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
12228         [BZ #14557]
12229         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
12230         if IS_IN_rtld isn't defined.
12232         * elf/dl-support.c (_dl_sysinfo_map): New.
12233         Include "get-dynamic-info.h" and "setup-vdso.h".
12234         (_dl_non_dynamic_init): Call setup_vdso.
12235         * elf/dynamic-link.h: Don't include <assert.h>.
12236         (elf_get_dynamic_info): Moved to ...
12237         * elf/get-dynamic-info.h: Here.  New file.
12238         * elf/dynamic-link.h: Include "get-dynamic-info.h".
12239         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
12240         * elf/setup-vdso.h: Here.  New file.
12241         * elf/rtld.c: Include "setup-vdso.h".
12242         (dl_main): Call setup_vdso.
12244 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
12246         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
12247         creal in comment listing functions tested.  List finite, isinf,
12248         isnan, isless, islessequal, isgreater, isgreaterequal,
12249         islessgreater, isunordered, lgamma_r and pow10 as functions and
12250         macros not tested.  Mention which functions not tested are aliases
12251         for other functions.  Fix typo.  Note that signs of NaNs are not
12252         tested.
12254         * scripts/config.guess: Update from config.git.
12255         * scripts/config.sub: Likewise.
12257 2012-10-04  Roland McGrath  <roland@hack.frob.com>
12259         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
12260         * misc/madvise.c (madvise): Renamed to __madvise.
12261         Make madvise a weak alias.
12262         * include/sys/mman.h: Declare __madvise.
12263         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
12264         * sysdeps/unix/syscalls.list
12265         (madvise): Make __madvise the strong name, and madvise a weak alias.
12266         * sysdeps/unix/sysv/linux/syscalls.list
12267         (madvise, mmap): Remove redundant entries.
12268         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
12269         * malloc/malloc.c (mtrim): Likewise.
12270         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
12272 2012-10-03  Roland McGrath  <roland@hack.frob.com>
12274         * sysdeps/mach/hurd/dl-cache.c: File removed.
12275         * config.h.in (USE_LDCONFIG): New #undef.
12276         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
12277         * configure: Regenerated.
12278         * elf/Makefile (dl-routines): Add dl-cache only under
12279         [$(use-ldconfig) = yes].
12280         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
12281         cache on [USE_LDCONFIG].
12282         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
12283         [USE_LDCONFIG].
12284         * elf/rtld.c (dl_main): Likewise.
12286 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
12288         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
12289         _SC_LEVEL4_CACHE_LINESIZE.
12291 2012-10-03  Roland McGrath  <roland@hack.frob.com>
12293         * sysdeps/unix/bsd/confstr.h: File removed.
12295 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
12297         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
12298         sys/sdt-config.h.
12300 2012-10-02  Roland McGrath  <roland@hack.frob.com>
12302         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
12303         Make 'mapoff' field ElfW(Off) rather than off_t.
12305 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
12307         * nscd/Makefile: Remove nscd-cflags and all its users.
12308         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
12309         (CFLAGS-nonlib): Add compiler flags for nscd modules.
12311         [BZ #10631]
12312         * malloc.c (malloc_printerr): Clarify error message.
12314 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
12316         [BZ #14648]
12317         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12318         Set bit_FMA_Usable if FMA is supported.
12319         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
12320         macro.
12321         (bit_FMA4_Usable): Updated.
12322         (index_FMA_Usable): New macro.
12323         (CPUID_FMA): Likewise
12324         (HAS_FMA): Defined with bit_FMA_Usable.
12326 2012-10-01  Roland McGrath  <roland@hack.frob.com>
12328         * bits/types.h (__swblk_t): Type removed.
12329         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
12330         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
12331         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
12332         (__SWBLK_T_TYPE): Likewise.
12333         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
12334         (__SWBLK_T_TYPE): Likewise.
12335         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
12336         (__SWBLK_T_TYPE): Likewise.
12337         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
12338         (__SWBLK_T_TYPE): Likewise.
12340 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
12341             Honza Horak <hhorak@redhat.com>
12343         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
12344         (xdr_mapname): Use YPMAXMAP as maxsize.
12345         (xdr_peername): Use YPMAXPEER as maxsize.
12346         (xdr_keydat): Use YPAXRECORD as maxsize.
12347         (xdr_valdat): Use YPMAXRECORD as maxsize.
12349 2012-10-01  Roland McGrath  <roland@hack.frob.com>
12351         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
12353         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
12354         * csu/init-first.c: ... here.
12355         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
12356         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
12357         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
12358         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
12359         * sysdeps/i386/init-first.c: File removed.
12360         * sysdeps/sh/init-first.c: File removed.
12362 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
12364         [BZ #14645]
12365         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
12366         if x * y might underflow to zero and z is zero.
12367         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
12368         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
12369         * math/libm-test.inc (min_subnorm_value): New variable.
12370         (fma_test): Add more tests.
12371         (fma_test_towardzero): Likewise.
12372         (fma_test_downward): Likewise
12373         (fma_test_upward): Likewise.
12374         (initialize): Set min_subnorm_value.
12376 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
12378         [BZ #14638]
12379         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
12380         0 + 0.
12381         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
12382         mode for addition resulting in exact zero.
12383         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
12384         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
12385         exact 0 + 0.
12386         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
12387         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
12388         * math/libm-test.inc (fma_test): Add more tests.
12389         (fma_test_towardzero): New function.
12390         (fma_test_downward): Likewise.
12391         (fma_test_upward): Likewise.
12392         (main): Call the new functions.
12394 2012-09-28  David S. Miller  <davem@davemloft.net>
12396         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
12398 2012-09-28  Roland McGrath  <roland@hack.frob.com>
12400         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
12401         instead of SIGALRM.
12403         * sysdeps/gnu/_G_config.h: Moved to ...
12404         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
12405         * sysdeps/mach/hurd/_G_config.h: Moved to ...
12406         * sysdeps/generic/_G_config.h: ... here.
12408         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
12410         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
12412         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
12413         Conditionalize target on [libnss_test1.so-version].
12415         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
12417         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
12418         (elfobjdir): Move out of conditionals.
12420         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
12421         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
12422         (__nss_lookup_function): Conditionalize label remove_from_tree on
12423         [!DO_STATIC_NSS || SHARED], matching its only use.
12425 2012-09-28  David S. Miller  <davem@davemloft.net>
12427         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
12428         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
12429         file.
12430         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
12431         sysdep_routines.
12432         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
12433         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
12434         when HWCAP_SPARC_CRYPTO is present.
12436 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
12438         * io/tst-mknodat.c: Create a FIFO instead of a socket.
12440 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
12442         [BZ #6530]
12443         * stdio-common/vfprintf.c (process_string_arg): Revert
12444         2000-07-22 change.
12446 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
12448         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
12449         for testcase.
12450         * stdio-common/tst-sprintf.c: Include <locale.h>
12451         (main): Test sprintf's handling of incomplete multibyte
12452         characters.
12454 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
12456         * elf/dl-runtime.c (VERSYMIDX): Removed.
12457         * elf/dl-version.c (VERSYMIDX): Likewise.
12458         * elf/do-rel.h (VERSYMIDX): Likewise.
12459         (VALIDX): Likewise.
12460         * elf/dynamic-link.h (VERSYMIDX): Likewise.
12461         * elf/rtld.c (VALIDX): Likewise.
12462         (ADDRIDX): Likewise.
12463         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
12464         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
12465         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
12466         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
12467         (VALIDX): Likewise.
12468         (ADDRIDX): Likewise.
12470 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
12472         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
12474 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
12476         [BZ #11438]
12477         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
12478         to global scope.
12479         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
12480         addresses are in the same scope as 192.0.2/24.
12481         * posix/gai.conf: Document new scope table defaults.
12483 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
12485         [BZ #5298]
12486         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
12487         for ftell.  Compute offsets from write pointers instead.
12488         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
12490 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
12492         [BZ #14543]
12493         * libio/Makefile (tests): New test case tst-fseek.
12494         * libio/tst-fseek.c: New test case to verify that fseek/ftell
12495         combination works in wide mode.
12496         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
12497         state when the external buffer state changes.
12499 2012-09-27  David S. Miller  <davem@davemloft.net>
12501         [BZ #14376]
12502         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
12503         pass reloc->r_addend in as the 'high' argument to
12504         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
12506         * sysdeps/sparc/fpu/libm-test-ulps: Update.
12508 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
12510         * rt/tst-aio2.c: Include <pthread.h>.
12511         * rt/tst-aio3.c: Likewise.
12513 2012-09-27  Steve Ellcey  <sellcey@mips.com>
12515         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
12517 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
12519         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
12520         contents on [SHARED].
12522 2012-09-26  Marek Polacek  <polacek@redhat.com>
12524         [BZ #14530]
12525         [BZ #13741]
12526         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
12527         for C++ and GCC <4.3 as well as for non GCC compilers.
12529 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
12531         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12533 2012-09-25  Roland McGrath  <roland@hack.frob.com>
12535         * Makefile.in (all, install): Declare with .PHONY.
12536         Reported by Michael Hope <michael.hope@linaro.org>.
12538 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
12540         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
12541         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
12542         system header.
12543         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
12544         Likewise.
12545         (sydep_routines): Add the new and the internal functions.
12546         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
12547         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
12548         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
12549         (GLIBC_2.17): Add the new function.
12550         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
12551         (GLIBC_2.17): Likewise.
12552         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
12553         (GLIBC_2.17): Likewise.
12554         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
12555         (GLIBC_2.17): Likewise.
12556         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
12558 2012-09-25  Alan Modra  <amodra@gmail.com>
12560         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
12561         Add release barrier before setting once_control to say
12562         initialisation is done.  Add hints on lwarx.  Use macro in
12563         place of isync.
12564         (clear_once_control): Add release barrier.
12566 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
12568         [BZ #13629]
12569         * math/s_clog.c (__clog): Handle more values close to |z| = 1
12570         specially.
12571         * math/s_clog10.c (__clog10): Likewise.
12572         * math/s_clog10f.c (__clog10f): Likewise.
12573         * math/s_clog10l.c (__clog10l): Likewise.
12574         * math/s_clogf.c (__clogf): Likewise.
12575         * math/s_clogl.c (__clogl): Likewise.
12576         * math/Makefile (libm-calls): Add x2y2m1.
12577         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
12578         (__x2y2m1): Likewise.
12579         (__x2y2m1l): Likewise.
12580         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
12581         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
12582         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
12583         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
12584         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
12585         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
12586         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
12587         * sysdeps/i386/fpu/libm-test-ulps: Update.
12588         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12590         [BZ #14621]
12591         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
12592         int as type of variable DEPTH.
12593         (glob): Use size_t instead of int as type of variables NEWCOUNT
12594         and OLD_PATHC.
12596 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
12598         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
12599         Add s_sincosf-sse2.
12600         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
12601         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
12602         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
12603         macros for using routine as __sincosf_ia32.
12604         Use macro for function declaration and weak_alias.
12605         * sysdeps/i386/fpu/libm-test-ulps: Update.
12607         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
12608         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12610         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
12611         subnormal argument.
12612         * math/s_cexpf.c (__cexpf): Likewise.
12613         * math/s_csinf.c (__csinf): Likewise.
12614         * math/s_csinhf.c (__csinhf): Likewise.
12615         * math/s_ctanf.c (__ctanf): Likewise.
12616         * math/s_ctanhf.c (__ctanhf): Likewise.
12617         * math/s_ccosh.c (__ccoshf): Likewise.
12618         * math/s_cexp.c (__cexpl): Likewise.
12619         * math/s_csin.c (__csin): Likewise.
12620         * math/s_csinh.c (__csinh): Likewise.
12621         * math/s_ctan.c (__ctan): Likewise.
12622         * math/s_ctanh.c (ctanh): Likewise.
12623         * math/s_ccoshl.c (__ccoshl): Likewise.
12624         * math/s_cexpl.c (__cexpl): Likewise.
12625         * math/s_csinl.c (__csinl): Likewise.
12626         * math/s_csinhl.c (__csinhl): Likewise.
12627         * math/s_ctanl.c (__ctanl): Likewise.
12628         * math/s_ctanhl.c (__ctanhl): Likewise.
12630 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
12632         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
12633         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
12634         (_IO_off_t): Define to __off_t, not _G_off_t.
12635         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
12636         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
12637         (_IO_wint_t): Define to wint_t, not _G_wint_t.
12638         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
12639         type of __dummy and __dummy2 fields.
12640         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
12641         (_G_ssize_t): Likewise.
12642         (_G_off_t): Likewise.
12643         (_G_pid_t): Likewise.
12644         (_G_uid_t): Likewise.
12645         (_G_wchar_t): Likewise.
12646         (_G_wint_t): Likewise.
12647         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
12648         (_G_ssize_t): Likewise.
12649         (_G_off_t): Likewise.
12650         (_G_pid_t): Likewise.
12651         (_G_uid_t): Likewise.
12652         (_G_wchar_t): Likewise.
12653         (_G_wint_t): Likewise.
12654         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
12655         (_G_ssize_t): Likewise.
12656         (_G_off_t): Likewise.
12657         (_G_pid_t): Likewise.
12658         (_G_uid_t): Likewise.
12659         (_G_wchar_t): Likewise.
12660         (_G_wint_t): Likewise.
12662 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
12664         * malloc/arena.c: Include malloc-sysdep.h.
12665         (shrink_heap): Use check_may_shrink_heap to decide if madvise
12666         is sufficient to shrink the heap or an unmap is needed.
12667         * sysdeps/generic/malloc-sysdep.h: New file.  Define
12668         new function check_may_shrink_heap.
12669         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
12670         new function check_may_shrink_heap.
12672 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
12674         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
12675         comments.
12677 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
12679         * catgets/test-gencat.sh: Add "set -e".
12680         * elf/tst-pathopt.sh: Likewise.
12681         * grp/tst_fgetgrent.sh: Likewise.
12682         * iconvdata/run-iconv-test.sh: Likewise.
12683         * intl/tst-gettext.sh: Likewise.
12684         * intl/tst-gettext2.sh: Likewise.
12685         * intl/tst-gettext4.sh: Likewise.
12686         * intl/tst-gettext6.sh: Likewise.
12687         * intl/tst-translit.sh: Likewise.
12688         * io/ftwtest-sh: Likewise.
12689         * libio/test-freopen.sh: Likewise.
12690         * malloc/tst-mtrace.sh: Likewise.
12691         * posix/globtest.sh: Likewise.
12692         * posix/tst-getconf.sh: Likewise.
12693         * posix/wordexp-tst.sh: Likewise.
12694         * stdio-common/tst-printf.sh: Likewise.
12695         * stdio-common/tst-unbputc.sh: Likewise.
12696         * stdlib/tst-fmtmsg.sh: Likewise.
12697         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
12698         * catgets/Makefile: Do not specify -e option when running
12699         testsuite shell scripts.
12700         * elf/Makefile: Likewise.
12701         * grp/Makefile: Likewise.
12702         * iconvdata/Makefile: Likewise.
12703         * intl/Makefile: Likewise.
12704         * io/Makefile: Likewise.
12705         * libio/Makefile: Likewise.
12706         * malloc/Makefile: Likewise.
12707         * posix/Makefile: Likewise.
12708         * stdio-common/Makefile: Likewise.
12709         * stdlib/Makefile: Likewise.
12710         * sysdeps/x86_64/Makefile: Likewise.
12712         * io/ftwtest-sh: Add copyright header.
12713         * posix/globtest.sh: Likewise.
12714         * posix/tst-getconf.sh: Likewise.
12715         * posix/wordexp-tst.sh: Likewise.
12716         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
12718 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
12720         [BZ #13679]
12721         * Makeconfig (+link): Defined as $(+link-static) if
12722         $(build-shared) isn't yes.
12723         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
12724         isn't yes.
12725         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
12727         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
12729         [BZ #14562]
12730         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
12731         new chunk size with MALLOC_ALIGN_MASK.
12733 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
12735         [BZ #5044]
12736         * stdio-common/printf_fphex.c: Include <stdbool.h> and
12737         <rounding-mode.h>.
12738         (__printf_fphex): Determine rounding using get_rounding_mode and
12739         round_away.
12740         * stdio-common/tst-printf-round.c (struct hex_test): New
12741         structure.
12742         (hex_tests): New variable.
12743         (test_hex_in_one_mode): New function.
12744         (do_test): Also run tests for hex float output.
12746 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
12748         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
12749         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
12750         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
12751         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
12752         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
12753         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
12754         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
12755         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
12757 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
12759         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
12760         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
12761         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
12762         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
12764 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
12766         [BZ #14579]
12767         * elf/rtld.c (dl_main): Limit the check for self loading to normal
12768         mode only.
12769         * elf/tst-rtld-load-self.sh: New test.
12770         * elf/Makefile: Run it.
12772 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
12774         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
12775         (tst-writev-ENV): Remove.
12776         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
12778 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
12780         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
12782 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
12784         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
12785         unconditional.
12786         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
12787         Likewise.
12788         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
12789         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
12790         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
12791         Likewise.
12793 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
12795         [BZ #14587]
12796         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
12797         * config.make.in (have-cpp-asm-debuginfo): Removed.
12798         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
12799         * configure: Regenerated.
12801 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
12803         [BZ #5044]
12804         * stdio-common/printf_fp.c: Include <stdbool.h> and
12805         <rounding-mode.h>.
12806         (___printf_fp): Determine rounding using get_rounding_mode and
12807         round_away.
12808         * stdio-common/tst-printf-round.c: New file.
12809         * stdio-common/Makefile (tests): Add tst-printf-round.
12810         (link-libm): New variable.
12811         ($(objpfx)tst-printf-round): Depend in $(link-libm).
12813 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
12815         [BZ #14576]
12816         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
12817         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
12818         Likewise.
12819         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
12820         Likewise.
12822 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
12824         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
12825         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
12826         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
12827         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
12829 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
12831         [BZ #14518]
12832         * include/rounding-mode.h: New file.
12833         * sysdeps/generic/get-rounding-mode.h: Likewise.
12834         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
12835         * stdlib/strtod_l.c: Include <rounding-mode.h>.
12836         (MAX_VALUE): New macro.
12837         (MIN_VALUE): Likewise.
12838         (overflow_value): New function.
12839         (underflow_value): Likewise.
12840         (round_and_return): Use overflow_value and underflow_value to
12841         determine return values in overflow and underflow cases.  Use
12842         round_away to determine rounding depending on rounding mode.
12843         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
12844         determine return values in overflow and underflow cases.
12845         * stdlib/tst-strtod-round.c: Include <fenv.h>.
12846         (struct test_results): New structure.
12847         (struct test): Use struct test_results to store expected results
12848         for all rounding modes.
12849         (TEST): Include expected results for all rounding modes.
12850         (test_in_one_mode): New function.
12851         (do_test): Use test_in_one_mode to compute and check results.
12852         Check results for all rounding modes.
12853         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
12854         $(link-libm).
12856 2012-12-09  Allan McRae  <allan@archlinux.org>
12858         * sysdeps/i386/fpu/libm-test-ulps: Update
12860 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
12862         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
12863         (_G_int32_t): Likewise.
12864         (_G_uint16_t): Likewise.
12865         (_G_uint32_t): Likewise.
12866         (_G_HAVE_BOOL): Likewise.
12867         (_G_HAVE_ATEXIT): Likewise.
12868         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
12869         (_G_HAVE_IO_FILE_OPEN): Likewise.
12870         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
12871         (_G_int32_t): Likewise.
12872         (_G_uint16_t): Likewise.
12873         (_G_uint32_t): Likewise.
12874         (_G_HAVE_BOOL): Likewise.
12875         (_G_HAVE_ATEXIT): Likewise.
12876         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
12877         (_G_HAVE_IO_FILE_OPEN): Likewise.
12878         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
12879         (_G_int32_t): Likewise.
12880         (_G_uint16_t): Likewise.
12881         (_G_uint32_t): Likewise.
12882         (_G_HAVE_BOOL): Likewise.
12883         (_G_HAVE_ATEXIT): Likewise.
12884         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
12885         (_G_HAVE_IO_FILE_OPEN): Likewise.
12887 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
12889         * csu/libc-tls.c: Update copyright years.
12891 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
12893         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
12894         [!_G_USING_THUNKS]: Remove conditional code.
12895         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
12896         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
12898         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
12899         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
12900         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
12901         (_G_VTABLE_LABEL_PREFIX): Likewise.
12902         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
12903         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
12904         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
12905         (_G_VTABLE_LABEL_PREFIX): Likewise.
12906         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
12907         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
12908         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
12909         (_G_VTABLE_LABEL_PREFIX): Likewise.
12910         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
12912 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
12914         * libio/Makefile: Include ../Makeconfig before tests.
12915         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
12916         only if $(build-shared) is yes.
12918         * iconv/gconv_db.c: Update copyright years.
12920 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
12922         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
12923         unwind info if defined PIC. Fix special cases description.
12924         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
12926         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
12927         DP_HI_MASK entry.
12928         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
12930 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
12932         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
12934         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
12935         is NULL.
12937         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
12938         (LDLIBS-tst-chk4): This.
12939         (LDFLAGS-tst-chk5): Renamed to ...
12940         (LDLIBS-tst-chk5): This.
12941         (LDFLAGS-tst-chk6): Renamed to ...
12942         (LDLIBS-tst-chk6): This.
12943         (LDFLAGS-tst-lfschk4): Renamed to ...
12944         (LDLIBS-tst-lfschk4): This.
12945         (LDFLAGS-tst-lfschk5): Renamed to ...
12946         (LDLIBS-tst-lfschk5): This.
12947         (LDFLAGS-tst-lfschk6): Renamed to ...
12948         (LDLIBS-tst-lfschk6): This.
12950         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
12951         on $(common-objpfx)soversions.mk.
12953 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
12955         [BZ #10014]
12956         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
12957         example host name.
12959 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
12961         * malloc/arena.c (arena_get_retry): New function that gets
12962         another arena for the caller to try its request on.
12963         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
12964         current arena cannot fulfill the request.
12965         (__libc_memalign): Likewise.
12966         (__libc_memalign): Likewise.
12967         (__libc_pvalloc): Likewise.
12968         (__libc_calloc): Likewise.
12970 2012-09-05  John Tobey  <john.tobey@gmail.com>
12972         [BZ #13542]
12973         * manual/arith.texi (Operations on Complex): Fix description
12974         of carg branch cut.
12976 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
12978         [BZ #10014]
12979         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
12980         host name.
12982         [BZ #10038]
12983         * manual/memory.texi (Memory): Make order of menu items match
12984         order of sections.
12986 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
12988         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
12989         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
12990         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
12992 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
12994         * csu/libc-tls.c (static_dtv): Renamed to ...
12995         (_dl_static_dtv): This.  Make it global.
12996         (_dl_initial_dtv): Removed.
12997         (__libc_setup_tls): Updated.
12998         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
12999         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
13000         DL_INITIAL_DTV.
13002 2012-09-06  Petr Machata  <pmachata@redhat.com>
13004         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
13005         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
13006         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
13007         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
13009 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
13011         [BZ #14545]
13012         * csu/libc-tls.c (_dl_initial_dtv): New variable.
13013         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
13014         freeing dtv[-1].
13016 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
13018         [BZ #14544]
13019         * Makeconfig (link-static-before-libc): Replace $(+prector)
13020         with $(+prectorT).
13021         (link-static-after-libc): Replace $(+postctor) with
13022         $(+postctorT).
13023         (link-bounded): Replace $(+prector)/$(+postctor) with
13024         $(+prectorT)/$(+postctorT).
13025         (+prectorT): New macro.
13026         (+postctorT): Likewise.
13028 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
13030         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
13031         (round_str): Handle values above the maximum for IBM long double
13032         as inexact.
13033         * stdlib/tst-strtod-round.c (tests): Regenerated.
13035 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
13037         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
13038         assembler flag.
13039         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
13040         zarch_nohighgprs around the zarch optimized routines.
13041         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
13042         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
13043         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
13044         for zarch.
13046 2012-09-05  David S. Miller  <davem@davemloft.net>
13048         * sysdeps/sparc/fpu/libm-test-ulps: Update.
13050         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
13051         HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
13052         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
13053         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
13054         entries.
13056 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
13058         * malloc/arena.c: Fold copyright years.
13059         * malloc/mcheck.c, malloc/memusage.c: Likewise.
13061 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
13063         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
13065 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
13067         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
13069 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
13071         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
13072         change internal state upon failure.
13074 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
13076         * malloc/mcheck.c (mcheck_check_all): Fix typo.
13077         * malloc/memusage.c (mmap): Likewise.
13078         (mmap64, mremap): Likewise.  Adjust name in comment.
13080 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
13082         * libio/fileops.c: Fix typos in comments.
13083         * libio/oldfileops.c: Likewise.
13084         * libio/wfileops.c: Likewise.
13086 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
13088         [BZ #1349]
13089         * malloc/Makefile (tests): Add tst-malloc-usable test case.
13090         (tst-malloc-usable-ENV): Set environment for test case.
13091         * malloc/hooks.c (malloc_check_get_size): New function to get
13092         requested size.
13093         * malloc/malloc.c (musable): Use malloc_check_get_size.
13094         * malloc/tst-malloc-usable.c: New test case.
13096 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
13098         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
13100 2012-09-05  Allan McRae  <allan@archlinux.org>
13102         [BZ #13966]
13103         * configure.in (CXX_SYSINCLUDES): Use compiler output to
13104         determine header location.
13105         * configure: Regenerated.
13107 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
13109         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
13110         float format.
13111         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
13112         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
13113         format.
13114         (test): Regenerate.
13116 2012-09-04  David S. Miller  <davem@davemloft.net>
13118         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
13119         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
13120         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
13122 2012-09-04  Florian Weimer  <fweimer@redhat.com>
13124         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
13125         failures.
13127         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
13129 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
13131         [BZ #9914]
13132         * libio/iogetdelim.c: Include <limits.h>.
13133         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
13134         + len + 1 would overflow.
13136 2012-09-03  Andreas Jaeger  <aj@suse.de>
13138         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13139         * sysdeps/i386/fpu/libm-test-ulps: Update.
13141 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
13143         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
13144         Add s_sinf-sse2, s_conf-sse2.
13146         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
13147         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
13148         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
13149         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
13151         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
13152         for using routine as __sinf_ia32.
13153         Use macro for function declaration and weak_alias.
13154         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
13155         for using routine as __cosf_ia32.
13156         Use macro for function declaration and weak_alias.
13158         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
13159         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
13161         * sysdeps/x86_64/fpu/s_sinf.S: New file.
13162         * sysdeps/x86_64/fpu/s_cosf.S: New file.
13163         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13165         * math/libm-test.inc (cos_test): Add more test cases.
13166         (sin_test): Likewise.
13167         (sincos_test): Likewise.
13169 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
13171         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
13172         (IFUNC_RESOLVE): Make pointers to the specialized implementations
13173         hidden.
13174         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
13176 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
13178         [BZ #14538]
13179         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
13180         first element of the GOT.
13181         (elf_machine_load_address): Return the difference between
13182         the runtime address of _DYNAMIC and elf_machine_dynamic ().
13184 2012-09-01  Allan McRae  <allan@archlinux.org>
13186         [BZ #13412]
13187         * configure.in (AWK): Require gawk version 3.0 or later.
13188         * configure: Regenerated.
13190 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
13192         * sysdeps/unix/sysv/linux/kernel-features.h
13193         (__ASSUME_POSIX_CPU_TIMERS): Remove.
13194         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
13195         [__NR_clock_getres]: Make code unconditional.
13196         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
13197         (clock_getcpuclockid): Remove code left unreachable by removal of
13198         conditionals.
13199         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
13200         code unconditional.
13201         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
13202         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
13203         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
13204         Make code unconditional.
13205         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
13206         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
13207         * sysdeps/unix/sysv/linux/clock_settime.c
13208         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
13209         conditional code.
13210         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
13211         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
13213 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
13215         [BZ #14476]
13216         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
13217         scripts/test-installation.pl.
13219         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
13220         and $ld_so_version if it is set.
13222 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
13224         [BZ #14516]
13225         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
13226         failure if reading from procfs failed.
13227         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
13229 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
13231         * sysdeps/unix/sysv/linux/kernel-features.h
13232         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
13233         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
13234         Remove conditional code.
13235         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13236         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
13237         Remove conditional code.
13238         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13239         * sysdeps/unix/sysv/linux/i386/fxstat.c
13240         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
13241         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13242         * sysdeps/unix/sysv/linux/i386/fxstatat.c
13243         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
13244         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13245         * sysdeps/unix/sysv/linux/i386/lxstat.c
13246         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
13247         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13248         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
13249         Remove conditional code.
13250         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13251         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
13252         Remove conditional code.
13253         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13254         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
13255         <kernel-features.h>.
13256         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
13257         Remove.
13258         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
13259         Remove conditional code.
13260         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13261         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
13262         Remove conditional.
13264 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
13266         [BZ #5400]
13267         * NEWS: Add fixed bug number.
13269 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
13271         [BZ #14519]
13272         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
13273         underflowing exponent in case of negative sign.
13274         * stdlib/tst-strtod-round-data: Add more tests.
13275         * stdlib/tst-strtod-round.c (tests): Regenerated.
13277         [BZ #3479]
13278         * stdlib/strtod_l.c (NDIG): Remove.
13279         (HEXNDIG): Likewise.
13280         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
13281         smallest representable value.
13282         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
13283         lie within an exact representation of 1/2 ulp of the result.
13284         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
13285         unconditionally.
13286         (TENS_P9_IDX): Define unconditionally.
13287         (TENS_P9_SIZE): Likewise.
13288         (TENS_P10_IDX): Likewise.
13289         (TENS_P10_SIZE): Likewise.
13290         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
13291         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
13292         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
13293         entries for 10^2^13 and 10^2^14.
13294         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
13295         (TENS_P13_IDX): Define.
13296         (TENS_P13_SIZE): Likewise.
13297         (TENS_P14_IDX): Likewise.
13298         (TENS_P14_SIZE): Likewise.
13299         (_fpioconst_pow10): Change array size to
13300         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
13301         unconditional.
13302         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
13303         1024]: Add entries for 10^2^13 and 10^2^14.
13304         [LAST_POW10 > _LAST_POW10]: Remove #error.
13305         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
13306         (_fpioconst_pow10): Change array size to
13307         FPIOCONST_POW10_ARRAY_SIZE.
13308         * stdlib/gen-fpioconst.c: New file.
13309         * stdlib/gen-tst-strtod-round.c: Likewise.
13310         * stdlib/tst-strtod-round-data: Likewise.
13311         * stdlib/tst-strtod-round.c: Likewise.
13312         * stdlib/Makefile (tests): Add tst-strtod-round.
13314         [BZ #14459]
13315         * stdlib/strtod_l.c: Include <stdint.h>.
13316         (NDEBUG): Do not define.
13317         (round_and_return): Change EXPONENT parameter to type intmax_t.
13318         Rearrange calculations to avoid internal overflow possibilities.
13319         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
13320         Rearrange calculations to avoid internal overflow possibilities.
13321         Assert that number fits inside MPNSIZE limbs.
13322         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
13323         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
13324         calculations and add assertions to avoid internal overflow
13325         possibilities.  Add casts to avoid signed/unsigned operations.
13326         * stdlib/tst-strtod-overflow.c: New file.
13327         * stdlib/Makefile (tests): Add tst-strtod-overflow.
13329 2012-08-25  Marek Polacek  <polacek@redhat.com>
13331         * time/time.h: Fix some typos in comments.
13333 2012-08-23  Roland McGrath  <roland@hack.frob.com>
13335         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
13336         * posix/tst-rfc3484-2.c: Likewise.
13337         * posix/tst-rfc3484-3.c: Likewise.
13339 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
13341         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
13342         (EF_ARM_ABI_FLOAT_HARD): Likewise.
13344 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
13346         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
13347         #include of fxstatat64.c.
13349 2012-08-22  Roland McGrath  <roland@hack.frob.com>
13351         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
13352         * shadow/getspent_r.c: Likewise.
13353         * shadow/getspnam.c: Likewise.
13354         * shadow/getspnam_r.c: Likewise.
13355         * gshadow/getsgent.c: Likewise.
13356         * gshadow/getsgent_r.c: Likewise.
13357         * gshadow/getsgnam.c: Likewise.
13358         * gshadow/getsgnam_r.c: Likewise.
13359         * inet/getnetbyad.c: Likewise.
13360         * inet/getnetbyad_r.c: Likewise.
13361         * inet/getnetbynm.c: Likewise.
13362         * inet/getnetbynm_r.c: Likewise.
13363         * inet/getnetent.c: Likewise.
13364         * inet/getnetent_r.c: Likewise.
13365         * inet/getproto.c: Likewise.
13366         * inet/getproto_r.c: Likewise.
13367         * inet/getprtent.c: Likewise.
13368         * inet/getprtent_r.c: Likewise.
13369         * inet/getprtname.c: Likewise.
13370         * inet/getprtname_r.c: Likewise.
13371         * inet/getrpcbyname.c: Likewise.
13372         * inet/getrpcbyname_r.c: Likewise.
13373         * inet/getrpcbynumber.c: Likewise.
13374         * inet/getrpcbynumber_r.c: Likewise.
13375         * inet/getrpcent.c: Likewise.
13376         * inet/getrpcent_r.c: Likewise.
13377         * inet/getaliasent.c: Likewise.
13378         * inet/getaliasent_r.c: Likewise.
13379         * inet/getaliasname.c: Likewise.
13380         * inet/getaliasname_r.c: Likewise.
13381         * nscd/getgrgid_r.c: Likewise.
13382         * nscd/getgrnam_r.c: Likewise.
13383         * nscd/gethstbyad_r.c: Likewise.
13384         * nscd/gethstbynm3_r.c: Likewise.
13385         * nscd/getpwnam_r.c: Likewise.
13386         * nscd/getpwuid_r.c: Likewise.
13387         * nscd/getsrvbynm_r.c: Likewise.
13388         * nscd/getsrvbypt_r.c: Likewise.
13389         * nscd/gai.c: Likewise.
13391         * configure.in (build_nscd): New substituted variable, set
13392         by --disable-build-nscd and defaults to $use_nscd.
13393         * configure: Regenerated.
13394         * config.make.in (build-nscd): New substituted variable.
13395         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
13396         Change conditional to require [$(build-nscd) = yes] as well.
13397         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
13399         [BZ# 13696]
13400         * configure.in (use_nscd): New substituted variable, set by
13401         --disable-nscd.  If enabled, define USE_NSCD.
13402         * configure: Regenerated.
13403         * config.h.in: Add USE_NSCD.
13404         * config.make.in (use-nscd): New substituted variable.
13405         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
13406         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
13407         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
13408         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
13409         (CFLAGS-getgrnam_r.c): Likewise.
13410         (CFLAGS-initgroups.c): Likewise.
13411         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
13412         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
13413         Variables removed.
13414         * inet/getnetgrent_r.c
13415         (nscd_setnetgrent): New function, broken out of ...
13416         (setnetgrent): ... here.  Call it.
13417         (innetgr): Conditionalize nscd bits on [USE_NSCD].
13418         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
13419         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
13420         * nscd/Makefile (routines, aux): Move definitions after include of
13421         Makeconfig.  Conditionalize on [$(use-nscd) != no].
13422         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
13423         Conditionalize on [USE_NSCD].
13424         (is_nscd, nscd_init_cb): Likewise.
13425         (nss_load_library): Conditionalize init callback on [USE_NSCD].
13426         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
13427         * nss/nss_db/db-init.c: Likewise.
13428         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
13429         [USE_NSCD].
13430         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
13431         (make_request): Use it.
13432         (cache_valid_p): New function.
13433         (__check_pf): Use it.
13434         * NEWS: Add item for --disable-nscd.
13436 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
13438         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
13439         to support sed >= 4.2.1-20-ga9bf076.
13440         * configure: Regenerated.
13442 2012-08-22  Roland McGrath  <roland@hack.frob.com>
13444         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
13445         Conditionalize whole body on [IREL].
13447 2012-08-22  Jeff Law <law@redhat.com>
13449         [BZ #14505]
13450         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
13451         if the family is PF_UNSPEC.
13453 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
13455         * Makerules (lib-version): Rename from V.
13456         (install-lib-nosubdir): Change V to lib-version.
13458 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
13460         [BZ #14252]
13461         * powerpc32/power6/wcschr.c: New file.
13462         * powerpc32/power6/wcscpy.c: New file.
13463         * powerpc32/power6/wcsrchr.c: New file.
13464         * powerpc64/power6/wcschr.c: New file.
13465         * powerpc64/power6/wcscpy.c: New file.
13466         * powerpc64/power6/wcsrchr.c: New file.
13468 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
13470         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
13471         (two_way_short_needle): Use it.
13472         * string/strstr.c (AVAILABLE1_USES_J): Define.
13473         * string/strcasestr.c: Likewise.
13475         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
13476         array references.
13477         * string/strcasestr.c (TOLOWER): Make side-effect safe.
13479         [BZ #11607]
13480         * NEWS: Add an entry.
13481         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
13482         define their defaults.
13483         (two_way_short_needle): Detect end-of-string on-the-fly.
13484         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
13485         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
13486         * string/bug-strcasestr1.c: New test.
13487         * string/Makefile: Run it.
13489 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
13491         [BZ #11607]
13492         * string/str-two-way.h (two_way_short_needle): Optimize matching of
13493         the first character.
13495 2012-08-21  Roland McGrath  <roland@hack.frob.com>
13497         * csu/elf-init.c (__libc_csu_irel): Function removed.
13498         * csu/libc-start.c (apply_irel): New function.
13499         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
13501 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
13503         * sysdeps/unix/sysv/linux/kernel-features.h
13504         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
13505         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
13506         <kernel-features.h>.
13507         [__NR_fadvise64_64]: Make code unconditional.
13508         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
13509         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
13510         !__NR_fadvise64_64)]: Likewise.
13511         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
13512         !__NR_fadvise64_64))]: Likewise.
13513         [__NR_fadvise64]: Make code unconditional.
13514         [!__NR_fadvise64]: Remove conditional code.
13515         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
13516         <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/powerpc/powerpc32/posix_fadvise64.c: Do
13522         not 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.
13527         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
13528         include <kernel-features.h>.
13529         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
13530         unconditional.
13531         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
13532         conditional code.
13534 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
13536         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
13537         slight instruction rearrangements per scrollpipe analysis.
13538         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
13540 2012-08-20  Roland McGrath  <roland@hack.frob.com>
13542         * manual/syslog.texi (syslog; vsyslog, closelog):
13543         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
13544         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
13546         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
13547         DSOCAPS to match condition on defining it.
13549 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
13551         * sysdeps/unix/sysv/linux/kernel-features.h
13552         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
13553         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
13554         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
13555         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
13556         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
13557         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
13558         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
13559         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
13560         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
13561         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
13563         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
13564         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
13566         * sysdeps/unix/sysv/linux/kernel-features.h
13567         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
13568         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
13569         unconditional.
13570         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
13571         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
13572         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
13573         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
13574         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
13575         Make code unconditional.
13576         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
13577         (__mmap64) [!__NR_mmap2]: Likewise.
13578         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
13579         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
13580         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
13581         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
13582         [__NR_mmap2]: Make code unconditional.
13583         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
13584         (__mmap64) [!__NR_mmap2]: Likewise.
13586 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
13588         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
13590 2012-08-18  Andreas Jaeger  <aj@suse.de>
13592         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
13594 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
13596         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
13597         * include/unistd.h (__have_sock_cloexec): Likewise.
13598         (__have_pipe2): Likewise.
13599         (__have_dup3): Likewise.
13601 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
13603         [BZ #9685]
13604         * include/unistd.h (__have_pipe2): Change define into an extern int.
13605         (__have_dup3): Likewise.
13606         * socket/have_sock_cloexec.c: Include fcntl.h.
13607         (__have_pipe2): New variable.
13608         (__have_dup3): Likewise.
13610 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
13612         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
13614 2012-08-17  Marek Polacek  <polacek@redhat.com>
13616         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
13617         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
13619 2012-08-17  Roland McGrath  <roland@hack.frob.com>
13621         * configure.in: Add AC_SUBST for sysheaders.
13622         * configure: Regenerated.
13623         * config.make.in (sysheaders): New substituted variable.
13625         * sysdeps/unix/mkfifo.c: Moved ...
13626         * sysdeps/posix/mkfifo.c: ... here.
13627         * sysdeps/unix/mkfifoat.c: Moved ...
13628         * sysdeps/posix/mkfifoat.c: ... here.
13630         * sysdeps/unix/utime.c: Moved ...
13631         * sysdeps/posix/utime.c: ... here.
13633         * sysdeps/unix/time.c: Moved ...
13634         * sysdeps/posix/time.c: ... here.
13635         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
13636         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
13638         * sysdeps/unix/nice.c: Moved ...
13639         * sysdeps/posix/nice.c: ... here.
13641         * sysdeps/unix/alarm.c: Moved ...
13642         * sysdeps/posix/alarm.c: ... here.
13644         * intl/Makefile ($(codeset_mo)): Depend on the input file.
13646 2012-08-17  Jeff Law <law@redhat.com>
13648         * intl/Makefile (codeset_mo): New variable.
13649         ($(codeset_mo)): New target.
13650         (tst-codeset.out): Depend on that.  Remove explicit rule.
13651         (tst-gettext3.out, tst-gettext5.out): Likewise.
13652         (LOCPATH-ENV, tst-codeset-ENV): New variables.
13653         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
13654         * intl/tst-codeset.sh: Remove.
13655         * intl/tst-gettext3.sh: Likewise.
13656         * intl/tst-gettext5.sh: Likewise.
13658 2012-08-17  Roland McGrath  <roland@hack.frob.com>
13660         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
13661         * sysdeps/unix/syscalls.list: ... here.
13663         * sysdeps/posix/getaddrinfo.c
13664         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
13665         (gaiconf_init, gaiconf_reload): Use them.
13666         [!_STATBUF_ST_NSEC]
13667         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
13668         Define using time_t rather than struct timespec.
13670         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
13671         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
13672         Macros removed.
13673         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
13674         [!NO_THREADS].
13675         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
13676         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
13677         Likewise.
13679         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
13680         __libc_cleanup_push argument.
13682         * bits/param.h: New file.
13683         * misc/sys/param.h: New file.
13684         * include/sys/param.h: New file.
13685         * misc/Makefile (headers): Add bits/param.h.
13686         * sysdeps/generic/sys/param.h: File removed.
13687         * sysdeps/unix/sysv/linux/bits/param.h: New file.
13688         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
13689         * sysdeps/mach/hurd/bits/param.h: New file.
13690         * sysdeps/mach/hurd/sys/param.h: File removed.
13692         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
13693         last change.
13695         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
13696         [_IO_MTSAFE_IO].
13697         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
13698         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
13699         New macros.
13701         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
13702         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
13703         rather than -D_IO_MTSAFE_IO conditionally.
13704         * stdio-common/Makefile (CPPFLAGS): Likewise.
13705         * wcsmbs/Makefile (CPPFLAGS): Likewise.
13706         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
13707         Use $(libio-mtsafe).
13708         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
13709         of -D_IO_MTSAFE_IO.
13710         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
13711         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
13712         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
13713         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
13714         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
13715         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
13716         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
13717         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
13718         (CFLAGS-fread_u_chk.c): Likewise.
13719         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
13720         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
13721         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
13722         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
13723         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
13724         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
13725         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
13726         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
13727         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
13729         * libio/Makefile: Test [$(libc-reentrant) = yes]
13730         instead of [$(filter %REENTRANT, $(defines)) nonempty].
13732         * Makeconfig
13733         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
13734         * sysdeps/pthread/configure: File removed.
13735         * sysdeps/pthread/Makeconfig: New file.
13736         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
13737         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
13739 2012-08-16  Gary Benson  <gbenson@redhat.com>
13741         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
13742         unmapping the first object in a namespace.
13744 2012-08-16  Roland McGrath  <roland@hack.frob.com>
13746         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
13747         (__internal_setnetgrent): ... this.  Add internal_function to
13748         definition.  Add libc_hidden_def.
13749         (setnetgrent): Update caller.
13750         (internal_endnetgrent): Renamed to ...
13751         (__internal_endnetgrent): ... this.  Add internal_function to
13752         definition.  Add libc_hidden_def.
13753         (endnetgrent): Update caller.
13754         (internal_getnetgrent_r): Renamed to ...
13755         (__internal_getnetgrent_r): ... this.  Add internal_function to
13756         definition.  Add libc_hidden_def.
13757         (__getnetgrent_r): Update caller.
13758         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
13760 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
13762         * stdlib/longlong.h: Update from GCC.
13764 2012-08-16  Roland McGrath  <roland@hack.frob.com>
13766         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
13767         on _QL, which is set by umul_ppmm but never used.
13768         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
13769         variables, which are set by GMP macros but never used.
13770         * stdio-common/_itowa.c (_itowa): Likewise.
13771         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
13772         * stdlib/mod_1.c (mpn_mod_1): Likewise.
13774 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
13776         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
13777         struct La_sh_regs is not constant.
13778         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
13779         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
13780         and struct La_sparc64_regs are not constant.
13782 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
13784         * sysdeps/unix/sysv/linux/kernel-features.h
13785         (__ASSUME_POSIX_TIMERS): Remove.
13786         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
13787         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
13788         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
13789         Make code unconditional.
13790         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
13791         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
13792         Make code unconditional.
13793         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
13794         * sysdeps/unix/sysv/linux/clock_nanosleep.c
13795         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
13796         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
13797         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
13798         Make code unconditional.
13799         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
13800         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
13801         (__libc_missing_posix_timers): Remove.
13803 2012-08-15  Roland McGrath  <roland@hack.frob.com>
13805         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
13806         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
13808         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
13810         * elf/dl-sym.c: Include <stdlib.h>.
13812         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
13813         constants, which avoids warnings in 32-bit builds.
13815         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
13816         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
13818         * misc/lseek.c: File moved to ...
13819         * io/lseek.c: ... here.
13821         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
13823         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
13824         shifting LEN more than 31 bits at once.
13826 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
13828         [BZ #14195]
13829         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
13830         segmentation fault for a case of two empty input strings.
13831         * string/test-strncasecmp.c (check1): Renamed to...
13832         (bz12205): ...this.
13833         (bz14195): Add new testcase for two empty input strings and N > 0.
13834         (test_main): Call new testcase, adapt for renamed function.
13836 2012-08-15  Andreas Jaeger  <aj@suse.de>
13838         [BZ #14090]
13839         * crypt/md5test2.c: New test, based on test supplied by Serge
13840         Belyshev <belyshev@depni.sinp.msu.ru>.
13841         * crypt/Makefile (xtests): Add md5test-giant..
13842         * crypt/Makefile ($(objpfx)md5test-giant): Add.
13844 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
13846         [BZ #14090]
13847         * crypt/md5.c (md5_process_block): Don't assume the buffer
13848         length is less than 2**32.
13849         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
13850         length is less than 2**64.
13852 2012-08-15  Roland McGrath  <roland@hack.frob.com>
13854         * string/str-two-way.h: Include <sys/param.h>.
13855         (MAX): Macro removed.
13857         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
13858         Move #define and #undef of memmove to just before and after
13859         including <string.h>.
13861         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
13862         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
13863         and after including <string.h>.  Move declarations of
13864         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
13865         to before #include "string/memmove.c".
13867         * include/dirent.h: Declare __getdirentries.
13869         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
13870         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
13872 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
13874         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
13875         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
13876         * sysdeps/i386/configure: Regenerated.
13877         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
13878         STABS_CURRENT_FILE, and STABS_FUN.
13879         (END): Remove call to STABS_FUN_END.
13880         (STABS_CURRENT_FILE1): Delete.
13881         (STABS_CURRENT_FILE): Likewise.
13882         (STABS_FUN): Likewise.
13883         (STABS_FUN_END): Likewise.
13884         (STABS_FUN2): Likewise.
13885         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
13886         * sysdeps/x86_64/configure: Regenerated.
13888 2012-08-14  Roland McGrath  <roland@hack.frob.com>
13890         * elf/dl-open.c: Include <atomic.h>.
13891         * elf/dl-lookup.c: Likewise.
13893 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
13895         * sysdeps/unix/sysv/linux/kernel-features.h
13896         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
13897         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
13898         unconditionally.
13899         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
13900         unconditionally.
13901         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
13902         condition on __ASSUME_CLONE_THREAD_FLAGS.
13904 2012-08-14  Andreas Jaeger  <aj@suse.de>
13906         * sysdeps/i386/fpu/libm-test-ulps: Update.
13908 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
13910         * include/atomic.h (atomic_exchange_and_add): Split into ...
13911         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
13912         New atomic macros.
13914 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
13916         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13918 2012-08-13  Jeff Law <law@redhat.com>
13920         * manual/stdio.texi (snprintf): Clarify handling of the trailing
13921         null byte in the output string.
13923 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
13925         * sysdeps/unix/sysv/linux/kernel-features.h
13926         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
13927         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
13928         (__ASSUME_ARG_MAX_STACK_BASED): Define.
13929         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
13930         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
13931         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
13932         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
13934 2012-08-09  Jeff Law <law@redhat.com>
13936         [BZ #13939]
13937         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
13938         When avoid_arena is set, don't retry in the that arena.  Pick the
13939         next one, whatever it might be.
13940         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
13941         (arena_lock): Pass in new parameter to arena_get2.
13942         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
13943         arena_get2.
13944         (__libc_malloc): Unify retrying after main arena failure with
13945         __libc_memalign version.
13946         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
13948 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
13950         [BZ #14166]
13951         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
13952         to __redirect_strstr.
13953         (__strstr_sse42): Use typeof __redirect_strstr.
13954         (__strstr_ia32): Likewise.
13955         (__libc_strstr): New prototype.
13956         (strstr): Renamed to ...
13957         (__libc_strstr): This.
13958         (strstr): New strong alias of __libc_strstr.
13959         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
13960         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
13961         __redirect_time.
13962         Include <time.h>.
13963         (__libc_time): New prototype.
13964         (time_ifunc): Replace time with __libc_time.
13965         (time): New strong alias and hidden definition of __libc_time.
13966         (__GI_time): Remove strong alias.
13967         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
13968         Include <stddef.h>.
13969         (memmove): Redefined to __redirect_memmove.
13970         (__memmove_sse2): Use typeof __redirect_memmove.
13971         (__memmove_ssse3): Likewise.
13972         (__memmove_ssse3_back): Likewise.
13973         (__libc_memmove): New prototype.
13974         (memmove): Renamed to ...
13975         (__libc_memmove): This.
13976         (memmove): New strong alias of __libc_memmove.
13978 2012-08-08  Mark Salter  <msalter@redhat.com>
13980         * elf/elf.h
13981         (R_MN10300_TLS_GD): Define.
13982         (R_MN10300_TLS_LD): Likewise.
13983         (R_MN10300_TLS_LDO): Likewise.
13984         (R_MN10300_TLS_GOTIE): Likewise.
13985         (R_MN10300_TLS_IE): Likewise.
13986         (R_MN10300_TLS_LE): Likewise.
13987         (R_MN10300_TLS_DTPMOD): Likewise.
13988         (R_MN10300_TLS_DTPOFF): Likewise.
13989         (R_MN10300_TLS_TPOFF): Likewise.
13990         (R_MN10300_SYM_DIFF): Likewise.
13991         (R_MN10300_ALIGN): Likewise.
13992         (R_MN10300_NUM): Update.
13994 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
13996         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
13997         Remove.
13999 2012-08-08  Roland McGrath  <roland@hack.frob.com>
14001         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
14003         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
14004         sysdeps/unix -> sysdeps/posix move.
14005         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
14007 2012-08-07      Allan McRae     <allan@archlinux.org>
14009         [BZ #14303]
14010         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
14011         (SUNOS_CPP): Likewise.
14012         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
14013         not found.
14014         (open_input): Call CPP using execvp.
14016 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
14018         * sysdeps/unix/sysv/linux/kernel-features.h
14019         (__ASSUME_PROT_GROWSUPDOWN): Remove.
14020         (__ASSUME_NO_CLONE_DETACHED): Likewise.
14021         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
14022         (__ASSUME_WAITID_SYSCALL): Likewise.
14023         * sysdeps/unix/sysv/linux/dl-execstack.c
14024         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
14025         code unconditional.
14026         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
14027         conditional code.
14028         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
14029         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
14030         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
14031         code.
14032         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
14033         unconditional.
14034         [__ASSUME_WAITID_SYSCALL]: Likewise.
14035         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
14037 2012-08-07  Roland McGrath  <roland@hack.frob.com>
14039         * sysdeps/unix/closedir.c: Renamed to ...
14040         * sysdeps/posix/closedir.c: ... here.
14041         * sysdeps/unix/dirfd.c: Renamed to ...
14042         * sysdeps/posix/dirfd.c: ... here.
14043         * sysdeps/unix/dirstream.h: Renamed to ...
14044         * sysdeps/posix/dirstream.h: ... here.
14045         * sysdeps/unix/fdopendir.c: Renamed to ...
14046         * sysdeps/posix/fdopendir.c: ... here.
14047         * sysdeps/unix/opendir.c: Renamed to ...
14048         * sysdeps/posix/opendir.c: ... here.
14049         * sysdeps/unix/readdir.c: Renamed to ...
14050         * sysdeps/posix/readdir.c: ... here.
14051         * sysdeps/unix/readdir_r.c: Renamed to ...
14052         * sysdeps/posix/readdir_r.c: ... here.
14053         * sysdeps/unix/rewinddir.c: Renamed to ...
14054         * sysdeps/posix/rewinddir.c: ... here.
14055         * sysdeps/unix/seekdir.c: Renamed to ...
14056         * sysdeps/posix/seekdir.c: ... here.
14057         * sysdeps/unix/telldir.c: Renamed to ...
14058         * sysdeps/posix/telldir.c: ... here.
14059         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
14060         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
14061         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
14062         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
14064         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
14065         * bits/fcntl.h: ... here.
14067         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
14068         not 0.
14069         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
14070         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
14071         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
14072         (struct flock): Move l_start, l_len to the beginning.
14073         Use __pid_t for l_pid.
14074         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
14075         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
14076         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
14077         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
14078         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
14079         [__USE_LARGEFILE64] (struct flock64): New type.
14080         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
14082         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
14083         * bits/dirent.h: ... here.
14085         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
14086         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
14088 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
14090         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
14091         Change from 2.6.0 to 2.6.16.
14092         * sysdeps/unix/sysv/linux/configure: Regenerated.
14093         * sysdeps/unix/sysv/linux/kernel-features.h
14094         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
14095         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
14096         version.
14097         (__ASSUME_UTIMES): Likewise.
14098         (__ASSUME_CLONE_STOPPED): Remove.
14099         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
14100         architectures, not kernel version.
14101         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
14102         (__ASSUME_NO_CLONE_DETACHED): Likewise.
14103         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
14104         (__ASSUME_WAITID_SYSCALL): Likewise.
14105         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
14106         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
14107         * README: State 2.6.16 as minimum Linux kernel version.  Do not
14108         refer to older versions.
14110 2012-08-06  Roland McGrath  <roland@hack.frob.com>
14112         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
14113         Define alphasort64 as an alias.
14114         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
14115         Define versionsort64 as an alias.
14116         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
14117         Define scandir64 as an alias.
14118         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
14119         Define scandirat64 as an alias.
14120         * dirent/alphasort64.c (alphasort64):
14121         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
14122         * dirent/versionsort64.c: Likewise.
14123         * dirent/scandir64.c: Likewise.
14124         * dirent/scandirat64.c: Likewise.
14125         * sysdeps/wordsize-64/alphasort.c: File removed.
14126         * sysdeps/wordsize-64/alphasort64.c: File removed.
14127         * sysdeps/wordsize-64/scandir.c: File removed.
14128         * sysdeps/wordsize-64/scandir64.c: File removed.
14129         * sysdeps/wordsize-64/scandirat.c: File removed.
14130         * sysdeps/wordsize-64/scandirat64.c: File removed.
14131         * sysdeps/wordsize-64/versionsort.c: File removed.
14132         * sysdeps/wordsize-64/versionsort64.c: File removed.
14133         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
14134         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
14135         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
14136         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
14137         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
14138         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
14139         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
14140         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
14142         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
14143         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
14144         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
14145         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
14146         [defined __arch64__ || defined __sparcv9]
14147         (__INO_T_MATCHES_INO64_T): New macro.
14148         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
14149         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
14150         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
14151         * sysdeps/unix/sysv/linux/bits/dirent.h
14152         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
14153         (_DIRENT_MATCHES_DIRENT64): New macro.
14155         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
14156         Define lockf64 as an alias.
14157         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
14158         Define fseeko64 as an alias.
14159         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
14160         Define ftello64 as an alias.
14161         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
14162         Define _IO_fgetpos64 and fgetpos64 as aliases.
14163         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
14164         Define _IO_fsetpos64 and fsetpos64 as aliases.
14165         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
14166         Conditionalize body on this.
14167         * libio/fseeko64.c: Likewise.
14168         * libio/ftello64.c: Likewise.
14169         * libio/iofgetpos64.c: Likewise.
14170         * libio/iofsetpos64.c: Likewise.
14171         * sysdeps/wordsize-64/lockf.c: File removed.
14172         * sysdeps/wordsize-64/lockf64.c: File removed.
14173         * sysdeps/wordsize-64/fseeko.c: File removed.
14174         * sysdeps/wordsize-64/fseeko64.c: File removed.
14175         * sysdeps/wordsize-64/ftello.c: File removed.
14176         * sysdeps/wordsize-64/ftello64.c: File removed.
14177         * sysdeps/wordsize-64/iofgetpos.c: File removed.
14178         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
14179         * sysdeps/wordsize-64/iofsetpos.c: File removed.
14180         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
14181         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
14182         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
14183         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
14184         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
14185         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
14186         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
14187         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
14188         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
14189         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
14190         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
14192         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
14193         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
14194         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
14195         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
14196         [defined __arch64__ || defined __sparcv9]
14197         (__OFF_T_MATCHES_OFF64_T): New macro.
14198         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
14199         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
14200         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
14201         (__OFF_T_MATCHES_OFF64_T): New macro.
14203 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
14205         * stdlib/secure-getenv.c (__secure_getenv): Replace
14206         GLIBC_2_16 with GLIBC_2_17.
14208 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
14210         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
14211         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
14213 2012-08-03  David S. Miller  <davem@davemloft.net>
14215         * sysdeps/sparc/fpu/libm-test-ulps: Update.
14217 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
14219         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
14220         Remove.
14221         (__ASSUME_CORRECT_SI_PID): Likewise.
14222         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
14223         (__ASSUME_TMPFS_NAME): Likewise.
14224         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
14225         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
14226         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
14227         (HAVE_AUX_SECURE): Make definition unconditional.
14228         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
14229         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
14231 2012-08-03  Roland McGrath  <roland@hack.frob.com>
14233         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
14234         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
14235         * sysdeps/mach/hurd/eloop-threshold.h: New file.
14236         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
14237         __eloop_threshold instead of SYMLOOP_MAX.
14239         * sysdeps/generic/eloop-threshold.h: New file.
14240         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
14241         of MAXSYMLINKS.
14242         * elf/chroot_canon.c (chroot_canon): Likewise.
14244 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
14246         [BZ #13717]
14247         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
14248         Change to 2.6.0 everywhere.
14249         * sysdeps/unix/sysv/linux/configure: Regenerated.
14250         * sysdeps/unix/sysv/linux/kernel-features.h
14251         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
14252         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
14253         kernel versions.
14254         (__ASSUME_POSIX_TIMERS): Define unconditionally.
14255         (__ASSUME_FUTEX_REQUEUE): Remove.
14256         (__ASSUME_STATFS64): Define unconditionally.
14257         (__ASSUME_AT_SECURE): Likewise.
14258         (__ASSUME_CORRECT_SI_PID): Likewise.
14259         (__ASSUME_TGKILL): Define without depending on kernel version for
14260         i386.
14261         (__ASSUME_UTIMES): Likewise.
14262         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
14263         kernel version.
14264         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
14265         (__ASSUME_TMPFS_NAME): Likewise.
14266         * README: Update reference to Linux kernel versions.
14268 2012-08-02  Marek Polacek  <polacek@redhat.com>
14270         [BZ# 14150]
14271         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
14272         libc_cv_asm_type_prefix with %.
14273         * configure: Regenerated.
14274         * include/libc-symbols.h: Remove comment about
14275         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
14276         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
14277         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
14278         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
14279         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
14280         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
14281         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
14282         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
14283         * elf/tst-unique2mod1.c: Likewise.
14284         * elf/tst-unique1mod2.c: Likewise.
14285         * elf/tst-unique1mod1.c: Likewise.
14286         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
14287         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
14288         Replace ASM_TYPE_DIRECTIVE with .type.
14289         * sysdeps/s390/s390-64/sysdep.h: Likewise.
14290         * sysdeps/i386/sysdep.h: Likewise.
14291         * sysdeps/x86_64/sysdep.h: Likewise.
14292         * sysdeps/sh/sysdep.h: Likewise.
14293         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
14294         Do not define ASM_TYPE_DIRECTIVE.
14295         * sysdeps/powerpc/sysdep.h: Likewise.
14296         * sysdeps/powerpc/powerpc32/sysdep.h:
14297         Replace ASM_TYPE_DIRECTIVE with .type.
14298         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
14299         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
14300         * sysdeps/i386/fpu/e_powf.S: Likewise.
14301         * sysdeps/i386/fpu/e_expl.S: Likewise.
14302         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
14303         * sysdeps/i386/fpu/e_acosh.S: Likewise.
14304         * sysdeps/i386/fpu/e_pow.S: Likewise.
14305         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
14306         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
14307         * sysdeps/i386/fpu/s_expm1.S: Likewise.
14308         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
14309         * sysdeps/i386/fpu/e_log2.S: Likewise.
14310         * sysdeps/i386/fpu/e_log2l.S: Likewise.
14311         * sysdeps/i386/fpu/e_scalb.S: Likewise.
14312         * sysdeps/i386/fpu/e_powl.S: Likewise.
14313         * sysdeps/i386/fpu/e_log10f.S: Likewise.
14314         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
14315         * sysdeps/i386/fpu/e_logl.S: Likewise.
14316         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
14317         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
14318         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
14319         * sysdeps/i386/fpu/e_log2f.S: Likewise.
14320         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
14321         * sysdeps/i386/fpu/e_log.S: Likewise.
14322         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
14323         * sysdeps/i386/fpu/e_logf.S: Likewise.
14324         * sysdeps/i386/fpu/e_log10l.S: Likewise.
14325         * sysdeps/i386/fpu/e_atanh.S: Likewise.
14326         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
14327         * sysdeps/i386/fpu/e_log10.S: Likewise.
14328         * sysdeps/i386/fpu/s_frexp.S: Likewise.
14329         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
14330         * sysdeps/i386/fpu/s_asinh.S: Likewise.
14331         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
14332         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
14333         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
14334         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
14335         * sysdeps/i386/i686/strtok.S: Likewise.
14336         * sysdeps/i386/i386-mcount.S: Likewise.
14337         * sysdeps/i386/strtok.S: Likewise.
14338         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
14339         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
14340         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
14341         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
14342         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
14343         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
14344         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
14345         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
14346         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
14347         * sysdeps/x86_64/_mcount.S: Likewise.
14348         * sysdeps/x86_64/strtok.S: Likewise.
14349         * sysdeps/sh/_mcount.S: Likewise.
14351 2012-08-01  Roland McGrath  <roland@hack.frob.com>
14353         * libio/iofopen.c: Include <fcntl.h>.
14354         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
14355         (_IO_fopen64, fopen64): Define as aliases.
14356         * libio/iofopen64.c: Include <fcntl.h>.
14357         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
14358         Conditionalize body on this.
14359         * sysdeps/wordsize-64/iofopen.c: File removed.
14360         * sysdeps/wordsize-64/iofopen64.c: File removed.
14362 2012-08-01  Marek Polacek  <polacek@redhat.com>
14364         * libc/Makeconfig: Use elf in place of binfmt-subdir.
14365         Use dlfcn directly instead of a variable.
14366         (binfmt-subdir): Do not define.
14367         (dlfcn): Likewise.
14369 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
14371         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
14372         Remove all definitions.
14373         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
14374         <kernel-features.h>.
14375         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
14376         (miss_F_GETOWN_EX): Remove all definitions.
14377         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
14378         macro definition.
14379         [!__ASSUME_FCNTL64]: Remove conditional code.
14380         [__ASSUME_FCNTL64]: Make code unconditional.
14381         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
14382         <kernel-features.h>.
14383         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
14384         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
14385         (lockf64) [__NR_fcntl64]: Make code unconditional.
14386         (lockf64) [__ASSUME_FCNTL64]: Likewise.
14388         * sysdeps/unix/sysv/linux/kernel-features.h
14389         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
14390         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
14391         Make code unconditional.
14392         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
14393         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
14394         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
14395         [__NR_vfork]: Make code unconditional.
14396         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
14397         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
14398         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
14399         [__NR_vfork]: Make code unconditional.
14400         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
14401         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
14403 2012-08-01  Roland McGrath  <roland@hack.frob.com>
14405         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
14406         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
14408         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
14409         Define mkstemp64 as an alias.
14410         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
14411         Define mkstemps64 as an alias.
14412         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
14413         Define mkostemp64 as an alias.
14414         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
14415         Define mkostemps64 as an alias.
14416         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
14417         Conditionalize body on this.
14418         * misc/mkostemp64.c: Likewise.
14419         * misc/mkostemps64.c: Likewise.
14420         * misc/mkstemps64.c: Likewise.
14421         * sysdeps/wordsize-64/mkstemp64.c: File removed.
14422         * sysdeps/wordsize-64/mkostemp64.c: File removed.
14423         * sysdeps/wordsize-64/mkostemp.c: File removed.
14424         * sysdeps/wordsize-64/mkstemp.c: File removed.
14425         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
14426         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
14427         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
14428         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
14430         [BZ #14138]
14431         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
14432         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
14433         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
14434         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
14436         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
14437         compat_symbol macros from <shlib-compat.h> rather than the underlying
14438         default_symbol_version and symbol_version macros, so that DEFAULT
14439         lines in shlib-versions are respected.
14440         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
14442 2012-08-01  Florian Weimer  <fweimer@redhat.com>
14444         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
14445         Declare with warn_unused_result.
14446         (setgid, setregid, setegid, setresgid): Likewise.
14447         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
14448         Likewise.
14449         * WUR-REPORT: Remove set*id functions.
14451 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
14453         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
14455 2012-07-31  Roland McGrath  <roland@hack.frob.com>
14457         [BZ #10191]
14458         * include/sys/socket.h (__libc_accept, __libc_accept4):
14459         Add attribute_hidden.
14460         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
14462         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
14463         use of PTR_MANGLE.
14464         * inet/getnetgrent_r.c (setup): Likewise.
14466         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
14468 2012-07-31  David S. Miller  <davem@davemloft.net>
14470         * sysdeps/sparc/fpu/libm-test-ulps: Update.
14472 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
14474         [BZ #13629]
14475         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
14476         value between 1.0 and 2.0 and smaller part has absolute value less
14477         than 1.0.
14478         * math/s_clog10.c (__clog10): Likewise.
14479         * math/s_clog10f.c (__clog10f): Likewise.
14480         * math/s_clog10l.c (__clog10l): Likewise.
14481         * math/s_clogf.c (__clogf): Likewise.
14482         * math/s_clogl.c (__clogl): Likewise.
14483         * math/libm-test.inc (clog_test): Add more tests.
14484         (clog10_test): Likewise.
14485         * sysdeps/i386/fpu/libm-test-ulps: Update.
14486         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14488 2012-07-31  Florian Weimer  <fweimer@redhat.com>
14490         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
14491         Exit with zero in case no suitable GID is found, and write a
14492         message to standard error.
14494 2012-07-30  Roland McGrath  <roland@hack.frob.com>
14496         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
14497         rather than to 1.
14498         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
14499         (MAXPATHLEN): Removed.
14500         (NOGROUP, NODEV): New macros.
14501         (setbit, clrbit, isset, isclr): New macros.
14502         (howmany, roundup, powerof2): New macros.
14503         (DEV_BSIZE): New macro.
14505         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
14506         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
14508         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
14509         definition on [!__NO_LONG_DOUBLE_MATH].
14511         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
14512         PTR_MANGLE and PTR_DEMANGLE.
14514         * socket/accept4.c (accept4): Rename to __libc_accept4.
14515         Define accept4 as a weak alias.
14517         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
14518         on [_DIRENT_HAVE_D_TYPE].
14519         * io/ftw.c (ftw_dir): Likewise.
14521         * io/xmknod.c (__xmknod): Don't check PATH for being null.
14523         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
14525         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
14526         Use the BSD numbers rather than the arbitrary ones we had.
14527         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
14528         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
14529         (SIGXCPU, SIGXFSZ): New macros.
14530         (_NSIG): Now 32.
14532         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
14533         initializer on [_LIBC_REENTRANT].
14535         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
14536         definitions inside [_POSIX_MAPPED_FILES].
14538         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
14540         * dirent/opendir.c: Include <fcntl.h>.
14542         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
14543         (__libc_getspecific): Likewise.
14544         (__libc_key_create): Likewise.
14546         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
14547         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
14548         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
14549         (tmpfile64): Define as alias.
14550         * sysdeps/wordsize-64/tmpfile.c: File removed.
14551         * sysdeps/wordsize-64/tmpfile64.c: File removed.
14552         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
14553         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
14555         * stdio-common/vfscanf.c: Include <stdbool.h>.
14556         * nss/makedb.c: Likewise.
14557         * stdio-common/_i18n_number.h: Likewise.
14558         * argp/argp-help.c: Likewise.
14559         * posix/wordexp.c: Likewise.
14560         * sysdeps/posix/spawni.c: Likewise.
14561         * nss/nss_files/files-initgroups.c: Likewise.
14562         * stdio-common/reg-modifier.c: Include <stdlib.h>.
14563         * nss/nss_files/files-initgroups.c: Likewise.
14564         * nss/nss_db/db-netgrp.c: Likewise.
14565         * nss/nss_db/db-initgroups.c: Likewise.
14566         * io/fchmodat.c: Include <sys/stat.h>.
14568         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
14569         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
14571         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
14572         [HAVE_MMAP].
14574         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
14575         Add multiple inclusion protection.
14577 2012-07-27  David S. Miller  <davem@davemloft.net>
14579         * sysdeps/sparc/fpu/libm-test-ulps: Update.
14581 2012-07-27  Gary Benson  <gbenson@redhat.com>
14583         [BZ #14298]
14584         * elf/rtld.c: Include <stap-probe.h>.
14585         (dl_main): Added static probes "init_start" and "init_complete".
14586         * elf/dl-load.c: Include <stap-probe.h>.
14587         (lose): Take new parameter "nsid".
14588         Added static probe "map_failed".
14589         (_dl_map_object_from_fd): Pass namespace id to lose.
14590         Added static probe "map_start".
14591         (open_verify): Pass namespace id to lose.
14592         * elf/dl-open.c: Include <stap-probe.h>.
14593         (dl_open_worker) Added static probes "map_complete", "reloc_start"
14594         and "reloc_complete".
14595         * elf/dl-close.c: Include <stap-probe.h>.
14596         (_dl_close_worker): Added static probes "unmap_start" and
14597         "unmap_complete".
14598         * elf/rtld-debugger-interface.txt: New file documenting the above.
14600 2012-07-26  Roland McGrath  <roland@hack.frob.com>
14602         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
14603         rather than a string variable.
14604         * sunrpc/rpc_main.c (h_output): Likewise.
14605         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
14607 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
14609         * inet/check_native.c: New file.
14611 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
14613         [BZ #13629]
14614         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
14615         if larger part has absolute value 1.0.
14616         * math/s_clog10.c (__clog10): Likewise.
14617         * math/s_clog10f.c (__clog10f): Likewise.
14618         * math/s_clog10l.c (__clog10l): Likewise.
14619         * math/s_clogf.c (__clogf): Likewise.
14620         * math/s_clogl.c (__clogl): Likewise.
14621         * math/libm-test.inc (clog_test): Add more tests.
14622         (clog10_test): Likewise.
14623         * sysdeps/i386/fpu/libm-test-ulps: Update.
14624         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14626         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
14627         (pltexit): Likewise.
14628         (La_regs): Likewise.
14629         (La_retval): Likewise.
14630         (int_retval): Likewise.
14631         Update #error for removed macros to refer only to definitions in
14632         tst-audit.h.
14633         * elf/tst-auditmod3b.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-auditmod4b.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-auditmod5b.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-auditmod6b.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-auditmod6c.c (pltenter): Remove all definitions of
14658         macro.
14659         (pltexit): Likewise.
14660         (La_regs): Likewise.
14661         (La_retval): Likewise.
14662         (int_retval): Likewise.
14663         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
14664         macro.
14665         (pltexit): Likewise.
14666         (La_regs): Likewise.
14667         (La_retval): Likewise.
14668         (int_retval): Likewise.
14669         * sysdeps/generic/tst-audit.h: Update comment to refer only to
14670         macro definitions in tst-audit.h.
14671         * sysdeps/i386/tst-audit.h: New file.
14672         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
14673         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
14674         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
14675         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
14676         * sysdeps/sh/tst-audit.h: Likewise.
14677         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
14678         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
14679         * sysdeps/x86_64/tst-audit.h: Likewise.
14681 2012-07-26  Andreas Jaeger  <aj@suse.de>
14683         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
14684         ptrace.
14686         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
14687         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
14688         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
14689         PTRACE_O_MASK.
14690         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
14691         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
14692         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
14694         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
14695         value.
14697         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
14698         _sigsys.
14699         (si_call_addr, si_syscall, si_arch): Define new macro.
14700         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
14701         _sigsys.
14702         (si_call_addr, si_syscall, si_arch): Define new marcro.
14703         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
14704         _sigsys.
14705         (si_call_addr, si_syscall, si_arch): Define new macro.
14706         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
14707         _sigsys.
14708         (si_call_addr, si_syscall, si_arch): Define new macro.
14710 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
14712         [BZ #13717]
14713         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
14714         Change to 2.4.21 where previously 2.4.1.
14715         * sysdeps/unix/sysv/linux/configure: Regenerated.
14716         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
14717         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
14718         Linux kernel version.
14719         (__ASSUME_STD_AUXV): Remove.
14720         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
14721         kernel version.
14722         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
14723         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
14724         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
14725         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
14726         (__ASSUME_NETLINK_SUPPORT): Likewise.
14727         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
14728         (__no_netlink_support): Remove conditional definition.
14729         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
14730         Remove.
14731         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
14732         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
14733         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
14734         (if_nameindex_ioctl): Remove.
14735         (if_nameindex_netlink): Do not handle __no_netlink_support.
14736         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
14737         code.
14738         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
14739         Remove conditional code.
14740         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
14741         code.
14742         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
14743         unconditional.
14744         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
14745         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
14746         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
14747         Remove.
14748         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
14749         [!__ASSUME_STD_AUXV]: Remove conditional code.
14750         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
14751         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
14752         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
14753         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
14754         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
14755         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
14756         code.
14757         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
14758         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
14759         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
14760         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
14761         conditional code.
14762         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
14763         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
14764         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
14765         code.
14766         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
14767         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
14768         conditional code.
14769         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
14770         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
14771         code unconditional.
14772         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
14773         conditional code.
14774         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
14775         unconditional.
14776         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
14777         conditional code.
14778         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
14779         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
14780         unconditional.
14781         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
14782         conditional code.
14783         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
14784         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
14785         code unconditional.
14786         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
14787         conditional code.
14788         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
14789         unconditional.
14790         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
14791         conditional code.
14792         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
14793         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
14794         code unconditional.
14795         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
14796         conditional code.
14797         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
14798         unconditional.
14799         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
14800         conditional code.
14802 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
14804         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
14805         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
14806         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
14807         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
14808         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
14809         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
14810         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
14811         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
14812         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
14813         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
14814         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
14815         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
14816         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
14817         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
14818         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
14819         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
14820         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
14821         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
14822         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
14823         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
14824         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
14825         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
14826         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
14828 2012-07-25  Florian Weimer  <fweimer@redhat.com>
14830         * Versions.def: Add GLIBC_2.17.
14831         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
14832         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
14833         Introduce __libc_secure_getenv.
14834         * stdlib/Versions (2.17): Add secure_getenv
14835         (GLIBC_PRIVATE): Add __libc_secure_getenv.
14836         * stdlib/secure-getenv.c: Rename __secure_getenv to
14837         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
14838         symbol __secure_getenv for GLIBC_2.0.
14839         * stdlib/tst-secure-getenv.c: New.
14840         * stdlib/Makefile (tests): Add testcase.
14841         * manual/startup.texi (Environment Access): Document
14842         secure_getenv.
14843         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
14844         __libc_secure_getenv.
14845         * inet/ruserpass.c (ruserpass): Likewise.
14846         * malloc/mtrace.c (mtrace): Likewise.
14847         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
14848         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
14849         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
14850         * sysdeps/posix/tempname.c: Likewise.  Evaluate
14851         HAVE_SECURE_GETENV.
14852         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
14853         __secure_getenv to __libc_secure_getenv.
14854         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
14855         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
14856         Likewise.
14857         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
14858         Likewise.
14859         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
14860         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
14861         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
14862         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
14863         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
14864         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
14865         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
14867 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
14869         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
14870         (struct La_i86_retval): Likewise.
14871         (struct La_x86_64_regs): Likewise.
14872         (struct La_x86_64_retval): Likewise.
14873         (struct La_x32_regs): Likewise.
14874         (struct La_x32_retval): Likewise.
14875         (struct La_ppc32_regs): Likewise.
14876         (struct La_ppc32_retval): Likewise.
14877         (struct La_ppc64_regs): Likewise.
14878         (struct La_ppc64_retval): Likewise.
14879         (struct La_sh_regs): Likewise.
14880         (struct La_sh_retval): Likewise.
14881         (struct La_s390_32_regs): Likewise.
14882         (struct La_s390_32_retval): Likewise.
14883         (struct La_s390_64_regs): Likewise.
14884         (struct La_s390_64_retval): Likewise.
14885         (struct La_sparc32_regs): Likewise.
14886         (struct La_sparc32_retval): Likewise.
14887         (struct La_sparc64_regs): Likewise.
14888         (struct La_sparc64_retval): Likewise.
14889         (struct audit_ifaces): Remove architecture-specific pltenter and
14890         pltexit members.
14891         * sysdeps/i386/ldsodefs.h: New file.
14892         * sysdeps/powerpc/ldsodefs.h: Likewise.
14893         * sysdeps/s390/ldsodefs.h: Likewise.
14894         * sysdeps/sh/ldsodefs.h: Likewise.
14895         * sysdeps/sparc/ldsodefs.h: Likewise.
14896         * sysdeps/x86_64/ldsodefs.h: Likewise.
14898 2012-07-25  Marek Polacek  <polacek@redhat.com>
14900         [BZ #6808]
14901         * math/libm-test.inc (yn_test): Add another test.
14902         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
14903         to ERANGE when the result is +-Inf.
14904         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
14905         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
14906         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
14907         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
14909 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
14911         * conform/data/time.h-data (NULL): Use macro-constant.  Require
14912         equal to 0.
14913         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
14914         clock_t.
14915         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
14917 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
14919         * configure.in <sysdeps resolving>: Correct printing
14920         Implies_before.
14921         * configure: Regenerate.
14923 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
14925         * math/w_ilogb.c: Include <limits.h>.
14926         * math/w_ilogbl.c: Likewise.
14928 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
14930         * manual/lang.texi (__va_copy): Document primarily as ISO C99
14931         va_copy.  Document allowing for unavailable va_copy only as
14932         pre-C99 compatibility.
14933         * manual/string.texi (Copying and Concatenation): Use va_copy
14934         instead of __va_copy in concat example.
14936 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
14938         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
14939         (__sendto): Use create_address_port.  Initialize APORT and deallocate
14940         it if not null.
14942         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
14943         with O_NOLINK passed to __file_name_lookup.
14945         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
14946         with O_NOLINK passed to __file_name_lookup.
14948         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
14949         negative N or less than NGIDS.
14951         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
14952         type to string_t.  Set ERANGE as errno and return it if NAME is not big
14953         enough.  Use memcpy instead of strncpy.
14955 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
14957         * elf/Makefile (check-data): Remove.
14958         (localplt.data): New vpath directive.
14959         ($(objpfx)check-localplt.out): Use localplt.data from vpath
14960         instead of $(check-data).
14961         * scripts/data/localplt-generic.data: Move to ...
14962         * sysdeps/generic/localplt.data: ... here.
14963         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
14964         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
14965         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
14966         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
14967         ... here.
14968         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
14969         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
14970         ... here.
14971         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
14972         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
14973         ... here.
14974         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
14975         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
14976         ... here.
14977         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
14978         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
14979         ... here.
14980         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
14981         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
14982         ... here.
14984 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14986         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
14987         PPC32 and PPC64 files.
14988         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
14989         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
14991 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
14993         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
14994         __makecontext_ret to ...
14995         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
14996         ... here and call exit if uc_link is NULL.  New file.
14997         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
14998         __makecontext_ret.S.
14999         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
15000         __makecontext_ret to ...
15001         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
15002         ... here and call exit if uc_link is NULL.  New file.
15003         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
15004         __makecontext_ret.S.
15006 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
15008         * elf/elf.h (R_390_IRELATIVE): New definition.
15009         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
15010         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
15011         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
15012         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
15013         (elf_machine_lazy_rel): Likewise.
15014         * sysdeps/s390/dl-irel.h: New file.
15015         * sysdeps/s390/s390-64/memcpy.S: New asm code.
15016         * sysdeps/s390/s390-64/memset.S: New asm code.
15017         * sysdeps/s390/s390-64/memcmp.S: New asm code.
15018         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
15019         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
15020         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
15021         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
15022         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
15023         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
15024         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
15025         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
15026         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
15027         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
15028         * sysdeps/s390/s390-32/memcpy.S: New asm code.
15029         * sysdeps/s390/s390-32/memset.S: New asm code.
15030         * sysdeps/s390/s390-32/memcmp.S: New asm code.
15032 2012-07-17  Marek Polacek  <polacek@redhat.com>
15034         [BZ #14349]
15035         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
15036         * sysdeps/s390/s390-64/configure.in: Likewise.
15037         * sysdeps/sparc/configure.in: Likewise.
15038         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
15039         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
15040         * sysdeps/i386/configure.in: Likewise.
15041         * sysdeps/x86_64/configure.in: Likewise.
15042         * sysdeps/sh/configure.in: Likewise.
15043         * sysdeps/s390/s390-32/configure: Regenerated.
15044         * sysdeps/s390/s390-64/configure: Likewise.
15045         * sysdeps/x86_64/configure: Likewise.
15046         * sysdeps/sh/configure: Likewise.
15047         * sysdeps/powerpc/powerpc64/configure: Likewise.
15048         * sysdeps/powerpc/powerpc32/configure: Likewise.
15049         * sysdeps/sparc/configure: Likwise.
15050         * sysdeps/i386/configure: Likewise.
15052         * elf/dl-open.c: Comment fixes.
15054 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
15056         * Makefile [CXX] (check-data): Remove.
15057         [CXX] (c++-types.data): New vpath directive.
15058         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
15059         vpath.  Do not allow for C++ type data being missing.
15060         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
15061         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
15062         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
15063         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
15064         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
15065         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
15066         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
15067         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
15068         ... here.
15069         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
15070         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
15071         ... here.
15072         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
15073         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
15074         ... here.
15075         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
15076         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
15077         ... here.
15078         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
15079         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
15080         ... here.
15081         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
15082         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
15083         ... here.
15084         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
15085         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
15086         ... here.
15087         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
15088         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
15090         * elf/tls-macros.h (TLS_LE): Move architecture-specific
15091         definitions to architecture-specific files.
15092         (TLS_IE): Likewise.
15093         (TLS_LD): Likewise.
15094         (TLS_GD): Likewise.
15095         * sysdeps/i386/tls-macros.h: New file.
15096         * sysdeps/powerpc/tls-macros.h: Likewise.
15097         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
15098         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
15099         * sysdeps/sh/tls-macros.h: Likewise.
15100         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
15101         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
15102         * sysdeps/x86_64/tls-macros.h: Likewise.
15104 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
15106         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
15107         zero value for regular exit case.
15109         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
15110         (__start_context): Preserve zero value for regular exit case.
15112 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
15113             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
15115         * manual/setjmp.texi (setcontext): Clarify normal process
15116         termination when uc_link is the null pointer.
15117         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
15118         exit call.
15120 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
15122         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
15123         preprocessor.  Test for each exception mask separately.
15125 2012-07-16  Andreas Jaeger  <aj@suse.de>
15127         * po/ru.po: Update from translation team.
15129 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
15131         * conform/data/string.h-data (NULL): Use macro-constant.  Require
15132         equal to 0.
15133         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
15134         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
15135         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
15136         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
15137         [ISO || ISO99 || ISO11] (*_t): Do not allow.
15139 2012-07-13  Andreas Jaeger  <aj@suse.de>
15141         * po/fr.po: Update from translation team.
15143 2012-07-12  Marek Polacek  <polacek@redhat.com>
15145         [BZ #14173]
15146         * math/libm-test.inc (yn_test): Add test for BZ #14173.
15147         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
15148         loop condition.
15150 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
15152         [BZ #13717]
15153         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
15154         Change to 2.4.1 where previously 2.4.0.
15155         * sysdeps/unix/sysv/linux/configure: Regenerated.
15156         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
15157         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
15158         version.
15159         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
15160         (__ASSUME_AT_CLKTCK): Remove.
15161         (__ASSUME_AT_PAGESIZE): Likewise.
15162         (__ASSUME_AT_XID): Likewise.
15163         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
15164         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
15165         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
15166         unconditionally.
15167         (HAVE_AUX_PAGESIZE): Likewise.
15168         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
15169         [__ASSUME_AT_CLKTCK]: Make code unconditional.
15170         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
15172 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
15174         [BZ #14307]
15175         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
15176         the temporary buffer used to invoke __gethostbyname2_r,
15177         __gethostbyaddr_r and gethostbyname4_r to make room for struct
15178         host_data / struct gaih_addrtuple.
15179         * resolv/nss_dns/dns-host.c (global scope): Move definition of
15180         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
15181         header file nss/nsswitch.h.
15182         * nss/nsswitch.h (global scope): Add definition of implementation
15183         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
15184         resolv/nss_dns/dns-host.c).
15186 2012-07-11  Andreas Jaeger  <aj@suse.de>
15188         * po/fr.po: Update from translation team.
15190         * po/sv.po: Update from translation team
15191         * po/fr.po: Another update from translation team.
15193 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15195         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
15196         for subnormals or multiply small sinh result by itself.
15197         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
15198         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15200 2012-07-11  David S. Miller  <davem@davemloft.net>
15202         * sysdeps/sparc/fpu/libm-test-ulps: Update.
15204 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
15206         [BZ #14347]
15207         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
15208         (INTERNAL_MARK): Shift it here.
15210 2012-07-10  Marek Polacek  <polacek@redhat.com>
15212         [BZ #14151]
15213         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
15214         libc_cv_asm_global_directive with .globl.
15215         * configure: Regenerated.
15216         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
15217         with .globl.
15218         * sysdeps/i386/configure: Regenerated.
15219         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
15220         with .globl.
15221         * sysdeps/x86_64/configure: Regenerated.
15222         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
15223         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
15224         * elf/tst-unique2mod2.c: Likewise.
15225         * elf/tst-unique2mod1.c: Likewise.
15226         * elf/tst-unique1mod2.c: Likewise.
15227         * elf/tst-unique1mod1.c: Likewise.
15228         * sysdeps/s390/s390-32/sysdep.h: Likewise.
15229         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
15230         * sysdeps/s390/s390-64/sysdep.h: Likewise.
15231         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
15232         * sysdeps/mach/sysdep.h: Likewise.
15233         * sysdeps/i386/sysdep.h: Likewise.
15234         * sysdeps/i386/i386-mcount.S: Likewise.
15235         * sysdeps/x86_64/_mcount.S: Likewise.
15236         * sysdeps/x86_64/sysdep.h: Likewise.
15237         * sysdeps/sh/_mcount.S: Likewise.
15238         * sysdeps/sh/sysdep.h: Likewise.
15239         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
15240         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
15241         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
15242         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
15243         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
15244         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
15245         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
15246         * locale/localeinfo.h: Likewise.
15247         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
15248         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
15250 2012-07-09  Roland McGrath  <roland@hack.frob.com>
15252         [BZ #14336]
15253         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
15254         system".
15255         * manual/message.texi (The Uniforum approach): Likewise.
15256         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
15257         (glibc iconv Implementation): Likewise.
15259 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
15261         [BZ #14337]
15262         * math/s_clog.c (__clog): Avoid scaling a value down where that
15263         could result in underflow.
15264         * math/s_clog10.c (__clog10): Likewise.
15265         * math/s_clog10f.c (__clog10f): Likewise.
15266         * math/s_clog10l.c (__clog10l): Likewise.
15267         * math/s_clogf.c (__clogf): Likewise.
15268         * math/s_clogl.c (__clogl): Likewise.
15269         * math/libm-test.inc (clog_test): Add more tests.
15270         (clog10_test): Likewise.
15271         * sysdeps/i386/fpu/libm-test-ulps: Update.
15272         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15274 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
15276         [BZ #14283]
15277         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
15278         by 7 not 8 to examine high bit of fractional part.
15280         [BZ #14042]
15281         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
15282         for call to __mcount_internal.
15283         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
15284         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
15285         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
15287 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
15289         [BZ #14154]
15290         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
15291         approximation for values within 0x1p-13f of an odd multiple of
15292         pi/4.
15293         * math/libm-test.inc (tan_test): Do not allow spurious underflow
15294         exception.  Add more tests.
15295         * sysdeps/i386/fpu/libm-test-ulps: Update.
15297         [BZ #6778]
15298         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
15299         inputs and return -1 for them.  Do not check for +Inf in case not
15300         reachable for +Inf.
15301         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
15302         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
15303         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
15304         and return -1 for them.  Do not check for +Inf in case not
15305         reachable for +Inf.
15306         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
15307         define.
15308         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
15309         and return -1 for them.  Do not check for +Inf in case not
15310         reachable for +Inf.
15311         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
15312         spurious underflow.
15313         * sysdeps/i386/fpu/libm-test-ulps: Update.
15314         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15316 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
15318         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
15320 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
15322         [BZ #14157]
15323         [BZ #14331]
15324         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
15325         could result in spurious underflow.  Scale down values above
15326         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
15327         * math/s_csqrtf.c (__csqrtf): Likewise.
15328         * math/s_csqrtl.c (__csqrtl): Likewise.
15329         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
15330         spurious underflow.
15331         * sysdeps/i386/fpu/libm-test-ulps: Update.
15332         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15334 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
15336         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
15337         xopen-msg.sed.
15338         * catgets/xopen-msg.awk: New file.
15339         * catgets/xopen-msg.sed: Removed.
15341         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
15342         po2text.sed.
15343         * intl/po2test.awk: New file.
15344         * intl/po2test.sed: Removed.
15346 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
15348         [BZ #14328]
15349         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
15350         or multiply small sinh result by itself.
15351         * math/s_ctanf.c (__ctanf): Likewise.
15352         * math/s_ctanh.c (__ctanh): Likewise.
15353         * math/s_ctanhf.c (__ctanhf): Likewise.
15354         * math/s_ctanhl.c (__ctanhl): Likewise.
15355         * math/s_ctanl.c (__ctanl): Likewise.
15356         * math/libm-test.inc (ctan_test_tonearest): New function.
15357         (ctan_test_towardzero): Likewise.
15358         (ctan_test_downward): Likewise.
15359         (ctan_test_upward): Likewise.
15360         (ctanh_test_tonearest): Likewise.
15361         (ctanh_test_towardzero): Likewise.
15362         (ctanh_test_downward): Likewise.
15363         (ctanh_test_upward): Likewise.
15364         (main): Call these new functions.
15365         * sysdeps/i386/fpu/libm-test-ulps: Update.
15366         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15368 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
15370         * .gitignore: Delete /ports entry.
15372 2012-07-03  Andreas Jaeger  <aj@suse.de>
15374         * po/bg.po: Update from translation team.
15375         * po/cs.po: Likewise.
15376         * po/de.po: Likewise.
15377         * po/hr.po: Likewise.
15378         * po/nl.pl: Likewise.
15379         * po/pl.po: Likewise.
15380         * po/vi.po: Likewise.
15382 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
15384         * Makeconfig [!+link] (+link-before-libc): New variable.
15385         [!+link] (+link-after-libc): Likewise.
15386         [!+link] (+link-tests): Likewise.
15387         [!+link] (+link): Define in terms of $(+link-before-libc) and
15388         $(+link-after-libc).
15389         [!+link-static] (+link-static-before-libc): New variable.
15390         [!+link-static] (+link-static-after-libc): Likewise.
15391         [!+link-static] (+link-static-tests): Likewise.
15392         [!+link-static] (+link-static): Define in terms of
15393         $(+link-static-before-libc) and $(+link-static-after-libc).
15394         [build-shared] (link-libc-before-gnulib): New variable.
15395         [build-shared] (link-libc-tests): Likewise.
15396         [build-shared] (link-libc): Define in terms of
15397         $(link-libc-before-gnulib).
15398         [!build-shared] (link-libc-tests): New variable.
15399         (link-libc-static-tests): New variable.
15400         [!gnulib] (gnulib-arch): New variable.
15401         [!gnulib] (gnulib-tests): Likewise.
15402         [!gnulib] (static-gnulib-arch): Likewise.
15403         [!gnulib] (static-gnulib-tests): Likewise.
15404         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
15405         Define with "=" instead of ":=".
15406         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
15407         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
15408         * Rules (binaries-all-notests): New variable.
15409         (binaries-all-tests): Likewise.
15410         (binaries-static-notests): Likewise.
15411         (binaries-static-tests): Likewise.
15412         (binaries-all): Define using $(binaries-all-notests) and
15413         $(binaries-all-tests).
15414         (binaries-static): Define using $(binaries-static-notests) and
15415         $(binaries-static-tests).
15416         (binaries-shared-tests): New variable.
15417         (binaries-shared-notests): Likewise.
15418         (binaries-shared): Remove variable.
15419         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
15420         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
15421         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
15422         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
15423         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
15424         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
15425         * elf/Makefile (sln-modules): New variable.
15426         (extra-objs): Add $(sln-modules:=.o).
15427         (ldconfig-modules): Add static-stubs.
15428         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
15429         * elf/static-stubs.c: New file.
15431         [BZ #14283]
15432         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
15433         by 7 not 8 to examine high bit of fractional part.  Use volatile
15434         variables when splitting into final array of floats if
15435         __FLT_EVAL_METHOD__ != 0.
15436         * math/libm-test.inc (cos_test): Add another test.
15437         (sin_test): Likewise.
15438         * sysdeps/i386/fpu/libm-test-ulps: Update.
15440         [BZ #14273]
15441         * math/libm-test.inc (cosh_test): Add more tests.
15443         * version.h (RELEASE): Set to "development".
15444         (VERSION): Set to "2.16.90".
15446 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
15448         * NEWS: Update copyright. Remove last-updated date.
15449         Mention math library bug fixes and timezone data changes.
15450         * README: Mention GNU/Hurd, x32, and HPPA support status.
15452 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
15454         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
15456 2012-06-27  Andreas Jaeger  <aj@suse.de>
15458         * manual/contrib.texi (Contributors): Add Samuel Thibault.
15460 2012-06-25  Andreas Jaeger  <aj@suse.de>
15462         * sysdeps/s390/fpu/libm-test-ulps: Update.
15464 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
15465             Thomas Schwinge  <thomas@codesourcery.com>
15467         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
15468         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
15469         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
15470         fanotify_mark.
15472 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
15474         * sysdeps/mach/start.c: Remove file.
15475         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
15476         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
15477         * sysdeps/sh/init-first.c: Likewise.
15479         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
15480         registers for frame unwinding purposes, add CFI directives.
15481         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
15482         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
15483         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
15484         Likewise.
15486         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
15487         __fortify_fail returning.
15488         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
15490         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
15491         sysdeps/sh/____longjmp_chk.S.
15492         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
15493         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
15494         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
15495         (gen-as-const-headers): Append sigaltstack-offsets.sym.
15497         * sysdeps/sh/abort-instr.h: New file.
15498         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
15499         process in case exit returns.
15501         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
15502         initialize the GOT register before use.
15504         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
15505         calculation of ARGC > 4.
15507         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
15508         meaningful names to some local labels.
15510 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
15511             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
15513         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
15514         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
15515         (__arch_compare_and_exchange_val_16_acq): Likewise.
15516         (__arch_compare_and_exchange_val_32_acq): Likewise.
15517         (atomic_exchange_and_add): Fix gUSA sequence.
15518         (atomic_add): Likewise.
15519         (atomic_add_negative): Likewise.
15520         (atomic_add_zero): Likewise.
15521         (atomic_bit_test_set): Likewise.
15523 2012-06-22  Andreas Schwab  <schwab@redhat.com>
15525         [BZ #13579]
15526         * include/link.h (struct link_map): Add l_free_initfini.
15527         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
15528         l_initfini.
15529         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
15530         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
15531         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
15532         set.
15534 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
15536         * configure.in: Use AC_LANG_SOURCE.
15537         * configure: Regenerate.
15539 2012-06-22  Roland McGrath  <roland@hack.frob.com>
15541         * configure.in (libc_cv_localstatedir): New substituted variable.
15542         * configure: Regenerated.
15543         * config.make.in (localstatedir): New variable, substituted from
15544         libc_cv_localstatedir.
15545         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
15546         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
15547         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
15548         * sysdeps/gnu/configure: Regenerated.
15550 2012-06-21  Jeff Law  <law@redhat.com>
15552         [BZ #14277]
15553         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
15554         free.  Simplify list management for _LIBC case.
15556 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
15558         [BZ #14273]
15559         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
15560         Clear sign bit of 64-bit integer value before comparing against
15561         overflow value.
15563         * sysdeps/mach/configure: Regenerated.
15565 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
15567         [BZ #14278]
15568         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
15570 2012-06-21  Jeff Law  <law@redhat.com>
15572         [BZ #13882]
15573         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
15574         uint16_t for elements in the "seen" array to avoid char overflows.
15575         * elf/dl-fini.c (_dl_sort_fini): Likewise.
15576         * elf/dl-open.c (dl_open_worker): Likewise.
15578 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
15580         * scripts/list-sources.sh: Scan PORTS for translations.
15581         * po/libc.pot: Regenerated.
15583 2012-06-21  Andreas Jaeger  <aj@suse.de>
15585         [BZ #12194]
15586         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
15587         warning.
15588         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
15589         * bits/byteswap-16.h (__bswap_16): Likewise.
15590         * bits/byteswap.h (__bswap_constant_16): Likewise.
15592 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
15594         [BZ #14117]
15595         * sysdeps/i386/fpu_control.h: Removed.
15596         * sysdeps/x86_64/fpu_control.h: Moved to ...
15597         * sysdeps/x86/fpu_control.h: Here.
15599         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
15600         (_FPU_SETCW): Likewise.
15602 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
15604         [BZ #14117]
15605         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
15606         * sysdeps/x86/fpu/bits/mathinline.h: This.
15607         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
15609         [BZ #14050]
15610         [BZ #14117]
15611         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
15612         functions if __x86_64__ is defined.
15614 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
15616         * string/endian.h: Add !__ASSEMBLER__ condition for including
15617         conversion interfaces.
15619 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
15621         [BZ #14241]
15622         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
15623         of ABS(x) in calculating zero to negative powers other than odd
15624         integers.
15625         * math/libm-test.inc (pow_test): Add more tests.
15627 2012-06-15  Andreas Jaeger  <aj@suse.de>
15629         * manual/contrib.texi (Contributors): Update entry of Liubov
15630         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
15631         Machado Filho.
15633 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
15635         * string/string.h: Add __wur to GNU version of strerror_r.
15637 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
15639         [BZ #14229]
15640         * string/Makefile (tests): Add tst-strtok_r.
15641         * string/tst-strtok_r.c: New file.
15642         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
15643         RAX_LP/RDX_LP on SAVE_PTR.
15645 2012-06-14  Roland McGrath  <roland@hack.frob.com>
15647         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
15649 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
15651         * libm_test.inc (csqrt_test): Allow more spurious underflow
15652         exceptions.
15653         (j0_test): Likewise.
15654         (j1_test): Likewise.
15655         (y0_test): Likewise.
15656         (y1_test): Likewise.
15658 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
15660         * po/Makefile (libc.pot): Use UTF-8 charset.
15662 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
15664         [BZ #14210]
15665         Suppress sign-conversion warning from FD_SET.
15666         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
15667         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
15668         not unsigned long int.
15669         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
15671 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
15673         [BZ #14050]
15674         [BZ #14117]
15675         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
15676         __extern_always_inline instead of __extern_inline.
15677         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
15678         (__signbit): Likewise.
15679         (__signbitl): Support C++ namespace.
15680         (lrintf): New inline function.
15681         (lrint): Likewise.
15682         (llrintf): Likewise.
15683         (llrint): Likewise.
15684         (fmaxf): Likewise.
15685         (fmax): Likewise.
15686         (fminf): Likewise.
15687         (fmin): Likewise.
15688         (rint): Likewise.
15689         (rintf): Likewise.
15690         (ceil): Likewise.
15691         (ceilf): Likewise.
15692         (floor): Likewise.
15693         (floorf): Likewise.
15694         (nearbyint): Likewise.
15695         (nearbyintf): Likewise.
15697 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
15699         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
15700         non-default versions.
15702 2012-06-11  Roland McGrath  <roland@hack.frob.com>
15704         [BZ #14218]
15705         * manual/argp.texi (Argp): Reword argp_parse description slightly.
15707 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
15709         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
15710         (FE_UPWARD, FE_DOWNWARD): Don't define.
15711         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
15712         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
15714         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
15715         reading it.
15716         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
15717         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
15719 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
15721         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
15722         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
15723         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
15724         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
15726 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
15728         [BZ #14117]
15729         * sysdeps/i386/fpu/bits/fenv.h: Removed.
15730         * sysdeps/i386/fpu/Implies: New file.
15731         * sysdeps/x86_64/fpu/Implies: Likewise.
15732         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
15733         * sysdeps/x86/fpu/bits/fenv.h: This.
15735         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
15736         __SSE_MATH__.
15738 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
15740         [BZ #14134]
15741         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
15742         character 0xffff that matches the last element of the
15743         conversion table.
15745 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15747         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
15748         fmodl commit.
15750 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15752         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
15753         values higher than 25.6283.
15755 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15757         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
15758         subnormal exponent extraction and add some __builtin_expect.
15759         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
15760         Fix for subnormal mantissa calculation.
15762 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
15764         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
15765         cpu2 is -1 and errno is not ENOSYS.
15767 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
15769         [BZ #14117]
15770         * sysdeps/i386/i486/bits/string.h: Renamed to ...
15771         * sysdeps/x86/bits/string.h: This.
15772         * sysdeps/x86_64/bits/string.h: Removed.
15774         * sysdeps/i386/i486/bits/string.h: Define inline functions only
15775         if not compiling for x86-64, but compiling for >= i486.
15777         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
15778         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
15780         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
15781         New macro from Linux kernel 3.4.0.
15782         (FP_XSTATE_MAGIC2): Likewise.
15783         (FP_XSTATE_MAGIC2_SIZE): Likewise.
15784         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
15785         (struct _fpx_sw_bytes): New struct.
15786         (struct _xsave_hdr): Likewise.
15787         (struct _ymmh_state): Likewise.
15788         (struct _xstate): Likewise.
15790         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
15791         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
15792         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
15793         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
15794         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
15795         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
15797         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
15798         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
15799         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
15800         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
15801         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
15802         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
15804 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
15806         [BZ #13743]
15807         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
15808         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
15809         (sysdep_headers): Include sys/platform/ppc.h.
15810         * sysdeps/powerpc/test-gettimebase.c: Test for
15811         __ppc_get_timebase() to catch future ISA opcode/insn changes.
15812         * manual/Makefile (appendices): Include platform.texi.
15813         * manual/contrib.texi (Contributors): Update @node pointers.
15814         * manual/maint.texi (Maintenance): Likewise.
15815         (Platform): New node.
15816         * manual/platform.texi: New file.  Document the new features.
15818 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
15819             Jakub Jelinek  <jakub@redhat.com>
15821         [BZ #14188]
15822         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
15823         where __builtin_expect is unavailable.
15825 2012-06-03  David S. Miller  <davem@davemloft.net>
15827         * stdlib/longlong.h: Updated from GCC.
15829 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
15831         [BZ #14042]
15832         * sysdeps/powerpc/powerpc32/mcount.c: New file.
15833         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
15834         __mcount_internal.
15835         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
15836         (GLIBC_2.16): Likewise.
15838 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
15840         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
15842 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
15844         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
15845         (default-abi): New variable.
15846         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
15847         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
15848         variable.
15849         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
15850         Likewise.
15851         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
15852         Likewise.
15853         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
15854         Likewise.
15856         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
15857         definition.  Document in comment.
15859 2012-06-01  David S. Miller  <davem@davemloft.net>
15861         * stdlib/longlong.h: Updated from GCC.
15863 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
15865         [BZ #14117]
15866         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
15867         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
15868         sys/debugreg.h sys/io.h here.
15869         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
15870         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
15871         sys/io.h.
15872         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
15873         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
15874         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
15875         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
15876         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
15877         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
15879         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
15880         Define only if __x86_64__ is defined.
15882 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
15884         [BZ #14048]
15885         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
15886         Use int64_t for variable i.
15887         * math/libm-test.inc (fmod_test): Add more tests.
15889         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
15890         z computation is not scheduled after fetestexcept.
15891         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
15892         Use math_force_eval instead of asm to ensure calculation scheduled
15893         before exception test.
15894         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
15895         Ensure a1 + u.d computation is not scheduled after fetestexcept.
15897 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
15899         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
15900         computation is not scheduled after fetestexcept.
15902 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
15904         [BZ #14117]
15905         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
15906         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
15908 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15910         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
15911         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
15913 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
15915         [BZ #14117]
15916         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
15917         <bits/wordsize.h>.
15918         (__WCHAR_MIN): Support __WORDSIZE == 64.
15919         (__WCHAR_MAX): Likewise.
15921         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
15922         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
15924         [BZ #14183]
15925         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
15926         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
15928         [BZ #14117]
15929         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
15930         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
15932         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
15933         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
15935         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
15936         Defined to 1 if __x86_64__ isn't defined.
15937         (_STAT_VER_LINUX_OLD): New.
15938         (st_atime): Remove duplicate.
15939         (st_mtime): Likewise.
15940         (st_ctime): Likewise.
15942 2012-05-31  David S. Miller  <davem@davemloft.net>
15944         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
15945         entries.
15947 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
15949         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
15950         gen-libm-test.pl.
15952         [BZ #14132]
15953         * elf/dl-reloc.c: Include <_itoa.h>.
15954         (_dl_reloc_bad_type): Remove use of INTUSE.
15955         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
15956         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
15957         * stdio-common/psiginfo.c (psiginfo): Likewise.
15958         * stdio-common/psignal.c (psignal): Likewise.
15959         * string/strsignal.c (strsignal): Likewise.
15960         * include/signal.h (_sys_siglist): Declare hidden proto.
15961         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
15962         INTVARDEF with libc_hidden_data_def.
15963         * stdio-common/itoa-udigits.c: Likewise.
15964         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
15965         (_itoa_lower_digits_internal): Remove declaration.
15966         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
15967         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
15968         (_sys_sigabbrev_internal): Remove aliases.
15969         (_sys_siglist): Define hidden alias.
15971 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
15973         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15974         bits/sysctl.h.
15976 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
15978         [BZ #14117]
15979         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
15980         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
15982         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
15983         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
15984         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
15985         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
15986         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
15987         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
15989         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
15990         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
15991         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
15993         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
15994         with __addr.
15995         (insw): Likewise.
15996         (insl): Likewise.
15997         (outsb): Likewise.
15998         (outsw): Likewise.
15999         (outsl): Likewise.
16001         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
16002         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
16003         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
16005         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
16006         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
16007         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
16008         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
16009         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
16010         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
16012         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
16013         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
16015         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
16016         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
16018         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
16019         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
16020         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
16022         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
16023         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
16024         to ...
16025         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
16027         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
16028         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
16029         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
16031         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
16032         for x86-64.
16033         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
16035 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
16037         * math/math.h (M_El): Use two more decimal places.
16038         (M_LOG2El): Likewise.
16039         (M_LOG10El): Likewise.
16040         (M_LN2l): Likewise.
16041         (M_LN10l): Likewise.
16042         (M_PIl): Likewise.
16043         (M_PI_2l): Likewise.
16044         (M_PI_4l): Likewise.
16045         (M_1_PIl): Likewise.
16046         (M_2_PIl): Likewise.
16047         (M_2_SQRTPIl): Likewise.
16048         (M_SQRT2l): Likewise.
16049         (M_SQRT1_2l): Likewise.
16051 2012-05-31  David S. Miller  <davem@davemloft.net>
16053         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
16054         values between float registers.
16055         * sysdeps/sparc/sparc64/memset.S: Likewise.
16056         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
16058 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
16060         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
16061         -D_FORTIFY_SOURCE=1.
16062         (CPPFLAGS-tst-longjmp_chk.c): Define.
16063         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
16064         (CPPFLAGS-tst-longjmp_chk2.c): Define.
16065         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
16066         CFLAGS-tst-wchar-h.c.
16068 2012-05-31  Marek Polacek  <polacek@redhat.com>
16070         [BZ #14132]
16071         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
16072         __endmntent_internal): Remove declaration.
16073         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
16074         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
16075         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
16077 2012-05-30  David S. Miller  <davem@davemloft.net>
16079         * sysdeps/sparc/sparc32/soft-fp/q_util.c
16080         (___Q_simulate_exceptions): Use real FP ops rather than writing
16081         into the %fsr.
16082         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
16083         Likewise.
16085 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
16087         [BZ #14117]
16088         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
16089         * sysdeps/x86/bits/xtitypes.h: This.
16091         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
16092         * sysdeps/x86/bits/wordsize.h: This.
16094         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
16095         * sysdeps/x86/bits/huge_vall.h: This.
16097         * sysdeps/i386/bits/select.h: Removed.
16098         * sysdeps/x86_64/bits/select.h: Renamed to ...
16099         * sysdeps/x86/bits/select.h: This.
16101         * sysdeps/i386/bits/setjmp.h: Removed.
16102         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
16103         * sysdeps/x86/bits/setjmp.h: This.
16105         * sysdeps/i386/bits/mathdef.h: Removed.
16106         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
16107         * sysdeps/x86/bits/mathdef.h: This.
16109 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
16111         [BZ #14132]
16112         * include/sys/socket.h (__connect_internal)
16113         (__libc_sa_len_internal): Remove declaration.
16114         (__connect, __libc_sa_len): Declare hidden_proto.
16115         (SA_LEN): Remove use of INTUSE.
16116         * socket/connect.c: Add libc_hidden_def.
16117         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
16118         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
16119         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
16120         alias.
16121         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
16122         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
16123         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
16124         of adding _internal alias.
16126 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
16128         [BZ #14117]
16129         * sysdeps/i386/bits/link.h: Removed.
16130         * sysdeps/i386/bits/linkmap.h: Likewise.
16131         * sysdeps/x86_64/bits/link.h: Renamed to ...
16132         * sysdeps/x86/bits/link.h: This.
16133         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
16134         * sysdeps/x86/bits/linkmap.h: This.
16136         * sysdeps/i386/bits/endian.h: Removed.
16137         * sysdeps/x86_64/bits/endian.h: Renamed to ...
16138         * sysdeps/x86/bits/endian.h: This.
16140         * sysdeps/i386/bits/byteswap.h: Removed.
16141         * sysdeps/i386/bits/byteswap-16.h: Likewise.
16142         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
16143         * sysdeps/x86/bits/byteswap.h: This.
16144         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
16145         * sysdeps/x86/bits/byteswap-16.h: This.
16146         * sysdeps/i386/Implies: Add x86.
16147         * sysdeps/x86_64/Implies: Likewise.
16149 2012-05-30  David S. Miller  <davem@davemloft.net>
16151         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
16152         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
16153         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
16154         (FP_TRAPPING_EXCEPTIONS): Define.
16155         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
16156         (FP_TRAPPING_EXCEPTIONS): Define.
16157         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
16158         subnormals only when inexact has been signalled or underflow
16159         exceptions are enabled.
16160         (_FP_PACK_CANONICAL): Likewise.
16162 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
16164         [BZ #14183]
16165         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
16166         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
16168 2012-05-30  Richard Henderson  <rth@twiddle.net>
16170         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
16171         with #ifndef NOT_IN_libc.
16173         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
16174         marked to avoid plt entry.
16176 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
16178         [BZ #14112]
16179         * Makeconfig (default-abi): New macro.
16180         (abi-includes): Likewise.
16181         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
16182         $(abi-$(default-abi)-lib-soname) for soname if defined.
16183         ($(common-objpfx)gnu/lib-names.stmp): Generate from
16184         abi-variants.
16185         * Makefile (installed-stubs): Likewise.
16186         * include/stubs-biarch.h: Removed.
16187         * scripts/lib-names.awk: Only handle one library at a time.
16188         * scripts/soversions.awk: Remove WORDSIZE support.
16189         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
16190         entries.
16191         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
16192         Removed.
16193         (syscall-list-default-condition): Likewise.
16194         (syscall-list-default-condition): Likewise.
16195         (syscall-list-includes): Likewise.
16196         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
16197         syscall-list-* with abi-*.  Handle undefined abi-variants.
16198         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
16199         * sysdeps/unix/sysv/linux/i386/Implies: New file.
16200         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
16201         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
16202         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
16203         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
16204         Removed.
16205         (syscall-list-32-options): Likewise.
16206         (syscall-list-32-condition): Likewise.
16207         (syscall-list-64-options): Likewise.
16208         (syscall-list-64-condition): Likewise.
16209         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
16210         macro.
16211         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
16212         Renamed to ...
16213         (abi-*): This.
16214         (abi-64-ld-soname): New macro.
16215         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
16216         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
16217         Renamed to ...
16218         (abi-*): This.
16219         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
16220         * sysdeps/x86_64/x32/shlib-versions: Likewise.
16222 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
16224         * sysdeps/unix/sysv/linux/kernel-features.h
16225         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
16226         * sysdeps/unix/sysv/linux/ftruncate64.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/truncate64.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/ftruncate64.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.
16244         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
16245         include <kernel-features.h>.
16246         [!__NR_ftruncate64]: Remove conditional code.
16247         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
16248         [__NR_ftruncate64]: Make code unconditional.
16249         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
16251         * configure.in (libc_cv_fpie): Weaken to a compile test using
16252         LIBC_TRY_CC_OPTION.
16253         * configure: Regenerated.
16255 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
16257         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
16258         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
16259         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
16260         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
16261         Refreshed.
16262         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
16263         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
16264         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
16265         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
16266         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
16267         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
16268         Refreshed.
16270 2012-05-27  David S. Miller  <davem@davemloft.net>
16272         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
16273         (___Q_zero): New.
16274         (__Q_simulate_exceptions): Return void.  Change to simulate
16275         exceptions by writing into the %fsr.
16276         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
16277         (__Qp_handle_exceptions): Likewise.
16278         (numbers): Delete.
16279         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
16280         __Qp_handle_exceptions.
16281         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
16282         __Qp_handle_exceptions.
16283         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
16284         as unused and give dummy FP_RND_NEAREST initializer.
16285         (FP_INHIBIT_RESULTS): Define.
16286         (___Q_simulate_exceptions): Update declaration.
16287         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
16288         formatting.
16289         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
16290         as unused and give dummy FP_RND_NEAREST initializer.
16291         (__Qp_handle_exceptions): Update declaration.
16292         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
16293         formatting.
16295 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
16297         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
16298         the temporary FPU control word.
16299         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
16300         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
16301         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
16302         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
16303         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
16304         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
16305         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
16306         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
16307         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
16308         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
16309         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
16311 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
16313         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
16314         fields.
16316 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
16318         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
16319         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
16320         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
16321         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
16322         Likewise.
16323         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
16324         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
16325         Likewise.
16327 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
16329         * po/h.po: Update from translation team.
16331 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
16333         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
16335         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
16336         handling of denormals.
16337         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
16338         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
16339         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
16340         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
16341         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
16342         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
16343         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
16344         Likewise.
16346 2012-05-26  Marek Polacek  <polacek@redhat.com>
16348         [BZ #14152]
16349         * math/libm-test.inc (fma_test): Don't always expect underflow
16350         exception.
16352 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
16354         [BZ #12416]
16355         * elf/tst-execstack.c: Include stackinfo.h.
16356         (do_test): Adjust test case to ensure that pthread_getattr_np
16357         behaviour remains the same after marking stack executable.
16359 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
16361         * sysdeps/unix/sysv/linux/kernel-features.h
16362         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
16363         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
16364         kernel-features.h.
16365         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
16366         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
16367         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
16368         kernel-features.h.
16369         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
16370         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
16372 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
16374         * configure.in: Define the default includes to being none.
16375         * configure: Regenerated.
16377 2012-05-25  Roland McGrath  <roland@hack.frob.com>
16379         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
16380         * sysdeps/x86_64/setjmp.S: Likewise.
16381         * sysdeps/i386/bsd-setjmp.S: Likewise.
16382         * sysdeps/i386/bsd-_setjmp.S: Likewise.
16383         * sysdeps/i386/setjmp.S: Likewise.
16384         * sysdeps/i386/__longjmp.S: Likewise.
16385         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
16386         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
16388         * include/stap-probe.h: New file.
16389         * configure.in: Handle --enable-systemtap.
16390         * configure: Regenerated.
16391         * config.h.in (USE_STAP_PROBE): New #undef.
16392         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
16393         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
16394         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
16396 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
16398         [BZ #13717]
16399         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
16400         to 2.4.0 where earlier.
16401         * sysdeps/unix/sysv/linux/configure: Regenerated.
16402         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
16403         <kernel-features.h>.
16404         [__ASSUME_32BITUIDS]: Make code unconditional.
16405         [!__ASSUME_32BITUIDS]: Remove conditional code.
16406         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
16407         <kernel-features.h>.
16408         [__ASSUME_32BITUIDS]: Make code unconditional.
16409         [!__ASSUME_32BITUIDS]: Remove conditional code.
16410         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
16411         [__ASSUME_32BITUIDS]: Make code unconditional.
16412         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
16413         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
16414         <kernel-features.h>.
16415         [__ASSUME_32BITUIDS]: Make code unconditional.
16416         [!__ASSUME_32BITUIDS]: Remove conditional code.
16417         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
16418         <kernel-features.h>.
16419         [__ASSUME_32BITUIDS]: Make code unconditional.
16420         [!__ASSUME_32BITUIDS]: Remove conditional code.
16421         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
16422         <kernel-features.h>.
16423         [__ASSUME_32BITUIDS]: Make code unconditional.
16424         [!__ASSUME_32BITUIDS]: Remove conditional code.
16425         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
16426         <kernel-features.h>.
16427         [__ASSUME_32BITUIDS]: Make code unconditional.
16428         [!__ASSUME_32BITUIDS]: Remove conditional code.
16429         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
16430         <kernel-features.h>.
16431         [__ASSUME_32BITUIDS]: Make code unconditional.
16432         [!__ASSUME_32BITUIDS]: Remove conditional code.
16433         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
16434         <kernel-features.h>.
16435         [__ASSUME_32BITUIDS]: Make code unconditional.
16436         [!__ASSUME_32BITUIDS]: Remove conditional code.
16437         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
16438         <kernel-features.h>.
16439         [__ASSUME_32BITUIDS]: Make code unconditional.
16440         [!__ASSUME_32BITUIDS]: Remove conditional code.
16441         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
16442         <kernel-features.h>.
16443         [__ASSUME_32BITUIDS]: Make code unconditional.
16444         [!__ASSUME_32BITUIDS]: Remove conditional code.
16445         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
16446         <kernel-features.h>.
16447         [__ASSUME_32BITUIDS]: Make code unconditional.
16448         [!__ASSUME_32BITUIDS]: Remove conditional code.
16449         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
16450         <kernel-features.h>.
16451         [__ASSUME_32BITUIDS]: Make code unconditional.
16452         [!__ASSUME_32BITUIDS]: Remove conditional code.
16453         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
16454         <kernel-features.h>.
16455         [__NR_setresgid] (__setresgid): Do not declare.
16456         [__ASSUME_32BITUIDS]: Make code unconditional.
16457         [!__ASSUME_32BITUIDS]: Remove conditional code.
16458         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
16459         <kernel-features.h>.
16460         [__NR_setresuid] (__setresuid): Do not declare.
16461         [__ASSUME_32BITUIDS]: Make code unconditional.
16462         [!__ASSUME_32BITUIDS]: Remove conditional code.
16463         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
16464         <kernel-features.h>.
16465         [__ASSUME_32BITUIDS]: Make code unconditional.
16466         [!__ASSUME_32BITUIDS]: Remove conditional code.
16467         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
16468         <kernel-features.h>.
16469         [__ASSUME_32BITUIDS]: Make code unconditional.
16470         [!__ASSUME_32BITUIDS]: Remove conditional code.
16471         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
16472         <kernel-features.h>.
16473         [__ASSUME_32BITUIDS]: Make code unconditional.
16474         [!__ASSUME_32BITUIDS]: Remove conditional code.
16475         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
16476         <kernel-features.h>.
16477         [__ASSUME_32BITUIDS]: Make code unconditional.
16478         [!__ASSUME_32BITUIDS]: Remove conditional code.
16479         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
16480         <kernel-features.h>.
16481         [__ASSUME_32BITUIDS]: Make code unconditional.
16482         [!__ASSUME_32BITUIDS]: Remove conditional code.
16483         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
16484         <kernel-features.h>.
16485         [__ASSUME_32BITUIDS]: Make code unconditional.
16486         [!__ASSUME_32BITUIDS]: Remove conditional code.
16487         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
16488         <kernel-features.h>.
16489         [__ASSUME_32BITUIDS]: Make code unconditional.
16490         [!__ASSUME_32BITUIDS]: Remove conditional code.
16491         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
16492         <kernel-features.h>.
16493         [__ASSUME_32BITUIDS]: Make code unconditional.
16494         [!__ASSUME_32BITUIDS]: Remove conditional code.
16495         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
16496         <kernel-features.h>.
16497         [__ASSUME_32BITUIDS]: Make code unconditional.
16498         [!__ASSUME_32BITUIDS]: Remove conditional code.
16499         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
16500         <kernel-features.h>.
16501         [__ASSUME_32BITUIDS]: Make code unconditional.
16502         [!__ASSUME_32BITUIDS]: Remove conditional code.
16503         * sysdeps/unix/sysv/linux/kernel-features.h
16504         (__ASSUME_SETRESUID_SYSCALL): Remove.
16505         (__ASSUME_SETRESGID_SYSCALL): Likewise.
16506         (__ASSUME_32BITUIDS): Likewise.
16507         (__ASSUME_LDT_WORKS): Likewise.
16508         (__ASSUME_O_DIRECTORY): Likewise.
16509         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
16510         architecture but not kernel version.
16511         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
16512         (__ASSUME_MMAP2_SYSCALL): Likewise.
16513         (__ASSUME_STAT64_SYSCALL): Likewise.
16514         (__ASSUME_IPC64): Likewise.
16515         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
16516         <kernel-features.h>.
16517         [__ASSUME_32BITUIDS]: Make code unconditional.
16518         [!__ASSUME_32BITUIDS]: Remove conditional code.
16519         * sysdeps/unix/sysv/linux/opendir.c: Do not include
16520         <kernel-features.h>.
16521         [__ASSUME_O_DIRECTORY]: Make code unconditional.
16522         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
16523         132096]: Remove conditional code.
16524         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
16525         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
16526         <kernel-features.h>.
16527         [__ASSUME_32BITUIDS]: Make code unconditional.
16528         [!__ASSUME_32BITUIDS]: Remove conditional code.
16529         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
16530         <kernel-features.h>.
16531         [__ASSUME_32BITUIDS]: Make code unconditional.
16532         [!__ASSUME_32BITUIDS]: Remove conditional code.
16533         * sysdeps/unix/sysv/linux/setegid.c: Do not include
16534         <kernel-features.h>.
16535         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
16536         unconditional.
16537         (__setresgid): Do not declare.
16538         [__ASSUME_32BITUIDS]: Make code unconditional.
16539         [!__ASSUME_32BITUIDS]: Remove conditional code.
16540         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
16541         <kernel-features.h>.
16542         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
16543         unconditional.
16544         (__setresuid): Do not declare.
16545         [__ASSUME_32BITUIDS]: Make code unconditional.
16546         [!__ASSUME_32BITUIDS]: Remove conditional code.
16547         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
16548         <kernel-features.h>.
16549         [__ASSUME_32BITUIDS]: Make code unconditional.
16550         [!__ASSUME_32BITUIDS]: Remove conditional code.
16551         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
16552         <kernel-features.h>.
16553         [__ASSUME_32BITUIDS]: Make code unconditional.
16554         [!__ASSUME_32BITUIDS]: Remove conditional code.
16556 2012-05-25  Richard Henderson  <rth@twiddle.net>
16558         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
16559         dl_hwcap to ifunc resolver.
16560         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
16561         elf_ifunc_invoke.
16562         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
16563         dl_hwcap to ifunc resolver.
16564         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
16566 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
16568         [BZ #14153]
16569         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
16570         for |x| <= 2**-26, not 2**-57.
16571         * math/libm-test.inc (acos_test): Do not allow spurious underflow
16572         exception.
16574 2012-05-24  Jeff Law  <law@redhat.com>
16576         * stdio-common/Makefile (tests): Add bug25.
16577         * stdio-common/bug25.c: New test.
16579 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
16581         [BZ #13576]
16582         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
16583         multiple of MALLOC_ALIGNMENT in size.
16584         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
16586 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
16588         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
16589         Require >= 256.
16590         (FILENAME_MAX): Use macro-int-constant.
16591         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
16592         (_IOFBF): Use macro-int-constant.
16593         (_IOLBF): Likewise.
16594         (_IONBF): Likewise.
16595         (SEEK_CUR): Likewise.
16596         (SEEK_END): Likewise.
16597         (SEEK_SET): Likewise.
16598         (TMP_MAX): Likewise.
16599         (EOF): Use macro-int-constant.  Require < 0.
16600         (NULL): Use macro-constant.  Require == 0.
16601         (stdin): Require type to be FILE *.
16602         (stdout): Likewise.
16603         (stderr): Likewise.
16604         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
16605         macro-int-constant.
16606         (EXIT_SUCCESS): Likewise.
16607         (NULL): Use macro-constant.  Require == 0.
16608         (RAND_MAX): Use macro-int-constant.
16609         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
16610         [C99-based standards] (strtof): Require function.
16611         [C99-based standards] (strtold): Likewise.
16612         [C99-based standards] (strtoll): Likewise.
16613         [C99-based standards] (strtoull): Likewise.
16614         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
16615         [ISO || ISO99 || ISO11] (limits.h): Likewise.
16616         [ISO || ISO99 || ISO11] (math.h): Likewise.
16617         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
16618         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
16619         [ISO || ISO99 || ISO11] (*_t): Do not allow.
16621 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
16623         [BZ #14132]
16624         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
16625         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
16626         * intl/dgettext.c (DCGETTEXT): Likewise.
16627         * intl/gettext.c (DCGETTEXT): Likewise.
16628         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
16629         * posix/regex_internal.h (gettext): Likewise.
16630         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
16631         Remove declaration.
16632         * include/argz.h (__argz_count_internal)
16633         (__argz_stringify_internal): Remove declaration.
16634         (__argz_count, __argz_stringify): Declare hidden proto.
16635         * intl/dcgettext.c: Remove use of INTDEF.
16636         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
16637         * string/argz-stringify.c: Likewise.
16638         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
16639         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
16640         Declare hidden proto.
16641         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
16642         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
16643         Declare hidden proto.
16644         * include/stdio.h (__asprintf_internal): Don't declare.
16645         (__asprintf): Don't define as macro.  Declare hidden proto.
16646         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
16647         (__fsetlocking): Declare hidden proto.
16648         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
16649         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
16650         hidden proto.
16651         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
16652         (_IO_setlinebuf): Remove use of INTUSE.
16653         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
16654         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
16655         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
16656         Remove declaration.
16657         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
16658         (_IO_do_flush): Remove use of INTUSE.
16659         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
16660         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
16661         (_IO_adjust_column, _IO_least_wmarker)
16662         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
16663         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
16664         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
16665         (_IO_default_doallocate, _IO_wdefault_doallocate)
16666         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
16667         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
16668         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
16669         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
16670         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
16671         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
16672         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
16673         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
16674         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
16675         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
16676         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
16677         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
16678         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
16679         proto.
16680         (_IO_flush_all_internal, _IO_adjust_column_internal)
16681         (_IO_default_uflow_internal, _IO_default_finish_internal)
16682         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
16683         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
16684         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
16685         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
16686         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
16687         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
16688         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
16689         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
16690         (_IO_file_close_internal, _IO_file_close_it_internal)
16691         (_IO_file_underflow_internal, _IO_file_overflow_internal)
16692         (_IO_file_init_internal, _IO_file_attach_internal)
16693         (_IO_file_fopen_internal, _IO_file_read_internal)
16694         (_IO_file_sync_internal, _IO_file_seek_internal)
16695         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
16696         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
16697         (_IO_str_underflow_internal, _IO_str_overflow_internal)
16698         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
16699         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
16700         (_IO_list_all_internal, _IO_link_in_internal)
16701         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
16702         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
16703         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
16704         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
16705         (_IO_do_write_internal, _IO_padn_internal)
16706         (_IO_getline_info_internal, _IO_getline_internal)
16707         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
16708         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
16709         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
16710         (_IO_vfscanf_internal, _IO_vfprintf_internal)
16711         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
16712         (_IO_init_internal, _IO_un_link_internal): Don't declare.
16713         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
16714         with libc_hidden_ver, remove use of INTUSE.
16715         * libio/genops.c: Likewise.
16716         * libio/freopen.c: Likewise.
16717         * libio/freopen64.c: Likewise.
16718         * libio/iofclose.c: Likewise.
16719         * libio/iofdopen.c: Likewise.
16720         * libio/iofflush.c: Likewise.
16721         * libio/iofflush_u.c: Likewise.
16722         * libio/iofgets.c: Likewise.
16723         * libio/iofgets_u.c: Likewise.
16724         * libio/iofopen.c: Likewise.
16725         * libio/iofopncook.c: Likewise.
16726         * libio/iofread.c: Likewise.
16727         * libio/iofread_u.c: Likewise.
16728         * libio/ioftell.c: Likewise.
16729         * libio/iofwrite.c: Likewise.
16730         * libio/iogetline.c: Likewise.
16731         * libio/iogets.c: Likewise.
16732         * libio/iogetwline.c: Likewise.
16733         * libio/iopadn.c: Likewise.
16734         * libio/iopopen.c: Likewise.
16735         * libio/ioseekoff.c: Likewise.
16736         * libio/ioseekpos.c: Likewise.
16737         * libio/iosetbuffer.c: Likewise.
16738         * libio/iosetvbuf.c: Likewise.
16739         * libio/ioungetc.c: Likewise.
16740         * libio/ioungetwc.c: Likewise.
16741         * libio/iovdprintf.c: Likewise.
16742         * libio/iovsprintf.c: Likewise.
16743         * libio/iovsscanf.c: Likewise.
16744         * libio/memstream.c: Likewise.
16745         * libio/obprintf.c: Likewise.
16746         * libio/oldfileops.c: Likewise.
16747         * libio/oldiofclose.c: Likewise.
16748         * libio/oldiofdopen.c: Likewise.
16749         * libio/oldiofopen.c: Likewise.
16750         * libio/oldiopopen.c: Likewise.
16751         * libio/oldstdfiles.c: Likewise.
16752         * libio/putc.c: Likewise.
16753         * libio/setbuf.c: Likewise.
16754         * libio/setlinebuf.c: Likewise.
16755         * libio/stdfiles.c: Likewise.
16756         * libio/strops.c: Likewise.
16757         * libio/vasprintf.c: Likewise.
16758         * libio/vscanf.c: Likewise.
16759         * libio/vsnprintf.c: Likewise.
16760         * libio/vswprintf.c: Likewise.
16761         * libio/wfiledoalloc.c: Likewise.
16762         * libio/wfileops.c: Likewise.
16763         * libio/wgenops.c: Likewise.
16764         * libio/wmemstream.c: Likewise.
16765         * libio/wstrops.c: Likewise.
16766         * libio/__fpurge.c: Likewise.
16767         * libio/__fsetlocking.c: Likewise.
16768         * assert/assert.c: Likewise.
16769         * debug/fgets_chk.c: Likewise.
16770         * debug/fgets_u_chk.c: Likewise.
16771         * debug/fread_chk.c: Likewise.
16772         * debug/fread_u_chk.c: Likewise.
16773         * debug/gets_chk.c: Likewise.
16774         * debug/obprintf_chk.c: Likewise.
16775         * debug/vasprintf_chk.c: Likewise.
16776         * debug/vdprintf_chk.c: Likewise.
16777         * debug/vsnprintf_chk.c: Likewise.
16778         * debug/vsprintf_chk.c: Likewise.
16779         * malloc/mtrace.c: Likewise.
16780         * misc/error.c: Likewise.
16781         * misc/syslog.c: Likewise.
16782         * stdio-common/asprintf.c: Likewise.
16783         * stdio-common/fxprintf.c: Likewise.
16784         * stdio-common/getw.c: Likewise.
16785         * stdio-common/isoc99_fscanf.c: Likewise.
16786         * stdio-common/isoc99_scanf.c: Likewise.
16787         * stdio-common/isoc99_vfscanf.c: Likewise.
16788         * stdio-common/isoc99_vscanf.c: Likewise.
16789         * stdio-common/isoc99_vsscanf.c: Likewise.
16790         * stdio-common/printf-prs.c: Likewise.
16791         * stdio-common/printf_fp.c: Likewise.
16792         * stdio-common/printf_fphex.c: Likewise.
16793         * stdio-common/printf_size.c: Likewise.
16794         * stdio-common/putw.c: Likewise.
16795         * stdio-common/scanf.c: Likewise.
16796         * stdio-common/sprintf.c: Likewise.
16797         * stdio-common/tmpfile.c: Likewise.
16798         * stdio-common/vfprintf.c: Likewise.
16799         * stdio-common/vfscanf.c: Likewise.
16800         * stdlib/strfmon_l.c: Likewise.
16801         * sunrpc/openchild.c: Likewise.
16802         * sunrpc/xdr_stdio.c: Likewise.
16803         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
16804         * sysdeps/mach/hurd/tmpfile.c: Likewise.
16806 2012-05-24  Roland McGrath  <roland@hack.frob.com>
16808         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
16810         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
16811         in the third column, to generate for the shared library an IFUNC
16812         that uses _dl_vdso_vsym.
16813         * Makerules (COMPILE.c, compile-stdin.c): New variables.
16814         * Makeconfig (object-suffixes-noshared): New variable.
16816         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
16817         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
16818         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
16819         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
16821         [BZ #14132]
16822         * include/sys/time.h (__gettimeofday): Remove macro.
16823         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
16824         * time/gettimeofday.c (__gettimeofday): Remove #undef.
16825         Remove INTDEF.
16826         (__gettimeofday): Add libc_hidden_def.
16827         (gettimeofday): Add libc_hidden_weak.
16828         * sysdeps/mach/gettimeofday.c: Likewise.
16829         * sysdeps/posix/gettimeofday.c: Likewise.
16830         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
16831         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
16832         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
16833         (__gettimeofday_internal): Remove strong_alias.
16834         (__gettimeofday): Add libc_hidden_def.
16835         (gettimeofday): Add libc_hidden_weak.
16836         * sysdeps/unix/syscalls.list (gettimeofday):
16837         Remove __gettimeofday_internal alias.
16839 2012-05-24  Daniel Jacobowitz  <drow@false.org>
16840             H.J. Lu  <hongjiu.lu@intel.com>
16842         [BZ #12495]
16843         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
16844         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
16845         (largebin_index_32_big): New.
16846         (largebin_index): Use it for 16-byte alignment.
16847         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
16848         correction with front_misalign.
16850 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
16852         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
16853         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
16854         Likewise.
16855         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
16856         Likewise.
16857         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
16858         Likewise.
16859         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
16860         Likewise.
16861         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
16862         Likewise.
16863         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
16864         Likewise.
16865         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
16866         Likewise.
16867         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
16868         Likewise.
16869         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
16870         Likewise.
16871         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
16872         Likewise.
16873         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
16874         Likewise.
16875         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
16876         Likewise.
16878         * scripts/data/c++-types-x32-linux-gnu.data: New file.
16879         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
16881 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
16883         [BZ #10846]
16884         [BZ #14036]
16885         * math/libm-test.inc (exp_test): Add test from bug 14036.
16886         (pow_test): Add test from bug 10846.
16888         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
16889         and other flags.
16890         (special_function): Do not include flags in test name.
16891         (parse_args): Likewise.
16892         * sysdeps/i386/fpu/libm-test-ulps: Update.
16893         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
16894         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
16895         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
16896         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16898         * math/gen-libm-test.pl (%beautify): Add entries for underflow
16899         exceptions.
16900         * math/libm-test.inc ("Philosophy"): Update comment about
16901         exception testing.
16902         (UNDERFLOW_EXCEPTION): New macro.
16903         (UNDERFLOW_EXCEPTION_OK): Likewise.
16904         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
16905         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
16906         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
16907         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
16908         (INVALID_EXCEPTION_OK): Update value.
16909         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
16910         (OVERFLOW_EXCEPTION_OK): Likewise.
16911         (IGNORE_ZERO_INF_SIGN): Likewise.
16912         (test_exceptions): Handle underflow exceptions.
16913         (acos_test): Update for underflow exception expectations.
16914         (cexp_test): Likewise.
16915         (clog_test): Likewise.
16916         (clog10_test): Likewise.
16917         (csqrt_test): Likewise.
16918         (ctan_test): Likewise.
16919         (ctanh_test): Likewise.
16920         (exp_test): Likewise.
16921         (exp10_test): Likewise.
16922         (exp2_test): Likewise.
16923         (expm1_test): Likewise.
16924         (fma_test): Likewise.
16925         (j0_test): Likewise.
16926         (jn_test): Likewise.
16927         (nexttoward_test): Likewise.
16928         (pow_test): Likewise.
16929         (scalbn_test): Likewise.
16930         (scalbln_test): Likewise.
16931         (tan_test): Likewise.
16932         (y1_test): Likewise.
16933         * sysdeps/i386/fpu/libm-test-ulps: Update.
16934         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16936 2012-05-23  David S. Miller  <davem@davemloft.net>
16938         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
16939         (__libc_sigaction): Remove unused local variables.
16941 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
16943         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
16945 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
16947         mktime: avoid signed integer overflow
16948         * time/mktime.c (__mktime_internal): Do not mishandle the case
16949         where diff == INT_MIN.
16951         mktime: simplify computation of average
16952         * time/mktime.c (ranged_convert): Use new time_t_avg function
16953         instead of rolling our own (probably-slower) code.
16955         mktime: do not assume signed right shift propagates sign bit
16956         * time/mktime.c (isdst_differ): New static function.
16957         (__mktime_internal): No need to normalize tm_isdst now.
16958         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
16959         tm_isdst values.
16961         mktime: merge another wrapv change from gnulib
16962         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
16963         from some compilers.
16965         mktime: remove incorrect attempt at unusual arithmetics
16966         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
16967         The code didn't really work on such machines anyway.
16968         (TYPE_MINIMUM): Assume two's complement.
16969         (twos_complement_arithmetic): Verify that long_int and time_t
16970         are two's complement (or unsigned, in the latter case).
16972         mktime: check signed shifts on long_int and time_t, too
16973         * time/mktime.c (SHR): Check that shifts work as desired
16974         on the types long_int and time_t too, as SHR is used on
16975         such types.
16977         mktime: do not assume 'long' is wide enough
16978         * time/mktime.c (verify): Move decl up.
16979         (long_int): New type.
16980         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
16981         to remove assumption in the code that 'long' is wide enough to
16982         store year values.  This assumption is not true on x32 and on
16983         some non-glibc platforms.
16985         mktime: merge wrapv change from gnulib
16986         * time/mktime.c (WRAPV): New macro.
16987         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
16988         (guess_time_tm, __mktime_internal): Do not assume that signed
16989         integer overflow wraps around; modern compilers generate code
16990         where this assumption is no longer valid.
16992 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
16994         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
16995         Replace "jmp L(pseudo_end)" with "ret".
16996         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
16997         Likewise.
16999 2012-05-23  Andreas Jaeger  <aj@suse.de>
17001         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
17002         * sysdeps/unix/sysv/linux/poll.c: Remove file.
17004 2012-05-23  Andreas Jaeger  <aj@suse.de>
17005             Maximilian Attems  <max@stro.at>
17007         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
17008         New macros.
17010 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
17012         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
17013         code so that pseudo_end is just ret and the stack pointer is
17014         correct also for static library in error case.
17016 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
17018         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
17019         move to syscalls.list.
17020         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
17021         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
17022         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
17023         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
17025         * manual/install.texi (Running make install): Do not mention Linux
17026         kernel version for which pt_chown is not needed.
17027         (Linux): Do not mention problems with nscd with 2.0 kernels.
17028         * INSTALL: Regenerated.
17030 2012-05-23  Andreas Jaeger  <aj@suse.de>
17032         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
17033         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
17034         macro.
17035         * sysdeps/unix/sysv/linux/s390/bits/mman.h
17036         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
17037         * sysdeps/unix/sysv/linux/sh/bits/mman.h
17038         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
17039         * sysdeps/unix/sysv/linux/i386/bits/mman.h
17040         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
17041         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
17042         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
17043         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
17044         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
17045         * sysdeps/unix/sysv/linux/bits/in.h
17046         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
17048 2012-05-22  Roland McGrath  <roland@hack.frob.com>
17050         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
17051         (PREPARE_VERSION): Just use assert instead, it will be elided
17052         under [NDEBUG] anyway.
17054 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
17056         * sysdeps/unix/sysv/linux/Makefile: Include
17057         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
17058         (sysdep_routines): Remove sysctl.
17059         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
17060         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
17061         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
17062         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
17063         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
17065 2012-05-22  Andreas Jaeger  <aj@suse.de>
17067         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
17068         that pseudo_end is just ret and the stack pointer is correct also
17069         for static library in error case.
17071 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
17073         [BZ #14122]
17074         * nss/nsswitch.c (defconfig_entries): New variable.
17075         (__nss_database_lookup): Don't leak defconfig entries.
17076         (nss_parse_service_list): Don't leak on error paths.
17077         (free_database_entries): New function.
17078         (free_defconfig): New function.
17079         (free_mem): Move common code to free_database_entries.
17081 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
17083         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
17084         Add arch_prctl.
17085         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
17087         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
17088         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
17089         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
17090         New macro.
17091         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
17092         (INTERNAL_SYSCALL_TYPES): Likewise.
17093         (LOAD_ARGS_TYPES_[1-6]): Likewise.
17094         (LOAD_REGS_TYPES_[1-6]): Likewise.
17095         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
17096         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
17098 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17100         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
17101         copysignl for GLIBC_2_0.
17102         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
17103         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
17104         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
17105         logbl for GLIBC_2_0.
17106         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
17107         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
17109 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
17111         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
17112         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
17114         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
17115         Use "neg %eax".
17117         * time/mktime.c: Update copyright years.
17119 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
17121         mktime: merge comment-quoting-style change from gnulib
17122         * time/mktime.c: Quote 'like this' in comments.
17123         The GNU coding standards suggest that we no longer quote `like this',
17124         as "`" and "'" are typically rendered asymmetrically nowadays.
17125         The typical gnulib style is to quote 'like this' when quoting
17126         code, and "like this" when quoting English.
17128         * time/mktime.c (compile-command): Add "-I.".
17130         mktime: merge mktime-internal.h change from gnulib
17131         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
17133         mktime: merge time_r change from gnulib
17134         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
17136         mktime: merge DEBUG change from gnulib
17137         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
17138         case system <time.h> has a #define.
17140         mktime: merge <sys/types.h> change from gnulib
17141         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
17142         since <time.t> is now guaranteed to define time_t.
17144         mktime: merge HAVE_CONFIG_H change from gnulib
17145         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
17147 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
17149         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
17150         Use "neg %eax".
17152         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
17153         __rlim_t cast.
17154         (struct rusage): Use anonymous union to pad each field to
17155         __syscall_slong_t.
17157 2012-05-21  David S. Miller  <davem@davemloft.net>
17159         * Makefules (o-iterator): Remove .s cases.
17160         (compile-command.s): Delete.
17161         (COMPILE.s): Delete.
17162         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
17164 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
17166         * configure.in (libc_cv_predef_stack_protector): Only consider
17167         "foobar" and "__stack_chk_fail" lines in libc_undefs.
17168         * configure: Regenerated.
17170 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
17172         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
17173         New macro.  Use R*LP on int and pointer.
17174         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
17175         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
17176         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
17177         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
17179         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
17180         [__WORDSIZE_TIME64_COMPAT32] instead of
17181         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
17182         (struct utmp): Likewise.
17183         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
17184         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
17185         Renamed to ...
17186         (__WORDSIZE_TIME64_COMPAT32): This.
17187         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
17188         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
17189         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
17190         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
17191         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
17192         (__WORDSIZE_TIME64_COMPAT32): New macro.
17194 2012-05-21  Andreas Jaeger  <aj@suse.de>
17196         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
17197         only if [SHARED]. Add prototype for __wcschr_ia32.
17199 2012-05-21  Roland McGrath  <roland@hack.frob.com>
17201         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
17202         of %rbp unmolested in the jmp_buf while mangling the low bits.
17203         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
17204         unmolested high bits of %rbp while demangling the low bits.
17205         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
17207 2012-05-21  Andreas Jaeger  <aj@suse.de>
17209         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
17210         * sunrpc/svc_simple.c: Use it for registerrpc.
17211         * sunrpc/xcrypt.c: Use it for passwd2des.
17213         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
17215 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
17217         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
17218         Don't define if [__SYSCALL_WORDSIZE != 32].
17219         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
17220         New macro.
17222 2012-05-21  Bruno Haible  <bruno@clisp.org>
17223             Andreas Jaeger  <aj@suse.de>
17225         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
17226         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
17227         inptr and inend for must_buffer_ch.
17228         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
17229         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
17230         * stdio-common/Makefile (tests): Remove bug15.
17231         (bug15-ENV): Remove macro.
17232         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
17233         anymore.
17235 2012-05-19  Andreas Jaeger  <aj@suse.de>
17236             Roland McGrath  <roland@hack.frob.com>
17238         * manual/contrib.texi: Completely rewritten. It contains now an
17239         alphabetical list of contributors and their contributions.
17241 2012-05-21  Richard Henderson  <rth@twiddle.net>
17243         * misc/getauxval.c (__getauxval): Use unsigned long int.
17244         * misc/sys/auxv.h: Include <sys/cdefs.h>.
17245         (getauxval): Use unsigned long int.
17247 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
17249         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
17251 2012-05-21  Roland McGrath  <roland@hack.frob.com>
17253         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
17254         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
17255         __alignof__ (long double).
17257 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17259         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17261 2012-05-20  Richard Henderson  <rth@twiddle.net>
17263         * misc/getauxval.c: New file.
17264         * misc/sys/auxv.h: New file.
17265         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
17266         (routines): Add getauxval.
17267         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
17268         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
17269         * elf/dl-sysdep.c (_dl_auxv): Remove.
17270         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
17271         * elf/dl-support.c (_dl_auxv): New variable.
17272         (_dl_aux_init): Initialize it.
17273         * manual/startup.texi (Auxiliary Vector): New node.
17274         * sysdeps/generic/bits/hwcap.h: New file.
17275         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
17276         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
17277         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
17278         * sysdeps/sparc/sysdep.h: ... here.  Include it.
17279         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
17280         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
17281         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17282         Update.
17283         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
17284         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
17285         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
17286         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
17287         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
17288         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
17289         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
17290         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
17292 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17294         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17296 2012-05-19  David S. Miller  <davem@davemloft.net>
17298         * sysdeps/sparc/fpu/libm-test-ulps: Update.
17300 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
17302         [BZ #14123]
17303         * math/s_ccosh.c: Include <float.h>
17304         (__ccosh): Avoid internal overflow calculating sinh and cosh
17305         values before multiplying by sin and cos values.
17306         * math/s_ccoshf.c: Likewise.
17307         * math/s_ccoshl.c: Likewise.
17308         * math/s_csin.c: Likewise.
17309         * math/s_csinf.c: Likewise.
17310         * math/s_csinl.c: Likewise.
17311         * math/s_csinh.c: Likewise.
17312         * math/s_csinhf.c: Likewise.
17313         * math/s_csinhl.c: Likewise.
17314         * math/libm-test.inc (ccos_test): Add more tests.
17315         (ccosh_test): Likewise.
17316         (csin_test): Likewise.
17317         (csinh_test): Likewise.
17318         * sysdeps/i386/fpu/libm-test-ulps: Update.
17319         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17321 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
17323         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
17324         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
17326         * sysdeps/x86_64/x32/_itoa.h: Add comment.
17328 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
17330         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
17331         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
17332         * sysdeps/powerpc/soft-fp/Versions: Likewise.
17333         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
17334         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
17335         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
17336         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
17337         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
17338         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
17339         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
17340         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
17341         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
17342         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
17343         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
17344         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
17345         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
17346         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
17347         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
17348         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
17349         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
17350         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
17351         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
17352         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
17353         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
17354         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
17355         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
17356         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
17357         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
17358         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
17359         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
17360         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
17362 2012-05-18  Andreas Jaeger  <aj@suse.de>
17364         * csu/.gitignore: Delete.
17366 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
17368         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
17369         (timex): Use __syscall_slong_t.
17371 2012-05-18  Andreas Jaeger  <aj@suse.de>
17372             Carlos O'Donell  <carlos_odonell@mentor.com>
17374         * manual/install.texi (Configuring and compiling): Update
17375         description about files modified in the source directory.
17376         * INSTALL: Regenerated.
17378 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
17380         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
17381         value.  Use "or" to set return value to -1.
17382         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
17383         negate return value.
17385 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
17387         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
17388         CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
17389         failure if the compiler has Graphite support disabled.
17390         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
17391         Likewise.
17392         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
17393         CFLAGS-memmove.c): Likewise.
17394         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
17395         Likewise.
17397 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
17399         * sysdeps/x86_64/x32/_itoa.h: New file.
17401         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
17402         getdents system call only if kernel and user dirents have the
17403         same d_ino and d_off.
17405         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
17406         LLONG_MAX != LONG_MAX.
17407         (_itoa_word): Use _ITOA_WORD_TYPE on value.
17408         (_fitoa_word): Likewise.
17410         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
17411         years.
17412         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
17413         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
17414         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
17416         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
17417         include <bits/wordsize.h>.  Check __x86_64__ instead of
17418         __WORDSIZE.
17419         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
17420         if __x86_64__ is defined.  Use anonymous union on fpstate.
17422         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
17423         anonymous union.
17425 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
17427         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
17428         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
17429         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
17430         Refer to _rtld_local_ro instead of _rtld_global_ro.
17431         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
17432         Likewise.
17433         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
17434         Likewise.
17435         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
17436         Likewise.
17437         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
17438         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
17439         of _rtld_global, and rtld_progname instead of _dl_argv[0].
17441         * sysdeps/powerpc/powerpc32/dl-machine.c
17442         (__elf_machine_runtime_setup) [PROF]: Don't reference
17443         _dl_prof_resolve.
17445 2012-05-18  Andreas Jaeger  <aj@suse.de>
17447         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
17448         function only available for GCCs before 3.4 since GCC 3.4
17449         introduced a builtin.
17450         (lrint): Likewise.
17451         (llrintf): Likewise.
17452         (llrint): Likewise.
17453         (fmaxf): Likewise.
17454         (fmax): Likewise.
17455         (fminf): Likewise.
17456         (fmin): Likewise.
17457         (rint): Likewise.
17458         (rintf): Likewise.
17459         (nearbyint): Likewise.
17460         (nearbyintf): Likewise.
17461         (ceil): Likewise.
17462         (ceilf): Likewise.
17463         (floor): Likewise.
17464         (floorf): Likewise.
17466 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
17468         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
17469         on both fields and cast pointer to __syscall_ulong_t.
17471         * bits/types.h (__fsword_t): New type.
17472         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
17473         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
17474         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
17475         (__FSWORD_T_TYPE): Likewise.
17476         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
17477         (__FSWORD_T_TYPE): Likewise.
17478         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
17479         (__FSWORD_T_TYPE): Likewise.
17480         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
17481         (__FSWORD_T_TYPE): Likewise.
17482         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
17483         __SWORD_TYPE with __fsword_t.
17484         (statfs64): Likewise.
17486 2012-05-17  David S. Miller  <davem@davemloft.net>
17488         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
17490 2012-05-17  Andreas Jaeger  <aj@suse.de>
17492         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
17493         warning.
17495 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
17497         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
17499 2012-05-17  Andreas Jaeger  <aj@suse.de>
17501         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
17502         when it is used.
17504 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
17506         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
17508 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
17510         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
17511         * sysdeps/x86_64/tst-mallocalign1.c: New file.
17513 2012-05-17  Andreas Jaeger  <aj@suse.de>
17514             Carlos O'Donell  <carlos_odonell@mentor.com>
17516         [BZ #14059]
17517         * sysdeps/x86_64/multiarch/init-arch.h
17518         (bit_YMM_Usable): Rename to...
17519         (bit_AVX_Usable): ... this.
17520         (bit_FMA4_Usable): New macro.
17521         (bit_XMM_state): New macro.
17522         (bit_YMM_state): New macro.
17523         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
17524         [__ASSEMBLER__] (index_AVX_Usable): ... this.
17525         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
17526         (CPUID_OSXSAVE): New macro.
17527         (CPUID_AVX): New macro.
17528         (CPUID_FMA4): New macro.
17529         (index_YMM_Usable): Rename to...
17530         (index_AVX_Usable): ... this.
17531         (HAS_AVX): Use HAS_ARCH_FEATURE.
17532         (HAS_FMA4): Likewise.
17533         (HAS_YMM_USABLE): Remove.
17534         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17535         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
17536         are present.
17537         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
17538         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
17539         * sysdeps/x86_64/multiarch/Makefile: Likewise.
17540         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
17541         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
17543 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
17545         * math/libm-test.c: Support platforms without multiple rounding modes.
17546         * math/bug-nextafter.c: Support platforms without FP exceptions.
17547         * math/bug-nexttoward.c: Likewise.
17548         * math/test-fenv.c: Likewise.
17549         * math/test-misc.c: Likewise.
17550         * stdlib/bug-getcontext.c: Likewise.
17552 2012-05-17  Andreas Jaeger  <aj@suse.de>
17554         * manual/examples/search.c (critter_cmp): Change signature to
17555         avoid warnings.
17556         * manual/string.texi (Collation Functions): Likewise.
17558 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
17560         * bits/types.h: Fold copyright years.
17561         * bits/typesizes.h: Likewise.
17562         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
17563         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
17564         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
17565         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
17566         * time/time.h: Likewise.
17568 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
17570         [BZ #208]
17571         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
17572         in instead of returning them.  Return void.
17573         (__libc_mallinfo): Accumulate over all arenas.
17574         (__malloc_stats): Adjust for change in int_mallinfo interface.
17576 2012-05-16  Roland McGrath  <roland@hack.frob.com>
17578         [BZ #10375]
17579         * configure.in (NM): Add AC_CHECK_TOOL for it.
17580         (libc_extra_cflags): New substituted variable.
17581         Check for -fstack-protector being used implicitly.
17582         * configure: Regenerated.
17583         * config.make.in (config-extra-cflags): New variable,
17584         gets @libc_extra_cflags@.
17585         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
17587         [BZ #10375]
17588         * configure.in: Check for _FORTIFY_SOURCE being predefined.
17589         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
17590         * configure: Regenerated.
17591         * config.make.in (CPPUNDEFS): New substituted variable.
17592         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
17593         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
17594         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
17596 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
17598         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
17599         (mq_attr): Use __syscall_slong_t.
17601 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
17603         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
17604         Check __x86_64__ instead of __WORDSIZE.
17605         (_STAT_VER_LINUX): Likewise.
17606         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
17607         __syscall_ulong_t and __syscall_slong_t.
17608         (stat64): Likewise.
17610 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
17612         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
17614 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
17616         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
17618 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
17620         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
17621         __syscall_ulong_t.
17623         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
17624         include <bits/wordsize.h>.  Check __x86_64__ instead of
17625         __WORDSIZE.
17626         (greg_t): Use "__extension__ long long int" if __x86_64__ is
17627         defined.
17628         (mcontext_t): Replace "unsigned long" with "unsigned long long".
17630         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
17631         include <bits/wordsize.h>.  Check __x86_64__ instead of
17632         __WORDSIZE.
17633         (user_regs_struct): Use "__extension__ unsigned long long"
17634         instead of "unsigned long" if __x86_64__ is defined.
17635         (user): Likewise.  Pad after pointer field if __ILP32__ is
17636         defined.
17638 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
17640         * configure.in (makeinfo): Require version 4.5 or later.  Allow
17641         versions 5 to 9.
17642         * configure: Regenerated.
17643         * manual/install.texi (texinfo): Increase version requirement to
17644         4.5 or later.
17645         * INSTALL: Regenerated.
17647         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
17649 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
17651         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
17653         * sysdeps/x86_64/x32/ffs.c: New file.
17655         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
17656         __syscall_ulong_t.
17657         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
17658         defined.  Use __syscall_ulong_t.
17659         (shminfo): Use __syscall_ulong_t.
17660         (shm_info): Likewise.
17662         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
17663         __syscall_ulong_t.
17665         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
17666         <bits/wordsize.h>.
17667         (msgqnum_t): Use __syscall_ulong_t.
17668         (msglen_t): Likewise.
17669         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
17670         __syscall_ulong_t.
17672         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
17673         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
17675         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
17677         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
17678         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
17680         * sysvipc/sys/msg.h (msgbuf): Replace long int with
17681         __syscall_slong_t.
17683         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
17684         include <bits/wordsize.h>.  Check __x86_64__ instead of
17685         __WORDSIZE.
17687         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
17688         "unsigned long long int" if __x86_64__ is defined.
17689         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
17691         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
17692         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
17693         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
17695         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
17696         <stdint.h>.
17697         (GET_PC): Cast to uintptr_t first.
17698         (GET_FRAME): Likewise.
17699         (GET_STACK): Likewise.
17701         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
17702         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
17703         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
17704         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
17705         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
17706         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
17707         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
17708         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
17709         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
17710         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
17711         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
17712         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
17713         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
17714         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
17715         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
17716         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
17717         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
17718         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
17719         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
17720         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
17721         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
17722         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
17723         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
17724         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
17725         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
17726         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
17727         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
17728         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
17729         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
17731 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
17733         * Makerules (+depfiles): Also collect depfiles from .oS in
17734         $(extra-objs).
17735         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
17736         .oS, $(libnldbl-routines)).
17738         * Makerules (native-compile-mkdep-flags): Define.
17739         * sunrpc/Makefile (extra-objs): Add $(addprefix
17740         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
17741         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
17742         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
17743         calling $(make-target-directory).
17745 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
17747         * bits/types.h (__snseconds_t): Removed.
17748         * time/time.h (struct timespec): Replace __snseconds_t with
17749         __syscall_slong_t.
17750         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
17751         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
17752         Likewise.
17753         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
17754         (__SNSECONDS_T_TYPE): Likewise.
17755         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
17756         (__SNSECONDS_T_TYPE): Likewise.
17757         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
17758         (__SNSECONDS_T_TYPE): Likewise.
17760 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
17762         * sysdeps/mach/hurd/bits/typesizes.h
17763         (__SYSCALL_SLONG_TYPE): New macro.
17764         (__SYSCALL_ULONG_TYPE): Likewise.
17766 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
17768         * bits/types.h (__syscall_slong_t): New type.
17769         (__syscall_ulong_t): Likewise.
17771         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
17772         (__SYSCALL_ULONG_TYPE): Likewise.
17773         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
17774         (__SYSCALL_SLONG_TYPE): Likewise.
17775         (__SYSCALL_ULONG_TYPE): Likewise.
17776         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
17777         (__SYSCALL_SLONG_TYPE): Likewise.
17778         (__SYSCALL_ULONG_TYPE): Likewise.
17779         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
17780         (__SYSCALL_SLONG_TYPE): Likewise.
17781         (__SYSCALL_ULONG_TYPE): Likewise.
17783 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
17785         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
17786         Add sigaltstack-offsets.sym.
17787         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
17788         <sigaltstack-offsets.h>.
17789         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
17790         longjmp_msg pointer.
17791         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
17792         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
17793         signal stack.
17794         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
17796 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
17798         * elf/stackguard-macros.h: Remove file.
17799         * sysdeps/generic/stackguard-macros.h: New file.
17800         * sysdeps/i386/stackguard-macros.h: Likewise.
17801         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
17802         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
17803         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
17804         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
17805         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
17806         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
17807         * sysdeps/x86_64/stackguard-macros.h: Likewise.
17808         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
17809         <elf/stackguard-macros.h>.
17811         [BZ #14109]
17812         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
17813         __aligned__ in attribute.
17814         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
17815         (gregset_t): Likewise.
17817 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
17819         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
17820         * sysdeps/x86_64/64/Implies-after: Here.  New file.
17821         * sysdeps/x86_64/x32/Implies-after: New file.
17823 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
17825         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
17826         and access return value for _dl_profile_fixup.  Use R10_LP to
17827         load frame size.
17829 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
17831         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
17833 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
17835         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
17836         * sysdeps/x86_64/x32/sysdep.h: New file.
17838 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
17840         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
17841         * sysdeps/x86_64/setjmp.S: Likewise.
17843 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17845         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
17846         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
17847         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
17848         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
17849         remove unused global constant.
17851 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
17853         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
17854         include of <not-cancel.h>.
17856 2012-05-15  Roland McGrath  <roland@hack.frob.com>
17858         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
17860 2012-05-15  Jeff Law  <law@redhat.com>
17861             Andreas Jaeger  <aj@suse.de>
17863         [BZ #13594]
17864         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
17865         out from...
17866         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
17867         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
17868         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
17869         code changing __hst_map_handle.map.
17871 2012-05-15  Roland McGrath  <roland@hack.frob.com>
17873         * configure.in (sysnames): Look for Implies-before and Implies-after
17874         files.
17875         * configure: Regenerated.
17877 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
17879         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
17880         8-byte data alignment with LP_SIZE alignment.
17882 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
17884         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
17885         into R10_LP.
17887 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
17889         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
17891 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
17893         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
17894         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
17895         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
17896         Likewise.
17897         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
17899 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
17901         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
17902         (stackinfo_sub_sp): Likewise.
17904 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
17906         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
17907         RAX_LP.
17909 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
17911         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
17912         into R*_LP.
17914 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
17916         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
17917         sizes into R*_LP.
17919 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
17921         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
17923 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
17925         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
17926         into R11_LP and load __x86_64_shared_cache_size_half into
17927         R8_LP.
17929 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
17931         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
17932         R8_LP.
17934 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17936         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
17937         logb for POWER7.
17938         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
17939         logbf for POWER7.
17940         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
17941         logbl for POWER7.
17942         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
17943         powerpc32/power7/fpu/s_logb.c via #include.
17944         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
17945         powerpc32/power7/fpu/s_logbf.c via #include.
17946         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
17947         powerpc32/power7/fpu/s_logbl.c via #include.
17949 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
17951         * README.libm: Remove file.
17953 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
17955         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
17956         count for x32.  Use R*_LP and omit operand-size suffix.
17958 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
17960         * shlib-versions: Move x86_64-.*-linux.* entries to ...
17961         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
17962         * sysdeps/x86_64/x32/shlib-versions: New file.
17964 2012-05-14  Roland McGrath  <roland@hack.frob.com>
17966         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
17967         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
17968         Use _dl_fatal_printf instead.
17970 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
17972         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
17973         set if not set by the user.  Do not allow for being unset.
17974         * sysdeps/unix/sysv/linux/configure: Regenerated.
17976 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
17978         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
17979         the `q' suffix from lea and replace .quad with ASM_ADDR.
17981 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
17983         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
17984         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
17985         instead of $17.
17986         (PTR_DEMANGLE): Likewise.
17988 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
17990         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
17991         (LP_OP): Likewise.
17992         (ASM_ADDR): Likewise.
17993         (RAX_LP): Likewise.
17994         (RBP_LP): Likewise.
17995         (RBX_LP): Likewise.
17996         (RCX_LP): Likewise.
17997         (RDI_LP): Likewise.
17998         (RSI_LP): Likewise.
17999         (RSP_LP): Likewise.
18000         (R8_LP): Likewise.
18001         (R9_LP): Likewise.
18002         (R10_LP): Likewise.
18003         (R10_LP): Likewise.
18004         (R11_LP): Likewise.
18005         (R12_LP): Likewise.
18006         (R13_LP): Likewise.
18007         (R14_LP): Likewise.
18008         (R15_LP): Likewise.
18010 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
18012         * sysdeps/x86_64/x32/dl-machine.h: New file.
18014 2012-05-14  Andreas Jaeger  <aj@suse.de>
18016         * manual/Makefile (subdir): Remove export of subdir.
18017         (all): Remove target.
18018         (.PHONY): Remove all from list.
18019         (mkinstalldirs): Remove.
18020         (.PHONY): Remove installdirs from list.
18021         ($(inst_infodir)/libc.info): Use make-target-directory.
18022         (installdirs): Remove.
18023         (subdir_%): Remove.
18024         (glibc-targets): Remove.
18025         (lib): Remove.
18026         (stubs): Remove.
18027         ($(objpfx)stubs ../po/manual.pot): Remove.
18028         ($(objpfx)stamp%): Remove.
18029         (make-target-directory): Remove.
18030         (subdir_install): Remove.
18031         (routines): Remove.
18032         (aux): Remove.
18033         (sources): Remove.
18034         (objects): Remove.
18035         (headers): Remove.
18037         [BZ #13750]
18038         * manual/.gitignore: Remove, it's not needed anymore.
18039         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
18040         all files in it.
18041         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
18042         directory.
18043         (texis): Renamed to $(objpfx)texis.
18044         (texis-path): New, contains path to generated files.
18045         (chapters.%): Use texis-path for complete path, add extra argument
18046         libc-texinfo.sh.
18047         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
18048         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
18049         (summary,texi, stamp-summary): Use complete path of
18050         files. Generate files in build dir.
18051         (dir-add.texi): Build in build dir.
18052         (libm-err.texi,stamp-libm-err): Likewise.
18053         (version.texi, stamp-version): Likewise.
18054         (.%c.texi): Likewise.
18055         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
18056         (mostlyclean): Remove target.
18057         (realclean): Remove target.
18058         (generated): Add new variable with contents from mostlyclean and
18059         realclean, remove entries duplicated in common-mostlyclean, add
18060         stamp-libm-err and stamp-version.
18061         (generated-dirs): Add libc directory.
18062         ($(inst_infodir)/libc.info): Install files from build dir.
18064         * manual/install.texi (Configuring and compiling): Adjust since
18065         the info files are not part of the tar ball anymore.
18067 2012-05-14  Andreas Jaeger  <aj@suse.de>
18069         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
18070         variable.
18072 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
18074         [BZ #13717]
18075         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
18076         to 2.2.0 where earlier.
18077         * sysdeps/unix/sysv/linux/configure: Regenerated.
18078         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
18079         Remove conditional code.
18080         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
18081         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
18082         Remove conditional code.
18083         [!__NR_lchown]: Likewise.
18084         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
18085         [__NR_lchown]: Likewise.
18086         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
18087         comment referencing __ASSUME_LCHOWN_SYSCALL.
18088         * sysdeps/unix/sysv/linux/i386/sigaction.c
18089         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
18090         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
18091         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
18092         Remove conditional code.
18093         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
18094         (__protocol_available): Remove #if 0 code.
18095         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
18096         conditional code.
18097         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
18098         * sysdeps/unix/sysv/linux/kernel-features.h
18099         (__ASSUME_GETCWD_SYSCALL): Don't define.
18100         (__ASSUME_REALTIME_SIGNALS): Likewise.
18101         (__ASSUME_PREAD_SYSCALL): Likewise.
18102         (__ASSUME_PWRITE_SYSCALL): Likewise.
18103         (__ASSUME_POLL_SYSCALL): Likewise.
18104         (__ASSUME_LCHOWN_SYSCALL): Likewise.
18105         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
18106         non-SPARC.
18107         (__ASSUME_SIOCGIFNAME): Don't define.
18108         (__ASSUME_MSG_NOSIGNAL): Likewise.
18109         (__ASSUME_SENDFILE): Define unconditionally.
18110         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
18111         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
18112         conditional code.
18113         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
18114         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
18115         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
18116         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
18117         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
18118         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
18119         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
18120         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
18121         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
18122         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18123         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
18124         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
18125         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18126         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
18127         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
18128         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18129         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
18130         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
18131         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18132         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
18133         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
18134         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18135         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
18136         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
18137         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18138         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
18139         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
18140         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18141         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
18142         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
18143         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18144         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
18145         Remove conditional code.
18146         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18147         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
18148         Remove conditional code.
18149         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18150         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
18151         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
18152         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
18153         Remove conditional code.
18154         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18155         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
18156         Remove conditional code.
18157         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18158         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
18159         Remove conditional code.
18160         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18161         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
18162         Remove conditional code.
18163         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18164         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
18165         Remove conditional code.
18166         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18167         * sysdeps/unix/sysv/linux/sh/pwrite64.c
18168         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
18169         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18170         * sysdeps/unix/sysv/linux/sigaction.c
18171         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
18172         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
18173         * sysdeps/unix/sysv/linux/sigpending.c
18174         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
18175         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
18176         * sysdeps/unix/sysv/linux/sigprocmask.c
18177         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
18178         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
18179         * sysdeps/unix/sysv/linux/sigsuspend.c
18180         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
18181         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
18182         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
18183         (__libc_missing_rt_sigs): Remove.
18184         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
18185         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
18186         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
18187         Remove conditional code.
18188         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
18189         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
18190         return 1.
18191         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
18192         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
18193         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
18194         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
18196 2012-05-14  Andreas Jaeger  <aj@suse.de>
18198         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
18199         it's not used in glibc.
18200         (__coshm1): Likewise.
18201         (__acosh1p): Likewise.
18202         (__sgn): Likewise.
18204         * manual/string.texi (Copying and Concatenation): Add missing
18205         variable in concat example.
18206         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
18208 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
18210         [BZ #14103]
18211         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
18212         __builtin_clzl with __builtin_clzll.
18214 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
18216         [BZ #14104]
18217         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
18218         libc_freeres_ptr.
18220 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
18222         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
18223         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
18224         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
18225         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
18227 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
18229         * NEWS: Update ia64 info.
18231 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
18233         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
18234         used as bcopy.
18236 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
18238         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
18239         * sysdeps/unix/syscalls.list (dup3): Likewise.
18240         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
18241         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
18243 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
18245         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
18246         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
18248 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
18250         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
18251         thread pointer.
18252         (TLS_IE): Use mov/add instead of movq/addq to load thread
18253         pointer.
18254         (TLS_GD_PREFIX): New.
18255         (TLS_GD): Use it.
18257 2012-05-11  David S. Miller  <davem@davemloft.net>
18259         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
18260         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
18261         (_FPU_SETCW): Likewise.
18263 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
18265         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
18266         is 32-byte aligned.
18268 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
18270         [BZ #11837]
18271         * iconvdata/gb18030.c: Update tables.
18272         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
18273         characters specially.
18274         (BODY for TO_LOOP): Add encoding of missing ranges.
18276 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
18278         [BZ #13673]
18279         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
18280         * sysdeps/mach/hurd/dup3.c: Likewise.
18281         * sysdeps/mach/hurd/readlinkat.c: Likewise.
18282         * sysdeps/powerpc/memmove.c:: Likewise.
18284 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
18286         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
18287         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
18289 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
18291         * elf/elf.h (R_X86_64_RELATIVE64): New.
18292         (R_X86_64_NUM): Updated.
18293         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
18294         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
18295         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
18296         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
18297         tst-quad1pie tst-quad2pie
18298         (modules-names): Add tst-quadmod1 tst-quadmod2.
18299         ($(objpfx)tst-quad1): New dependency.
18300         ($(objpfx)tst-quad2): Likewise.
18301         ($(objpfx)tst-quad1pie): Likewise.
18302         ($(objpfx)tst-quad2pie): Likewise.
18303         * sysdeps/x86_64/tst-quad1.c: New file.
18304         * sysdeps/x86_64/tst-quad1pie.c: New file.
18305         * sysdeps/x86_64/tst-quad2.c: Likewise.
18306         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
18307         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
18308         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
18309         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
18310         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
18312 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18314         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
18315         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
18316         * streams/stropts.h (t_scalar_t): Define type.
18318         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
18319         (_PATH_PRESERVE): Set to "/var/lib".
18320         (_PATH_RWHODIR): Set to "/var/spool/rwho".
18322         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
18323         instead of int.
18325         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
18326         if __dir_mkfile succeeded.
18328         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
18329         checking for _hurd_dtablesize.  Unlock it right after having
18330         finished _hurd_dtable allocation.
18332 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
18334         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
18335         * sysdeps/mach/hurd/configure: Regenerated.
18336         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
18337         special-casing to...
18338         * sysdeps/gnu/configure.in: ... this new file.
18339         * sysdeps/unix/sysv/linux/configure: Regenerated.
18340         * sysdeps/gnu/configure: New generated file.
18342         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
18343         for Linux: use nsec instead of usec, as well as:
18344         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
18345         members of type struct timespec.
18346         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
18347         New macros.
18348         (struct stat64): Likewise.
18349         (_STATBUF_ST_NSEC): New macro.
18350         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
18352         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
18353         __strtoul_internal rather than strtoul.
18355 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
18357         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
18358         and reject them.
18360 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18362         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
18363         which preserves existing values.
18364         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
18366 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
18368         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
18369         TIMEOUT values.  Return EINVAL for NFDS values either negative or
18370         greater than FD_SETSIZE.
18372 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18374         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
18375         allocated, call __vm_protect to finish enabling the existing space, and
18376         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
18377         allocate the remainder.
18379 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
18381         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
18382         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
18384 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18386         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
18387         sysdeps/mach/hurd/readlink.c.
18389         * posix/tst-sysconf.c (posix_options): Only use
18390         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
18391         _POSIX_SYNCHRONIZED_IO when they are defined
18392         * sysdeps/mach/hurd/bits/posix_opt.h:
18393         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
18394         (_XOPEN_REALTIME): Undefine macro.
18395         (_XOPEN_REALTIME_THREADS): Undefine macro.
18396         (_XOPEN_SHM): Undefine macro.
18397         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
18398         macro to -1.
18399         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
18400         macro to -1.
18401         (_POSIX_ASYNC_IO): Undefine macro.
18402         (_POSIX_PRIORITIZED_IO): Undefine macro.
18403         (_POSIX_SPIN_LOCKS): Define macro to -1.
18405         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
18406         SA_NODEFER, SA_RESETHAND.
18407         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
18408         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
18409         F_DUPFD_CLOEXEC.
18411 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
18413         * elf/Makefile (pldd-modules): Define unconditionally.
18415 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
18417         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
18419 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18421         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
18422         Return ENOENT when name is empty.
18423         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
18425 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
18427         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
18429         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
18431 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18433         Fix mlock in all cases except non-readable pages.
18434         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
18435         instead of VM_PROT_ALL as parameter to __vm_wire function.
18437         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
18438         (__mkdir): When path is `/', just fail with EEXIST.
18439         * sysdeps/mach/hurd/mkdirat.c: Likewise.
18441 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
18443         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
18444         <sys/uio.h> (for writev).
18445         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
18446         and <sys/param.h> (for MIN).
18448 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
18450         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
18451         REQUESTED_TIME.  Properly set the remaining time and return EINTR
18452         if interrupted.
18454 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
18456         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
18457         Depend on against $(link-rpcuserlibs).
18459 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18461         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
18462         (__libc_stack_end): Do not use attribute_relro.
18463         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
18464         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
18465         to libthread-provided value.
18466         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
18467         attribute_relro.
18469 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
18471         [BZ #3748]
18472         * bits/libc-lock.h (__libc_once_get): New macro.
18473         * sysdeps/mach/bits/libc-lock.h: Likewise.
18474         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
18475         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
18476         instead of using implementation details.
18478         * libio/fileops.c: Unconditionally include <kernel-features.h>.
18479         * libio/freopen.c: Likewise.
18480         * libio/freopen64.c: Likewise.
18481         * misc/syslog.c: Likewise.
18482         * nscd/connections.c: Likewise.
18483         * nscd/netgroupcache.c: Likewise.
18484         * sysdeps/posix/getcwd.c: Likewise.
18486 2012-05-10  Roland McGrath  <roland@hack.frob.com>
18488         * math/w_ilogbf.c: Add #include <limits.h>.
18490 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18492         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
18493         path instead of returning without unlocking.
18495         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
18496         immediate-write ioctls.
18497         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
18499 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
18501         * sysdeps/mach/hurd/i386/init-first.c (init): Use
18502         __builtin_frame_address instead of making assumptions about the
18503         location of the return address relative to DATA.  Force early load of
18504         the return address.
18505         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
18506         __builtin_frame_address.
18508         dup3 for GNU Hurd.
18509         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
18510         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
18511         implement dup3 and do some further code clean-ups.
18512         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
18513         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
18515 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18517         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
18519         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
18520         HURD_CRITICAL_END around holding _hurd_dtable_lock.
18521         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
18522         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
18523         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
18524         d->port.lock.
18526         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
18527         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
18528         when handler == SIG_ERR, not when handler != SIG_ERR.
18530 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
18532         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
18533         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
18534         definitions.
18536         accept4 for GNU Hurd.
18537         * include/sys/socket.h (__libc_accept4): New prototype.
18538         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
18539         to implement __libc_accept4.
18540         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
18541         __libc_accept4.
18542         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
18544         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
18545         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
18546         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
18547         signal-defines.sym.
18549 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18551         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
18553 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
18555         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
18556         assertion on O_CLOEXEC flag.
18557         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
18558         * hurd/intern-fd.c: Likewise.
18559         * hurd/port2fd.c: Likewise.
18561 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18563         [BZ #3906]
18564         * bits/in.h (IPV6_PKTINFO): Define new macro.
18565         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
18567 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18569         [BZ #13954]
18570         [BZ #13955]
18571         [BZ #13956]
18572         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
18573         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
18574         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
18575         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
18576         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
18577         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
18578         * math/libm-test.inc (logb_test) : Additional logb tests.
18580 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
18581             Andreas Jaeger  <aj@suse.de>
18583         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
18584         * configure: Regenerated.
18585         * config.h.in (LINK_OBSOLETE_RPC): New macro.
18586         * config.make.in (link-obsolete-rpc): New substituted variable.
18587         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
18588         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
18589         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
18590         (shared-only-routines): Don't set it under [link-obsolete-rpc],
18591         so that libc.a contains the symbols.
18592         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
18593         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
18594         * sunrpc/auth_none.c: Likewise.
18595         * sunrpc/auth_unix.c: Likewise.
18596         * sunrpc/authdes_prot.c: Likewise.
18597         * sunrpc/authuxprot.c: Likewise.
18598         * sunrpc/clnt_gen.c: Likewise.
18599         * sunrpc/clnt_perr.c: Likewise.
18600         * sunrpc/clnt_raw.c: Likewise.
18601         * sunrpc/clnt_simp.c: Likewise.
18602         * sunrpc/clnt_tcp.c: Likewise.
18603         * sunrpc/clnt_udp.c: Likewise.
18604         * sunrpc/clnt_unix.c: Likewise.
18605         * sunrpc/des_crypt.c: Likewise.
18606         * sunrpc/des_soft.c: Likewise.
18607         * sunrpc/get_myaddr.c: Likewise.
18608         * sunrpc/key_call.c: Likewise.
18609         * sunrpc/key_prot.c: Likewise.
18610         * sunrpc/netname.c: Likewise.
18611         * sunrpc/pm_getmaps.c: Likewise.
18612         * sunrpc/pm_getport.c: Likewise.
18613         * sunrpc/pmap_clnt.c: Likewise.
18614         * sunrpc/pmap_prot.c: Likewise.
18615         * sunrpc/pmap_prot2.c: Likewise.
18616         * sunrpc/pmap_rmt.c: Likewise.
18617         * sunrpc/publickey.c: Likewise.
18618         * sunrpc/rpc_cmsg.c: Likewise.
18619         * sunrpc/rpc_common.c: Likewise.
18620         * sunrpc/rpc_dtable.c: Likewise.
18621         * sunrpc/rpc_prot.c: Likewise.
18622         * sunrpc/rpc_thread.c: Likewise.
18623         * sunrpc/rtime.c: Likewise.
18624         * sunrpc/svc.c: Likewise.
18625         * sunrpc/svc_auth.c: Likewise.
18626         * sunrpc/svc_raw.c: Likewise.
18627         * sunrpc/svc_run.c: Likewise.
18628         * sunrpc/svc_tcp.c: Likewise.
18629         * sunrpc/svc_udp.c: Likewise.
18630         * sunrpc/svc_unix.c: Likewise.
18631         * sunrpc/svcauth_des.c: Likewise.
18632         * sunrpc/xcrypt.c: Likewise.
18633         * sunrpc/xdr.c: Likewise.
18634         * sunrpc/xdr_array.c: Likewise.
18635         * sunrpc/xdr_float.c: Likewise.
18636         * sunrpc/xdr_intXX_t.c: Likewise.
18637         * sunrpc/xdr_mem.c: Likewise.
18638         * sunrpc/xdr_rec.c: Likewise.
18639         * sunrpc/xdr_ref.c: Likewise.
18640         * sunrpc/xdr_sizeof.c: Likewise.
18641         * sunrpc/xdr_stdio.c: Likewise.
18643 2012-05-10  Roland McGrath  <roland@hack.frob.com>
18645         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
18646         change.  Update copyright years.
18648 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
18650         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
18652 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
18653             Joseph Myers  <joseph@codesourcery.com>
18654             Paul Pluzhnikov  <ppluzhnikov@google.com>
18656         [BZ #14012]
18657         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
18658         requiring rpcgen.
18659         [cross-compiling] (extra-libs): Likewise.
18660         [cross-compiling] (extra-libs-others): Likewise.
18661         [cross-compiling] (librpcsvc-routines): Likewise.
18662         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
18663         [cross-compiling] (omit-deps): Likewise.
18664         (sunrpc-CPPFLAGS): New variable.
18665         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
18666         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
18667         (cross-rpcgen-objs): New variable.
18668         (extra-objs): Append $(cross-rpcgen-objs).
18669         ($(cross-rpcgen-objs)): New rule.
18670         ($(objpfx)cross-rpcgen): Likewise.
18671         (rpcgen-cmd): Define to use $(built-program-file).  Expand
18672         comment.
18673         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
18674         ($(objpfx)x%.stmp): Likewise.
18675         * sunrpc/proto.h [IS_IN_build] (_): Define.
18676         [IS_IN_build] (_libc_intl_domainname): Likewise.
18678 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
18680         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
18681         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
18682         and R_X86_64_TPOFF64.
18684 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
18686         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
18687         sysdeps/unix/sysv/syscalls.list.
18688         (stime): Likewise.
18689         (utime): Likewise.
18690         * sysdeps/unix/sysv/syscalls.list: Remove file.
18692 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
18694         [BZ #3440]
18695         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
18696         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
18697         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
18698         (__LC_IDENTIFICATION): Make these macros useful in #if
18699         expressions, as required by C99.
18701 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
18703         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
18704         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
18705         after this.
18707 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
18709         * stdlib/longlong.h: Updated from GCC.
18711 2012-05-09  Andreas Jaeger  <aj@suse.de>
18713         * nscd/nscd.c (run_modes): Make named enum, reorder so that
18714         default is first entry.
18715         (run_mode): Set type.
18716         (main): Remove informal message about syslog.
18717         (options): Fix typo.
18719         [BZ #14053]
18720         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
18721         to asm.
18722         (lrint): Likewise.
18723         (llrintf): Likewise.
18724         (llrint): Likewise.
18725         (rint): Likewise.
18726         (rintf): Likewise.
18727         (nearbyint): Likewise.
18728         (nearbyintf): Likewise.
18730 2012-05-09  Andreas Jaeger  <aj@suse.de>
18731             Pedro Alves  <palves@redhat.com>
18733         * nscd/nscd.c (run_mode): Use enum.
18734         (main): Cleanup coding style issue.
18736 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
18737             Andreas Jaeger  <aj@suse.de>
18739         * nscd/nscd.c (go_background): Replaced with...
18740         (run_mode): ... this.
18741         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
18742         (options): Add -F --foreground.
18743         (main): Implement it.
18744         (parse_opt): Parse it.
18746 2012-05-09  Andreas Jaeger  <aj@suse.de>
18748         [BZ #14083]
18749         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
18750         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
18751         -Wconversion warning.
18752         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
18753         Likewise.
18755 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
18757         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
18758         == 0.
18759         (LC_ALL): Use macro-int-constant.
18760         (LC_COLLATE): Likewise.
18761         (LC_CTYPE): Likewise.
18762         (LC_MESSAGES): Likewise.
18763         (LC_MONETARY): Likewise.
18764         (LC_NUMERIC): Likewise.
18765         (LC_TIME): Likewise.
18766         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
18767         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
18768         [ISO || ISO99 || ISO11] (*_t): Do not allow.
18769         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
18770         Specify type.
18771         [C99-based standards] (float_t): Expect type.
18772         [C99-based standards] (double_t): Expect type.
18773         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
18774         type.
18775         [C99-based standards] (HUGE_VALL): Likewise.
18776         [C99-based standards] (INFINITY): Likewise.
18777         [C99-based standards] (NAN): Likewise.
18778         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
18779         [C99-based standards] (FP_NAN): Likewise.
18780         [C99-based standards] (FP_NORMAL): Likewise.
18781         [C99-based standards] (FP_SUBNORMAL): Likewise.
18782         [C99-based standards] (FP_ZERO): Likewise.
18783         [C99-based standards] (FP_FAST_FMA): Use
18784         optional-macro-int-constant.  Specify type.  Require == 1.
18785         [C99-based standards] (FP_FAST_FMAF): Likewise.
18786         [C99-based standards] (FP_FAST_FMAL): Likewise.
18787         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
18788         [C99-based standards] (FP_ILOGBNAN): Likewise.
18789         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
18790         Specify type.
18791         [C99-based standards] (MATH_ERREXCEPT): Likewise.
18792         [C99-based standards] (math_errhandling): Specify type.
18793         [ISO99 || ISO11] (signgam): Do not allow.
18794         [non-C99-based standards] (copysignf): Do not allow.
18795         [non-C99-based standards] (exp2f): Likewise.
18796         [non-C99-based standards] (log2f): Likewise.
18797         [non-C99-based standards] (modff): Allow.
18798         [non-C99-based standards] (erff): Do not allow.
18799         [non-C99-based standards] (erfcf): Likewise.
18800         [non-C99-based standards] (gammaf): Likewise.
18801         [non-C99-based standards] (hypotf): Likewise.
18802         [non-C99-based standards] (j0f): Likewise.
18803         [non-C99-based standards] (j1f): Likewise.
18804         [non-C99-based standards] (jnf): Likewise.
18805         [non-C99-based standards] (lgammaf): Likewise.
18806         [non-C99-based standards] (tgammaf): Likewise.
18807         [non-C99-based standards] (y0f): Likewise.
18808         [non-C99-based standards] (y1f): Likewise.
18809         [non-C99-based standards] (ynf): Likewise.
18810         [non-C99-based standards] (isnanf): Likewise.
18811         [non-C99-based standards] (acoshf): Likewise.
18812         [non-C99-based standards] (asinhf): Likewise.
18813         [non-C99-based standards] (atanhf): Likewise.
18814         [non-C99-based standards] (cbrtf): Likewise.
18815         [non-C99-based standards] (expm1f): Likewise.
18816         [non-C99-based standards] (ilogbf): Likewise.
18817         [non-C99-based standards] (log1pf): Likewise.
18818         [non-C99-based standards] (logbf): Likewise.
18819         [non-C99-based standards] (nextafterf): Likewise.
18820         [non-C99-based standards] (remainderf): Likewise.
18821         [non-C99-based standards] (rintf): Likewise.
18822         [non-C99-based standards] (scalbf): Likewise.
18823         [non-C99-based standards] (copysignl): Likewise.
18824         [non-C99-based standards] (exp2l): Likewise.
18825         [non-C99-based standards] (log2l): Likewise.
18826         [non-C99-based standards] (modfl): Allow.
18827         [non-C99-based standards] (erfl): Do not allow.
18828         [non-C99-based standards] (erfcl): Likewise.
18829         [non-C99-based standards] (gammal): Likewise.
18830         [non-C99-based standards] (hypotl): Likewise.
18831         [non-C99-based standards] (j0l): Likewise.
18832         [non-C99-based standards] (j1l): Likewise.
18833         [non-C99-based standards] (jnl): Likewise.
18834         [non-C99-based standards] (lgammal): Likewise.
18835         [non-C99-based standards] (tgammal): Likewise.
18836         [non-C99-based standards] (y0l): Likewise.
18837         [non-C99-based standards] (y1l): Likewise.
18838         [non-C99-based standards] (ynl): Likewise.
18839         [non-C99-based standards] (isnanl): Likewise.
18840         [non-C99-based standards] (acoshl): Likewise.
18841         [non-C99-based standards] (asinhl): Likewise.
18842         [non-C99-based standards] (atanhl): Likewise.
18843         [non-C99-based standards] (cbrtl): Likewise.
18844         [non-C99-based standards] (expm1l): Likewise.
18845         [non-C99-based standards] (ilogbl): Likewise.
18846         [non-C99-based standards] (log1pl): Likewise.
18847         [non-C99-based standards] (logbl): Likewise.
18848         [non-C99-based standards] (nextafterl): Likewise.
18849         [non-C99-based standards] (remainderl): Likewise.
18850         [non-C99-based standards] (rintl): Likewise.
18851         [non-C99-based standards] (scalbl): Likewise.
18852         [ISO || ISO99 || ISO11] (*_t): Do not allow.
18853         [non-C99-based standards] (FP_*): Do not allow.
18854         [C99-based standards] (FP_*): Change to
18855         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
18856         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
18857         allow.
18858         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
18859         (SIG_ERR): Likewise.
18860         [X/Open-based standards] (SIG_HOLD): Likewise.
18861         (SIG_IGN): Likewise.
18862         (SIGABRT): Use macro-int-constant.  Specify type.  Require
18863         positive value.
18864         (SIGFPE): Likewise.
18865         (SIGILL): Likewise.
18866         (SIGINT): Likewise.
18867         (SIGSEGV): Likewise.
18868         (SIGTER): Likewise.
18869         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
18870         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
18871         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
18872         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
18873         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
18874         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
18875         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
18876         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
18877         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
18878         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
18879         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
18880         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
18881         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
18882         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
18883         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
18884         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
18885         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
18886         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
18887         [X/Open-based standards] (SIGTRAP): Likewise.
18888         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
18889         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
18890         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
18891         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
18892         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
18893         allow.
18895 2012-05-08  Ian Wienand  <ianw@vmware.com>
18897         [BZ #14080]
18898         * time/tzset.c (__tzset_parse_tz): Update default rules for
18899         daylight time changes in the Energy Policy Act of 2005.
18901 2012-05-09  Andreas Jaeger  <aj@suse.de>
18903         [BZ #13983]
18904         * elf/ldconfig.c (parse_conf): Change string to make clear that
18905         ldconfig only issued a warning if ld.so.conf does not exist.
18907 2012-05-08  David S. Miller  <davem@davemloft.net>
18909         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
18910         movxtod instead of popping the value on the stack.
18912         * sysdeps/sparc/fpu/libm-test-ulps: Update.
18914 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
18916         * config.h.in: Add HAVE_ARM_PCS_VFP.
18918 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
18920         [BZ #13979]
18921         * include/features.h: Warn if user requests __FORTIFY_SOURCE
18922         checking but the checks are disabled for any reason.
18924 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
18926         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
18927         and ELF64_R_TYPE with ELFW(R_TYPE).
18929 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
18931         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
18932         (ulimit): Likewise.
18934         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
18935         (settimeofday): Likewise.
18937 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
18939         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
18940         a struct th_u2 inside the union, and move tu_block/tu_code into
18941         a new th_u3 union of tu_block/tu_code inside of that.  Move
18942         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
18943         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
18944         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
18945         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
18946         (th_stuff): Change to th_u1.tu_stuff.
18947         (th_data): Define.
18948         (th_msg): Change to th_u1.th_u2.tu_data.
18950 2012-05-07  David S. Miller  <davem@davemloft.net>
18952         * sysdeps/sparc/fpu/libm-test-ulps: Update.
18954         [BZ #14074]
18955         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
18956         (SETUP_PIC_REG): Use it.
18957         (SETUP_PIC_REG_LEAF): Use it.
18959 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
18961         [BZ #13885]
18962         [BZ #13923]
18963         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
18964         USE_AS_EXPM1L.
18965         (EXPL_FINITE): Likewise.
18966         (FLDLOG): Likewise.
18967         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
18968         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
18969         e_expl.S.
18970         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
18971         USE_AS_EXPM1L.
18972         (EXPL_FINITE): Likewise.
18973         (FLDLOG): Likewise.
18974         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
18975         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
18976         e_expl.S.
18977         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
18978         test of -max_value argument for long double.
18979         * sysdeps/i386/fpu/libm-test-ulps: Update.
18980         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18982 2012-05-06  David S. Miller  <davem@davemloft.net>
18984         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
18985         quad soft-float symbols whose references which are compiler
18986         generated.
18987         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
18989 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
18991         [BZ #13884]
18992         [BZ #13914]
18993         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
18994         USE_AS_EXP10L.
18995         (EXPL_FINITE): Likewise.
18996         (FLDLOG): Likewise.
18997         (c0): Likewise.
18998         (c1): Likewise.
18999         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
19000         Adjust comments for base varying.
19001         (__expl_finite): Change alias to EXPL_FINITE.
19002         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
19003         e_expl.S.
19004         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
19005         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
19006         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
19007         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
19008         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
19009         USE_AS_EXP10L.
19010         (EXPL_FINITE): Likewise.
19011         (FLDLOG): Likewise.
19012         (c0): Likewise.
19013         (c1): Likewise.
19014         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
19015         Adjust comments for base varying.
19016         (__expl_finite): Change alias to EXPL_FINITE.
19017         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
19018         tests for bugs.
19019         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19021         [BZ #14064]
19022         * math/libm-test.inc (check_float_internal): Correct ulp
19023         calculation for subnormal expected results.
19025 2012-05-06  Andreas Jaeger  <aj@suse.de>
19027         * Makeconfig (+math-flags): New, set to -frounding-math.
19028         (+cflags): Add +math-flags so that all of glibc gets compiled with
19029         it.
19031         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
19033 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
19035         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
19036         Disable one test.
19038         [BZ #13787]
19039         [BZ #13922]
19040         [BZ #14036]
19041         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
19042         (__ieee754_expl): Allow for and saturate large arguments.
19043         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
19044         (u_threshold): Likewise.
19045         (__exp): Call __ieee754_exp before checking for overflow and
19046         underflow.
19047         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
19048         (u_threshold): Likewise.
19049         (__expf): Call __ieee754_expf before checking for overflow and
19050         underflow.
19051         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
19052         (u_threshold): Likewise.
19053         (__expl): Call __ieee754_expl before checking for overflow and
19054         underflow.
19055         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
19056         (__ieee754_expl): Allow for and saturate large arguments.
19057         * math/libm-test.inc (exp_test): Add another test.  Do not allow
19058         missing overflow exception on overflow.
19059         (expm1_test): Do not allow missing overflow exception on overflow.
19061         * sysdeps/i386/fpu/e_expl.c: Move to ...
19062         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
19063         rather than using inline asm.
19064         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
19065         * sysdeps/x86_64/fpu/e_expl.S: Copy from
19066         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
19068         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
19069         (nice): Likewise.
19070         (poll): Likewise.
19071         (signal): Likewise.
19072         (time): Likewise.
19073         (times): Likewise.
19075 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
19077         * sysdeps/unix/syscalls.list (adjtime): Add entry from
19078         sysdeps/unix/common/syscalls.list.
19079         (fchmod): Likewise.
19080         (fchown): Likewise.
19081         (ftruncate): Likewise.
19082         (getrusage): Likewise.
19083         (gettimeofday): Likewise.
19084         (setpgid): Likewise.
19085         (setregid): Likewise.
19086         (setreuid): Likewise.
19087         (sigaction): Likewise.
19088         (truncate): Likewise.
19089         (vhangup): Likewise.
19090         * sysdeps/unix/common/syscalls.list: Remove file.
19091         * sysdeps/unix/bsd/Implies: Don't include unix/common.
19092         * sysdeps/unix/sysv/linux/Implies: Likewise.
19094 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
19096         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
19097         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
19098         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
19099         Moved to ...
19100         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
19101         Here.
19102         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
19103         to ...
19104         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
19105         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
19106         to ...
19107         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
19108         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
19109         to ...
19110         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
19111         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
19112         to ...
19113         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
19114         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
19115         to ...
19116         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
19117         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
19118         to ...
19119         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
19120         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
19121         to ...
19122         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
19123         Here.
19124         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
19125         to ...
19126         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
19127         Here.
19128         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
19129         to ...
19130         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
19131         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
19132         Moved to ...
19133         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
19134         Here.
19135         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
19136         to ...
19137         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
19139 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
19141         * sysdeps/unix/common/bits/dirent.h: Remove file.
19142         * sysdeps/unix/common/bits/fcntl.h: Likewise.
19144         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
19145         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
19146         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
19147         * sysdeps/unix/bsd/isatty.c: Likewise.
19148         * sysdeps/unix/bsd/tcdrain.c: Likewise.
19149         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
19150         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
19152 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19154         [BZ #13563]
19155         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
19156         long double comparison inaccuracies.
19157         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
19158         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19160 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
19162         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
19163         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
19165 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
19167         [BZ #14049]
19168         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
19169         nonzero digits before rounding a hex value.
19170         * stdlib/tst-strtod.c (tests): Add another test.
19172 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
19174         * sysdeps/s390/fpu/libm-test-ulps: Update.
19176 2012-05-03  Andreas Jaeger  <aj@suse.de>
19178         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
19179         does not get optimized out.
19180         (malloc_opt_barrier): New.
19182 2012-05-03  Andreas Jaeger  <aj@suse.de>
19183             Roland McGrath  <roland@hack.frob.com>
19185         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
19186         intermediate file deletion.
19187         (generated): Add .symlist files.
19189 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
19191         [BZ #13775]
19192         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
19193         Redirect under this condition.
19194         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
19195         [__USE_GNU] (__dprintf_chk): Not under this condition.
19196         [__USE_GNU] (__vdprintf_chk): Likewise.
19197         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
19198         under this condition.
19199         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
19200         [__USE_XOPEN2K8] (dprintf): Define under this condition.
19201         [__USE_XOPEN2K8] (vdprintf): Likewise.
19202         [__USE_GNU] (__dprintf_chk): Not under this condition.
19203         [__USE_GNU] (__vdprintf_chk): Likewise.
19204         [__USE_GNU] (dprintf): Likewise.
19205         [__USE_GNU] (vdprintf): Likewise.
19207 2012-05-03  Roland McGrath  <roland@hack.frob.com>
19209         * elf/Makefile (common-generated): Set this instead of generated for
19210         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
19211         $(all-built-dso)-derived lists.
19213 2012-05-03  Andreas Jaeger  <aj@suse.de>
19215         * sysdeps/i386/fpu/libm-test-ulps: Update.
19217         * FAQ: Removed.
19218         * FAQ.in: Likewise.
19219         * scripts/gen-FAQ.pl: Likewise.
19220         * manual/install.texi (Installation): Point to online location of
19221         FAQ.
19222         * Makefile (files-for-dist): Remove FAQ.
19223         (FAQ): Remove.
19225 2012-05-02  Allan McRae  <allan@archlinux.org>
19227         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
19228         (LDFLAGS-reldepmod5.so): Likewise.
19229         (LDFLAGS-reldep6mod1.so): Likewise.
19230         (LDFLAGS-reldep6mod4.so): Likewise.
19231         (LDFLAGS-reldep8mod3.so): Likewise.
19232         (LDFLAGS-unload4mod1.so): Likewise.
19233         (LDFLAGS-unload4mod2.so): Likewise.
19234         (LDFLAGS-tst-initorder): Likewise.
19235         (LDFLAGS-tst-initordera2.so): Likewise.
19236         (LDFLAGS-tst-initordera3.so): Likewise.
19237         (LDFLAGS-tst-initordera4.so): Likewise.
19238         (LDFLAGS-tst-initorderb2.so): Likewise.
19239         (LDFLAGS-noload): Likewise.
19240         (LDFLAGS-next): Likewise.
19241         (LDFLAGS-order2mod1.so): Likewise.
19242         (LDFLAGS-order2mod2.so): Likewise.
19243         (LDFLAGS-tst-initorder2): Likewise.
19244         (LDFLAGS-tst-initorder2a.so): Likewise.
19245         (LDFLAGS-tst-initorder2b.so): Likewise.
19246         (LDFLAGS-tst-initorder2c.so): Likewise.
19247         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
19249 2012-05-02  David S. Miller  <davem@davemloft.net>
19251         * sysdeps/sparc/fpu/libm-test-ulps: Update.
19253 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
19255         [BZ #14055]
19256         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
19258 2012-05-02  Andreas Jaeger  <aj@suse.de>
19260         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
19261         since we manipulate rounding mode.
19262         (CPPFLAGS-test-idouble.c): Likewise.
19263         (CPPFLAGS-test-ifloat.c): Likewise.
19264         (CFLAGS-test-ldouble.c): Likewise.
19265         (CFLAGS-test-double.c): Likewise.
19266         (CFLAGS-test-float.c): Likewise.
19267         (CFLAGS-test-misc.c): Likewise.
19268         (CFLAGS-test-test-fenv.c): Likewise.
19270 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19272         [BZ #2550]
19273         [BZ #2570]
19274         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
19275         comparisons to determine direction to adjust input.
19277 2012-05-01  Roland McGrath  <roland@hack.frob.com>
19279         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
19280         output to the target.
19282         * scripts/localplt.awk: New file.
19283         * elf/Makefile ($(objpfx)check-localplt): Target removed.
19284         (check-localplt-CFLAGS): Variable removed.
19285         ($(all-built-dso:=.jmprel)): New static pattern rule.
19286         (generated): Add those targets.
19287         (localplt-built-dso): New variable.
19288         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
19290         * elf/check-localplt.c: File removed.
19292         * scripts/check-execstack.awk: New file.
19293         * elf/Makefile ($(objpfx)check-execstack): Target removed.
19294         (check-execstack-CFLAGS): Variable removed.
19295         ($(objpfx)check-execstack.h): Target removed.
19296         ($(objpfx)execstack-default): New target.
19297         (generated): Add that instead of check-execstack.h.
19298         ($(all-built-dso:=.phdr)): New static pattern rule.
19299         (generated): Add those targets.
19300         * elf/check-execstack.c: File removed.
19302         * scripts/check-textrel.awk: New file.
19303         * elf/Makefile ($(objpfx)check-textrel): Target removed.
19304         (check-textrel-CFLAGS): Variable removed.
19305         (all-built-dso): Use := to define.o
19306         ($(all-built-dso:=.dyn)): New static pattern rule.
19307         (generated): Add those targets.
19308         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
19309         * config.make.in (READELF): New substituted variable.
19310         * elf/check-textrel.c: File removed.
19312 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
19314         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
19315         allow.
19316         * conform/data/ctype.h-data [C99-based standards] (isblank):
19317         Expect function.
19318         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
19319         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
19320         [ISO || ISO99 || ISO11] (*_t): Do not allow.
19321         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
19322         Specify type.  Require positive value.
19323         (EILSEQ): Likewise.
19324         (ERANGE): Likewise.
19325         [ISO || POSIX] (EILSEQ): Do not expect.
19326         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
19327         Specify type.  Require positive value.
19328         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
19329         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
19330         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
19331         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
19332         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
19333         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
19334         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
19335         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
19336         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
19337         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
19338         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
19339         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
19340         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
19341         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
19342         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
19343         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
19344         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
19345         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
19346         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
19347         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
19348         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
19349         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
19350         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
19351         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
19352         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
19353         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
19354         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
19355         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
19356         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
19357         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
19358         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
19359         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
19360         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
19361         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
19362         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
19363         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
19364         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
19365         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
19366         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
19367         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
19368         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
19369         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
19370         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
19371         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
19372         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
19373         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
19374         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
19375         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
19376         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
19377         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
19378         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
19379         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
19380         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
19381         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
19382         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
19383         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
19384         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
19385         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
19386         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
19387         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
19388         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
19389         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
19390         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
19391         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
19392         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
19393         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
19394         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
19395         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
19396         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
19397         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
19398         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
19399         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
19400         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
19401         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
19402         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
19403         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
19404         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
19405         Require >= 2.
19406         (FLT_ROUNDS): Expect as macro, not constant.
19407         (FLT_MANT_DIG): Use macro-int-constant.
19408         (DBL_MANT_DIG): Likewise.
19409         (LDBL_MANT_DIG): Likewise.
19410         (FLT_DIG): Likewise.
19411         (DBL_DIG): Likewise.
19412         (LDBL_DIG): Likewise.
19413         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
19414         (DBL_MIN_EXP): Likewise.
19415         (LDBL_MIN_EXP): Likewise.
19416         (FLT_MAX_EXP): Use macro-int-constant.
19417         (DBL_MAX_EXP): Likewise.
19418         (LDBL_MAX_EXP): Likewise.
19419         (FLT_MAX_10_EXP): Likewise.
19420         (DBL_MAX_10_EXP): Likewise.
19421         (LDBL_MAX_10_EXP): Likewise.
19422         (FLT_MAX): Use macro-constant.
19423         (DBL_MAX): Likewise.
19424         (LDBL_MAX): Likewise.
19425         (FLT_EPSILON): Use macro-constant.  Give upper bound.
19426         (DBL_EPSILON): Likewise.
19427         (LDBL_EPSILON): Likewise.
19428         (FLT_MIN): Likewise.
19429         (DBL_MIN): Likewise.
19430         (LDBL_MIN): Likewise.
19431         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
19432         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
19433         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
19434         [ISO11] (FLT_HAS_SUBNORM): Likewise.
19435         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
19436         [ISO11] (DBL_DECIMAL_DIG): Likewise.
19437         [ISO11] (FLT_DECIMAL_DIG): Likewise.
19438         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
19439         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
19440         [ISO11] (FLT_TRUE_MIN): Likewise.
19441         [ISO11] (LDBL_TRUE_MIN): Likewise.
19442         [ISO || ISO99 || ISO11] (*_t): Do not allow.
19443         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
19444         (SCHAR_MIN): Use macro-int-constant.  Specify type.
19445         (SCHAR_MAX): Likewise.
19446         (UCHAR_MAX): Likewise.
19447         (CHAR_MIN): Likewise.
19448         (CHAR_MAX): Likewise.
19449         (MB_LEN_MAX): Use macro-int-constant.
19450         (SHRT_MIN): Use macro-int-constant.  Specify type.
19451         (SHRT_MAX): Likewise.
19452         (USHRT_MAX): Likewise.
19453         (INT_MAX): Likewise.
19454         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
19455         bound negative.
19456         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
19457         bound with "U".
19458         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
19459         bound with "L".
19460         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
19461         bound negative.  Suffix upper bound with "L".
19462         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
19463         bound with "UL".
19464         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
19465         Specify type.
19466         [C99-based standards] (LLONG_MAX): Likewise.
19467         [C99-based standards] (ULLONG_MAX): Likewise.
19468         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
19469         == 0.
19470         [ISO11] (max_align_t): Require type.
19471         [ISO || ISO99 || ISO11] (*_t): Do not allow.
19473         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
19474         from $CFLAGS, without defining away __attribute__ calls.
19475         (checknamespace): Use $CFLAGS_namespace.
19477         * conform/conformtest.pl (@keywords): Only include C99 keywords
19478         for standards based on C99 or C11.
19480         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
19481         Disable tests.
19482         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
19483         UNIX98]: Likewise.
19485         * conform/conformtest.pl: Handle "macro-int-constant" and test for
19486         usability of symbols in #if.
19488         * conform/conformtest.pl: If macro or constant types start
19489         "promoted:", expect the symbol to be of the following type
19490         promoted by the integer promotions.
19492         * conform/conformtest.pl: Parse all "constant" and "macro" lines
19493         in one place.  Also handle "macro-constant".
19495         * conform/conformtest.pl: Only accept expected macro values with
19496         "==".  Parse all "macro" lines in one place.
19497         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
19499         * conform/conformtest.pl: Handle braced types on "constant" lines
19500         instead of handling "typed-constant".
19501         * conform/data/signal.h-data: Use "constant" instead of
19502         "typed-constant".
19504         * conform/conformtest.pl: Handle "optional-" at start of lines in
19505         one place rather than duplicating several cases.  Handle each
19506         format of "macro" line with initial "optional-".
19508         * conform/conformtest.pl: Only accept expected constant or
19509         optional-constant values with "==".  Parse all "constant" lines in
19510         one place.  Parse all "optional-constant" lines in one place.
19511         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
19512         * conform/data/fmtmsg.h-data: Likewise.
19513         * conform/data/netinet/in.h-data: Likewise.
19514         * conform/data/tar.h-data: Likewise.
19515         * conform/data/limits.h-data: Use "==" form on "constant" and
19516         "optional-constant" lines.
19518         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
19519         Use -std=c99 for XOPEN2K.
19520         (@knownproblems): Remove.
19521         (newtoken): Don't check %isknown.
19523         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
19524         Do not expect macro.
19525         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
19526         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
19527         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
19528         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
19529         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
19530         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
19531         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
19532         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
19533         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
19534         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
19535         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
19536         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
19537         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
19538         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
19539         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
19540         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
19541         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
19542         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
19543         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
19544         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
19545         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
19546         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
19547         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
19548         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
19549         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
19550         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
19551         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
19552         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
19553         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
19554         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
19555         [XPG3] (acosh): Likewise.
19556         [XPG3] (asinh): Likewise.
19557         [XPG3] (atanh): Likewise.
19558         [XPG3] (cbrt): Likewise.
19559         [XPG3] (expm1): Likewise.
19560         [XPG3] (ilogb): Likewise.
19561         [XPG3] (log1p): Likewise.
19562         [XPG3] (logb): Likewise.
19563         [XPG3] (nextafter): Likewise.
19564         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
19565         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
19566         [XPG3] (remainder): Likewise.
19567         [XPG3] (rint): Likewise.
19568         [XPG3 || XPG4 || UNIX98] (round): Likewise.
19569         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
19570         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
19571         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
19572         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
19573         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
19574         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
19575         [UNIX98 || XOPEN2K] (scalb): Expect.
19576         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
19577         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
19578         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
19579         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
19580         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
19581         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
19582         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
19583         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
19584         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
19585         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
19586         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
19587         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
19588         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
19589         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
19590         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
19591         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
19592         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
19593         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
19594         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
19595         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
19596         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
19597         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
19598         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
19599         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
19600         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
19601         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
19602         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
19603         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
19604         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
19605         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
19606         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
19607         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
19608         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
19609         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
19610         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
19611         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
19612         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
19613         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
19614         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
19615         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
19616         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
19617         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
19618         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
19619         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
19620         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
19621         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
19622         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
19623         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
19624         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
19625         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
19626         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
19627         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
19628         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
19629         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
19630         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
19631         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
19632         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
19633         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
19634         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
19635         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
19636         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
19637         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
19638         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
19639         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
19640         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
19641         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
19642         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
19643         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
19644         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
19645         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
19646         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
19647         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
19648         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
19649         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
19650         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
19651         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
19652         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
19653         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
19654         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
19655         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
19656         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
19657         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
19658         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
19659         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
19660         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
19661         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
19662         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
19663         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
19664         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
19665         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
19666         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
19667         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
19668         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
19669         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
19670         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
19671         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
19672         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
19673         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
19674         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
19675         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
19676         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
19677         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
19678         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
19679         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
19680         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
19681         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
19682         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
19683         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
19684         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
19685         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
19686         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
19687         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
19688         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
19689         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
19690         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
19691         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
19692         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
19693         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
19694         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
19695         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
19696         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
19697         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
19698         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
19699         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
19700         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
19701         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
19702         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
19703         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
19704         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
19705         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
19706         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
19707         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
19708         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
19709         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
19710         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
19711         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
19712         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
19714         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
19715         _XOPEN_SOURCE_EXTENDED for XPG4.
19717         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
19719         * Makeconfig (localtime): Remove variable.
19720         (inst_localtime-file): Likewise.
19722 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
19724         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
19725         Update.
19726         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
19727         Update.
19728         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
19729         Update.
19730         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
19731         Update.
19732         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
19733         Update.
19734         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
19735         Update.
19736         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
19737         Update.
19738         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
19739         Update.
19740         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
19741         Update.
19743 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
19745         [BZ #2550]
19746         [BZ #2570]
19747         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
19748         comparisons to determine direction to adjust input.
19749         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
19750         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
19751         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
19752         Likewise.
19753         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
19754         Likewise.
19755         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
19756         Likewise.
19757         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
19758         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
19759         Likewise.
19760         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
19761         Likewise.
19762         * math/libm-test.inc (nexttoward_test): Add more tests.
19764 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
19766         [BZ #14040]
19767         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
19768         in version GLIBC_2.1, not GLIBC_2.0.
19769         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
19770         Likewise.
19772 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
19774         [BZ #13942]
19775         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
19776         (1 - x) * (1 + x).
19777         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
19778         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
19779         * math/libm-test.inc (acos_test): Add more tests.
19780         (asin_test): Likewise.
19781         * sysdeps/i386/fpu/libm-test-ulps: Update.
19782         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19784         [BZ #14034]
19785         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
19786         of square root.
19787         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
19788         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
19789         * math/libm-test.inc (acos_test_tonearest): New function.
19790         (acos_test_towardzero): Likewise.
19791         (acos_test_downward): Likewise.
19792         (acos_test_upward): Likewise.
19793         (asin_test_tonearest): Likewise.
19794         (asin_test_towardzero): Likewise.
19795         (asin_test_downward): Likewise.
19796         (asin_test_upward): Likewise.
19797         (main): Call the new functions.
19798         * sysdeps/i386/fpu/libm-test-ulps: Update.
19799         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19801         [BZ #13884]
19802         [BZ #13924]
19803         * math/e_exp10.c: Include <float.h>.
19804         (__ieee754_exp10): Handle underflow here rather than multiplying
19805         large negative argument by M_LN10.
19806         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
19807         of __ieee754_expf.
19808         * math/e_exp10l.c: Include <float.h>.
19809         (__ieee754_exp10l): Handle underflow here rather than multiplying
19810         large negative argument by M_LN10l.
19811         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
19812         spurious overflow exception on underflow.
19814 2012-04-29  Marek Polacek  <polacek@redhat.com>
19816         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
19817         (__fortify_function): New macro.
19818         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
19819         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
19820         __extern_always_inline.
19821         * libio/bits/stdio2.h: Likewise.
19822         * libio/bits/stdio.h: Likewise.
19823         * string/string.h: Likewise.
19824         * string/bits/string3.h: Likewise.
19825         * include/stdio.h: Likewise.
19826         * stdlib/bits/stdlib.h: Likewise.
19827         * stdlib/stdlib.h: Likewise.
19828         * rt/bits/mqueue2.h: Likewise.
19829         * rt/mqueue.h: Likewise.
19830         * posix/bits/unistd.h: Likewise.
19831         * posix/unistd.h: Likewise.
19832         * io/bits/poll2.h: Likewise.
19833         * io/bits/fcntl2.h: Likewise.
19834         * io/fcntl.h: Likewise.
19835         * io/sys/poll.h: Likewise.
19836         * misc/bits/syslog.h: Likewise.
19837         * misc/bits/syslog-ldbl.h: Likewise.
19838         * misc/sys/syslog.h: Likewise.
19839         * socket/bits/socket2.h: Likewise.
19840         * socket/sys/socket.h: Likewise.
19841         * debug/tst-chk1.c: Likewise.
19842         * wcsmbs/bits/wchar2.h: Likewise.
19843         * wcsmbs/bits/wchar-ldbl.h: Likewise.
19844         * wcsmbs/wchar.h: Likewise.
19846 2012-04-29  Andreas Jaeger  <aj@suse.de>
19848         * Makerules (tests): Remove enable-check-abi protection.
19849         (check-abi-warn): Remove.
19850         (check-abi-%): Remove check-abi-warn usage.
19852         * configure.in: Remove check-abi configure option.
19853         * configure: Regenerated.
19854         * config.make.in (enable-check-abi): Remove.
19856 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
19858         [BZ #14033]
19859         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
19860         double functions to double *_finite functions.
19862         [BZ #13941]
19863         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
19864         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
19865         LDBL_MIN_EXP.
19866         * stdio-common/Makefile (tests): Add tst-sprintf3.
19867         * stdio-common/tst-sprintf3.c: New file.
19869         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
19870         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
19872 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
19874         * conform/conformtest.pl: Remove duplicate typed-constant
19875         handling.
19877 2012-04-28  David S. Miller  <davem@davemloft.net>
19879         * Makerules (%.abilist): Add vpath on sysdep_dirs.
19880         (check-abi-%): Remove AWK script prerequisite and explicit
19881         abilist directory.
19882         (check-abi): Rewrite to just diff the symlist with the abilist.
19883         (config-tls, config-abi-config): Delete, no longer used.
19884         (update-abi-%): Remove AWK script and explicit abilist directory.
19885         (update-abi): Rewrite to simply compare and conditionally copy the
19886         symlist and the sysdep abilist file.  Remove update-abi-config
19887         checks.
19888         * abilist/ld.abilist: Remove.
19889         * abilist/libBrokenLocale.abilist: Remove.
19890         * abilist/libanl.abilist: Remove.
19891         * abilist/libcrypt.abilist: Remove.
19892         * abilist/libdl.abilist: Remove.
19893         * abilist/librt.abilist: Remove.
19894         * abilist/libthread_db.abilist: Remove.
19895         * abilist/libutil.abilist: Remove.
19896         * scripts/extract-abilist.awk: Remove.
19897         * scripts/merge-abilist.awk: Remove.
19898         * sysdeps/generic/libcidn.abilist: New file.
19899         * sysdeps/generic/libnss_compat.abilist: New file.
19900         * sysdeps/generic/libnss_db.abilist: New file.
19901         * sysdeps/generic/libnss_dns.abilist: New file.
19902         * sysdeps/generic/libnss_files.abilist: New file.
19903         * sysdeps/generic/libnss_hesiod.abilist: New file.
19904         * sysdeps/generic/libnss_nis.abilist: New file.
19905         * sysdeps/generic/libnss_nisplus.abilist: New file.
19906         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
19907         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
19908         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
19909         file.
19910         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
19911         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
19912         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
19913         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
19914         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
19915         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
19916         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
19917         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
19918         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
19919         file.
19920         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
19921         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
19922         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
19923         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
19924         file.
19925         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
19926         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
19927         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
19928         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
19929         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
19930         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
19931         file.
19932         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
19933         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
19934         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
19935         file.
19936         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
19937         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
19938         New file.
19939         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
19940         New file.
19941         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
19942         New file.
19943         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
19944         New file.
19945         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
19946         New file.
19947         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
19948         New file.
19949         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
19950         New file.
19951         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
19952         New file.
19953         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
19954         New file.
19955         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
19956         New file.
19957         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
19958         New file.
19959         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
19960         New file.
19961         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
19962         New file.
19963         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
19964         file.
19965         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
19966         New file.
19967         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
19968         New file.
19969         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
19970         file.
19971         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
19972         New file.
19973         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
19974         New file.
19975         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
19976         file.
19977         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
19978         New file.
19979         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
19980         New file.
19981         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
19982         New file.
19983         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
19984         New file.
19985         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
19986         New file.
19987         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
19988         New file.
19989         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
19990         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
19991         file.
19992         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
19993         New file.
19994         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
19995         file.
19996         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
19997         file.
19998         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
19999         file.
20000         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
20001         file.
20002         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
20003         file.
20004         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
20005         New file.
20006         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
20007         file.
20008         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
20009         file.
20010         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
20011         New file.
20012         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
20013         file.
20014         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
20015         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
20016         file.
20017         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
20018         New file.
20019         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
20020         file.
20021         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
20022         file.
20023         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
20024         file.
20025         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
20026         file.
20027         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
20028         file.
20029         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
20030         New file.
20031         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
20032         file.
20033         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
20034         file.
20035         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
20036         New file.
20037         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
20038         file.
20039         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
20040         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
20041         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
20042         file.
20043         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
20044         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
20045         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
20046         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
20047         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
20048         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
20049         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
20050         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
20051         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
20052         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
20053         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
20054         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
20055         file.
20056         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
20057         New file.
20058         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
20059         file.
20060         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
20061         file.
20062         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
20063         file.
20064         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
20065         file.
20066         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
20067         file.
20068         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
20069         New file.
20070         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
20071         New file.
20072         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
20073         file.
20074         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
20075         New file.
20076         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
20077         file.
20078         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
20079         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
20080         file.
20081         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
20082         New file.
20083         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
20084         file.
20085         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
20086         file.
20087         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
20088         file.
20089         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
20090         file.
20091         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
20092         file.
20093         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
20094         New file.
20095         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
20096         New file.
20097         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
20098         file.
20099         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
20100         New file.
20101         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
20102         file.
20104 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
20106         * conform/conformtest.pl: Fix typo in handling typed-constant from
20107         allow-header.
20109 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
20111         * README: Cut down references to pre-2.6 Linux kernels and
20112         Linuxthreads.  Update lists of configurations in libc and ports
20113         and sort alphabetically.  Say "or newer" with Linux kernel version
20114         requirements.
20116         * config.h.in [IS_IN_build]: Allow compiling without optimization.
20118 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
20120         [BZ #887]
20121         * math/libm-test.inc (logb_test_downward): New test to expose
20122         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
20123         rounding mode.
20125 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
20127         [BZ #14027]
20128         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
20129         to be done.
20130         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
20131         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
20133 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
20135         * sysdeps/unix/i386/brk.S: Remove file.
20136         * sysdeps/unix/i386/dl-brk.S: Likewise.
20137         * sysdeps/unix/i386/pipe.S: Likewise.
20138         * sysdeps/unix/i386/sigreturn.S: Likewise.
20139         * sysdeps/unix/i386/syscall.S: Likewise.
20140         * sysdeps/unix/i386/vfork.S: Likewise.
20141         * sysdeps/unix/i386/wait.S: Likewise.
20143         * sysdeps/unix/common/tcsendbrk.c: Move to ...
20144         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
20146         * configure.in (arm*-none*): Do not allow without
20147         --enable-hacker-mode.
20148         (netbsd*): Remove case setting base_os.
20149         (386bsd*): Likewise.
20150         (freebsd*): Likewise.
20151         (bsdi*): Likewise.
20152         (osf*): Likewise.
20153         (sunos*): Likewise.
20154         (ultrix*): Likewise.
20155         (newsos*): Likewise.
20156         (dynix*): Likewise.
20157         (*bsd*): Likewise.
20158         (sysv*): Likewise.
20159         (isc*): Likewise.
20160         (esix*): Likewise.
20161         (sco*): Likewise.
20162         (minix*): Likewise.
20163         (irix4*): Likewise.
20164         (irix6*): Likewise.
20165         (solaris[2-9]*): Likewise.
20166         (none): Likewise.
20167         * configure: Regenerated.
20169 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20171         [BZ #11521]
20172         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
20173         overflow or cancellation in calculating denominator.
20174         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
20175         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
20176         down expression to avoid unexpected rounding in newer GCCs.
20177         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
20179 2012-04-26  David S. Miller  <davem@davemloft.net>
20181         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
20182         long-double compat symbols.
20183         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
20184         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
20185         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
20186         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
20187         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
20188         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
20189         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
20190         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
20191         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
20192         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
20193         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
20194         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
20195         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
20197 2012-04-25  David S. Miller  <davem@davemloft.net>
20199         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
20200         HWCAP_* values only after the memory barriers have been defined.
20201         (atomic_full_barrier): Define.
20202         (atomic_read_barrier): Define.
20203         (atomic_write_barrier): Define.
20205 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
20207         * shlib-versions: Add libgcc_s version information.
20208         * sysdeps/generic/libgcc_s.h: Remove.
20209         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
20210         libgcc_s.h.
20211         * sysdeps/gnu/unwind-resume.c: Likewise.
20212         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
20214 2012-04-25  David S. Miller  <davem@davemloft.net>
20216         * sysdeps/unix/sparc/brk.S: Delete.
20217         * sysdeps/unix/sparc/dl-brk.S: Delete.
20218         * sysdeps/unix/sparc/pipe.S: Delete.
20219         * sysdeps/unix/sparc/sysdep.S: Delete.
20220         * sysdeps/unix/sparc/sysdep.h: Delete.
20221         * sysdeps/unix/sparc/vfork.S: Delete.
20222         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
20223         SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
20224         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
20225         ret_ERRVAL, r0, r1, MOVE): Define.
20226         (JUMPTARGET): Remove.
20227         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
20228         sysdeps/unix/sparc/sysdep.h
20229         (ENTRY, END): Remove.
20230         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
20232 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
20234         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
20235         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
20236         -DIS_IN_build.
20238         * timezone/README: Update upstream location and email address for
20239         tzcode and tzdata.
20240         * timezone/zdump.c: Update from tzcode 2012b.
20241         * timezone/zic.c: Likewise.
20243         * configure.in (libc_cv_as_needed): Remove test.
20244         * configure: Regenerated.
20245         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
20246         conditional definition.
20247         [$(have-as-needed) != yes] (no-as-needed): Likewise.
20248         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
20249         * config.make.in (have-as-needed): Remove variable.
20251 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
20252             Paul Pluzhnikov  <ppluzhnikov@google.com>
20254         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
20255         strings correctly.
20257 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
20259         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
20260         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
20261         * sysdeps/sh/strlen.S: Likewise.
20263 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
20265         * sysdeps/unix/fork.S: Remove file.
20266         * sysdeps/unix/i386/fork.S: Likewise.
20267         * sysdeps/unix/sparc/fork.S: Likewise.
20269         * sysdeps/unix/system.c: Remove file.
20270         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
20272         * sysdeps/unix/getegid.S: Remove file.
20273         * sysdeps/unix/geteuid.S: Likewise.
20275 2012-04-24  Roland McGrath  <roland@hack.frob.com>
20277         * scripts/check-localplt.awk: New file.
20278         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
20279         of diff.
20280         * scripts/data/localplt-generic.data: Add a comment.
20282         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
20283         NODE when __dir_mkfile failed.
20284         * sysdeps/mach/hurd/symlinkat.c: Likewise.
20285         Reported by Ludovic Courtès <ludo@gnu.org>.
20287 2012-04-24  Andreas Jaeger  <aj@suse.de>
20289         * Makerules (common-clean): Also remove gen-as-const-headers
20290         files.
20292 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
20294         * Makerules (native-compile): Do not change working directory for
20295         build.  Use $(OUTPUT_OPTION) in command.
20296         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
20298 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20300         [BZ #13886]
20301         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
20302         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
20303         * math/libm-test.inc (floor_test): Add more tests.
20304         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
20306 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
20308         * sysdeps/unix/getdents.c: Remove file.
20309         * sysdeps/unix/sysv/getdents.c: Likewise.
20310         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
20312         * sysdeps/unix/syscalls.list (madvise): Add syscall from
20313         sysdeps/unix/mman/syscalls.list.
20314         (mmap): Likewise.
20315         (mprotect): Likewise.
20316         (msync): Likewise.
20317         (munmap): Likewise.
20318         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
20319         * sysdeps/unix/mman/syscalls.list: Remove.
20320         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
20322         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
20323         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
20324         * configure: Regenerated.
20325         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
20326         $(libgcc_s_suffix).
20327         * config.make.in (libgcc_s_suffix): Remove variable.
20329 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
20331         * sysdeps/unix/sysv/gethostname.c: Move to ...
20332         * sysdeps/posix/gethostname.c: ... here.
20334         * sysdeps/unix/execve.S: Remove file.
20336         * sysdeps/unix/_exit.S: Remove file.
20338 2012-04-23  Andreas Jaeger  <aj@suse.de>
20340         [BZ #13739]
20341         * manual/Makefile: Remove make dist support, there's no
20342         need for a stand-alone documentation tar ball.
20343         (TEXI2DVI): Define always, it's not in Makeconfig.
20344         (dist): Removed.
20345         (tar-it): Removed.
20346         (edition): Removed.
20347         (glibc-doc-$(edition).tar): Removed
20348         (%.Z): Removed.
20349         (%.gz): Removed.
20350         (%.uu): Removed.
20351         (ETAGS): Remove, it's in Makeconfig.
20352         (move-if-change): Remove, it's in Makeconfig.
20354 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
20356         [BZ #13970]
20357         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
20358         (strtod, strtof, strtold, strtol, strtoul, strtoq)
20359         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
20360         (strtod_l, strtof_l, strtold_l): Remove __wur.
20361         It is not necessarily an error to ignore strtol's return value.
20362         One can reliably look at the stored endptr to decide whether
20363         the number had valid syntax.
20365 2012-04-21  Andreas Jaeger  <aj@suse.de>
20367         [BZ #13739]
20368         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
20370 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
20372         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
20373         * sysdeps/unix/sysv/Versions: Remove file.
20375 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
20377         [BZ #13927]
20378         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20380 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
20382         [BZ #7064]
20383         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
20384         version from __vm86.
20386 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
20388         * sysdeps/unix/common/lxstat.c: Remove file.
20389         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
20391         * sysdeps/unix/sysv/Makefile: Remove file.
20393         * sysdeps/unix/sysv/direct.h: Remove file.
20395         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
20396         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
20397         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
20398         * sysdeps/unix/sysv/bits/signum.h: Likewise.
20399         * sysdeps/unix/sysv/bits/stat.h: Likewise.
20400         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
20401         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
20403         * sysdeps/unix/sysv/setrlimit.c: Remove file.
20405         * sysdeps/unix/xmknod.c: Remove file.
20406         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
20408         * sysdeps/unix/sysv/settimeofday.c: Remove file.
20410         * sysdeps/unix/sysv/i386/time.S: Remove file.
20412         * sysdeps/unix/fxstat.c: Remove file.
20413         * sysdeps/unix/xstat.c: Likewise.
20414         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
20416         * sysdeps/unix/sysv/sigaction.c: Remove file.
20418         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
20419         (sysdep_headers): Remove variable.
20420         [termio.h not in sysdep_headers] (generated): Likewise.
20421         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
20422         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
20423         * sysdeps/unix/sysv/tcdrain.c: Likewise.
20424         * sysdeps/unix/sysv/tcflow.c: Likewise.
20425         * sysdeps/unix/sysv/tcflush.c: Likewise.
20426         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
20427         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
20428         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
20429         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
20430         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
20432         * sysdeps/unix/siglist.c: Remove file.
20434         * sysdeps/unix/getppid.S: Remove file.
20436         * sysdeps/unix/mkdir.c: Remove file.
20437         * sysdeps/unix/rmdir.c: Likewise.
20439 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
20441         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
20442         ERR_MAX value.
20443         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
20444         errlist-compat value.
20446 2012-04-18  David S. Miller  <davem@davemloft.net>
20448         * sysdeps/generic/memcopy.h (reg_char): Delete.
20449         * debug/strcat_chk.c: Use char, not reg_char.
20450         * debug/strcpy_chk.c: Likewise.
20451         * debug/strncat_chk.c: Likewise.
20452         * debug/strncpy_chk.c: Likewise.
20453         * string/memchr.c: Likewise.
20454         * string/memrchr.c: Likewise.
20455         * string/rawmemchr.c: Likewise.
20456         * string/strcat.c: Likewise.
20457         * string/strchr.c: Likewise.
20458         * string/strchrnul.c: Likewise.
20459         * string/strcmp.c: Likewise.
20460         * string/strcpy.c: Likewise.
20461         * string/strncat.c: Likewise.
20462         * string/strncmp.c: Likewise.
20463         * string/strncpy.c: Likewise.
20465 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
20467         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
20468         __builtin_memcopy is called when src and dest ranges are known to not
20469         overlap.
20471 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
20473         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
20474         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
20475         fwd_align_merge macro call.
20476         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
20477         bwd_align_merge macro call.
20478         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
20480 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
20482         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
20483         bwd_align_merge macros.
20484         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
20485         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
20486         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
20488 2012-04-18  David S. Miller  <davem@davemloft.net>
20490         * sysdeps/sparc/sparc64/memcopy.h: Delete.
20492 2012-04-18  Andreas Jaeger  <aj@suse.de>
20494         [BZ# 6794]
20495         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
20496         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
20497         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
20499         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
20500         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
20501         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
20503         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
20504         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
20505         Adjust for changed ldbl-128 files.
20507         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
20508         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
20509         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
20511 2012-04-17  David S. Miller  <davem@davemloft.net>
20513         * sysdeps/sparc/sparc32/memcopy.h: Delete.
20515 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
20517         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
20518         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
20519         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
20520         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
20521         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
20522         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
20524 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20526         [BZ #6794]
20527         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
20528         * math/libm-test.inc: Add ilogb errno and exception tests.
20529         * math/w_ilogb.c: New file: ilogb wrapper.
20530         * math/w_ilogbf.c: New file: ilogbf wrapper.
20531         * math/w_ilogbl.c: New file: ilogbl wrapper.
20532         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
20533         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
20534         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
20535         exception being thrown with 0.0 as argument.
20536         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
20537         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
20538         exception being thrown with 0.0 as argument.
20539         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
20540         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
20541         exception being thrown with 0.0 as argument.
20542         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
20543         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
20544         exception being thrown with 0.0 as argument.
20545         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
20546         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
20547         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
20548         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
20549         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
20550         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
20551         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
20552         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
20553         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
20555 2012-04-17  Petr Baudis  <pasky@ucw.cz>
20557         * include/sys/uio.h: Change __vector to __iovec to avoid clash
20558         with altivec.
20560 2012-04-16  Marek Polacek  <polacek@redhat.com>
20562         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
20564 2012-04-16  Marek Polacek  <polacek@redhat.com>
20566         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
20567         operands of fdivp instruction.
20569 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
20571         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
20572         * elf/tst-auditmod3b.c: Likewise.
20573         * elf/tst-auditmod4b.c: Likewise.
20574         * elf/tst-auditmod5b.c: Likewise.
20575         * elf/tst-auditmod6b.c: Likewise.
20576         * elf/tst-auditmod6c.c: Likewise.
20577         * elf/tst-auditmod7b.c: Likewise.
20578         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
20579         * sysdeps/x86_64/preconfigure.in: Likewise.
20580         * sysdeps/x86_64/preconfigure: Regenerated.
20582 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
20584         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
20585         __ILP32__.
20587 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
20589         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
20590         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
20592 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
20594         [BZ #13973]
20595         * locale/iso-639.def: Fix gl language name. Spotted by
20596         Yaron Shahrabani.
20598 2012-04-12  Roland McGrath  <roland@hack.frob.com>
20600         [BZ #2074]
20601         * libio/libio.h (__io_write_fn): Update comment.
20603 2012-04-12  Petr Baudis  <pasky@ucw.cz>
20605         [BZ #2074]
20606         * stdio.texi (Hook Functions): The user provided writer function
20607         is not allowed to return -1.
20609 2012-04-11  David S. Miller  <davem@davemloft.net>
20611         * sysdeps/sparc/fpu/libm-test-ulps: Update.
20613 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
20615         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
20616         Add a leading slash to rtkaio.
20618 2012-04-11  Jim Meyering  <meyering@redhat.com>
20620         [BZ #11959]
20621         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
20622         It is not necessarily an error to ignore fwrite's return
20623         value.  One can reliably use ferror to test for errors after
20624         the fact.
20626 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
20628         * bits/types.h (__snseconds_t): New type.
20629         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
20631         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
20632         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
20633         (__SNSECONDS_T_TYPE): Likewise.
20634         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
20635         (__SNSECONDS_T_TYPE): Likewise.
20636         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
20637         (__SNSECONDS_T_TYPE): Likewise.
20639 2012-04-10  Andreas Jaeger  <aj@suse.de>
20641         [BZ #2636]
20642         * manual/time.texi (Processor Time): Return type of times is
20643         elapsed real time since an arbitrary point in the past.
20644         (CPU Time): Move CLK_TCK from here...
20645         (Processor Time): ...to here.  Correct description.
20646         * manual/conf.texi (Constants for Sysconf): Correct description of
20647         _SC_CLK_TCK.
20649 2012-04-10  David S. Miller  <davem@davemloft.net>
20651         [BZ #13967]
20652         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
20653         where the is a gap between DT_REL(A) and DT_JMPREL.
20655 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
20657         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
20658         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
20659         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
20661 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
20663         * elf/dl-support.c (_dl_inhibit_cache): New variable.
20664         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
20665         (dl_main): Handle --inhibit-cache.
20666         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
20667         _dl_inhibit_cache.
20668         * elf/dl-load.c (_dl_map_object): Use it.
20669         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
20671 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
20673         [BZ #13872]
20674         * sysdeps/i386/fpu/e_powl.S (p78): New object.
20675         (__ieee754_powl): Saturate large exponents rather than testing for
20676         overflow of y*log2(x).
20677         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
20678         * math/libm-test.inc (pow_test): Do not permit spurious overflow
20679         exceptions.
20681         [BZ #11521]
20682         * math/s_ctan.c: Include <float.h>.
20683         (__ctan): Avoid internal overflow or cancellation in calculating
20684         denominator.
20685         * math/s_ctanf.c: Likewise.
20686         * math/s_ctanl.c: Likewise.
20687         * math/s_ctanh.c: Likewise.
20688         * math/s_ctanhf.c: Likewise.
20689         * math/s_ctanhl.c: Likewise.
20690         * math/libm-test.inc (ctan_test): Add more tests.
20691         (ctanh_test): Likewise.
20692         * sysdeps/i386/fpu/libm-test-ulps: Update.
20693         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20695 2012-04-09  Andreas Jaeger  <aj@suse.de>
20697         [BZ #6894]
20698         * manual/filesys.texi (Directory Entries): Mention that d_namlen
20699         is an optional BSD extension.
20701         [BZ #10254]
20702         * manual/stdio.texi (Opening Streams): Document additional fopen
20703         parameters.
20705 2012-04-09  Roland McGrath  <roland@hack.frob.com>
20707         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
20708         %eax without telling the compiler.
20710 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
20712         [BZ # 13963]
20713         * manual/install.texi: Use sourceware.org.
20715 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
20717         [BZ #13873]
20718         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
20719         (__ieee754_pow): Generate overflow and underflow using huge*huge
20720         and tiny*tiny rather than just returning constant infinity or zero
20721         for large exponents.
20722         * math/libm-test.inc (pow_test): Require overflow exceptions for
20723         applicable cases of large exponents.
20725         [BZ #706]
20726         * sysdeps/i386/fpu/e_pow.S (p10): New object.
20727         (__ieee754_pow): Use iterative multiplication algorithm only for
20728         integer exponents with absolute value below 1024.  Check for odd
20729         integer exponents when using algorithm for real exponents.
20730         * math/libm-test.inc (pow_test): Add more tests.
20731         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20733 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
20735         [BZ #13705]
20736         * math/libm-test.inc (exp_test): Do not allow overflow exception
20737         on underflow test.
20739 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
20741         [BZ #13705]
20742         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
20743         instead of __kernel_standard_f.
20745 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
20747         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
20748         * sysdeps/x86_64/memset_chk.S: Likewise.
20750 2012-04-08  Andreas Jaeger  <aj@suse.de>
20752         [BZ #10153]
20753         * manual/startup.texi (Environment Access): Describe return value
20754         for putenv and setenv.
20756         [BZ #6895]
20757         * manual/filesys.texi (Directory Entries): Add description for
20758         DT_LNK.
20760         [BZ #6890]
20761         * manual/filesys.texi (Directory Entries): Clarify that it's file
20762         system not operating system in the description of DT_UNKNOWN.
20764         [BZ #6578]
20765         * manual/syslog.texi (closelog): Fix reference, it's openlog.
20767 2012-04-08  Stephen Compall  <s11@member.fsf.org>
20769         [BZ #6649]
20770         * manual/llio.texi (Opening and Closing Files): Add cross
20771         reference to explain mode argument.
20773 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
20775         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
20776         * sysdeps/x86_64/memset_chk.S: Likewise.
20778 2012-04-07  David S. Miller  <davem@davemloft.net>
20780         * elf/elf.h (R_SPARC_WDISP10): Define.
20781         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
20782         R_SPARC_SIZE32.
20783         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
20784         R_SPARC_SIZE64 and R_SPARC_H34.
20786 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
20788         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
20789         conditions and remove no longer applicable assertion.
20791 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
20793         * bits/byteswap.h: Include <features.h>.
20794         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
20795         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
20797 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
20799         * bits/byteswap.h (__bswap_16): Removed.
20800         Include <bits/byteswap-16.h> to get __bswap_16.
20801         * sysdeps/i386/bits/byteswap.h: Likewise.
20802         * sysdeps/s390/bits/byteswap.h: Likewise.
20803         * sysdeps/x86_64/bits/byteswap.h: Likewise.
20804         * bits/byteswap-16.h: New file.
20805         * sysdeps/i386/bits/byteswap-16.h: Likewise.
20806         * sysdeps/s390/bits/byteswap-16.h: Likewise.
20807         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
20808         * string/Makefile (headers): Add bits/byteswap-16.h.
20810 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
20812         [BZ #13895]
20813         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
20814         extra indirection.
20815         * nss/Makefile (tests-static, tests): Add tst-nss-static.
20816         * nss/tst-nss-static.c: New.
20818 2012-04-06  Robert Millan  <rmh@gnu.org>
20820         [BZ #6486]
20821         * manual/llio.texi (File Position Primitive): lseek
20822         refers to WHENCE when it really means OFFSET.
20824 2012-04-06  Andreas Jaeger  <aj@suse.de>
20826         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
20827         strncmp declarations.
20829         * abilist/libc.abilist: Add __poll and __ppoll.
20831 2012-04-05  David S. Miller  <davem@davemloft.net>
20833         * scripts/check-local-headers.sh: Accept a host triplet in the
20834         path matched by the exclude regexp.
20836         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
20837         definition.
20838         * sysdeps/powerpc/powerpc32/dl-machine.h
20839         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
20840         * sysdeps/s390/s390-32/dl-machine.h
20841         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
20842         * sysdeps/sparc/sparc32/dl-machine.h
20843         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
20844         * sysdeps/sparc/sparc64/dl-machine.h
20845         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
20847         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
20848         lazy binding.
20849         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
20850         undefined symbol errors.
20852         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
20853         DT_NEEDED entries.
20855 2012-04-05  Michael Matz  <matz@suse.de>
20857         [BZ #13592]
20858         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
20860 2012-04-05  Andreas Jaeger  <aj@suse.de>
20862         [BZ #13908]
20863         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
20864         comment.
20866 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
20868         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
20869         which ROUND is no valid rounding mode.
20871 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
20873         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
20874         read again.
20875         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
20877 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
20879         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
20880         an exception using FPU order intentionally.
20882 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
20884         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
20885         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
20886         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
20887         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
20889 2012-04-05  Simon Josefsson  <simon@josefsson.org>
20891         [BZ #12340]
20892         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
20893         EINVAL when BUFLEN is too smal.
20895 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
20897         [BZ #13553]
20898         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
20899         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
20901 2012-04-03  Andreas Jaeger  <aj@suse.de>
20903         [BZ #13938]
20904         * manual/setjmp.texi (System V contexts): Fix sentence.
20906         [BZ #13926]
20907         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
20908         New macro for this case.
20909         [!__GNUC__] (__bswap_64): New inline function for this case.
20910         * sysdeps/x86_64/bits/byteswap.h: Likewise.
20911         * bits/byteswap.h: Likewise.
20912         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
20913         ull, guard with __GLIBC_HAVE_LONG_LONG.
20915         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
20916         __GLIBC_HAVE_LONG_LONG.
20918         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
20919         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
20921 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
20923         [BZ #13691]
20924         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
20925         inptr and inend, rather than using last_ch.
20927 2012-04-02  David S. Miller  <davem@davemloft.net>
20929         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
20930         * stdio-common/printf-parse.h (read_int): Change return type to
20931         'int', return -1 on INT_MAX overflow.
20932         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
20933         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
20934         overflows INT_MAX.  Check for overflow of in-format-string precision
20935         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
20936         SIZE_MAX not INT_MAX for integer overflow test.
20937         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
20938         skip the construct in the format string but do not record anything.
20939         * stdio-common/bug22.c: Adjust to test both width/prevision
20940         INT_MAX overflow as well as total length INT_MAX overflow.  Check
20941         explicitly for proper errno values.
20943 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
20945         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
20946         CHAR_MAX.
20947         * string/test-strcmp.c [! WIDE]: Likewise.
20948         * time/tst-mktime2.c: Likewise for INT_MAX.
20949         * string/test-string.h: #include <sys/param.h> for MIN.
20951         * csu/init-first.c (__libc_init_first): Call __ctype_init.
20952         * sysdeps/i386/init-first.c (init): Likewise.
20953         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
20954         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
20955         * sysdeps/sh/init-first.c (init): Likewise.
20957 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
20959         * po/ru.po: Update from translation team.
20960         * po/vi.po: Likewise.
20962 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
20964         * resolv/nss_dns/dns-host.c: Merge copyright years.
20966 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
20968         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
20969         Optimize memcpy with prefetch if
20970         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
20971         src, dst pointers have unequal 16 byte alignments.
20973 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
20975         [BZ #13928]
20976         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
20977         from a CNAME entry and return the minimum ttl for the query.
20978         (gaih_getanswer_slice): Likewise.
20980 2012-03-30  Jeff Law  <law@redhat.com>
20982         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
20983         due to long keys.
20984         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
20985         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
20987         * resolv/nss_dns/dns-host.c: Update copyright year.
20989 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
20991         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
20992         requests to save a system call.  Fix check that all bytes are sent.
20994         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
20995         comments for sendmmsg.
20997 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
20999         [BZ #13691]
21000         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
21001         with only 1 character between 0x0041 and 0x01b0.
21002         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
21003         * wcsmbs/tst-mbsnrtowcs.c: New file.
21005 2012-03-29  David S. Miller  <davem@davemloft.net>
21007         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
21008         small copies by hand.
21010 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
21012         [BZ #13761]
21013         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
21014         _nss_compat_initgroups_dyn): Fall back to malloc/free
21015         for large group memberships.
21017 2012-03-28  David S. Miller  <davem@davemloft.net>
21019         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
21020         that branches into memcpy.
21021         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
21022         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
21023         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
21024         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
21025         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
21026         bits.
21027         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
21028         implementation too.
21029         * sysdeps/sparc/mempcpy.S: New file.
21031         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
21032         the IFUNC routine in the libc case.
21033         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
21035         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
21036         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
21037         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
21038         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
21039         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
21040         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
21041         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
21042         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
21044         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
21045         loop to 256 bytes instead of 64 bytes and fix test signedness.
21047         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
21048         * sysdeps/sparc/sparc32/Makefile: rather than here...
21049         * sysdeps/sparc/sparc64/Makefile: and here.
21051 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
21053         * malloc/mallocbug.c: Avoid warnings about unused variables.
21055 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
21057         [BZ #13760]
21058         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
21059         in the right place. Discard and retry query if response is
21060         larger than input buffer size.
21062 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
21064         [BZ #369]
21065         [BZ #2678]
21066         [BZ #3866]
21067         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
21068         x for large integer exponent.
21069         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
21070         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
21071         sign of result as needed afterwards.
21072         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
21073         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
21074         result for underflowing pow the same as for overflow.
21075         (__kernel_standard_l): Handle powl overflow and underflow here
21076         rather than calling __kernel_standard.
21077         * math/libm-test.inc (pow_test): Add more tests.
21079         [BZ #3868]
21080         [BZ #13879]
21081         [BZ #13910]
21082         [BZ #13911]
21083         [BZ #13912]
21084         [BZ #13913]
21085         [BZ #13915]
21086         [BZ #13916]
21087         [BZ #13917]
21088         [BZ #13918]
21089         [BZ #13919]
21090         [BZ #13920]
21091         [BZ #13921]
21092         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
21093         * sysdeps/ieee754/k_standard.c: Include <float.h>.
21094         (__kernel_standard_l): New function.
21095         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
21096         __kernel_standard.
21097         * math/w_acosl.c (__acosl): Likewise.
21098         * math/w_asinl.c (__asinl): Likewise.
21099         * math/w_atan2l.c (__atan2l): Likewise.
21100         * math/w_atanhl.c (__atanhl): Likewise.
21101         * math/w_coshl.c (__coshl): Likewise.
21102         * math/w_exp10l.c (__exp10l): Likewise.
21103         * math/w_exp2l.c (__exp2l): Likewise.
21104         * math/w_fmodl.c (__fmodl): Likewise.
21105         * math/w_hypotl.c (__hypotl): Likewise.
21106         * math/w_j0l.c (__j0l, __y0l): Likewise.
21107         * math/w_j1l.c (__j1l, __y1l): Likewise.
21108         * math/w_jnl.c (__jnl, __ynl): Likewise.
21109         * math/w_lgammal.c (__lgammal): Likewise.
21110         * math/w_log10l.c (__log10l): Likewise.
21111         * math/w_log2l.c (__log2l): Likewise.
21112         * math/w_logl.c (__logl): Likewise.
21113         * math/w_powl.c (__powl): Likewise.
21114         * math/w_remainderl.c (__remainderl): Likewise.
21115         * math/w_scalbl.c (sysv_scalbl): Likewise.
21116         * math/w_sinhl.c (__sinhl): Likewise.
21117         * math/w_sqrtl.c (__sqrtl): Likewise.
21118         * math/w_tgammal.c (__tgammal): Likewise.
21119         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
21120         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
21121         * math/libm-test.inc (acos_test): Add more tests.
21122         (acosh_test): Likewise.
21123         (asin_test): Likewise.
21124         (atanh_test): Likewise.
21125         (exp_test): Likewise.
21126         (exp10_test): Likewise.
21127         (exp2_test): Likewise.
21128         (expm1_test): Likewise.
21129         (lgamma_test): Likewise.
21130         (log_test): Likewise.
21131         (log10_test): Likewise.
21132         (log1p_test): Likewise.
21133         (log2_test): Likewise.
21134         (pow_test): Do not allow some spurious overflow exceptions.
21135         (sqrt_test): Add more tests.
21136         (tgamma_test): Likewise.
21137         (y0_test): Likewise.
21138         (y1_test): Likewise.
21139         (yn_test): Likewise.
21141 2012-03-27  Anton Blanchard  <anton@samba.org>
21143         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
21144         MAP_HUGETLB.
21145         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
21146         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
21147         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
21149 2012-03-27  David S. Miller  <davem@davemloft.net>
21151         * conform/Makefile: Run run-conformtest.sh using $(BASH).
21153         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
21154         have-as-vis3 check.
21156 2012-03-27  Andreas Jaeger  <aj@suse.de>
21158         * sysdeps/x86_64/elf/configure.in: Moved to ...
21159         * sysdeps/x86_64/configure.in: ... here.
21160         * sysdeps/x86_64/elf/start.S: Moved to ...
21161         * sysdeps/x86_64/start.S: ... here.
21162         * sysdeps/x86_64/elf/configure: Delete.
21164         * sysdeps/x86_64/configure.in: Merge contents from
21165         sysdeps/i386/configure.in (without i686 check).
21167         * sysdeps/i386/elf/Versions: Merge into ...
21168         * sysdeps/i386/Versions: ... this.
21169         * sysdeps/i386/elf/Versions: Delete file.
21170         * sysdeps/i386/elf/start.S: Moved to ...
21171         * sysdeps/i386/start.S: ...here.
21172         * sysdeps/i386/elf/configure.in: Merge into...
21173         * sysdeps/i386/configure.in: ...here.
21174         * sysdeps/i386/elf/configure.in: Delete file.
21175         * sysdeps/i386/elf/configure: Delete file.
21177         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
21178         * debug/backtracesyms.c: ... here.
21179         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
21180         * debug/backtracesymsfd.c: ... here.
21181         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
21182         * sysdeps/generic/ifunc-sel.h: ... here.
21184         * sysdeps/unix/i386/start.c: Delete file.
21185         * sysdeps/unix/sparc/start.c: Delete file.
21186         * sysdeps/unix/start.c: Delete file.
21188         * sysdeps/sh/elf/configure.in: Moved to ...
21189         * sysdeps/sh/configure.in: ... here.
21190         * sysdeps/sh/elf/start.S: Moved to ...
21191         * sysdeps/sh/start.S: ... here.
21192         * sysdeps/sh/elf/configure: Delete file.
21194         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
21195         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
21196         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
21197         * sysdeps/powerpc/powerpc64/entry.h: ... here.
21198         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
21199         * sysdeps/powerpc/powerpc64/start.S: here.
21200         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
21201         * sysdeps/powerpc/powerpc64/Makefile: ... this.
21202         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
21203         * sysdeps/powerpc/powerpc64/configure.in: ... this.
21204         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
21206         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
21207         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
21208         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
21209         * sysdeps/powerpc/powerpc32/start.S: ... here.
21210         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
21211         * sysdeps/powerpc/powerpc32/configure.in: ... this.
21212         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
21214         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
21215         * sysdeps/powerpc/ifunc-sel.h: ... here.
21216         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
21217         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
21219         * sysdeps/sparc/elf/configure.in: Moved to ...
21220         * sysdeps/sparc/configure.in: ... here.
21221         * sysdeps/sparc/elf/configure: Delete file.
21222         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
21223         * sysdeps/sparc/sparc32/start.S: ... here.
21224         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
21225         * sysdeps/sparc/sparc64/start.S: ... here.
21226         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
21227         * sysdeps/sparc/sparc32/Makefile: ... this.
21228         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
21229         * sysdeps/sparc/sparc64/Makefile: ... this.
21231         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
21232         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
21233         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
21234         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
21235         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
21236         * sysdeps/s390/s390-32/setjmp.S: ... here.
21237         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
21238         * sysdeps/s390/s390-32/configure.in: ... here.
21239         * sysdeps/s390/s390-32/elf/configure: Delete file.
21240         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
21241         * sysdeps/s390/s390-32/start.S: ... here.
21243         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
21244         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
21245         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
21246         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
21247         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
21248         * sysdeps/s390/s390-64/setjmp.S: ... here.
21249         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
21250         * sysdeps/s390/s390-64/configure.in: ... here
21251         * sysdeps/s390/s390-64/elf/configure: Delete file.
21252         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
21253         * sysdeps/s390/s390-64/start.S: ... here.
21254         * sysdeps/s390/s390-64/elf/configure: Delete.
21256         * configure.in: Remove support for elf directories in sysdeps.
21258         * configure: Regenerated.
21259         * sysdeps/i386/configure: Regenerated.
21260         * sysdeps/powerpc/powerpc32/configure: Regenerated.
21261         * sysdeps/powerpc/powerpc64/configure: Regenerated.
21262         * sysdeps/s390/s390-32/configure: Regenerated.
21263         * sysdeps/s390/s390-64/configure: Regenerated.
21264         * sysdeps/sh/configure: Regenerated.
21265         * sysdeps/sparc/configure: Regenerated.
21266         * sysdeps/x86_64/configure: Regenerated.
21268 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
21270         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21272         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
21273         denormal result into account.
21275 2012-03-25  Roland McGrath  <roland@hack.frob.com>
21277         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
21278         Reported by Allan McRae <allan@archlinux.org>.
21280 2012-03-23  Jeff Law  <law@redhat.com>
21282         * nss/getnssent.c (__nss_getent): Fix typo.
21284 2012-03-23  David S. Miller  <davem@davemloft.net>
21286         * sysdeps/sparc/fpu/libm-test-ulps: Update.
21288 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
21290         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
21291         to pad to uint64_t for each field.
21292         (dl_tls_index): Replace unsigned long with uint64_t.
21294 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
21295         Paul Pluzhnikov  <ppluzhnikov@google.com>
21297         [BZ #6528]
21298         * grp/Makefile (otherlibs): Don't set it.
21299         * inet/Makefile (otherlibs): Likewise.
21300         * login/Makefile (otherlibs): Likewise.
21301         * nscd/Makefile (otherlibs): Likewise.
21302         * posix/Makefile (otherlibs): Likewise.
21303         * pwd/Makefile (otherlibs): Likewise.
21304         * rt/Makefile (otherlibs): Likewise.
21305         * sunrpc/Makefile (otherlibs): Likewise.
21306         * nss/Makefile (otherlibs): Likewise.
21307         Add libnss_files to routines and static-only-routines.
21308         ($(objpfx)getent): Remove rule.
21309         * resolv/Makefile: Add libnss_dns and libresolv to routines and
21310         static-only-routines.
21312 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
21314         [BZ #13892]
21315         * math/s_cexp.c: Include <float.h>.
21316         (__cexp): Handle exp result overflowing not necessarily
21317         overflowing both real and imaginary parts of result.
21318         * math/s_cexpf.c: Likewise.
21319         * math/s_cexpl.c: Likewise.
21320         * math/libm-test.inc (cexp_test): Add more tests.
21321         * sysdeps/i386/fpu/libm-test-ulps: Update.
21322         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21324 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
21326         * include/link.h (ELFW): New macro.
21327         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
21328         Replace ELF64_R_TYPE with ELFW(R_TYPE).
21330 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
21332         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
21333         with uint64_t.
21335 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
21337         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
21338         declaration.
21339         (struct La_x32_retval): Likewise.
21341 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
21343         * sysdeps/x86_64/preconfigure.in: New file.
21344         * sysdeps/x86_64/preconfigure: New generated file.
21346 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
21348         [BZ #13824]
21349         * math/e_exp2l.c: Include <float.h>.
21350         (__ieee754_exp2l): Handle overflow and underflow cases
21351         separately.  Only pass fractional part of argument to
21352         __ieee754_expl.
21353         * math/libm-test.inc (exp2_test): Add more tests.
21355         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
21356         negating x to take absolute value.
21357         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
21358         Likewise.
21359         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
21360         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
21361         Likewise.
21362         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
21363         computing low part if x was negated.
21364         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
21366 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
21368         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
21369         la_x32_gnu_pltexit.
21370         (pltexit): Cast int_retval to ptrdiff_t.
21371         * elf/tst-auditmod3b.c: Likewise.
21372         * elf/tst-auditmod4b.c: Likewise.
21373         * elf/tst-auditmod5b.c: Likewise.
21374         * elf/tst-auditmod6b.c: Likewise.
21375         * elf/tst-auditmod6c.c: Likewise.
21376         * elf/tst-auditmod7b.c: Likewise.
21378         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
21379         and x32_gnu_pltexit.
21381         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
21382         __ELF_NATIVE_CLASS.
21383         (La_x32_regs): New macro.
21384         (La_x32_retval): Likewise.
21385         (la_x32_gnu_pltenter): New function prototype.
21386         (la_x32_gnu_pltexit): Likewise.
21388 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
21390         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
21391         exponent.
21393         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21395         * configure.in (libc_cv_cc_nofma): Check for option to disable
21396         generation of FMA instructions.
21397         * configure: Regenerate.
21398         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
21399         * sysdeps/ieee754/dbl-64/Makefile: New file.
21400         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
21401         Remove brandred-fma4.
21402         (CFLAGS-brandred-fma4.c): Remove.
21403         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
21404         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
21405         define.
21406         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
21407         define.
21409 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
21411         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
21412         LLONG_MAX != LONG_MAX.
21413         (_itoa_word): Use _ITOA_WORD_TYPE on value.
21414         (_fitoa_word): Likewise.
21415         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
21416         LLONG_MAX != LONG_MAX.
21417         * stdio-common/_itowa.h: Include <_itoa.h>.
21418         (_itowa_word): Use _ITOA_WORD_TYPE on value.
21419         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
21420         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
21421         only if not defined.
21422         (_ITOA_WORD_TYPE): Likewise.
21423         (_itoa_word): Use _ITOA_WORD_TYPE on value.
21424         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
21426 2012-03-21  David S. Miller  <davem@davemloft.net>
21428         * sysdeps/sparc/fpu/libm-test-ulps: Update.
21430 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
21432         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
21433         of x86_64 when setting libc_cv_slibdir, libdir and
21434         libc_cv_localedir.
21435         * sysdeps/unix/sysv/linux/configure: Regenerated.
21437 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
21439         * manual/lang.texi (Old Varargs): Remove section.
21440         (How Variadic): Update menu.
21441         (va_start): Do not mention varargs.h.
21443 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
21444             Joseph Myers  <joseph@codesourcery.com>
21446         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
21447         link test.
21448         * configure: Regenerated.
21450 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
21452         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
21453         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
21454         conformtest.pl
21456 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
21458         * NOTES: Remove.
21459         * Makefile (files-for-dist): Remove NOTES.
21460         (NOTES): Remove rule.
21461         * README: Don't refer to NOTES.
21462         * manual/creature.texi: Don't include macros.texi.
21463         * manual/intro.texi (creature.texi): Remove comment referring to
21464         NOTES.
21466         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
21467         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
21468         * configure: Regenerated.
21469         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
21470         LIBC_TRY_CC_OPTION.
21471         (libc_cv_as_i686): Likewise.
21472         (libc_cv_cc_avx): Likewise.
21473         (libc_cv_cc_sse2avx): Likewise.
21474         (libc_cv_cc_fma4): Likewise.
21475         (libc_cv_cc_novzeroupper): Likewise.
21476         * sysdeps/i386/configure: Regenerated.
21478         [BZ #13883]
21479         * sysdeps/i386/fpu/s_cexp.S: Remove.
21480         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
21481         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
21482         * math/libm-test.inc (cexp_test): Add more tests.
21483         * sysdeps/i386/fpu/libm-test-ulps: Update.
21484         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21486 2012-03-21  Allan McRae  <allan@archlinux.org>
21488         * timezone/Makefile: Do not install iso3166.tab and zone.tab
21490 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
21492         [BZ #13871]
21493         * math/w_exp2.c: Do not include <float.h>.
21494         (o_threshold, u_threshold): Remove.
21495         (__exp2): Calculate result before checking finiteness and calling
21496         __kernel_standard.
21497         * math/w_exp2f.c: Likewise.
21498         * math/w_exp2l.c: Likewise.
21499         * math/libm-test.inc (exp2_test): Require overflow exception for
21500         1e6 input.
21502         [BZ #3866]
21503         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
21504         range of signed 64-bit integers before using fistpll.  Remove
21505         checks for whether integers fit in mantissa bits.
21506         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
21507         the range of signed 32-bit integers before using fistpl.  Remove
21508         checks for whether integers fit in mantissa bits.
21509         * sysdeps/i386/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         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
21514         divide-by-zero is raised for zero to large negative powers.
21515         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
21516         (__ieee754_powl): Test for y outside the range of signed 64-bit
21517         integers before using fistpll.  Reduce 64-bit values to 63-bit
21518         ones as needed.
21519         * math/libm-test.inc (pow_test): Add more tests.
21521 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
21523         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
21524         <stdio-common/_itoa.h>.
21525         * debug/segfault.c: Likewise.
21526         * elf/dl-cache.c: Likewise.
21527         * elf/dl-minimal.c: Likewise.
21528         * elf/dl-misc.c: Likewise.
21529         * elf/dl-sysdep.c: Likewise.
21530         * elf/dl-version.c: Likewise.
21531         * elf/rtld.c: Likewise.
21532         * hurd/hurdsock.c: Likewise.
21533         * hurd/lookup-retry.c: Likewise.
21534         * malloc/malloc.c: Likewise.
21535         * malloc/mtrace.c: Likewise.
21536         * nscd/nscd_getgr_r.c: Likewise.
21537         * nscd/nscd_getpw_r.c: Likewise.
21538         * nscd/nscd_getserv_r.c: Likewise.
21539         * posix/getopt_init.c: Likewise.
21540         * posix/wordexp.c: Likewise.
21541         * stdio-common/_itoa.c: Likewise.
21542         * stdio-common/printf_fphex.c: Likewise.
21543         * stdio-common/vfprintf.c: Likewise.
21544         * string/_strerror.c: Likewise.
21545         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
21546         * sysdeps/i386/i686/hp-timing.h: Likewise.
21547         * sysdeps/mach/_strerror.c: Likewise.
21548         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
21549         * sysdeps/mach/hurd/sethostid.c: Likewise.
21550         * sysdeps/mach/hurd/xmknodat.c: Likewise.
21551         * sysdeps/mach/xpg-strerror.c: Likewise.
21552         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
21553         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
21554         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
21555         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
21556         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
21557         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
21558         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
21559         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
21560         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
21561         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
21562         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
21563         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
21564         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
21565         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
21566         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
21567         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
21568         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
21569         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
21570         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
21571         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
21572         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
21574         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
21576         * stdio-common/_itoa.h: Moved to ...
21577         * sysdeps/generic/_itoa.h: Here.
21579         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
21581         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
21582         instead of "_itoa.h" and "_itowa.h".
21583         * stdio-common/vfprintf.: Likewise.
21585 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
21587         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
21588         <bits/wordsize.h>.
21589         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
21590         (__signbit): Likwise.
21591         (llrintf): Likwise.
21592         (llrint): Likwise.
21594 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
21596         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
21597         __WORDSIZE != 64.
21599 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
21601         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
21602         OVERFLOW_EXCEPTION_OK.
21603         * math/libm-test.inc ("Philosophy"): Update comment about
21604         exception testing.
21605         (OVERFLOW_EXCEPTION): Define.
21606         (OVERFLOW_EXCEPTION_OK): Likewise.
21607         (INVALID_EXCEPTION_OK): Renumber.
21608         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
21609         (IGNORE_ZERO_INF_SIGN): Likewise.
21610         (test_exceptions): Handle FE_OVERFLOW.
21611         (exp10_test): Expect overflow exceptions.
21612         (exp2_test): Likewise.
21613         (expm1_test): Likewise.
21614         (nextafter_test): Likewise.
21615         (pow_test): Likewise.
21616         (scalbn_test): Likewise.
21617         (scalbln_test): Likewise.
21619 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
21621         * sysdeps/x86_64/bits/atomic.h
21622         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
21623         64bit integer.
21624         (atomic_exchange_acq): Likewise.
21625         (__arch_exchange_and_add_body): Likewise.
21626         (__arch_add_body): Likewise.
21627         (atomic_add_negative): Likewise.
21628         (atomic_add_zero): Likewise.
21630 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
21632         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
21633         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
21635 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
21637         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
21638         Check __x86_64__ instead of __WORDSIZE.
21640 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
21642         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
21644 2012-03-19  David S. Miller  <davem@davemloft.net>
21646         * sysdeps/sparc/fpu/libm-test-ulps: Update.
21648         * sysdeps/sparc/fpu/fenv_private.h: New file.
21649         * sysdeps/sparc/fpu/math_private.h: Use it.
21650         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
21651         Remove.
21652         (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
21653         (libc_feholdexcept_setroundl): Remove.
21654         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
21655         Remove.
21656         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
21657         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
21659 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
21661         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
21662         int64_t instead of long int.
21663         (INSERT_WORDS64): Likwise.
21665 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
21667         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
21668         _Unwind_GetCFA return to _Unwind_Ptr first.
21670 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
21672         [BZ #13629]
21673         * math/s_clog.c: Include <float.h>.
21674         (__clog): Scale large or subnormal inputs.
21675         * math/s_clogf.c: Likewise.
21676         * math/s_clogl.c: Likewise.
21677         * math/s_clog10.c: Include <float.h>.
21678         (M_LOG10_2): Define.
21679         (__clog10): Scale large or subnormal inputs.
21680         * math/s_clog10f.c: Likewise.
21681         * math/s_clog10l.c: Likewise.
21682         * math/libm-test.inc (clog_test): Add more tests.
21683         (clog10_test): Likewise.
21684         * sysdeps/i386/fpu/libm-test-ulps: Update.
21685         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21687         [BZ #11451]
21688         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
21689         x and y.
21690         * math/libm-test.inc (atan2_test): Add another test.
21692         * Makerules (common-objdir-compile): Remove.
21693         * sysdeps/unix/Makefile (config-generated): Do not add
21694         $(unix-generated) to variable.
21695         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
21696         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
21697         Remove rule.
21698         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
21699         Likewise.
21700         [generic bits/local_lim.h] (before-compile): Do not append to
21701         variable.
21702         [generic bits/local_lim.h] (common-generated): Likewise.
21703         [generic sys/param.h] (before-compile): Do not append to variable.
21704         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
21705         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
21706         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
21707         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
21708         include.
21709         [generic sys/param.h] (sys/param.h-includes): Remove variable.
21710         [generic sys/param.h] (sys/param.h-includes): Remove rule.
21711         [generic sys/param.h] ($(addprefix
21712         $(common-objpfx),$(sys/param.h-includes))): Likewise.
21713         [generic sys/param.h] (common-generated): Do not append to
21714         variable.
21715         [generic sys/param.h] (sysdep_headers): Likewise.
21716         [generic bits/errno.h] (before-compile): Do not append to
21717         variable.
21718         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
21719         rule.
21720         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
21721         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
21722         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
21723         [generic bits/errno.h] (common-generated): Do not append to
21724         variable.
21725         [generic bits/ioctls.h] (before-compile): Do not append to
21726         variable.
21727         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
21728         rule.
21729         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
21730         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
21731         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
21732         rule.
21733         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
21734         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
21735         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
21736         [generic bits/ioctls.h] (common-generated): Do not append to
21737         variable.
21738         [generic sys/syscall.h] (syscall.h): Remove variable.
21739         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
21740         rule.
21741         [generic sys/syscall.h] (before-compile): Do not append to
21742         variable.
21743         [generic sys/syscall.h] (common-generated): Likewise.
21744         * sysdeps/unix/errnos-tmpl.c: Remove file.
21745         * sysdeps/unix/errnos.awk: Likewise.
21746         * sysdeps/unix/ioctls-tmpl.c: Likewise.
21747         * sysdeps/unix/ioctls.awk: Likewise.
21748         * sysdeps/unix/mk-local_lim.c: Likewise.
21749         * sysdeps/unix/snarf-ioctls: Likewise.
21751 2012-03-19  Richard Henderson  <rth@twiddle.net>
21753         * sysdeps/i386/fpu/fenv_private.h: New file.
21754         * sysdeps/i386/fpu/math_private.h: Use it.
21755         (math_opt_barrier, math_force_eval): Remove.
21756         (libc_feholdexcept_setround_53bit): Remove.
21757         (libc_feupdateenv_53bit): Remove.
21758         * sysdeps/x86_64/fpu/math_private.h: Likewise.
21759         (math_opt_barrier, math_force_eval): Remove.
21760         (libc_feholdexcept): Remove.
21761         (libc_feholdexcept_setround): Remove.
21762         (libc_fetestexcept, libc_fesetenv): Remove.
21763         (libc_feupdateenv_test): Remove.
21764         (libc_feupdateenv, libc_feholdsetround): Remove.
21765         (libc_feresetround): Remove.
21767         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
21768         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
21770         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
21771         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
21772         (libc_feupdateenv_testl): New.
21773         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
21774         (libc_feupdateenv_testf): New.
21775         (libc_feupdateenv): Use libc_feupdateenv_test.
21776         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
21777         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
21779         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
21780         (libc_feholdsetroundf, libc_feholdsetroundl): New.
21781         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
21782         (libc_feresetround_noex): New.
21783         (libc_feresetround_noexf): New.
21784         (libc_feresetround_noexl): New.
21785         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
21786         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
21787         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
21788         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
21789         SET_RESTORE_ROUND.
21790         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
21791         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
21792         (__cos): Likewise.
21793         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
21794         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
21795         SET_RESTORE_ROUND_NOEX.
21796         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
21797         SET_RESTORE_ROUND_NOEXF.
21798         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
21799         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
21800         (libc_feholdsetroundf): New.
21801         (libc_feresetround, libc_feresetroundf): New.
21803         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
21804         (libc_feholdexcept_setround_53bit): Convert from macro to function.
21805         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
21807         * sysdeps/generic/math_private.h: Include <fenv.h>.
21808         (default_libc_feholdexcept): New.
21809         (default_libc_feholdexcept_setround): New.
21810         (default_libc_fesetenv, default_libc_feupdateenv): New.
21811         (libc_feholdexcept): Only define if undefined.
21812         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
21813         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
21814         (libc_feholdexcept_setroundl): Likewise.
21815         (libc_feholdexcept_setround_53bit): Likewise.
21816         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
21817         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
21818         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
21819         (libc_feupdateenv_53bit): Likewise.
21820         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
21821         (libc_feholdexcept): Convert from macro to inline function.
21822         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
21823         (libc_fesetenv, libc_feupdateenv): Likewise.
21825         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
21826         not previously defined.
21827         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
21828         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
21829         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
21830         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
21831         * sysdeps/ieee754/flt-32/math_private.h: New file.
21832         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
21833         math_private.h below SET_FLOAT_WORD.
21834         (__isnan, __isinf_ns, __finite): Remove.
21835         (__isnanf, __isinf_nsf, __finitef): Remove.
21837 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
21839         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21841 2012-03-17  David S. Miller  <davem@davemloft.net>
21843         [BZ #6471]
21844         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
21845         for 2.16.
21847 2012-03-16  David S. Miller  <davem@davemloft.net>
21849         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
21850         warnings.
21852         [BZ #6471]
21853         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
21854         properly.
21855         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
21856         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
21857         sysdep_routines when subdir is sysvipc.
21858         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
21859         __getshmlba helper.
21861         * sysdeps/sparc/fpu/libm-test/ulps: Update.
21863 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
21865         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
21866         [__LP64__].
21868 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
21870         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
21871         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
21872         (__lround): Renamed to ...
21873         (__llround): This.  Replace long int with long long int.
21874         Define lround functions as aliases of llround functions.
21875         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
21877 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
21879         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
21880         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
21881         adresses to uintptr_t.  Replace "long int" and "unsigned long
21882         int" with "greg_t" on va_arg.
21884 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
21886         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
21887         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
21889         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
21890         Move e_machine check before EI_CLASS check.  Handle x32
21891         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
21892         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
21893         SKIP_EM_IA_64 and include
21894         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
21896         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
21897         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
21898         (add_system_dir): New macro.
21900         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
21901         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
21903 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
21905         [BZ #2551]
21906         [BZ #2552]
21907         [BZ #2553]
21908         [BZ #2554]
21909         [BZ #2562]
21910         [BZ #2563]
21911         [BZ #2565]
21912         [BZ #2566]
21913         [BZ #2576]
21914         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
21915         (y0): Likewise.
21916         * math/w_j0f.c (j0f): Likewise.
21917         (y0f): Likewise.
21918         * math/w_j0l.c (__j0l): Likewise.
21919         (__y0l): Likewise.
21920         * math/w_j1.c (j1): Likewise.
21921         (y1): Likewise.
21922         * math/w_j1f.c (j1f): Likewise.
21923         (y1f): Likewise.
21924         * math/w_j1l.c (__j1l): Likewise.
21925         (__y1l): Likewise.
21926         * math/w_jn.c (jn): Likewise.
21927         (yn): Likewise.
21928         * math/w_jnf.c (jnf): Likewise.
21929         (ynf): Likewise.
21930         * math/w_jnl.c (__jnl): Likewise.
21931         (__ynl): Likewise.
21932         * math/libm-test.inc (j0_test): Add more tests.
21933         (j1_test): Likewise.
21934         (jn_test): Likewise.  Add trailing semicolon to existing test.
21935         (y0_test): Likewise.
21936         (y1_test): Likewise.
21937         * sysdeps/i386/fpu/libm-test-ulps: Update.
21938         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21940         [BZ #13851]
21941         [BZ #13854]
21942         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
21943         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
21944         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
21945         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
21946         (__tanl): Set errno for infinite argument.
21947         * sysdeps/i386/fpu/mptan.c: Remove.
21948         * sysdeps/i386/fpu/s_tan.S: Likewise.
21949         * sysdeps/i386/fpu/s_tanl.S: Likewise.
21950         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
21951         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
21952         * math/libm-test.inc (tan_test): Add more tests and enable more
21953         tests for double and long double.
21954         * sysdeps/i386/fpu/libm-test-ulps: Update.
21955         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21957 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
21959         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
21960         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
21962 2012-03-16  Roland McGrath  <roland@hack.frob.com>
21964         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
21965         * configure.in: Use it for both main tree and add-ons.
21966         * configure: Regenerated.
21968 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
21970         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
21972 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
21974         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
21975         in comment.
21977         [BZ #13851]
21978         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
21979         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
21980         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
21981         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
21982         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
21983         infinite argument.
21984         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
21985         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
21986         != 0 for prec == 2.
21987         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
21988         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
21989         * sysdeps/i386/fpu/s_cosl.S: Likewise.
21990         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
21991         * sysdeps/i386/fpu/s_sinl.S: Likewise.
21992         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
21993         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
21994         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
21995         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
21996         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
21997         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
21998         * math/libm-test.inc (cos_test): Add more tests and enable more
21999         tests for long double.
22000         (sin_test): Likewise.
22001         (sincos_test): Likewise.
22002         * sysdeps/i386/fpu/libm-test-ulps: Update.
22003         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22005 2012-03-16  David S. Miller  <davem@davemloft.net>
22007         * sysdeps/sparc/fpu/math_private.h: New file.
22009 2012-03-15  David S. Miller  <davem@davemloft.net>
22011         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
22012         file.
22013         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
22014         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
22015         file.
22016         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
22017         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
22018         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
22019         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
22020         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
22021         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
22022         sysdep routines.
22023         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
22025         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
22026         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
22028         * sysdeps/sparc/sparc-ifunc.h: New file.
22029         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
22030         sparc-ifunc.h
22031         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
22032         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
22033         Likewise.
22034         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
22035         Likewise.
22036         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
22037         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
22038         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
22039         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
22040         Likewise.
22041         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
22042         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
22043         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
22044         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
22045         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
22046         Likewise.
22047         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
22048         Likewise.
22049         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
22050         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
22051         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
22052         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
22053         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
22054         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
22055         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
22056         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
22057         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
22058         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
22059         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
22060         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
22061         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
22062         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
22063         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
22064         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
22065         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
22066         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
22067         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
22068         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
22069         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
22070         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
22071         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
22072         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
22074 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
22076         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
22077         scaling.
22078         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22080 2012-03-15  Andreas Jaeger  <aj@suse.de>
22082         [BZ #13852]
22083         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
22084         ieee754/flt-32 implementation for sin, cos and sincos.
22085         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
22086         * sysdeps/i386/fpu/s_cosf.S: Likewise.
22087         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
22088         * sysdeps/i386/fpu/s_sinf.S: Likewise.
22089         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
22090         ieee754/flt-32 implementation for tan.
22092         * math/libm-test.inc (cos_test): Enable some large input tests for
22093         float as well
22094         (sin_test): Likewise.
22095         (sincos_test): Likewise.
22096         (tan_test): Add tests for large input.
22098         * sysdeps/i386/fpu/libm-test-ulps: Update.
22100 2012-03-15  Andreas Jaeger  <aj@suse.de>
22102         [BZ #13658]
22103         * math/libm-test.inc (cos_test): Add more test cases.
22104         (sin_test): Likewise.
22105         (sincos_test): Likewise.
22107 2012-03-15  Andreas Jaeger  <aj@suse.de>
22109         [BZ #13837]
22110         * math/libm-test.inc (cos_test): Add a test case for large input
22111         value.
22112         (sin_test): Likewise.
22113         (sincos_test): Likewise.
22115 2012-03-15  Andreas Jaeger  <aj@suse.de>,
22116         Joseph Myers  <joseph@codesourcery.com>
22118         [BZ #13658]
22119         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
22120         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
22121         * sysdeps/i386/fpu/branred.c: Likewise.
22122         * sysdeps/i386/fpu/dosincos.c: Likewise.
22123         * sysdeps/i386/fpu/mpa.c: Likewise.
22124         * sysdeps/i386/fpu/s_cos.S: Likewise.
22125         * sysdeps/i386/fpu/s_sin.S: Likewise.
22126         * sysdeps/i386/fpu/s_sincos.S: Likewise.
22127         * sysdeps/i386/fpu/sincos32.c: Likewise.
22129         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
22130         Define.
22131         (libc_feupdateenv_53bit): Define.
22132         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
22133         Define.
22134         (libc_feupdateenv_53bit): Define.
22136         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
22137         53 bit (without extend i386 double precision).
22139         * math/libm-test.inc (sincos_test): Add tests for large input.
22140         (sin): Likewise.
22141         (cos): Likewise.
22143         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
22145 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
22147         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22149 2012-03-15  David S. Miller  <davem@davemloft.net>
22151         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
22152         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
22153         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
22154         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
22155         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
22156         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
22157         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
22158         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
22159         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
22160         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
22161         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
22162         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
22163         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
22164         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
22165         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
22166         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
22167         file.
22168         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
22169         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
22170         file.
22171         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
22172         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
22173         file.
22174         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
22175         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
22176         file.
22177         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
22178         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
22179         fmin/fmax sysdep routines.
22180         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
22182 2012-03-14  David S. Miller  <davem@davemloft.net>
22184         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
22185         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
22186         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
22187         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
22188         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
22189         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
22190         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
22191         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
22192         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
22193         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
22194         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
22195         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
22196         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
22197         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
22198         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
22199         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
22200         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
22201         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
22202         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
22203         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
22204         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
22205         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
22206         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
22207         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
22208         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
22209         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
22210         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
22211         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
22212         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
22213         routines.
22214         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
22215         file.
22216         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
22217         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
22218         file.
22219         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
22220         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
22221         file.
22222         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
22223         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
22224         file.
22225         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
22226         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
22227         file.
22228         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
22229         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
22230         file.
22231         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
22232         file.
22233         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
22234         file.
22235         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
22236         file.
22237         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
22238         New file.
22239         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
22240         file.
22241         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
22242         file.
22243         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
22244         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
22245         file.
22246         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
22247         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
22248         file.
22249         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
22250         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
22251         file.
22252         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
22253         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
22254         VIS3 routines.
22256         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
22257         New file.
22259         * sysdeps/sparc/fpu/libm-test-ulps: Update.
22261         * sysdeps/sparc/configure.in: New file.
22262         * sysdeps/sparc/configure: Generate.
22263         * configure.in (libc_cv_sparc_as_vis3): Substitute.
22264         * configure: Regenerate.
22265         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
22266         * config.make.in (have-as-vis3): New.
22267         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
22268         available use -Av9d instead of -Av9a.
22269         * sysdeps/sparc/sparc64/Makefile: Likewise.
22270         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
22271         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
22272         New file.
22273         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
22274         file.
22275         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
22276         New file.
22277         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
22278         file.
22279         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
22280         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
22281         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
22282         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
22283         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
22285         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
22286         fzeros/fnegs to load 0x80000000 into a float register instead of
22287         using the stack.
22288         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
22290 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
22292         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22293         bits/syscall.h.
22294         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
22295         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
22296         ($(inst_includedir)/bits/syscall.h): Remove rule.
22297         ($(objpfx)bits/syscall.d): Include instead of
22298         $(objpfx)syscall-list.d.
22299         (generated): Change syscall-list.h and syscall-list.d to
22300         bits/syscall.h and bits/syscall.d.
22302 2012-03-14  Roland McGrath  <roland@hack.frob.com>
22304         [BZ #13846]
22305         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
22307 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
22309         [BZ #13841]
22310         * math/s_csqrt.c: Include <float.h>.
22311         (__csqrt): Scale large or subnormal inputs.
22312         * math/s_csqrtf.c: Likewise.
22313         * math/s_csqrtl.c: Likewise.
22314         * math/libm-test.inc (csqrt_test): Add more tests.
22315         * sysdeps/i386/fpu/libm-test-ulps: Update.
22316         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22318         [BZ #13840]
22319         * math/libm-test.inc (hypot_test): Add more tests.
22321 2012-03-13  David S. Miller  <davem@davemloft.net>
22323         [BZ #13840]
22324         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
22325         double-precision for the calculation instead of scaling.
22327 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
22329         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
22330         manipulate bits before adding and subtracting TWO52[sx].
22331         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
22332         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
22333         Likewise.
22334         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
22336 2012-03-13  David S. Miller  <davem@davemloft.net>
22338         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
22339         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
22340         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
22341         rtld-global-offsets.h
22342         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
22344         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
22345         large parameters.
22347         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
22349         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
22350         'err' in the ifdef scope in which it is actually used.
22352         * nss/nss_db/db-init.c: Include string.h
22354 2012-03-12  David S. Miller  <davem@davemloft.net>
22356         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
22357         masking out of the most significant byte of random value used.
22358         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
22359         Fix coding style in previous change.
22361         * sysdeps/unix/sysv/linux/kernel-features.h
22362         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
22363         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
22364         expression.
22365         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
22366         later.
22368 2012-03-11  David S. Miller  <davem@davemloft.net>
22370         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
22371         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
22372         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
22373         for 'resultvar' otherwise things get truncated on 64-bit.
22375         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
22376         Fix masking out of the most significant byte of random value used.
22378         * sysdeps/sparc/fpu/libm-test-ulps: Update.
22380 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
22382         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22384 2012-03-09  David S. Miller  <davem@davemloft.net>
22386         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
22387         variables with appropriate CPP guards.
22388         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
22389         frame pointer, not the stack pointer.  Correct layout comments.  Fix test
22390         on resulting framesize and the management of the outregs buffer for pltexit.
22391         Preserve floating point return values across _dl_call_pltexit call.
22392         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
22393         framesize and the management of the outregs buffer for pltexit.
22394         Preserve floating point return values across _dl_call_pltexit
22395         call.
22396         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
22397         la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
22398         (print_exit): Fix format string for return register value.
22400 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
22402         * sunrpc/Makefile (others): Add rpcgen.
22403         ($(objpfx)rpcgen): Remove special build rule and dependency on
22404         libc.
22405         * sunrpc/rpcgen.c: New file.
22407 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
22409         [BZ #13673]
22410         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
22411         * stdio-common/bug-vfprintf-nargs.c: Likewise.
22412         * sysdeps/i386/crti.S: Likewise.
22413         * sysdeps/i386/crtn.S: Likewise.
22414         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
22415         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
22416         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
22417         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
22418         * sysdeps/sh/crti.S: Likewise.
22419         * sysdeps/sh/crtn.S: Likewise.
22420         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
22422         [BZ #13673]
22423         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
22424         with URL.
22425         * locale/programs/locfile-kw.gperf: Likewise.
22426         * locale/programs/charmap-kw.h: Regenerated.
22427         * locale/programs/locfile-kw.h: Likewise.
22429         [BZ #13673]
22430         * intl/plural.y: Replace FSF snail mail address with URL.
22431         * intl/plural.c: Regenerated.
22433 2012-03-09  Richard Henderson  <rth@twiddle.net>
22435         * include/math_private.h: Remove file.
22436         * math/math_private.h: Move file ...
22437         * sysdeps/generic/math_private.h: ... here.
22439         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
22440         * sysdeps/powerpc/fpu/math_private.h: Likewise.
22441         * sysdeps/x86_64/fpu/math_private.h: Likewise.
22443         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
22444         and <math_private.h>.
22445         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
22446         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
22447         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
22448         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
22449         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
22450         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
22451         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
22452         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22453         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
22454         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
22455         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
22456         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
22457         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
22458         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
22459         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
22460         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
22461         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
22462         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
22463         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
22464         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
22465         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22466         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
22467         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
22468         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22469         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
22470         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
22471         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
22472         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
22473         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
22474         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
22475         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
22476         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
22477         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
22478         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
22479         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
22480         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
22481         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
22482         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
22483         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
22484         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
22485         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
22486         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
22487         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
22488         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
22489         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
22490         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
22491         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
22492         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
22493         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
22494         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
22495         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
22496         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
22497         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
22498         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
22499         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
22500         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
22501         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
22502         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
22503         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
22504         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
22505         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
22506         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
22507         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
22508         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
22509         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
22510         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
22511         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
22512         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
22513         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
22514         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
22515         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
22516         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
22517         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
22518         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
22519         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
22520         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
22521         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
22522         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
22523         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
22524         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
22525         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
22526         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
22527         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
22528         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
22529         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
22530         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
22531         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
22532         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
22533         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
22534         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
22535         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
22536         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
22537         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
22538         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
22539         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
22540         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
22541         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
22542         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
22543         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
22544         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
22545         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
22546         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
22547         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
22548         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
22549         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
22550         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
22551         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
22552         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
22553         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
22554         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
22555         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
22556         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
22557         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
22558         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
22559         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
22560         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
22561         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
22562         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
22563         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
22564         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
22565         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
22566         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
22567         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
22568         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
22569         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
22570         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
22571         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
22572         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
22573         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
22574         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
22575         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
22576         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
22577         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
22578         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
22579         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
22580         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
22581         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
22582         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
22583         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
22584         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
22585         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
22586         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
22587         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
22588         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
22589         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
22590         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
22591         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
22592         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
22593         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
22594         * sysdeps/ieee754/k_standard.c: Likewise.
22595         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
22596         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
22597         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
22598         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
22599         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
22600         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
22601         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
22602         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
22603         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
22604         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
22605         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
22606         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
22607         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
22608         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
22609         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
22610         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
22611         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
22612         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
22613         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
22614         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
22615         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
22616         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
22617         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
22618         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
22619         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
22620         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
22621         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
22622         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
22623         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
22624         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
22625         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
22626         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
22627         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
22628         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
22629         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
22630         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
22631         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
22632         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
22633         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
22634         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
22635         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
22636         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
22637         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
22638         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
22639         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
22640         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
22641         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
22642         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
22643         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
22644         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
22645         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
22646         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
22647         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
22648         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
22649         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
22650         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
22651         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
22652         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
22653         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
22654         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
22655         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
22656         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
22657         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
22658         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
22659         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
22660         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
22661         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
22662         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
22663         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
22664         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
22665         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
22666         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
22667         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
22668         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
22669         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
22670         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
22671         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
22672         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
22673         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
22674         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
22675         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
22676         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
22677         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
22678         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
22679         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
22680         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
22681         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
22682         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
22683         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
22684         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
22685         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
22686         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
22687         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
22688         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
22689         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
22690         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
22691         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
22692         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
22693         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
22694         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
22695         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
22696         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
22697         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
22698         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
22699         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
22700         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
22701         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
22702         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
22703         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
22704         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
22705         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
22706         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
22707         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
22708         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
22709         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
22710         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
22711         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
22712         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
22713         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
22714         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
22715         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
22716         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
22717         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
22718         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
22719         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
22720         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
22721         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
22722         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
22723         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
22724         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
22725         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
22726         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
22727         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
22728         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
22729         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
22730         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
22731         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
22732         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
22733         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
22734         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
22735         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
22736         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
22737         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
22738         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
22739         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
22740         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
22741         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
22742         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
22743         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
22744         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
22745         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
22746         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
22747         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
22748         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
22749         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
22750         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
22751         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
22752         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
22753         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
22754         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
22755         * sysdeps/ieee754/s_lib_version.c: Likewise.
22756         * sysdeps/ieee754/s_matherr.c: Likewise.
22757         * sysdeps/ieee754/s_signgam.c: Likewise.
22758         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
22759         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
22760         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
22761         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
22762         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
22763         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
22764         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
22765         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
22766         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
22767         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
22768         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
22769         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
22770         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
22771         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
22772         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
22773         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
22774         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
22775         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
22776         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
22777         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
22778         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
22780 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
22782         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
22783         * sunrpc/rpc_main.c: Likewise.
22784         * sunrpc/rpc_svcout.c: Likewise.
22786 2012-03-09  David S. Miller  <davem@davemloft.net>
22788         * include/math_private.h: New file.
22790 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
22792         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
22793         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
22794         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
22795         from <bits/socket_type.h>.
22796         (enum __socket_type): Don't define here.
22797         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
22798         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22799         bits/socket_type.h.
22801         [BZ #13566]
22802         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
22803         checking __USE_GNU.
22805         * Makerules ($(inst_includedir)/%.h): New rule.
22806         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
22807         (install-others): Remove variable setting.
22808         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
22810 2012-03-08  Richard Henderson  <rth@twiddle.net>
22812         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
22813         from macro to inline function; merge with the
22814         !__LIBC_INTERNAL_MATH_INLINES version.
22815         (__ieee754_sqrtf): Likewise.
22817         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
22818         to inline function.
22819         (__rintf, __floor, __floorf): Likewise.
22821         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
22822         macro to inline function.
22823         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
22825         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
22826         not <math/math_private.h>.
22828 2012-03-08  David S. Miller  <davem@davemloft.net>
22830         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
22831         copyright year.
22832         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
22834 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
22836         * resolv/gai_misc.c (handle_requests): Fix struct timespec
22837         normalization.
22838         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
22839         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
22841 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
22843         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
22844         be defined individually, they must be defined as a block.  Define
22845         S for printing a string instead of hidint the different by using a
22846         macro for adding the 'l'.
22847         * stdio-common/tst-fphex-wide.c: Adjust.
22849 2012-03-07  Marek Polacek  <polacek@redhat.com>
22851         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
22853 2012-03-08  Marek Polacek  <polacek@redhat.com>
22855         [BZ #13806]
22856         * stdio-common/Makefile (tests): Add tst-fphex-wide.
22857         * stdio-common/tst-fphex.c: Define a few macros to make the
22858         test reusable.  Use them.
22859         * stdio-common/tst-fphex-wide.c: New file.
22861 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
22863         [BZ #6911]
22864         * manual/macros.texi (gnusystems): New macro.
22865         (nongnusystems): Likewise.
22866         (gnulinuxhurdsystems): Likewise.
22867         (gnuhurdsystems): Likewise..
22868         (gnulinuxsystems): Likewise.
22869         * manual/charset.texi: Use new macros or @theglibc{} to refer to
22870         variants of the GNU system, not "GNU system".
22871         * manual/conf.texi: Likewise.
22872         * manual/errno.texi: Likewise.  Update example of errno macro
22873         expansion.
22874         * manual/filesys.texi: Likewise.
22875         (getumask): Document as specific to GNU/Hurd.
22876         * manual/install.texi: Likewise.  Reword some references to
22877         GNU/Linux.
22878         * manual/intro.texi: Likewise.
22879         * manual/io.texi: Likewise.
22880         (File Name Portability): Detail which constraints are inapplicable
22881         to all GNU systems and which are only inapplicable to GNU/Hurd.
22882         * manual/job.texi: Likewise.
22883         * manual/llio.texi: Likewise.
22884         (O_NOCTTY): Document as present on GNU/Linux.
22885         * manual/maint.texi: Likewise.
22886         * manual/memory.texi: Likewise.
22887         * manual/pattern.texi: Likewise.
22888         * manual/pipe.texi: Likewise.
22889         * manual/process.texi: Likewise.
22890         * manual/resource.texi: Likewise.
22891         (RUSAGE_CHILDREN): Remove statement about specifying a particular
22892         child on GNU/Hurd.
22893         * manual/setjmp.texi: Likewise.
22894         * manual/signal.texi: Likewise.
22895         * manual/startup.texi: Likewise.
22896         * manual/stdio.texi: Likewise.
22897         * manual/terminal.texi: Likewise.
22898         (ONLCR): Document as POSIX.
22899         (OXTABS): Document availability on GNU/Linux as XTABS.
22900         (ONOEOT): Document availability separately from other bits.
22901         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
22902         * manual/time.texi: Likewise.
22903         * manual/users.texi: Likewise.
22904         * INSTALL: Regenerated.
22905         * sysdeps/gnu/errlist.c: Regenerated.
22907         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
22908         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
22909         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
22910         puts.
22911         * configure: Regenerated.
22913 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
22915         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
22916         default includes instead of AC_HEADER_CHECK.
22917         * sysdeps/i386/configure: Regenerated.
22919         [BZ #10716]
22920         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
22921         * math/s_cacoshf.c (__cacoshf): Likewise.
22922         * math/s_cacoshl.c (__cacoshl): Likewise.
22923         * math/s_casinh.c (__casinh): Set signs of result from argument.
22924         * math/s_casinhf.c (__casinhf): Likewise.
22925         * math/s_casinhl.c (__casinhl): Likewise.
22926         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
22927         (casinh_test): Add more tests.
22928         * sysdeps/i386/fpu/libm-test-ulps: Update.
22929         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22931 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
22933         * po/zh_TW.po: Update from translation team.
22935         * login/Makefile (distribute): Remove variable.
22936         * catgets/Makefile: Likewise.
22937         * mach/Makefile: Likewise.
22938         * malloc/Makefile: Likewise.
22939         * misc/Makefile: Likewise.
22940         * iconv/Makefile: Likewise.
22941         * nscd/Makefile: Likewise.
22942         * hurd/Makefile: Likewise.
22943         * manual/Makefile: Likewise.
22944         * locale/Makefile: Likewise.
22945         * intl/Makefile: Likewise.
22946         * conform/Makefile: Likewise.
22947         * nss/Makefile: Likewise.
22948         * time/Makefile: Likewise.
22949         * soft-fp/Makefile: Likewise.
22950         * dirent/Makefile: Likewise.
22951         * gmon/Makefile: Likewise.
22952         * po/Makefile: Likewise.
22953         * rt/Makefile: Likewise.
22954         * socket/Makefile: Likewise.
22955         * math/Makefile: Likewise.
22956         * signal/Makefile: Likewise.
22957         * debug/Makefile: Likewise.
22958         * elf/Makefile: Likewise.
22959         * timezone/Makefile: Likewise.
22960         * stdlib/Makefile: Likewise.
22961         * iconvdata/Makefile: Likewise.
22962         * sunrpc/Makefile: Likewise.
22963         * io/Makefile: Likewise.
22964         * argp/Makefile: Likewise.
22965         * inet/Makefile: Likewise.
22966         * hesiod/Makefile: Likewise.
22967         * grp/Makefile: Likewise.
22968         * csu/Makefile: Likewise.
22969         * wctype/Makefile: Likewise.
22970         * crypt/Makefile: Likewise.
22971         * libio/Makefile: Likewise.
22972         * string/Makefile: Likewise.
22973         * nis/Makefile: Likewise.
22974         * resolv/Makefile: Likewise.
22975         * stdio-common/Makefile: Likewise.
22976         * wcsmbs/Makefile: Likewise.
22977         * dlfcn/Makefile: Likewise.
22978         * posix/Makefile: Likewise.
22980         [BZ #6959]
22981         * timezone/Makefile: Don't install timezone files, just the programs
22982         and scripts.
22984 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
22986         * nss/databases.def: Add missing gshadow entry.
22988         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
22990 2012-03-06  Marek Polacek  <polacek@redhat.com>
22992         [BZ #13726]
22993         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
22994         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
22995         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
22996         * stdio-common/tst-long-dbl-fphex.c: New file.
22998 2012-03-06  David S. Miller  <davem@davemloft.net>
23000         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
23001         (set_obp_int): New function.
23002         (get_obp_int): New function.
23003         (__get_clockfreq_via_dev_openprom): Likewise.
23004         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
23005         Avoid unused variable warnings on 'val' and use builtin_expect.
23006         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
23007         __builtin_expect.
23008         (INLINE_CLONE_SYSCALL): Likewise.
23010 2012-03-05  David S. Miller  <davem@davemloft.net>
23012         * sysdeps/sparc/fpu/libm-test-ulps: Update.
23014 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
23016         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23018         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
23019         only for |x| >= 40.
23020         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
23022 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
23024         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
23025         Replace gettimeofday with __vdso_gettimeofday.
23027         * sysdeps/unix/sysv/linux/x86_64/init-first.c
23028         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
23029         __vdso_clock_gettime and __vdso_getcpu.
23031         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
23032         time with __vdso_time.
23034 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
23036         * manual/lang.texi (size_t): Note types to which size_t may be
23037         equivalent with the GNU C Library, but do not describe when
23038         differences between them are significant.
23040 2012-03-05  Andreas Jaeger  <aj@suse.de>
23042         * sysdeps/i386/fpu/libm-test-ulps: Update.
23044 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
23046         [BZ #3976]
23047         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
23048         (__ieee754_pow): Save and restore rounding mode and use
23049         round-to-nearest for main computations.
23050         * math/libm-test.inc (pow_test_tonearest): New function.
23051         (pow_test_towardzero): Likewise.
23052         (pow_test_downward): Likewise.
23053         (pow_test_upward): Likewise.
23054         (main): Call the new functions.
23055         * sysdeps/i386/fpu/libm-test-ulps: Update.
23056         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23058         [BZ #3976]
23059         * math/libm-test.inc (cosh_test_tonearest): New function.
23060         (cosh_test_towardzero): Likewise.
23061         (cosh_test_downward): Likewise.
23062         (cosh_test_upward): Likewise.
23063         (sinh_test_tonearest): Likewise.
23064         (sinh_test_towardzero): Likewise.
23065         (sinh_test_downward): Likewise.
23066         (sinh_test_upward): Likewise.
23067         (main): Call the new functions.
23068         * sysdeps/i386/fpu/libm-test-ulps: Update.
23069         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23071 2012-03-05  Tom de Vries  <tom@codesourcery.com>
23073         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
23074         default stack guard is set in last bytes.
23075         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
23077 2012-03-05  Kees Cook  <keescook@chromium.org>
23079         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
23081         [BZ #13656]
23082         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
23083         possibly allocate from heap instead of stack.
23084         * stdio-common/bug-vfprintf-nargs.c: New file.
23085         * stdio-common/Makefile (tests): Add nargs overflow test.
23087 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
23089         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23091 2012-03-03  Marek Polacek  <polacek@redhat.com>
23093         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
23094         * math/math_private.h: Likewise.
23095         * stdlib/tst-strtod.c: Likewise.
23096         * sysdeps/i386/i486/bits/atomic.h: Likewise.
23097         * sysdeps/x86_64/bits/atomic.h: Likewise.
23099 2012-03-02  David S. Miller  <davem@davemloft.net>
23101         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
23102         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
23103         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
23104         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
23105         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
23106         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
23107         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
23108         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
23110 2012-03-02  Roland McGrath  <roland@hack.frob.com>
23112         [BZ #13792]
23113         * manual/examples/README: New file, says the example source files
23114         can be used under GPL>=2.
23115         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
23116         line containing just "*/".
23117         * manual/examples/add.c: Add copyright header (GPL>=2).
23118         * manual/examples/argp-ex1.c: Likewise.
23119         * manual/examples/argp-ex2.c: Likewise.
23120         * manual/examples/argp-ex3.c: Likewise.
23121         * manual/examples/argp-ex4.c: Likewise.
23122         * manual/examples/atexit.c: Likewise.
23123         * manual/examples/db.c: Likewise.
23124         * manual/examples/dir.c: Likewise.
23125         * manual/examples/dir2.c: Likewise.
23126         * manual/examples/execinfo.c: Likewise.
23127         * manual/examples/filecli.c: Likewise.
23128         * manual/examples/filesrv.c: Likewise.
23129         * manual/examples/fmtmsgexpl.c: Likewise.
23130         * manual/examples/genpass.c: Likewise.
23131         * manual/examples/inetcli.c: Likewise.
23132         * manual/examples/inetsrv.c: Likewise.
23133         * manual/examples/isockad.c: Likewise.
23134         * manual/examples/longopt.c: Likewise.
23135         * manual/examples/memopen.c: Likewise.
23136         * manual/examples/memstrm.c: Likewise.
23137         * manual/examples/mkfsock.c: Likewise.
23138         * manual/examples/mkisock.c: Likewise.
23139         * manual/examples/mygetpass.c: Likewise.
23140         * manual/examples/pipe.c: Likewise.
23141         * manual/examples/popen.c: Likewise.
23142         * manual/examples/rprintf.c: Likewise.
23143         * manual/examples/search.c: Likewise.
23144         * manual/examples/select.c: Likewise.
23145         * manual/examples/setjmp.c: Likewise.
23146         * manual/examples/sigh1.c: Likewise.
23147         * manual/examples/sigusr.c: Likewise.
23148         * manual/examples/stpcpy.c: Likewise.
23149         * manual/examples/strdupa.c: Likewise.
23150         * manual/examples/strftim.c: Likewise.
23151         * manual/examples/strncat.c: Likewise.
23152         * manual/examples/subopt.c: Likewise.
23153         * manual/examples/swapcontext.c: Likewise.
23154         * manual/examples/termios.c: Likewise.
23155         * manual/examples/testopt.c: Likewise.
23156         * manual/examples/testpass.c: Likewise.
23157         * manual/examples/timeval_subtract.c: Likewise.
23159         [BZ #13792]
23160         * manual/time.texi (Elapsed Time): Move timeval_subtract example
23161         function to ...
23162         * manual/timeval_subtract.c.texi: ... here, new file.
23164 2012-03-02  David S. Miller  <davem@davemloft.net>
23166         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
23168 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
23170         [BZ #3976]
23171         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
23172         (__sin): Save and restore rounding mode and use round-to-nearest
23173         for all computations.
23174         (__cos): Save and restore rounding mode and use round-to-nearest
23175         for all computations.
23176         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
23177         <fenv.h>.
23178         (tan): Save and restore rounding mode and use round-to-nearest for
23179         all computations.
23180         * math/libm-test.inc (cos_test_tonearest): New function.
23181         (cos_test_towardzero): Likewise.
23182         (cos_test_downward): Likewise.
23183         (cos_test_upward): Likewise.
23184         (sin_test_tonearest): Likewise.
23185         (sin_test_towardzero): Likewise.
23186         (sin_test_downward): Likewise.
23187         (sin_test_upward): Likewise.
23188         (tan_test_tonearest): Likewise.
23189         (tan_test_towardzero): Likewise.
23190         (tan_test_downward): Likewise.
23191         (tan_test_upward): Likewise.
23192         (main): Call the new functions.
23193         * sysdeps/i386/fpu/libm-test-ulps: Update.
23194         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23196         [BZ #10135]
23197         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
23198         small n, then large n, before computing and testing k+n.
23199         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
23200         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
23201         Likewise.
23202         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
23203         Likewise.
23204         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
23205         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
23206         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
23207         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
23208         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
23209         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
23210         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
23211         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
23212         * math/libm-test.inc (scalbn_test): Add more tests.
23213         (scalbln_test): Likewise.
23215         * manual/filesys.texi (mode_t): Describe constraints on size and
23216         signedness, not exact equivalence to a particular type.
23217         (ino_t): Likewise.
23218         (ino64_t): Likewise.
23219         (dev_t): Likewise.
23220         (nlink_t): Likewise.
23221         (blkcnt_t): Likewise.
23222         (blkcnt64_t): Likewise.
23223         * manual/llio.texi (off_t): Likewise.
23225         [BZ #3976]
23226         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
23227         (__ieee754_exp): Save and restore rounding mode and use
23228         round-to-nearest for all computations.
23229         * math/libm-test.inc (exp_test_tonearest): New function.
23230         (exp_test_towardzero): Likewise.
23231         (exp_test_downward): Likewise.
23232         (exp_test_upward): Likewise.
23233         (main): Call the new functions.
23234         * sysdeps/i386/fpu/libm-test-ulps: Update.
23235         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23237 2012-03-01  Chris Demetriou  <cgd@google.com>
23239         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
23240         have predictable order.
23242 2012-03-01  David S. Miller  <davem@davemloft.net>
23244         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
23246         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
23247         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
23248         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
23249         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
23251         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
23252         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
23253         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
23254         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
23255         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
23256         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
23257         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
23258         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
23259         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
23261         * sysdeps/sparc/fpu/libm-test-ulps: Update.
23263         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
23264         * sysdeps/sparc/fpu/libm-test-ulps: to here.
23265         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
23267         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
23268         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
23269         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
23270         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
23271         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
23272         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
23273         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
23274         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
23275         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
23276         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
23277         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
23278         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
23279         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
23280         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
23281         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
23282         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
23283         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
23284         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
23285         * sysdeps/sparc/elf/configure: Regenerated.
23287 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
23289         * configure.in (AS, LD): Require binutils 2.20 or later.
23290         * configure: Regenerated.
23291         * manual/install.texi (Tools for Compilation): Give binutils 2.20
23292         as required minimum version.
23293         * INSTALL: Regenerated.
23295         [BZ #2541]
23296         [BZ #4108]
23297         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
23298         before squaring exponent.
23299         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
23300         bottom long double and 27 bits of top long double before squaring
23301         exponent.
23302         * math/libm-test.inc (erfc_test): Add more tests.
23303         * sysdeps/i386/fpu/libm-test-ulps: Update.
23304         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
23305         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23307 2012-03-01  Kai Tietz  <ktietz@redhat.com>
23309         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
23310         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
23311         containing bit-fields.
23312         * soft-fp/extended.h (_FP_UNION_E): Likewise.
23313         * soft-fp/single.h (_FP_UNION_S): Likewise.
23314         * soft-fp/double.h (_FP_UNION_D): Likewise.
23316 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
23318         [BZ #13786]
23319         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
23320         not include ../strcmp.S.
23321         [USE_AS_STRNCASECMP_L]: Likewise.
23322         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
23323         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
23324         * sysdeps/i386/i686/multiarch/strncase_l-c.c
23325         (__strncasecmp_l_ia32): Define as alias to
23326         __strncasecmp_l_nonascii.
23328         [BZ #5794]
23329         * math/libm-test.inc (expm1_test): Add test for bug 5794.
23330         * sysdeps/i386/fpu/libm-test-ulps: Update.
23331         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23333         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
23334         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23336 2012-02-29  Jeff Law  <law@redhat.com>
23338         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
23339         out of bounds read.
23341 2012-02-29  Marek Polacek  <polacek@redhat.com>
23343         [BZ #13706]
23344         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
23345         * elf/Makefile: Add rules to run tst-unused-dep.out.
23347 2012-02-28  David S. Miller  <davem@davemloft.net>
23349         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
23350         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
23351         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
23352         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
23353         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
23354         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
23356 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
23358         * math/libm-test.inc (llround_test): Move one test from
23359         lround_test.  Use TEST_f_L in moved test.
23360         (lround_test): Move misplaced test to llround_test.  Add testcase
23361         from bug 2561.
23363 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
23365         * sysdeps/x86_64/fpu/e_expf.S: New file.
23366         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
23368 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
23370         [BZ #13637]
23371         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
23372         of remain_len that may cause incomplete multi-byte character and
23373         false match.
23374         * posix/bug-regex33.c: New file.
23375         * posix/Makefile (tests): Add bug-regex33.
23377 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
23379         * manual/macros.texi: New file.
23380         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
23381         * manual/libc.texinfo: Include macros.texi.
23382         * manual/creatute.texi: Likewise.
23383         * manual/install.texi: Likewise.
23384         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
23385         @glibcadj{} in references to the GNU C Library.
23386         * manual/charset.texi: Likewise.
23387         * manual/conf.texi: Likewise.
23388         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
23389         when not using those macros.
23390         * manual/creature.texi: Likewise.
23391         * manual/crypt.texi: Likewise.
23392         * manual/errno.texi: Likewise.
23393         * manual/filesys.texi: Likewise.
23394         * manual/header.texi: Likewise.
23395         * manual/install.texi: Likewise.
23396         * manual/intro.texi: Likewise.
23397         * manual/io.texi: Likewise.
23398         * manual/job.texi: Likewise.
23399         * manual/lang.texi: Likewise.
23400         * manual/libc.texiinfo: Likewise.
23401         * manual/llio.texi: Likewise.
23402         * manual/locale.texi: Likewise.
23403         * manual/maint.texi: Likewise.
23404         * manual/math.texi: Likewise.
23405         * manual/memory.texi: Likewise.
23406         * manual/message.texi: Likewise.
23407         * manual/nss.texi: Likewise.
23408         * manual/pattern.texi: Likewise.
23409         * manual/process.texi: Likewise.
23410         * manual/resource.texi: Likewise.
23411         * manual/search.texi: Likewise.
23412         * manual/setjmp.texi: Likewise.
23413         * manual/signal.texi: Likewise.
23414         * manual/socket.texi: Likewise.
23415         * manual/startup.texi: Likewise.
23416         * manual/stdio.texi: Likewise.
23417         * manual/string.texi: Likewise.
23418         * manual/sysinfo.texi: Likewise.
23419         * manual/syslog.texi: Likewise.
23420         * manual/terminal.texi: Likewise.
23421         * manual/time.texi: Likewise.
23422         * manual/users.texi: Likewise.
23423         * INSTALL: Regenerated.
23424         * NOTES: Regenerated.
23425         * sysdeps/gnu/errlist.c: Regenerated.
23427 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
23429         * include/dirent.h: Include <dirstream.h> before
23430         <dirent/dirent.h>.
23432 2012-02-28  David S. Miller  <davem@davemloft.net>
23434         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
23435         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
23436         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
23437         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
23439 2012-02-27  David S. Miller  <davem@davemloft.net>
23441         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
23442         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
23443         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
23444         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
23446         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
23447         frame pointer instead of stack pointer relative arg slot.
23448         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
23449         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
23450         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
23452 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
23454         [BZ #3992]
23455         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
23457 2012-02-27  David S. Miller  <davem@davemloft.net>
23459         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
23460         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
23461         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
23462         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
23463         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
23464         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
23465         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
23466         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
23468 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
23470         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
23471         later.  Allow versions 5-9.
23472         * configure: Regenerated.
23473         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
23474         required minimum version and 4.6 as recommended version.  Do not
23475         mention bugs in GCC 2.7 and 2.8.
23476         * INSTALL: Regenerated.
23478 2012-02-27  David S. Miller  <davem@davemloft.net>
23480         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
23481         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
23482         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
23483         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
23484         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
23485         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
23486         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
23487         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
23489         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
23490         manipulate bits before adding and subtracting TWO112[sx].
23491         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
23493 2012-02-27  Roland McGrath  <roland@hack.frob.com>
23495         [BZ #13775]
23496         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
23497         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
23498         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
23499         being in POSIX, because they are in 1003.1-2008.
23501         * rt/tst-aio.c: Include <fcntl.h>.
23502         * rt/tst-aio7.c: Likewise.
23503         * rt/tst-aio64.c: Likewise.
23505         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
23507 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
23509         * manual/install.texi (--with-headers): Describe headers as
23510         interface headers, not private headers.
23511         (Specific advice for GNU/Linux systems): Describe use of headers
23512         from "make headers_install", not private headers from older
23513         kernels.
23514         * INSTALL: Regenerated.
23515         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
23516         Change to 2.6.19.
23517         * sysdeps/unix/sysv/linux/configure: Regenerated.
23519         * manual/llio.texi (fclean): Remove documentation.
23521         * manual/Makefile (libc-texi-generated): New variable.  Include
23522         version.texi.
23523         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
23524         $(libc-texi-generated), not duplicated list of files.
23525         (version.texi, stamp-version): New rules.
23526         (realclean): Remove $(libc-texi-generated), not individual files
23527         from that list.  Do not remove dir-add.texinfo.
23528         * manual/libc.texinfo: Comment out uses of edition numbers and
23529         references to printed manual.  Remove last-updated dates.
23530         (EDITION): Comment out.
23531         (ISBN): Likewise.
23532         (VERSION, UPDATED): Remove.
23533         (version.texi): Include.
23535 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
23537         * sysdeps/posix/spawni.c: Include <signal.h>.
23538         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
23539         * sysdeps/pthread/aio_fsync.c: Likewise.
23541 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
23543         * conform/Makefile (tests): Run only when not cross-compiling and
23544         when fast-check is not defined.
23546         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
23547         * conform/data/limits.h-data: Fixes for POSIX2008.
23548         * conform/run-conformtest.sh: Run all tests.
23549         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
23550         headers.
23551         * include/bits/dlfcn.h: Likewise.
23552         * include/langinfo.h: Likewise.
23553         * include/monetary.h: Likewise.
23554         * include/sys/poll.h: Likewise.
23556         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
23557         for __USE_GNU.
23558         * posix/spawn.h: Define __need_sigset_t.
23559         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
23560         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
23561         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
23562         to get sigevent_t only.
23563         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
23564         only for __USE_GNU.
23565         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
23566         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
23567         process_vm_writev only for __USE_GNU.
23568         * termios/termios.h: Declare tcgetsid also for POSIX2008.
23570         * conform/Makefile: For now ignore errors from run-conformtest.
23571         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
23572         POSIX to avoid namespace pollution.  Don't prepend headers.
23573         * conform/data/aio.h-data: Fixes for POSIX testing.
23574         * conform/data/fcntl.h-data: Likewise.
23575         * conform/data/glob.h-data: Likewise.
23576         * conform/data/grp.h-data: Likewise.
23577         * conform/data/pthread.h-data: Likewise.
23578         * conform/data/pwd.h-data: Likewise.
23579         * conform/data/signal.h-data: Likewise.
23580         * conform/data/spawn.h-data: Likewise.
23581         * conform/data/stdio.h-data: Likewise.
23582         * conform/data/stdlib.h-data: Likewise.
23583         * conform/data/stropts.h-data: Likewise.
23584         * conform/data/sys/mman.h-data: Likewise.
23585         * conform/data/sys/stat.h-data: Likewise.
23586         * conform/data/sys/types.h-data: Likewise.
23587         * conform/data/sys/wait.h-data: Likewise.
23588         * conform/data/time.h-data: Likewise.
23589         * conform/data/unistd.h-data: Likewise.
23590         * conform/data/utime.h-data: Likewise.
23592         * io/sys/stat.h: fchmod was always in POSIX.
23593         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
23594         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
23595         * rt/aio.h: Define __need_timespec before including <time.h>.
23596         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
23597         struct.  Add forward declaration of pthread_attr_t and use it in
23598         sigevent.
23599         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
23600         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
23601         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
23602         always remove CLK_TCK definition.
23604 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
23606         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
23608 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
23610         * conform/run-conformtest.sh: New file.
23611         * conform/Makefile: Run run-conformtest for tests.
23612         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
23613         support.
23615         * conform/data/uchar.h-data: New file.
23616         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
23617         * conform/data/arpa/inet.h-data: Likewise.
23618         * conform/data/assert.h-data: Likewise.
23619         * conform/data/complex.h-data: Likewise.
23620         * conform/data/cpio.h-data: Likewise.
23621         * conform/data/ctype.h-data: Likewise.
23622         * conform/data/dirent.h-data: Likewise.
23623         * conform/data/dlfcn.h-data: Likewise.
23624         * conform/data/errno.h-data: Likewise.
23625         * conform/data/fcntl.h-data: Likewise.
23626         * conform/data/float.h-data: Likewise.
23627         * conform/data/fmtmsg.h-data: Likewise.
23628         * conform/data/fnmatch.h-data: Likewise.
23629         * conform/data/ftw.h-data: Likewise.
23630         * conform/data/glob.h-data: Likewise.
23631         * conform/data/grp.h-data: Likewise.
23632         * conform/data/iconv.h-data: Likewise.
23633         * conform/data/inttypes.h-data: Likewise.
23634         * conform/data/langinfo.h-data: Likewise.
23635         * conform/data/libgen.h-data: Likewise.
23636         * conform/data/limits.h-data: Likewise.
23637         * conform/data/locale.h-data: Likewise.
23638         * conform/data/math.h-data: Likewise.
23639         * conform/data/monetary.h-data: Likewise.
23640         * conform/data/mqueue.h-data: Likewise.
23641         * conform/data/ndbm.h-data: Likewise.
23642         * conform/data/net/if.h-data: Likewise.
23643         * conform/data/netdb.h-data: Likewise.
23644         * conform/data/netinet/in.h-data: Likewise.
23645         * conform/data/nl_types.h-data: Likewise.
23646         * conform/data/poll.h-data: Likewise.
23647         * conform/data/pthread.h-data: Likewise.
23648         * conform/data/pwd.h-data: Likewise.
23649         * conform/data/regex.h-data: Likewise.
23650         * conform/data/sched.h-data: Likewise.
23651         * conform/data/search.h-data: Likewise.
23652         * conform/data/semaphore.h-data: Likewise.
23653         * conform/data/setjmp.h-data: Likewise.
23654         * conform/data/signal.h-data: Likewise.
23655         * conform/data/spawn.h-data: Likewise.
23656         * conform/data/stdarg.h-data: Likewise.
23657         * conform/data/stdio.h-data: Likewise.
23658         * conform/data/stdlib.h-data: Likewise.
23659         * conform/data/string.h-data: Likewise.
23660         * conform/data/strings.h-data: Likewise.
23661         * conform/data/stropts.h-data: Likewise.
23662         * conform/data/sys/ipc.h-data: Likewise.
23663         * conform/data/sys/mman.h-data: Likewise.
23664         * conform/data/sys/msg.h-data: Likewise.
23665         * conform/data/sys/resource.h-data: Likewise.
23666         * conform/data/sys/select.h-data: Likewise.
23667         * conform/data/sys/sem.h-data: Likewise.
23668         * conform/data/sys/shm.h-data: Likewise.
23669         * conform/data/sys/socket.h-data: Likewise.
23670         * conform/data/sys/stat.h-data: Likewise.
23671         * conform/data/sys/statvfs.h-data: Likewise.
23672         * conform/data/sys/time.h-data: Likewise.
23673         * conform/data/sys/timeb.h-data: Likewise.
23674         * conform/data/sys/times.h-data: Likewise.
23675         * conform/data/sys/types.h-data: Likewise.
23676         * conform/data/sys/uio.h-data: Likewise.
23677         * conform/data/sys/un.h-data: Likewise.
23678         * conform/data/sys/utsname.h-data: Likewise.
23679         * conform/data/sys/wait.h-data: Likewise.
23680         * conform/data/syslog.h-data: Likewise.
23681         * conform/data/tar.h-data: Likewise.
23682         * conform/data/termios.h-data: Likewise.
23683         * conform/data/utime.h-data: Likewise.
23684         * conform/data/utmpx.h-data: Likewise.
23685         * conform/data/varargs.h-data: Likewise.
23686         * conform/data/wchar.h-data: Likewise.
23687         * conform/data/wctype.h-data: Likewise.
23688         * conform/data/wordexp.h-data: Likewise.
23690         * include/stropts.h: New file.
23691         * include/uchar.h: New file.
23692         * include/aio.h: Changes to allow conformtest.pl to use the headers.
23693         * include/assert.h: Likewise.
23694         * include/ctype.h: Likewise.
23695         * include/dirent.h: Likewise.
23696         * include/dlfcn.h: Likewise.
23697         * include/fcntl.h: Likewise.
23698         * include/fnmatch.h: Likewise.
23699         * include/glob.h: Likewise.
23700         * include/grp.h: Likewise.
23701         * include/libio.h: Likewise.
23702         * include/locale.h: Likewise.
23703         * include/math.h: Likewise.
23704         * include/net/if.h: Likewise.
23705         * include/netdb.h: Likewise.
23706         * include/netinet/in.h: Likewise.
23707         * include/pthread.h: Likewise.
23708         * include/pwd.h: Likewise.
23709         * include/regex.h: Likewise.
23710         * include/sched.h: Likewise.
23711         * include/search.h: Likewise.
23712         * include/setjmp.h: Likewise.
23713         * include/signal.h: Likewise.
23714         * include/stdio.h: Likewise.
23715         * include/stdlib.h: Likewise.
23716         * include/string.h: Likewise.
23717         * include/sys/cdefs.h: Likewise.
23718         * include/sys/mman.h: Likewise.
23719         * include/sys/msg.h: Likewise.
23720         * include/sys/resource.h: Likewise.
23721         * include/sys/select.h: Likewise.
23722         * include/sys/socket.h: Likewise.
23723         * include/sys/stat.h: Likewise.
23724         * include/sys/statvfs.h: Likewise.
23725         * include/sys/time.h: Likewise.
23726         * include/sys/times.h: Likewise.
23727         * include/sys/uio.h: Likewise.
23728         * include/sys/utsname.h: Likewise.
23729         * include/sys/wait.h: Likewise.
23730         * include/termios.h: Likewise.
23731         * include/time.h: Likewise.
23732         * include/ulimit.h: Likewise.
23733         * include/unistd.h: Likewise.
23734         * include/utime.h: Likewise.
23735         * include/wchar.h: Likewise.
23736         * include/wctype.h: Likewise.
23737         * include/wordexp.h: Likewise.
23739         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
23741         * time/time.h: TIME_UTC must be a macro.
23742         Make timespec_get available for ISO C11 only as well.
23744 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
23746         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
23747         Reported by Peng Haitao <penght@cn.fujitsu.com>.
23749 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
23751         * configure.in: Use -o not -a in test for unsupported multi-arch.
23753 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
23755         * manual/texinfo.tex: Update to version 2012-01-19.16.
23757 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
23759         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
23761 2012-02-24  Roland McGrath  <roland@hack.frob.com>
23763         [BZ #13738]
23764         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
23765         * manual/fdl-1.3.texi: New file.
23766         * manual/fdl-1.1.texi: File removed.
23768         [BZ #13738]
23769         * manual/libc.texinfo (FDL_VERSION): New @set.
23770         Use it for mention of FDL in cover text.
23771         (Documentation License): Use it in @include file name.
23773 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
23774             Roland McGrath  <roland@hack.frob.com>
23776         [BZ #5461]
23777         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
23778         not LONG_LONG_MAX and LONG_LONG_MIN.
23779         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
23780         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
23781         name.
23782         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
23784 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
23786         [BZ #2547]
23787         [BZ #11365]
23788         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
23789         manipulate bits before adding and subtracting TWO23[sx].
23790         * math/libm-test.inc (nearbyint_test): Add more tests.
23792 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
23794         [BZ #2548]
23795         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
23796         bits before adding and subtracting TWO23[sx].
23797         * math/libm-test.inc (rint_test): Add more tests.
23798         (rint_test_tonearest): Likewise.
23799         (rint_test_towardzero): Likewise.
23800         (rint_test_downward): Likewise.
23801         (rint_test_upward: Likewise.
23803 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
23805         [BZ #10110]
23806         * include/stdc-predef.h: New file.  Extracted from features.h.
23807         * include/features.h: Include stdc-predef.h.
23808         * Makefile (headers): Add stdc-predef.h.
23809         * CONFORMANCE (Compiler limitations): Update.
23811 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
23813         * manual/libc.texinfo (VERSION, UPDATED): Revert.
23815 2012-02-21  David S. Miller  <davem@davemloft.net>
23817         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
23818         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
23820 2012-02-20  David S. Miller  <davem@davemloft.net>
23822         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
23823         using a normal save/restore sequence, rather than allocating a
23824         dummy stack frame just to store a frame pointer and restore.
23825         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
23827 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
23829         * manual/install.texi: Fix stray word in line-wrapped comment.
23831 2012-02-20  David S. Miller  <davem@davemloft.net>
23833         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
23834         both binutils and gcc support GOTDATA.
23836         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
23837         "rd %pc" in the PIC register setup sequences.
23839         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
23840         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
23841         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
23842         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
23843         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
23844         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
23845         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
23846         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
23847         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
23848         (SYSCALL_ERROR_HANDLER): Likewise.
23849         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
23850         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
23851         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
23852         (SYSCALL_ERROR_HANDLER): Likewise.
23854         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
23855         (HAVE_GCC_GOTDATA): New.
23856         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
23857         relocation support in both binutils and gcc.
23858         * sysdeps/sparc/elf/configure: Regenerate.
23860         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
23861         * sysdeps/sparc/sparc32/elf/configure: Delete.
23862         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
23863         * sysdeps/sparc/sparc64/elf/configure: Delete.
23864         * sysdeps/sparc/elf/configure.in: New file.
23865         * sysdeps/sparc/elf/configure: Generate.
23867         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
23868         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
23869         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
23870         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
23871         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
23873 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
23875         * manual/install.texi: Do not mention specific glibc version
23876         numbers.
23877         * manual/libc.texinfo (VERSION, UPDATED): Update.
23878         (@copying): Use @copyright{} and range of years.
23880 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
23882         [BZ #13695]
23883         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
23884         [crti.S not in sysdirs] (generated): Do not append.
23885         [crti.S not in sysdirs] (omit-deps): Likewise.
23886         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
23887         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
23888         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
23889         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
23890         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
23891         Likewise.
23892         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
23893         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
23894         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
23895         * csu/defs.awk: Remove file.
23896         * sysdeps/generic/initfini.c: Likewise.
23897         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
23898         variable.
23899         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
23900         Likewise.
23902 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
23904         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
23905         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
23906         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
23907         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
23908         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
23909         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
23910         <bits/epoll.h>.
23911         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
23912         (__EPOLL_PACKED): Define to empty if not defined by
23913         <bits/epoll.h>.
23914         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
23915         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23916         bits/epoll.h.
23918 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
23920         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
23921         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
23922         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
23923         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
23924         <bits/timerfd.h>.
23925         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
23926         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23927         bits/timerfd.h.
23929 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
23931         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
23932         in C locale.
23933         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
23934         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
23935         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
23936         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23938 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
23940         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
23941         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
23943 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
23945         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
23946         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
23947         defined.
23948         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
23949         Likewise.
23950         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
23951         entry for 2.16.
23953 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
23955         * math/w_acos.c: Use non-signaling floating-point comparisons.
23956         * math/w_acosf.c: Likewise.
23957         * math/w_acosh.c: Likewise.
23958         * math/w_acoshf.c: Likewise.
23959         * math/w_acoshl.c: Likewise.
23960         * math/w_acosl.c: Likewise.
23961         * math/w_asin.c: Likewise.
23962         * math/w_asinf.c: Likewise.
23963         * math/w_asinl.c: Likewise.
23964         * math/w_atanh.c: Likewise.
23965         * math/w_atanhf.c: Likewise.
23966         * math/w_atanhl.c: Likewise.
23967         * math/w_exp2.c: Likewise.
23968         * math/w_exp2f.c: Likewise.
23969         * math/w_exp2l.c: Likewise.
23970         * math/w_j0.c: Likewise.
23971         * math/w_j0f.c: Likewise.
23972         * math/w_j0l.c: Likewise.
23973         * math/w_j1.c: Likewise.
23974         * math/w_j1f.c: Likewise.
23975         * math/w_j1l.c: Likewise.
23976         * math/w_jn.c: Likewise.
23977         * math/w_jnf.c: Likewise.
23978         * math/w_log.c: Likewise.
23979         * math/w_log10.c: Likewise.
23980         * math/w_log10f.c: Likewise.
23981         * math/w_log10l.c: Likewise.
23982         * math/w_log2.c: Likewise.
23983         * math/w_log2f.c: Likewise.
23984         * math/w_log2l.c: Likewise.
23985         * math/w_logf.c: Likewise.
23986         * math/w_logl.c: Likewise.
23987         * math/w_sqrt.c: Likewise.
23988         * math/w_sqrtf.c: Likewise.
23989         * math/w_sqrtl.c: Likewise.
23990         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
23991         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
23992         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
23993         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
23994         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
23996 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
23998         [BZ #9739]
23999         * manual/string.texi (strnlen): Use correct parameter name in
24000         equivalent expression.
24002 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
24004         [BZ #11174]
24005         * manual/users.texi (seteuid): Consistently use neweuid for
24006         argument name.
24008 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
24010         [BZ #13704]
24011         * manual/nss.texi (Services in the NSS configuration): Correct
24012         list of services in example configuration file.
24014 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
24016         [BZ #11322]
24017         * manual/arith.texi: Remove statements about negative zero
24018         behaving identically to zero.
24020 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
24022         [BZ #5993]
24023         * manual/install.texi: Do not document upgrading from libc5.
24025 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
24027         [BZ #4596]
24028         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
24030 2012-02-18  David S. Miller  <davem@davemloft.net>
24032         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
24033         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
24034         %o7 across the call.
24035         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
24036         instead.
24037         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
24038         SETUP_PIC_REG_LEAF.
24039         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
24040         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
24041         * sysdeps/sparc/crtn.S: Likewise.
24043 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
24045         * aout/Makefile: Remove.
24047 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
24049         [BZ #13058]
24050         * manual/examples/argp-ex1.c (main): Format definition in GNU
24051         style.
24052         * manual/examples/argp-ex2.c (main): Likewise.
24053         * manual/examples/argp-ex3.c (main): Likewise.
24054         * manual/examples/argp-ex4.c (main): Likewise.
24055         * manual/examples/longopt.c (main): Use new-style prototype
24056         definition.
24057         * manual/examples/strncat.c (main): Specify return type and use
24058         (void) for arguments.
24059         * manual/examples/subopt.c (main): Use char **argv argument.
24061 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
24063         [BZ #5077]
24064         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
24065         rounding modes.
24067 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
24069         [BZ #6907]
24070         * manual/string.texi (strchr): Change when strchrnul is
24071         recommended.
24073 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
24075         [BZ #174]
24076         * manual/locale.texi (setlocale): Document LOCPATH.
24078 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
24080         [BZ #10210]
24081         * manual/process.texi (execle): Move @dots{} before last argument.
24083 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
24085         [BZ #12047]
24086         * manual/charset.texi (Generic Charset Conversion): Fix typo
24087         (LC_TYPE -> LC_CTYPE).
24089 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
24091         [BZ #5805]
24092         * manual/arith.texi (scalbn): Use @var{} on parameter names.
24093         (scalbnf): Likewise.
24094         (scalbnl): Likewise.
24095         (scalbln): Likewise.
24096         (scalblnf): Likewise.
24097         (scalblnl): Likewise.
24098         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
24099         (vwarnx): Likewise.
24100         (verr): Likewise.
24101         (verrx): Likewise.
24102         * manual/filesys.texi (telldir): Use braces around return type.
24103         * manual/llio.texi (mmap): Add space after comma.
24104         (mmap64): Likewise.
24105         * manual/math.texi (jn): Use @var{} on parameter names.
24106         (jnf): Likewise.
24107         (jnl): Likewise.
24108         (yn): Likewise.
24109         (ynf): Likewise.
24110         (ynl): Likewise.
24111         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
24112         line.
24113         * manual/resource.texi (ulimit): Use @dots{} instead of literal
24114         "...".
24115         (sched_get_priority_min): Remove semicolon on @deftypefun line.
24116         (sched_get_priority_max): Likewise.
24117         * manual/signal.texi (sigvec): Add space after comma.
24118         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
24119         names.
24120         (if_indextoname): Likewise.
24121         (if_freenameindex): Likewise.
24122         (sendto): Use ',' instead of '.' in prototype.
24123         * manual/startup.texi (syscall): Use @dots{} instead of literal
24124         "...".
24125         * manual/stdio.texi (__fpending): Separate initial words of
24126         paragraph from @deftypefun line.
24127         * manual/syslog.texi (syslog): Use @dots{} instead of literal
24128         "...".
24129         (vsyslog): Use @var{} on parameter names.
24130         * manual/terminal.texi (stty): Use @var{} on parameter names.
24131         * manual/users.texi (getutmp): Use @var{} on parameter names.
24132         (getutmpx): Likewise.
24134 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
24136         [BZ #6884]
24137         * manual/stdio.texi (fopen): Fix typos in description of
24138         ",ccs=STRING".
24140 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
24142         [BZ #4026]
24143         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
24144         get clock_id definition.
24146 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
24148         [BZ #4822]
24149         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
24150         (madvise): Cast every argument to void on its own.
24152 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
24154         [BZ #9902]
24155         * manual/startup.texi (Exit Status): Fix typo.
24157 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
24159         [BZ #10140]
24160         * manual/examples/argp-ex1.c: Include <stdlib.h>.
24161         * manual/examples/argp-ex2.c: Likewise.
24162         * manual/examples/argp-ex3.c: Likewise.
24164 2012-02-16  Richard Henderson  <rth@redhat.com>
24166         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
24167         * sysdeps/s390/s390-32/initfini.c: Remove.
24168         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
24169         * sysdeps/s390/s390-64/initfini.c: Remove.
24171 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
24173         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
24174         compiler output for sysdeps/generic/initfini.c.
24175         * sysdeps/sh/elf/initfini.c: Remove file.
24177 2012-02-16  David S. Miller  <davem@davemloft.net>
24179         [BZ #11494]
24180         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
24182         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
24183         * sysdeps/sparc/crti.S: New file.
24184         * sysdeps/sparc/crtn.S: New file.
24185         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
24186         * sysdeps/sparc/sparc64/Makefile: Likewise.
24188 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
24190         [BZ #3335]
24191         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
24193 2012-02-15  Roland McGrath  <roland@hack.frob.com>
24195         [BZ #4822]
24196         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
24198         * mach/devstream.c (cookie_io_functions_t): Macro removed.
24199         (write, read, close): Likewise.
24200         Patch by Aurelien Jarno <aurelien@aurel32.net>.
24202 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
24204         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
24205         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
24206         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
24207         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
24208         <bits/signalfd.h>.
24209         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
24210         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24211         bits/signalfd.h.
24213 2012-02-14  Marek Polacek  <polacek@redhat.com>
24215         * sysdeps/x86_64/crti.S: New file.
24216         * sysdeps/x86_64/crtn.S: New file.
24217         * sysdeps/x86_64/elf/initfini.c: Remove file.
24219 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
24221         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
24222         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
24223         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
24224         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
24225         <bits/inotify.h>.
24226         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
24227         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24228         bits/inotify.h.
24230 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
24232         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
24233         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
24234         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
24235         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
24236         <bits/eventfd.h>.
24237         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
24238         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24239         bits/eventfd.h.
24241 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
24243         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
24244         __feraiseexcept instead of feraiseexcept.
24246         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
24247         nanosleep invocations.
24248         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
24249         strings, and add error checking for a nanosleep invocations.
24251 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
24253         Replace FSF snail mail address with URLs, as per GNU coding standards.
24254         Most of the snail mail addresses were wrong anyway, and omitting
24255         them makes the source code easier to maintain.  Almost all of the
24256         changes are to license notices and to locale LC_IDENTIFICATION
24257         addresses, except for this one:
24258         * manual/libc.texinfo: In "Published by", give the FSF's URL,
24259         not its snail mail address.
24261 2012-02-09  Richard Henderson  <rth@twiddle.net>
24263         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
24264         of kernel-features.h.
24266         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
24268 2012-02-08  Marek Polacek  <polacek@redhat.com>
24270         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
24271         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
24272         * sysdeps/gnu/_G_config.h: Likewise.
24273         * sysdeps/generic/_G_config.h: Likewise.
24275 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
24277         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
24278         tests.
24279         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24281         * sysdeps/powerpc/powerpc32/crti.S: New file.
24282         * sysdeps/powerpc/powerpc32/crtn.S: New file.
24283         * sysdeps/powerpc/powerpc64/crti.S: New file.
24284         * sysdeps/powerpc/powerpc64/crtn.S: New file.
24286         * Makeconfig (have-initfini): Don't set.
24287         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
24288         * configure.in (nopic_initfini): Don't substitute.
24289         * config.h.in (HAVE_INITFINI): Don't #undef.
24290         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
24291         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
24293 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
24295         Support crti.S and crtn.S provided directly by architectures.
24296         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
24297         [crti.S in sysdirs] (omit-deps): Likewise.
24298         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
24299         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
24300         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
24301         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
24302         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
24303         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
24304         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
24305         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
24306         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
24307         compiler output for sysdeps/generic/initfini.c.
24308         * sysdeps/i386/elf/Makefile: Remove file.
24309         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
24311 2012-02-07  Marek Polacek  <polacek@redhat.com>
24313         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
24314         * sysdeps/gnu/_G_config.h: Likewise.
24315         * sysdeps/mach/hurd/_G_config.h: Likewise.
24317 2012-02-07  Marek Polacek  <polacek@redhat.com>
24319         * math/Makefile (tests): Add tst-CMPLX2.
24320         * math/tst-CMPLX2.c: New file.
24322 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
24324         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
24326         * math/libm-test.inc (jn_test): Add missing L suffix.
24328 2012-02-06  Marek Polacek  <polacek@redhat.com>
24330         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
24331         * sysdeps/i386/fpu/e_powf.S: Likewise.
24332         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
24333         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
24334         * sysdeps/i386/fpu/e_acosh.S: Likewise.
24335         * sysdeps/i386/fpu/e_pow.S: Likewise.
24336         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
24337         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
24338         * sysdeps/i386/fpu/s_expm1.S: Likewise.
24339         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
24340         * sysdeps/i386/fpu/e_log2.S: Likewise.
24341         * sysdeps/i386/fpu/e_log2l.S: Likewise.
24342         * sysdeps/i386/fpu/e_scalb.S: Likewise.
24343         * sysdeps/i386/fpu/e_powl.S: Likewise.
24344         * sysdeps/i386/fpu/s_log1p.S: Likewise.
24345         * sysdeps/i386/fpu/e_log10f.S: Likewise.
24346         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
24347         * sysdeps/i386/fpu/e_logl.S: Likewise.
24348         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
24349         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
24350         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
24351         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
24352         * sysdeps/i386/fpu/e_log2f.S: Likewise.
24353         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
24354         * sysdeps/i386/fpu/e_log.S: Likewise.
24355         * sysdeps/i386/fpu/s_cexp.S: Likewise.
24356         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
24357         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
24358         * sysdeps/i386/fpu/e_logf.S: Likewise.
24359         * sysdeps/i386/fpu/e_log10l.S: Likewise.
24360         * sysdeps/i386/fpu/e_atanh.S: Likewise.
24361         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
24362         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
24363         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
24364         * sysdeps/i386/fpu/e_log10.S: Likewise.
24365         * sysdeps/i386/fpu/s_frexp.S: Likewise.
24366         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
24367         * sysdeps/i386/fpu/s_asinh.S: Likewise.
24368         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
24369         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
24370         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
24371         * sysdeps/i386/asm-syntax.h: Likewise.
24372         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
24373         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
24374         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
24375         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
24376         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
24377         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
24378         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
24379         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
24380         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
24381         * sysdeps/powerpc/sysdep.h: Likewise.
24382         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
24383         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
24385 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
24387         [BZ #411]
24388         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
24390 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
24392         * sysdeps/i386/sysdep.h: Include <features.h>.
24393         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
24394         version.
24396 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
24398         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
24399         Define.
24400         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
24401         LOAD_PIC_REG_STR.
24403 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
24405         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
24406         (SETUP_PIC_REG): Use GET_PC_THUNK.
24407         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
24408         macro.
24410 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
24412         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
24413         for non-PIC compilation.
24414         (SETUP_PIC_REG): Add .p2align directive.
24415         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
24416         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
24417         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
24418         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
24419         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
24420         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
24421         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
24422         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
24423         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
24424         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
24425         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
24426         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
24427         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
24428         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
24429         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
24430         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
24431         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
24432         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
24433         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
24434         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
24435         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
24436         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
24437         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
24438         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
24439         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
24440         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
24441         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
24442         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
24443         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
24444         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
24445         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
24446         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
24447         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
24448         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
24449         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
24450         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
24451         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
24452         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
24453         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
24454         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
24455         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
24457 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
24459         * math/tst-CMPLX.c: Include <stdio.h>.
24461 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
24463         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
24464         float.
24465         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
24466         * sysdeps/sparc/bits/mathdef.h: Likewise.
24468 2012-01-31  Marek Polacek  <polacek@redhat.com>
24470         * libio/libio.h: Don't define _PARAMS.
24471         * locale/programs/config.h: Don't define PARAMS.
24472         * stdlib/strtol_l.c: Likewise.
24473         (__strtol_l): Remove PARAMS from the prototype.
24475 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
24477         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
24478         names.  Just use the correct names.  Remove unnecessary wrapper
24479         functions.
24480         * malloc/arena.c: Likewise.
24481         * malloc/hooks.c: Likewise.
24483         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
24484         ARENA_TEST says not to.  Simplify test for creation of a new arena.
24485         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
24487 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
24489         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
24490         into tail calls.
24491         (update_get_addr): New function.
24492         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
24493         GET_ADDR_MODULE parameter.
24495 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
24497         * crypt/cert.c: Remove __STDC__ conditionals.
24498         * crypt/crypt-entry.c: Likewise.
24499         * crypt/crypt_util.c: Likewise.
24500         * libio/filedoalloc.c: Likewise.
24501         * libio/fileops.c: Likewise.
24502         * libio/genops.c: Likewise.
24503         * libio/iofclose.c: Likewise.
24504         * libio/iofdopen.c: Likewise.
24505         * libio/iofopen.c: Likewise.
24506         * libio/iofopen64.c: Likewise.
24507         * libio/iogetdelim.c: Likewise.
24508         * libio/iopopen.c: Likewise.
24509         * libio/obprintf.c: Likewise.
24510         * libio/oldfileops.c: Likewise.
24511         * libio/oldiofclose.c: Likewise.
24512         * libio/oldiofdopen.c: Likewise.
24513         * libio/oldiofopen.c: Likewise.
24514         * libio/oldiopopen.c: Likewise.
24515         * libio/wfiledoalloc.c: Likewise.
24516         * libio/wgenops.c: Likewise.
24517         * locale/programs/xmalloc.c: Likewise.
24518         * misc/syslog.c: Likewise.
24519         * stdio-common/xbug.c: Likewise.
24520         * string/memchr.c: Likewise.
24521         * string/memcmp.c: Likewise.
24522         * string/memrchr.c: Likewise.
24523         * string/rawmemchr.c: Likewise.
24524         * sysdeps/posix/getcwd.c: Likewise.
24525         * time/strftime_l.c: Likewise.
24527 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
24529         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
24530         * config.make.in (config-cflags-sse2avx): Define.
24531         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
24532         Fix typo.
24534 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
24536         * scripts/config.guess: Update from upstream config git repository.
24537         * scripts/config.sub: Likewise.
24539 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
24541         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
24542         (EM_NUM): Update.
24543         (R_TILEPRO_*, R_TILEGX_*): New macros.
24545         * scripts/firstversions.awk: Fix bug in version range handling.
24547         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
24549         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
24551         * include/sys/epoll.h: New file.
24552         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
24553         libc_hidden_def.
24555 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
24557         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
24558         Avoid unnecessary __WORDSIZE == 64 test.
24559         (fmaxf): Use VEX format if possible.
24560         (fmax): Likewise.
24561         (fminf): Likewise.
24562         (fmin): Likewise.
24564         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
24565         * math/math_private.h: Remove libc_fegetround* and
24566         libc_fesetround*.
24567         * sysdeps/i386/configure.in: Check for -msse2avx.
24568         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
24569         also if SSE2AVX is defined.
24570         Remove libc_fegetround* and libc_fesetround*.
24571         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
24572         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
24573         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
24574         of HAS_YMM_USABLE.
24575         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
24576         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
24577         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
24578         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
24579         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
24581         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
24583 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24585         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
24586         size is not set.
24587         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
24589 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
24591         [BZ #13618]
24592         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
24593         relocation.
24594         * Makeconfig (libm): Define.
24595         * elf/Makefile: Add rules to build and run tst-relsort1.
24596         * elf/tst-relsort1.c: New file.
24597         * elf/tst-relsort1mod1.c: New file.
24598         * elf/tst-relsort1mod2.c: New file.
24600 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
24602         * math/s_ldexp.c: Remove __STDC__ conditionals.
24603         * math/s_ldexpf.c: Likewise.
24604         * math/s_ldexpl.c: Likewise.
24605         * math/s_nextafter.c: Likewise.
24606         * math/s_nexttowardf.c: Likewise.
24607         * math/s_significand.c: Likewise.
24608         * math/s_significandf.c: Likewise.
24609         * math/s_significandl.c: Likewise.
24610         * math/w_jnl.c: Likewise.
24611         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
24612         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
24613         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
24614         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
24615         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
24616         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
24617         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
24618         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
24619         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
24620         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
24621         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
24622         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
24623         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
24624         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
24625         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
24626         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
24627         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
24628         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
24629         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
24630         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
24631         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
24632         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
24633         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
24634         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
24635         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
24636         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
24637         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
24638         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
24639         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
24640         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
24641         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
24642         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
24643         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
24644         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
24645         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
24646         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
24647         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
24648         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
24649         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
24650         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
24651         * sysdeps/ieee754/k_standard.c: Likewise.
24652         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
24653         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
24654         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
24655         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
24656         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
24657         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
24658         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
24659         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
24660         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
24661         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
24662         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
24663         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
24664         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
24665         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
24666         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
24667         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
24668         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
24669         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
24670         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
24671         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
24672         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
24673         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
24674         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
24675         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
24676         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
24677         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
24678         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
24679         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
24680         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
24681         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
24682         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
24683         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
24684         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
24685         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
24686         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
24687         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
24688         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
24689         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
24690         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
24691         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
24692         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
24693         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
24694         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
24695         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
24696         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
24697         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
24698         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
24699         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
24700         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
24701         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
24702         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
24703         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
24704         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
24705         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
24706         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
24707         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
24708         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
24709         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
24710         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
24711         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
24712         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
24713         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
24714         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
24715         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
24716         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
24717         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
24718         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
24719         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
24720         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
24721         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
24722         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
24723         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
24724         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
24725         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
24726         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
24727         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
24728         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
24729         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
24730         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
24731         * sysdeps/ieee754/s_matherr.c: Likewise.
24732         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
24733         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
24734         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
24735         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
24737 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
24739         * crypt/md5.h: Remove __STDC__ conditionals.
24740         * libio/libioP.h: Likewise.
24741         * locale/programs/config.h: Likewise.
24742         * sysdeps/generic/sysdep.h: Likewise.
24743         * sysdeps/i386/asm-syntax.h: Likewise.
24744         * sysdeps/s390/asm-syntax.h: Likewise.
24745         * sysdeps/unix/sysdep.h: Likewise.
24746         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
24747         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
24749 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
24751         * libio/libio.h: Remove __STDC__ conditionals.
24752         * malloc/obstack.h: Likewise.
24753         * math/complex.h: Likewise.
24754         * math/math.h: Likewise.
24755         * sysdeps/generic/_G_config.h: Likewise.
24756         * sysdeps/gnu/_G_config.h: Likewise.
24757         * sysdeps/mach/hurd/_G_config.h: Likewise.
24758         * sysdeps/powerpc/bits/mathdef.h: Likewise.
24759         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
24760         * sysdeps/sparc/bits/mathdef.h: Likewise.
24762 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
24764         [BZ #13583]
24765         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
24766         Clean up HAS_* macros.
24767         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
24768         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
24769         possible.
24770         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
24771         HAS_AVX.
24772         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
24773         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
24774         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
24775         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
24776         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
24778 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
24780         * elf/tst-unique3.cc (gets): Remove declaration.
24781         * elf/tst-unique3lib.cc (gets): Likewise.
24782         * elf/tst-unique3lib2.cc (gets): Likewise.
24783         * elf/tst-unique4.cc (gets): Likewise.
24785 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
24787         * include/stdio.h: Add C++ protection.  Add gets declarations and
24788         definitions.
24789         * debug/tst-chk1.c: Don't declare gets here.
24790         * stdio-common/tst-gets.c: Likewise.
24792 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
24794         * posix/glob: Remove directory.
24796 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
24798         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
24800 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
24802         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
24803         of the non-standard EPFNOSUPPORT.
24805 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24807         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
24808         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
24809         ANYWHERE set to 1 only on KERN_NO_SPACE error.
24811 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
24813         * wcsmbs/uchar.h: Test __STDC_VERSION__.
24815 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
24817         * nscd/aicache.c (addhstaiX): Do not cache negative results of
24818         transient errors.
24819         * nscd/grpcache.c (cache_addgr): Likewise.
24820         * nscd/hstcache.c (cache_addhst): Likewise.
24821         * nscd/initgrcache.c (addinitgroupsX): Likewise.
24822         * nscd/pwdcache.c (cache_addpw): Likewise.
24823         * nscd/servicescache.c (cache_addserv): Likewise.
24825 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
24827         * malloc/malloc.c: Various cleanups.
24828         * malloc/hooks.c: Likewise.
24830         * stdlib/Makefile (tests): Add bug-fmtmsg1.
24831         * stdlib/bug-fmtmsg1.c: New file.
24833         * stdlib/fmtmsg.c (init): Add missing unlock.
24834         Patch by Peng Haitao <penght@cn.fujitsu.com>.
24836 2012-01-12  Marek Polacek  <polacek@redhat.com>
24838         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
24839         and _GNU_SOURCE.
24841 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
24843         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
24844         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
24845         macro to ensure uniqueness of label name.
24846         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
24847         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
24849 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
24851         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
24853         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
24854         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
24855         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
24856         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
24858 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
24860         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
24862         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
24863         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
24864         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
24866         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
24868         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
24869         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
24870         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
24871         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
24873         * math/bits/math-finite.h: Add ldexp support.
24875 2012-01-10  Marek Polacek  <polacek@redhat.com>
24877         * locale/programs/localedef.h (show_archive_content): Add noreturn
24878         attribute.
24880 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
24882         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
24884 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
24886         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
24888         * io/Makefile (headers): Add bits/poll2.h.
24890 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
24892         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
24893         typo #include statement.
24895 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
24897         * include/sys/cdefs.h: Define __attribute_alloc_size.
24898         * catgets/gencat.c: Add alloc_size attribute and apply consistently
24899         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
24900         * elf/pldd.c: Likewise.
24901         * iconv/iconv_charmap.c: Likewise.
24902         * iconv/iconvconfig.c: Likewise.
24903         * iconv/strtab.c: Likewise.
24904         * locale/programs/locale.c: Likewise.
24905         * locale/programs/localedef.h: Likewise.
24906         * locale/programs/simple-hash.c: Likewise.
24907         * nscd/nscd.h: Likewise.
24908         * nss/makedb.c: Likewise.
24909         * sysdeps/generic/ldconfig.h: Likewise.
24910         * locale/programs/localedef.c: Remove xmalloc prototype.
24911         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
24913 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
24915         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
24916         appropriate.
24918 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
24920         * math/Makefile (tests): Add tst-CMPLX.
24921         * math/tst-CMPLX.c: New file.
24923         * math/complex.h (CMPLXL): Fix typo.
24925         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
24926         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
24927         GLIBC_2.16.
24928         * debug/tst-chk1.c: Add poll and ppoll tests.
24929         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
24930         * include/sys/poll.h: Add hidden proto for ppoll.
24931         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
24932         * sysdeps/mach/hurd/ppoll.c: Likewise.
24933         * io/ppoll.c: Likewise.
24934         * debug/poll_chk.c: New file.
24935         * debug/ppoll_chk.c: New file.
24936         * include/bits/poll2.h: New file.
24937         * io/bits/poll2.h: New file.
24939         [BZ #1350]
24940         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
24942         * configure.in: static is always set to yes.  Remove.
24943         * config.make.in: Don't set build-static.
24944         * Makeconfig: Remove use of build-static.
24945         * dlfcn/Makefile: Likewise.
24946         * elf/Makefile: Likewise.
24947         * math/Makefile: Likewise.
24948         * misc/Makefile: Likewise.
24949         * nptl/Makefile: Likewise.
24950         * sysdeps/mach/hurd/Makefile: Likewise.
24952         * configure.in: PWD_P is not used anymore.
24953         * config.make.in: Remove PWD_P entry.
24955         * configure.in: Remove last remnants of RANLIB.
24956         No need to check for signed size_t anymore.
24957         Don't set libc_commonpagesize and libc_relro_required here for Alpha
24958         and IA-64.
24959         Remove __builtin_expect test because we require at least gcc 3.4.
24960         * aclocal.m4: Likewise.
24962         * wcsmbs/mbrtoc16.c: Implement using towc function.
24963         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
24964         * wcsmbs/wcsmbsload.c: Likewise.
24965         * iconv/gconv_simple.c: Likewise.
24966         * iconv/gconv_int.h: Likewise.
24967         * iconv/gconv_builtin.h: Likewise.
24968         * iconv/iconv_prog.c: Remove CHAR16 handling.
24970         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
24972         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
24974         * configure.in: Remove --with-elf and --enable-bounded options.
24975         Dont set base_machine for ia64.  More non-ELF conditions removed.
24976         Remove testing and setting of leading underscore information.
24977         * config.make.in (build-bounded): Set to no.
24978         * config.h.in: Remove NO_UNDERSCORES entry.
24979         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
24980         them.
24981         * csu/start.c: Remove !NO_UNDERSCORE code.
24982         * locale/localeinfo.h: Likewise.
24983         * sysdeps/generic/machine-gmon.h: Likewise.
24984         * sysdeps/generic/sysdep.h: Likewise.
24985         * sysdeps/i386/sysdep.h: Likewise.
24986         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
24987         * sysdeps/mach/sysdep.h: Likewise.
24988         * sysdeps/s390/s390-32/sysdep.h: Likewise.
24989         * sysdeps/s390/s390-64/sysdep.h: Likewise.
24990         * sysdeps/sh/sysdep.h: Likewise.
24991         * sysdeps/sparc/sparc32/alloca.S: Likewise.
24992         * sysdeps/unix/i386/sysdep.S: Likewise.
24993         * sysdeps/unix/sparc/start.c: Likewise.
24994         * sysdeps/unix/sparc/sysdep.S: Likewise.
24995         * sysdeps/unix/sparc/sysdep.h: Likewise.
24996         * sysdeps/unix/start.c: Likewise.
24997         * sysdeps/unix/x86_64/sysdep.S: Likewise.
24998         * sysdeps/x86_64/sysdep.h: Likewise.
25000 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
25002         [BZ #13553]
25003         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
25004         for non-gcc.
25005         * argp/argp-fmtstream.h: Use const instead __const.
25006         * argp/argp.h: Likewise.
25007         * assert/assert.h: Likewise.
25008         * bits/fenv.h: Likewise.
25009         * bits/sched.h: Likewise.
25010         * bits/sigset.h: Likewise.
25011         * bits/sigthread.h: Likewise.
25012         * catgets/nl_types.h: Likewise.
25013         * conform/data/pthread.h-data: Likewise.
25014         * crypt/crypt-private.h: Likewise.
25015         * crypt/crypt.h: Likewise.
25016         * crypt/crypt_util.c: Likewise.
25017         * ctype/ctype.h: Likewise.
25018         * debug/execinfo.h: Likewise.
25019         * debug/mbsnrtowcs_chk.c: Likewise.
25020         * debug/mbsrtowcs_chk.c: Likewise.
25021         * debug/wcsnrtombs_chk.c: Likewise.
25022         * debug/wcsrtombs_chk.c: Likewise.
25023         * debug/wcstombs_chk.c: Likewise.
25024         * dirent/dirent.h: Likewise.
25025         * dlfcn/dlfcn.h: Likewise.
25026         * elf/neededtest4.c: Likewise.
25027         * grp/grp.h: Likewise.
25028         * gshadow/gshadow.h: Likewise.
25029         * iconv/gconv.h: Likewise.
25030         * iconv/gconv_int.h: Likewise.
25031         * iconv/gconv_simple.c: Likewise.
25032         * iconv/iconv.h: Likewise.
25033         * iconv/loop.c: Likewise.
25034         * iconv/skeleton.c: Likewise.
25035         * include/aio.h: Likewise.
25036         * include/aliases.h: Likewise.
25037         * include/argz.h: Likewise.
25038         * include/arpa/inet.h: Likewise.
25039         * include/assert.h: Likewise.
25040         * include/dirent.h: Likewise.
25041         * include/dlfcn.h: Likewise.
25042         * include/execinfo.h: Likewise.
25043         * include/fcntl.h: Likewise.
25044         * include/fenv.h: Likewise.
25045         * include/glob.h: Likewise.
25046         * include/grp.h: Likewise.
25047         * include/libintl.h: Likewise.
25048         * include/mntent.h: Likewise.
25049         * include/netdb.h: Likewise.
25050         * include/pwd.h: Likewise.
25051         * include/rpc/netdb.h: Likewise.
25052         * include/sched.h: Likewise.
25053         * include/search.h: Likewise.
25054         * include/shadow.h: Likewise.
25055         * include/signal.h: Likewise.
25056         * include/stdio.h: Likewise.
25057         * include/stdlib.h: Likewise.
25058         * include/string.h: Likewise.
25059         * include/sys/socket.h: Likewise.
25060         * include/sys/stat.h: Likewise.
25061         * include/sys/statfs.h: Likewise.
25062         * include/sys/statvfs.h: Likewise.
25063         * include/sys/syslog.h: Likewise.
25064         * include/sys/time.h: Likewise.
25065         * include/sys/uio.h: Likewise.
25066         * include/time.h: Likewise.
25067         * include/unistd.h: Likewise.
25068         * include/utmp.h: Likewise.
25069         * include/wchar.h: Likewise.
25070         * include/wctype.h: Likewise.
25071         * inet/aliases.h: Likewise.
25072         * inet/arpa/inet.h: Likewise.
25073         * inet/netinet/ether.h: Likewise.
25074         * inet/netinet/in.h: Likewise.
25075         * intl/libintl.h: Likewise.
25076         * io/bits/fcntl2.h: Likewise.
25077         * io/fcntl.h: Likewise.
25078         * io/ftw.h: Likewise.
25079         * io/sys/poll.h: Likewise.
25080         * io/sys/stat.h: Likewise.
25081         * io/sys/statfs.h: Likewise.
25082         * io/sys/statvfs.h: Likewise.
25083         * io/utime.h: Likewise.
25084         * libio/bits/stdio.h: Likewise.
25085         * libio/bits/stdio2.h: Likewise.
25086         * libio/libio.h: Likewise.
25087         * libio/libioP.h: Likewise.
25088         * libio/stdio.h: Likewise.
25089         * locale/lc-ctype.c: Likewise.
25090         * locale/locale.h: Likewise.
25091         * login/utmp.h: Likewise.
25092         * malloc/arena.c: Likewise.
25093         * malloc/malloc.c: Likewise.
25094         * malloc/malloc.h: Likewise.
25095         * malloc/mcheck.c: Likewise.
25096         * malloc/mtrace.c: Likewise.
25097         * math/bits/mathcalls.h: Likewise.
25098         * math/fenv.h: Likewise.
25099         * math/math_private.h: Likewise.
25100         * misc/bits/error.h: Likewise.
25101         * misc/bits/syslog.h: Likewise.
25102         * misc/err.h: Likewise.
25103         * misc/error.h: Likewise.
25104         * misc/fstab.h: Likewise.
25105         * misc/mntent.h: Likewise.
25106         * misc/regexp.h: Likewise.
25107         * misc/search.h: Likewise.
25108         * misc/sgtty.h: Likewise.
25109         * misc/sys/mman.h: Likewise.
25110         * misc/sys/syslog.h: Likewise.
25111         * misc/sys/uio.h: Likewise.
25112         * misc/sys/xattr.h: Likewise.
25113         * misc/ttyent.h: Likewise.
25114         * nis/rpcsvc/ypclnt.h: Likewise.
25115         * nss/nss.h: Likewise.
25116         * posix/bits/unistd.h: Likewise.
25117         * posix/fnmatch.h: Likewise.
25118         * posix/glob.h: Likewise.
25119         * posix/sched.h: Likewise.
25120         * posix/spawn.h: Likewise.
25121         * posix/sys/wait.h: Likewise.
25122         * posix/unistd.h: Likewise.
25123         * posix/wordexp.h: Likewise.
25124         * pwd/pwd.h: Likewise.
25125         * resolv/netdb.h: Likewise.
25126         * resource/sys/resource.h: Likewise.
25127         * rt/aio.h: Likewise.
25128         * rt/bits/mqueue2.h: Likewise.
25129         * rt/mqueue.h: Likewise.
25130         * shadow/shadow.h: Likewise.
25131         * signal/signal.h: Likewise.
25132         * socket/send.c: Likewise.
25133         * socket/sendto.c: Likewise.
25134         * socket/sys/socket.h: Likewise.
25135         * stdio-common/printf.h: Likewise.
25136         * stdlib/bits/stdlib.h: Likewise.
25137         * stdlib/fmtmsg.h: Likewise.
25138         * stdlib/monetary.h: Likewise.
25139         * stdlib/stdlib.h: Likewise.
25140         * stdlib/ucontext.h: Likewise.
25141         * streams/stropts.h: Likewise.
25142         * string/argz.h: Likewise.
25143         * string/bits/string2.h: Likewise.
25144         * string/string.h: Likewise.
25145         * string/strings.h: Likewise.
25146         * sunrpc/rpc/auth.h: Likewise.
25147         * sunrpc/rpc/auth_des.h: Likewise.
25148         * sunrpc/rpc/clnt.h: Likewise.
25149         * sunrpc/rpc/netdb.h: Likewise.
25150         * sunrpc/rpc/pmap_clnt.h: Likewise.
25151         * sunrpc/rpc/xdr.h: Likewise.
25152         * sysdeps/generic/inttypes.h: Likewise.
25153         * sysdeps/generic/net/if.h: Likewise.
25154         * sysdeps/generic/sys/swap.h: Likewise.
25155         * sysdeps/gnu/net/if.h: Likewise.
25156         * sysdeps/gnu/utmpx.h: Likewise.
25157         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
25158         * sysdeps/i386/i486/bits/string.h: Likewise.
25159         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
25160         * sysdeps/s390/bits/string.h: Likewise.
25161         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
25162         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
25163         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
25164         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
25165         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
25166         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
25167         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
25168         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
25169         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
25170         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
25171         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
25172         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
25173         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
25174         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
25175         * sysdeps/unix/sysv/linux/readv.c: Likewise.
25176         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
25177         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
25178         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
25179         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
25180         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
25181         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
25182         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
25183         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
25184         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
25185         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
25186         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
25187         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
25188         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
25189         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
25190         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
25191         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
25192         * sysvipc/sys/ipc.h: Likewise.
25193         * sysvipc/sys/msg.h: Likewise.
25194         * sysvipc/sys/sem.h: Likewise.
25195         * sysvipc/sys/shm.h: Likewise.
25196         * termios/termios.h: Likewise.
25197         * time/sys/time.h: Likewise.
25198         * time/time.h: Likewise.
25199         * wcsmbs/bits/wchar2.h: Likewise.
25200         * wcsmbs/uchar.h: Likewise.
25201         * wcsmbs/wchar.h: Likewise.
25202         * wctype/wctype.h: Likewise.
25204         [BZ #13551]
25205         * Makeconfig: Remove all but ELF support including AIX support.
25206         * Makerules: Likewise.
25207         * config.h.in: Likewise.
25208         * config.make.in: Likewise.
25209         * configure: Likewise.
25210         * configure.in: Likewise.
25211         * csu/Makefile: Likewise.
25212         * csu/version.c: Likewise.
25213         * debug/Makefile: Likewise.
25214         * dlfcn/Makefile: Likewise.
25215         * elf/Makefile: Likewise.
25216         * extra-lib.mk: Likewise.
25217         * iconv/Makefile: Likewise.
25218         * include/libc-symbols.h: Likewise.
25219         * include/shlib-compat.h: Likewise.
25220         * resolv/Makefile: Likewise.
25221         * resolv/res_libc.c: Likewise.
25222         * rt/Makefile: Likewise.
25223         * sysdeps/i386/asm-syntax.h: Likewise.
25224         * sysdeps/i386/sysdep.h: Likewise.
25225         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
25226         * sysdeps/mach/sysdep.h: Likewise.
25227         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
25228         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
25229         * sysdeps/s390/asm-syntax.h: Likewise.
25230         * sysdeps/s390/s390-32/sysdep.h: Likewise.
25231         * sysdeps/s390/s390-64/sysdep.h: Likewise.
25232         * sysdeps/sh/sysdep.h: Likewise.
25233         * sysdeps/unix/sparc/sysdep.h: Likewise.
25234         * sysdeps/wordsize-32/divdi3.c: Likewise.
25235         * sysdeps/x86_64/sysdep.h: Likewise.
25237         * argp/Versions: Remove _argp_unlock_xxx.
25239         [BZ #13559]
25240         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
25241         * abilist/libBrokenLocale.abilist: Likewise.
25242         * abilist/libanl.abilist: Likewise.
25243         * abilist/libc.abilist: Likewise.
25244         * abilist/libcrypt.abilist: Likewise.
25245         * abilist/libdl.abilist: Likewise.
25246         * abilist/libm.abilist: Likewise.
25247         * abilist/libnsl.abilist: Likewise.
25248         * abilist/libpthread.abilist: Likewise.
25249         * abilist/libresolv.abilist: Likewise.
25250         * abilist/librt.abilist: Likewise.
25251         * abilist/libthread_db.abilist: Likewise.
25252         * abilist/libutil.abilist: Likewise.
25253         * abilist/libnss_db.abilist: New file.
25255         * scripts/abilist.awk: Add support for indirect functions.
25257         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
25259         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
25261         * shlib-versions: Remove entries for ports architectures.
25263         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
25264         files in ports.
25265         * elf/stackguard-macros.h: Remove support for IA-64.
25266         * elf/tst-auditmod1.c: Likewise.
25267         * sysdeps/generic/ldsodefs.h: Likewise.
25269         * sysdeps/unix/sysv/linux/configure.in: Ports should define
25270         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
25271         configure files.
25273         [BZ #13552]
25274         * configure.in: Remove --enable-omitfp support.
25275         * FAQ.in: Adjust.
25276         * config.make.in: Likewise.
25277         * Makeconfig: Likewise.
25278         * manual/install.texi: Likewise.
25280         In case anyone cares, the IA-64 architecture could move to ports.
25281         * sysdeps/ia64/*: Removed.
25282         * sysdeps/unix/sysv/linux/ia64/*: Removed.
25283         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
25285         [BZ #13555]
25286         * configure.in: Remove entries for unsupported architectures.
25288         [BZ #13533]
25289         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
25290         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
25291         routines.
25292         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
25293         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
25294         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
25295         fall back to using wcrtomb.
25296         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
25297         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
25298         renaming.
25299         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
25300         * wcsmbs/tst-c16c32-1.c: New file.
25302         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
25303         local variable.
25305         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
25307         * elf/tst-unique3.cc: Add explicit declaration of gets.
25308         * elf/tst-unique3lib.cc: Likewise.
25309         * elf/tst-unique3lib2.cc: Likewise.
25310         * elf/tst-unique4.cc: Likewise.
25312         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
25314 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
25316         [BZ #13566]
25317         * assert/assert.h (static_assert): Don't define for C++.
25318         * libio/stdio.h (gets): Do declare for C++ <= C++11.
25319         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
25321 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
25323         * iconv/loop.c (single loop): Fix assertion in storing of
25324         remaining bytes.
25326         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
25328 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
25330         * posix/getconf.c: Update copyright year.
25331         * nss/getent.c: Likewise.
25332         * nss/makedb.c: Likewise.
25333         * iconv/iconvconfig.c: Likewise.
25334         * iconv/iconv_prog.c: Likewise.
25335         * elf/ldconfig.c: Likewise.
25336         * elf/pldd.c: Likewise.
25337         * elf/sotruss.ksh: Likewise.
25338         * catgets/gencat.c: Likewise.
25339         * csu/version.c: Likewise.
25340         * elf/ldd.bash.in: Likewise.
25341         * elf/sprof.c (print_version): Likewise.
25342         * locale/programs/locale.c: Likewise.
25343         * locale/programs/localedef.c: Likewise.
25344         * login/programs/pt_chown.c: Likewise.
25345         * nscd/nscd.c (print_version): Likewise.
25346         * debug/xtrace.sh: Likewise.
25347         * malloc/memusage.sh: Likewise.
25348         * malloc/mtrace.pl: Likewise.
25349         * debug/catchsegv.sh: Likewise.
25351 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
25353         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
25354         pure attribute.
25356 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
25358         [BZ #13533]
25359         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
25360         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
25361         transformations.
25362         * iconv/gconv_int.h: Likewise.
25363         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
25364         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
25365         from libc for GLIBC_2.16.
25366         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
25367         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
25368         * wcsmbs/uchar.h: Really define mbstate_t.
25369         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
25370         * wcsmbs/c16rtomb.c: New file.
25371         * wcsmbs/mbrtoc16.c: New file.
25372         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
25373         for C/POSIX locale.
25374         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
25375         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
25377         * wcsmbs/wchar.h: Add missing __restrict.
25379 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
25381         [BZ #13532]
25382         * time/Makefile (routines): Add timespec_get.
25383         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
25384         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
25385         timespec for ISO C11.
25386         * time/timespec_get.c: New file.
25387         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
25388         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
25390         [BZ #13531]
25391         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
25392         * stdlib/stdlib.h: Declare aligned_alloc.
25393         * Versions.def: Add GLIBC_2.16 for libc.
25394         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
25396         [BZ 13527]
25397         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
25398         ISO C11.
25400         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
25401         code.
25403         [BZ #13528]
25404         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
25406         [BZ #13529]
25407         * assert/assert.h (static_assert): Define.
25409         * version.h: Update for 2.16 development version.
25411         [BZ #13526]
25412         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
25413         _ISOC11_SOURCE.
25415         * version.h (RELEASE): Bump for 2.15 release.
25416         * include/features.h (__GLIBC_MINOR__): Bump to 15.
25418         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
25419         Patch by Marek Polacek <mpolacek@redhat.com>.
25421         * bits/byteswap.h: Protect long long constants with __extension__.
25422         * sysdeps/i386/bits/byteswap.h: Likewise.
25423         * sysdeps/ia64/bits/byteswap.h: Likewise.
25424         * sysdeps/s390/bits/byteswap.h: Likewise.
25425         * sysdeps/x86_64/bits/byteswap.h: Likewise.
25427 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
25429         [BZ #13540]
25430         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
25431         destination buffer.
25432         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
25434 2011-12-23  Marek Polacek  <polacek@redhat.com>
25436         * elf/dl-addr.c (determine_info): Add inline keyword.
25437         * elf/tst-auditmod4b.c (check_avx): Likewise.
25438         * elf/tst-auditmod6b.c (check_avx): Likewise.
25439         * elf/tst-auditmod6c.c (check_avx): Likewise.
25440         * elf/tst-auditmod7b.c (check_avx): Likewise.
25442 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
25444         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
25445         !__SSE_MATH__.
25447 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
25449         [BZ #13540]
25450         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
25451         processing for last bytes.
25453 2011-08-06  Bruno Haible  <bruno@clisp.org>
25455         [BZ #13061]
25456         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
25457         U+0385, not to U+1FEE.
25459         [BZ #13062]
25460         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
25461         entry for U+00A5 U+0301.
25463 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
25465         [BZ #13166]
25466         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
25467         buffer for the output is too small.
25469         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
25470         optimization.
25472         [BZ #13185]
25473         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
25474         SSE flags if possible.
25476 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
25478         [BZ #13540]
25479         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
25480         processing for last bytes.
25482 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
25484         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
25485         (syscall-list-default-options, syscall-list-default-condition)
25486         (syscall-list-includes): Define.
25487         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
25488         list of ABIs and options and #if conditions for each ABI.  Do not
25489         handle common syscalls between ABIs specially.
25490         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
25491         Remove.
25492         (syscall-list-variants, syscall-list-32bit-options)
25493         (syscall-list-32bit-condition, syscall-list-64bit-options)
25494         (syscall-list-64bit-condition): Define.
25495         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
25496         (syscall-list-variants, syscall-list-32bit-options)
25497         (syscall-list-32bit-condition, syscall-list-64bit-options)
25498         (syscall-list-64bit-condition): Define.
25499         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
25500         Remove.
25501         (syscall-list-variants, syscall-list-32bit-options)
25502         (syscall-list-32bit-condition, syscall-list-64bit-options)
25503         (syscall-list-64bit-condition): Define.
25504         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
25505         Remove.
25506         (syscall-list-variants, syscall-list-32bit-options)
25507         (syscall-list-32bit-condition, syscall-list-64bit-options)
25508         (syscall-list-64bit-condition): Define.
25510 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
25512         * locale/iso-639.def: Add brx entry.
25514         [BZ #13328]
25515         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
25516         Proposed by Mariusz_Cukr <marcukr@op.pl>.
25518         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
25519         __feraiseexcept_renamed.
25521 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
25523         [BZ #13538]
25524         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
25525         EPOLLET with unsigned values.
25526         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
25527         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
25529         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
25530         to large cancellation.
25531         * math/s_cacoshf.c: Likewise.
25532         * math/s_cacoshl.c: Likewise.
25534 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
25536         [BZ #13305]
25537         [BZ #12786]
25538         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
25539         * math/s_cacoshf.c: Likewise.
25540         * math/s_cacoshl.c: Likewise.
25542 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
25544         [BZ #13439]
25545         * iconv/gconv.h: Define __GCONV_SWAP.
25546         * iconvdata/unicode.c: The swap bit must be stored in __flags.
25547         * iconvdata/utf-16.c: Likewise.
25548         * iconvdata/utf-32.c: Likewise.
25550 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
25552         [BZ #13524]
25553         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
25554         numerator after shifting it by one limb.
25556 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
25558         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
25559         under [__USE_EXTERN_INLINES].
25561 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
25563         [BZ #13446]
25564         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
25566 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25568         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
25569         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
25570         optimized code.
25571         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
25572         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
25573         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
25574         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
25575         for strncasecmp/strncasecmp_l compilation.
25576         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
25577         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
25579 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
25581         [BZ #13484]
25582         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
25583         of __asm__.
25585 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
25587         [BZ #13506]
25588         * time/tzfile.c (__tzfile_read): Check values from file header.
25590 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
25592         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
25593         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
25594         * powerpc/powerpc32/dl-start.S: Likewise.
25595         * powerpc/powerpc32/elf/start.S: Likewise.
25596         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
25597         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
25598         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
25599         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
25600         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
25601         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
25602         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
25603         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
25604         * powerpc/powerpc32/fpu/s_round.S: Likewise.
25605         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
25606         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
25607         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
25608         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
25609         * powerpc/powerpc32/memset.S: Likewise.
25610         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
25611         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
25612         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
25613         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
25614         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
25615         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
25616         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
25617         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
25618         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
25619         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
25620         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
25621         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
25622         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
25624 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25626         * math/libm-test.inc: Added more nearbyint tests.
25627         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
25628         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
25629         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
25630         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
25632 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
25634         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
25635         FD_CLOEXEC.
25637 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
25639         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
25640         Add wcscpy-ssse3 wcscpy-c.
25641         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
25642         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
25643         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
25644         * sysdeps/x86_64/wcschr.S: New file.
25645         * sysdeps/x86_64/wcsrchr.S: New file.
25646         * string/test-strcmp.c: Remove checking of wcscmp function for
25647         wrong alignments.
25648         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
25649         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
25650         wcsrchr-sse2 wcsrchr-c.
25651         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
25652         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
25653         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
25654         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
25655         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
25656         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
25657         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
25658         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
25659         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
25660         * wcsmbc/wcschr.c (WCSCHR): New macro.
25662 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
25664         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
25665         * wcsmbs/test-wcsrchr.c: New file.
25666         * string/test-strrchr.c: Add wcsrchr support.
25667         (WIDE): New macro.
25668         * wcsmbs/test-wcscpy.c: New file.
25669         * string/test-strcpy.c: Add wcscpy support.
25670         (WIDE): New macro.
25672 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
25674         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
25675         the inner loop.
25677 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
25679         [BZ #13472]
25680         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
25682 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
25684         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
25685         Minor optimizations.
25687         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
25688         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
25689         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
25691 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
25693         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
25694         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
25695         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
25696         for gcc to avoid warnings.
25697         * inet/Makefile (tests): Add tst-checks.
25698         * inet/tst-checks.c: New file.
25700         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
25701         warning.
25703         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
25704         __wmemcmp_sse2.
25706         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
25707         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
25709         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
25711 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
25713         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
25714         problem.
25716         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
25718 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
25720         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
25721         conditional on GCC version.
25722         (__arch_compare_and_exchange_val_8_acq)
25723         (__arch_compare_and_exchange_val_16_acq)
25724         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
25725         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
25726         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
25728 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
25730         * sysdeps/sh/backtrace.c: New file.
25732 2011-12-02  Andreas Schwab  <schwab@redhat.com>
25734         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
25735         parenthesis.
25737 2011-12-01  Andreas Schwab  <schwab@redhat.com>
25739         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
25740         falling back to utime.
25742 2011-11-30  Andreas Schwab  <schwab@redhat.com>
25744         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
25745         expectations for float.
25747 2011-11-29  Andreas Schwab  <schwab@redhat.com>
25749         * locale/weight.h (findidx): Add parameter len.
25750         * locale/weightwc.h (findidx): Likewise.
25751         * posix/fnmatch_loop.c (FCT): Adjust caller.
25752         * posix/regcomp.c (build_equiv_class): Likewise.
25753         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
25754         * posix/regexec.c (check_node_accept_bytes): Likewise.
25755         * string/strcoll_l.c (STRCOLL): Likewise.
25756         * string/strxfrm_l.c (STRXFRM): Likewise.
25758 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
25760         * Makefile.in: Remove CVSOPT handling.
25761         * configure.in: Remove use of AC_REVISION.
25762         * iconvdata/Makefile (distribute): No need to filter out CVS.
25763         * scripts/list-sources.sh: Remove CVS, subversion and monotone
25764         handling.
25766 2011-11-16  Andreas Schwab  <schwab@redhat.com>
25768         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
25769         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
25770         [USE_AS_STRNCASECMP_L]: Likewise.
25771         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
25772         NO_TLS_DIRECT_SEG_REFS.
25773         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
25774         Fix argument offsets for non-PIC.
25775         [USE_AS_STRNCASECMP_L]: Likewise.
25776         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
25777         NO_TLS_DIRECT_SEG_REFS.
25779 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
25781         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
25782         O_CLOEXEC.
25783         * locale/loadlocale.c (_nl_load_locale): Likewise.
25785 2011-11-15  Andreas Schwab  <schwab@redhat.com>
25787         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
25788         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
25789         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
25790         (SYSCALL_GETTIME): Set errno on error.
25792         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
25793         count references to noai6ai_cached.
25795 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
25797         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
25799         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
25800         FD_CLOEXEC for /proc/self/maps.
25802         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
25803         FD_CLOEXEC for /proc/meminfo.
25805         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
25806         gai.conf.
25808         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
25809         FD_CLOEXEC for given file.
25811         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
25813         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
25814         FD_CLOEXEC for /etc/hosts.
25815         (_gethtent): Likewise.
25817         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
25819         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
25820         cancellation and set FD_CLOEXEC for /etc/netgroup.
25822         * nss/nss_files/files-key.c (search): Don't allow cancellation when
25823         reading /etc/publickey.
25825         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
25826         allow cancellation when reading /etc/group.
25828         * nss/nss_files/files-alias.c (internal_setent): Don't allow
25829         cancellation.
25830         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
25832         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
25833         when using data file.
25835         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
25837         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
25838         (write_nis_obj): Use "c" and "e" in fopen.
25840         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
25842         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
25844         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
25846         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
25848         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
25849         locale.alias.
25851         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
25853         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
25855         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
25857         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
25858         file parsing and set FD_CLOEXEC.
25860 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
25862         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
25864 2011-11-14  Andreas Schwab  <schwab@redhat.com>
25866         * malloc/arena.c (arena_get2): Don't call reused_arena when
25867         _int_new_arena failed.
25869 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
25871         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
25872         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
25873         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
25874         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
25875         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
25876         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
25877         to compile strcasecmp and strncasecmp.
25878         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
25879         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
25881         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
25883 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
25885         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
25886         locale-defines.sym to gen-as-const-headers.
25887         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
25888         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
25889         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
25890         to compile strcasecmp and strncasecmp.
25891         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
25892         strcasecmp_l and strncasecmp_l.
25893         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
25894         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
25895         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
25896         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
25897         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
25898         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
25899         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
25900         * sysdeps/i386/i686/multiarch/strncase.S: New file.
25901         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
25902         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
25903         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
25905 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
25907         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
25908         result of SYSDEP_GETTIME_CPU to retval.
25909         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
25910         parameter list to macro.  Remove trailing semicolon.  Adjust users.
25912         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
25913         variable.
25915         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
25916         mantissa words.
25917         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
25919         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
25920         from unused variable.
25922         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
25923         DWARF definitions.
25924         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
25925         for assembling.
25927         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
25928         over namespaces.
25930         * sunrpc/rpc_prot.c (rejected): Fix case value.
25932         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
25933         unsigned long long int to avoid warnings in shift.
25935         * posix/regex_internal.c (re_string_reconstruct): Actually use result
25936         of use of trans.
25937         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
25938         variable tmp.
25940         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
25941         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
25942         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
25944         * nis/nis_table.c (nis_list): Use variable of correct type for
25945         result of __follow_path call.
25947 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25949         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
25950         of math functions ceil, trunc, floor, round, and sqrt, when
25951         avaliable on the platform.
25952         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
25953         name clash.
25954         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
25955         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
25956         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
25958 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
25960         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
25961         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
25963 2011-11-11  Roland McGrath  <roland@hack.frob.com>
25965         * include/unistd.h: Fix __readlink return type.
25966         Reported by Chris Metcalf <cmetcalf@tilera.com>.
25968 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
25970         * stdlib/ucontext.h: Undo last change for makecontext.
25972 2011-11-11  Andreas Schwab  <schwab@redhat.com>
25974         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
25976         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
25977         * setjmp/setjmp.h: Mark functions as non-leaf.
25978         * setjmp/bits/setjmp2.h: Likewise.
25979         * stdlib/ucontext.h: Likewise.
25981 2011-11-10  Andreas Schwab  <schwab@redhat.com>
25983         * malloc/arena.c (_int_new_arena): Don't increment narenas.
25984         (reused_arena): Don't check arena limit.
25985         (arena_get2): Atomically check arena limit.
25987 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
25989         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
25990         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
25992         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
25993         instructions.
25995 2011-11-07  Andreas Schwab  <schwab@redhat.com>
25997         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
25998         handler when locking.
26000         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
26001         Fix size of allocated buffer.
26003 2011-11-04  Andreas Schwab  <schwab@redhat.com>
26005         [BZ #10103]
26006         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
26007         declarations for long double functions.
26008         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
26010         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
26012 2011-11-03  Andreas Schwab  <schwab@redhat.com>
26014         * nscd/nscd.c (main): Don't start AVC thread until credentials are
26015         installed.
26017         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
26018         is disabled.
26020 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
26022         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
26024 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
26026         * include/alloca.h (stackinfo_alloca_round): Define.
26027         (extend_alloca): Use it.
26028         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
26029         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
26030         here.
26032         * scripts/check-local-headers.sh: Ignore libaudit.h.
26034         * nscd/Makefile (extra-objs): Make recursively expanded.
26036 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
26038         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
26039         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
26041         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
26042         * posix/tst-rfc3484-2.c: Likewise.
26043         * posix/tst-rfc3484-3.c: Likewise.
26045         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
26046         process_vm_writev.
26047         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
26048         process_vm_writev.
26049         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
26050         process_vm_writev from libc using GLIBC_2.15 version.
26052         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
26054 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
26056         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
26057         stack usage.
26059 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
26061         [BZ #13367]
26062         * nss/getent.c (initgroups_keys): Show error message in case no group
26063         names are given.
26065         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
26066         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
26067         __bump_nl_timestamp.
26068         * nscd/connections (nscd_init): When host database is served open
26069         netlink socket and request notification about configuration changes.
26070         (main_loop_poll): Track netlink file descriptor and bump timestamp
26071         in case data becomes available.
26072         (main_loop_epoll): Likewise.
26073         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
26074         (database_pers_head): Add extra_data fileds.
26075         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
26076         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
26077         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
26078         Adjust caller.
26079         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
26080         in6ai data, call __free_in6ai.
26081         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
26082         Add -DHAVE_NETLINK.
26083         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
26084         interface information.  Reuse previous data if netlink timestamp
26085         is not changed.
26086         (__bump_nl_timestamp): New function.
26087         (__free_in6ai): New function.
26089 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
26091         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
26092         close_not_cancel_no_status here.
26093         (__check_pf): Reorganize code a bit to not call close twice if OOM.
26095 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
26097         [BZ #13276]
26098         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
26099         return value.
26101         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
26102         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
26103         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
26105 2011-07-03  Andreas Jaeger  <aj@suse.de>
26107         [BZ #10709]
26108         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
26109         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
26110         * math/libm-test.inc (sin_test): Add test case.
26112 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
26114         [BZ #13337]
26115         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
26116         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
26118         * elf/chroot_canon.c (chroot_canon): Cleanups.
26120         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
26122         [BZ #13335]
26123         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
26124         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
26126         * string/test-strchr.c: Make usable for strchrnul testing.
26127         * string/test-strchrnul.c: New file.
26128         * string/Makefile (strop-tests): Add strchrnul.
26130         * po/it.po: Update from translation team.
26131         * po/es.po: Likewise.
26133 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
26135         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
26136         the three constants needed as parameters.  Drop the others.
26137         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
26138         __m128i_strloadu_tolower.
26139         Create and initialize variable zero and use it in all the places
26140         where _mm_setzero_si128 was used.
26142         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
26143         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
26144         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
26145         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
26146         anymore.
26147         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
26148         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
26149         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
26150         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
26151         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
26152         __mpranred, __mptan.
26153         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
26154         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
26155         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
26156         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
26157         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
26158         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
26159         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
26160         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
26161         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
26163 2011-10-28  Andreas Schwab  <schwab@redhat.com>
26165         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
26166         redefine if SHARED.
26167         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
26169         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
26170         wide char related routines to wcsmbs subdir.
26172 2011-10-27  Andreas Schwab  <schwab@redhat.com>
26174         [BZ #13344]
26175         * misc/sys/cdefs.h (__THROWNL): Define.
26176         * posix/unistd.h: Use __THREADNL instead of __THREAD
26177         for memory synchronization functions.
26179 2011-10-26  Roland McGrath  <roland@hack.frob.com>
26181         [BZ #13349]
26182         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
26183         doesn't exist.
26184         * manual/stdio.texi (Obstack Streams): Node removed.
26186 2011-10-26  Andreas Schwab  <schwab@redhat.com>
26188         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
26189         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
26190         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
26192         * math/math_private.h (math_force_eval): Allow non-addressable
26193         arguments.
26194         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
26196 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
26198         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
26199         file is not needed.
26201         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
26202         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
26203         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
26204         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
26205         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
26206         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
26207         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
26208         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
26209         Add AVX variants.
26210         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
26211         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
26212         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
26213         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
26214         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
26215         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
26216         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
26217         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
26218         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
26219         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
26220         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
26221         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
26222         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
26223         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
26224         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
26225         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
26226         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
26227         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
26228         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
26230         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
26231         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
26233         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
26234         place.  Use VEX encoding when compiling for AVX.
26236 2011-10-25  Andreas Schwab  <schwab@redhat.com>
26238         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
26239         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
26241         * string/test-strchr.c (do_test): Don't generate NUL bytes.
26243 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
26245         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
26246         useless if() expression.
26247         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
26248         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
26249         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
26250         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
26251         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
26252         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
26253         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
26254         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
26255         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
26256         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
26257         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
26258         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
26259         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
26260         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
26261         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
26262         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
26263         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
26264         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
26265         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
26267         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
26269 2011-10-25  Andreas Schwab  <schwab@redhat.com>
26271         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
26272         condition.
26273         * elf/dl-fini.c (_dl_sort_fini): Likewise.
26275 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
26277         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
26278         .text section.  Avoid duplicate constants.
26279         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
26280         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
26281         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
26282         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
26283         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
26284         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26285         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26286         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
26287         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
26288         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
26289         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
26290         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
26291         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
26292         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
26293         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
26294         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
26295         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
26296         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
26297         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
26298         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
26299         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
26300         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
26301         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
26302         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
26303         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
26304         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
26305         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
26306         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
26307         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
26308         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
26309         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
26310         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
26311         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
26312         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
26313         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
26314         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
26315         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
26316         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
26317         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
26318         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
26319         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
26320         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
26321         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
26322         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
26323         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
26325 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
26327         * sysdeps/x86_64/dla.h: Move to ...
26328         * sysdeps/x86_64/fpu/dla.h: ...here.
26329         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
26330         situations.  Use __builtin_fma only for gcc 4.6 and up.
26332         * config.make.in: Add have-mfma4 entry.
26333         * configure.in: Substitute libc_cv_cc_fma4.
26334         * math/Makefile (dbl-only-routines): Add sincostab.
26335         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
26336         Use __sincostab not sincos.
26337         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
26338         name is a macro.
26339         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
26340         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26341         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26342         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
26343         using __copysign.
26344         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
26345         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
26346         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
26347         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
26348         and __inv.
26349         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
26350         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
26351         __copysign.
26352         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
26353         define aliases when function name is a macro.
26354         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
26355         sysdeps/ieee754/dbl-64/sincos.tbl.
26356         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
26357         fma4-enabled routines.
26358         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
26359         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
26360         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
26361         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
26362         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
26363         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
26364         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
26365         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
26366         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
26367         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
26368         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
26369         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
26370         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
26371         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
26372         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
26373         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
26374         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
26375         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
26376         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
26377         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
26378         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
26379         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
26380         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
26381         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
26382         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
26383         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
26384         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
26385         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
26386         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
26387         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
26389         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
26390         rename.
26391         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
26392         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
26393         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
26394         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26395         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26396         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
26397         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
26398         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
26400 2011-10-24  Andreas Schwab  <schwab@redhat.com>
26402         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
26404 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
26406         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
26408         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
26409         prediction.
26410         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
26412         * string/strnlen.c: Don't define STRNLEN, reverse logic.
26413         Remove unused variable magic_bits.
26414         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
26416         * string/strnlen.c: Define and use STRNLEN macro.
26417         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
26418         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
26419         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
26420         * wcsmbs/wcslen.c: Define and use WCSLEN.
26421         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
26422         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
26423         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
26424         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
26425         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
26426         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
26427         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
26429 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
26431         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
26432         strnlen-sse2-no-bsf.
26433         Rename strlen-no-bsf to strlen-sse2-no-bsf.
26434         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
26435         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
26436         Add strnlen support.
26437         (USE_AS_STRNLEN): New macro.
26438         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
26439         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
26440         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
26441         * sysdeps/x86_64/wcslen.S: New file.
26443 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
26445         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
26446         XMM-moves are used for copying on small sizes.
26448 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
26450         * wcsmbs/Makefile (strop-tests): Add wcschr.
26451         * wcsmbs/test-wcschr.c: New file.
26452         * string/test-strchr.c: Update.
26453         Add wcschr support.
26454         (WIDE): New macro.
26456 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
26458         * wcsmbs/Makefile (strop-tests): Add wcslen.
26459         * wcsmbs/test-wcslen.c: New file.
26460         * string/test-strlen.c: Update.
26461         Add wcslen support.
26462         (WIDE): New macro.
26464 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
26466         * po/it.po: Update from translation team.
26468 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
26470         * sysdeps/x86_64/wcscmp.S: Update.
26471         Fix wrong comparison semantics.
26472         wcscmp shall use signed comparison not unsigned.
26473         Don't use substraction to avoid overflow bug.
26474         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
26475         * wcsmbc/wcscmp.c: Likewise.
26476         * string/test-strcmp.c: Likewise.
26477         Add new tests to check cases with negative values.
26479 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
26481         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
26482         * sysdeps/x86_64/dla.h: ...here.  New file.
26483         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
26484         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
26485         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
26486         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26487         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26488         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
26489         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
26490         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
26491         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
26493 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
26495         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
26496         __ynl_finite aliases.
26498 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
26500         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26502         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
26503         define DLA_FMA.
26504         [DLA_FMA] (EMULV): Use DLA_FMA.
26505         [DLA_FMA] (MUL12): Use EMULV.
26506         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
26507         that are not needed.
26508         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
26509         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
26510         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26511         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26512         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
26513         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
26514         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
26516 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
26518         * math/s_nan.c: Undef __nan.
26519         * math/s_nanf.c: Undef __nanf.
26520         * math/s_nanl.c: Undef __nanl.
26521         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
26522         "math_private.h".
26524 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
26526         * math/s_catan.c: Add branch predictions.
26527         * math/s_catanf.c: Likewise.
26528         * math/s_catanh.c: Likewise.
26529         * math/s_catanhf.c: Likewise.
26530         * math/s_catanhl.c: Likewise.
26531         * math/s_catanl.c: Likewise.
26532         * math/s_cexp.c: Likewise.
26533         * math/s_cexpf.c: Likewise.
26534         * math/s_cexpl.c: Likewise.
26535         * math/s_clog.c: Likewise.
26536         * math/s_clog10.c: Likewise.
26537         * math/s_clog10f.c: Likewise.
26538         * math/s_clog10l.c: Likewise.
26539         * math/s_clogf.c: Likewise.
26540         * math/s_clogl.c: Likewise.
26541         * math/s_csqrt.c: Likewise.
26542         * math/s_csqrtf.c: Likewise.
26543         * math/s_csqrtl.c: Likewise.
26544         * math/s_ctanf.c: Likewise.
26545         * math/s_ctanh.c: Likewise.
26546         * math/s_ctanhf.c: Likewise.
26547         * math/s_ctanhl.c: Likewise.
26548         * math/s_ctanl.c: Likewise.
26550         * math/math_private.h: Define __nan, __nanf, __nanl.
26551         * math/s_cacosh.c: Include <math_private.h>.
26552         * math/s_cacoshl.c: Likewise.
26553         * math/s_casinh.c: Likewise.
26554         * math/s_casinhf.c: Likewise.
26555         * math/s_casinhl.c: Likewise.
26556         * math/s_ccos.c: Rely entire on ccosh.
26557         * math/s_ccosf.c: Rely entire on ccoshf.
26558         * math/s_ccosl.c: Rely entirely on ccoshl.
26559         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
26560         Remove tests for FE_INVALID.
26561         * math/s_ccoshf.c: Likewise.
26562         * math/s_ccoshl.c: Likewise.
26563         * math/s_csin.c: Likewise.
26564         * math/s_csinf.c: Likewise.
26565         * math/s_csinh.c Likewise.
26566         * math/s_csinhf.c: Likewise.
26567         * math/s_csinhl.c: Likewise.
26568         * math/s_csinl.c: Likewise.
26569         * math/s_ctan.c: Likewise.
26570         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
26571         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
26572         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
26574 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
26576         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
26577         compilation problems.
26579         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
26580         __builtin_expect.
26582 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
26584         * sysdeps/i386/configure.in: Test for -mfma4 option.
26585         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
26586         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
26587         COMMON_CPUID_INDEX_80000001.
26588         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
26589         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
26590         use it if FMA3 is not supported.
26591         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
26593         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
26594         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
26596 2011-10-20  Andreas Schwab  <schwab@redhat.com>
26598         [BZ #12892]
26599         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
26600         it would create a cycle with a link time dependency.
26602 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
26604         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
26605         instruction.
26606         * string/Makefile (strop-tests): Add rawmemchr.
26607         * string/test-rawmemchr.c: New file.
26609         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
26610         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
26611         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
26612         when compiling str{,n}casecmp and when AVX is available.  Hook up
26613         new optimized code in initializers.
26615 2011-10-19  Andreas Schwab  <schwab@redhat.com>
26617         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
26618         __feraiseexcept instead of feraiseexcept.
26620 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
26622         * math/math_private.h: Define defaults for libc_fetestexcept and
26623         libc_feupdateenv.
26624         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
26625         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
26626         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
26627         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
26628         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
26629         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
26630         libc_fetestexcept and libc_feupdateenv.
26632         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
26633         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
26634         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
26635         * sysdeps/x86_64/fpu/math_private.h: Define special version of
26636         libc_feholdexcept_setround.
26638         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
26639         Add s_nearbyint-c and s_nearbyintf-c.
26640         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
26641         nearbyintf inlines.
26642         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
26643         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
26644         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
26645         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
26647         * math/math_private.h: Define defaults for libc_fegetround,
26648         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
26649         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
26650         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
26651         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
26652         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
26653         standard functions.
26654         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
26655         Remove comments and hacks for old compiler versions.
26656         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
26657         libc_fegetround, libc_fesetround, libc_feholdexcept, and
26658         libc_feholdexceptl.
26660 2011-10-18  Andreas Schwab  <schwab@redhat.com>
26662         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
26663         (__feraiseexcept_renamed): Add __NTH.
26664         (feraiseexcept): Add __NTH.  Rename local variables to fix
26665         namespace violations.
26667 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
26669         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
26671         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
26673         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
26674         recently added interfaces.
26675         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
26677         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
26678         about macro parameter expansion.
26680         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
26681         __NO_MATH_INLINES is defined.  Cleanups.
26683         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
26684         and __floorf is target has SSE4.1.
26685         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
26686         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
26687         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
26688         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
26690         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
26691         name.
26692         (floorf): Likewise.
26694         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
26696 2011-10-17  Andreas Schwab  <schwab@redhat.com>
26698         * misc/sys/cdefs.h: Fix last change.
26700         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
26701         database lookup.
26703 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
26705         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
26707         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
26708         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
26709         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
26710         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
26711         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
26712         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
26713         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
26714         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
26715         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
26716         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
26717         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
26718         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
26719         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
26720         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
26721         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
26722         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
26723         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
26724         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
26725         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
26726         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
26727         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
26728         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
26730         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
26731         ceil, ceilf, floor, floorf.
26733         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
26734         Perform IRELATIVE relocations last.
26736         * elf/do-rel.h: Add another parameter nrelative, replacing the
26737         local variable with the same name.  Change name of the function
26738         to end in Rel or Rela (uppercase).
26739         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
26740         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
26741         elf_dynamic_do_##reloc function.
26743 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
26745         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
26746         is sufficient, at least on modern CPUs.
26748         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
26750         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
26751         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
26753         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
26754         __expl_finite.
26755         * math/bits/math-finite.h: Add entries for exp.
26756         * math/e_expl.c: Add __*_finite alias.
26757         * sysdeps/i386/fpu/e_exp.S: Likewise.
26758         * sysdeps/i386/fpu/e_expf.S: Likewise.
26759         * sysdeps/i386/fpu/e_expl.c: Likewise.
26760         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
26761         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
26762         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
26763         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
26764         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
26765         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
26766         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
26768         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
26769         is sufficient, at least on modern CPUs.
26771         * ctype/ctype-info.c (__ctype_init): Define.
26772         * include/ctype.h (__ctype_init): Declare.
26773         (__ctype_b_loc): The variable is always initialized.
26774         (__ctype_toupper_loc): Likewise.
26775         (__ctype_tolower_loc): Likewise.
26776         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
26777         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
26779 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
26781         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
26783         * configure.in: Also look in $cxxmachine/include for C++ system
26784         headers.
26786 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
26788         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
26789         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
26790         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
26791         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
26792         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
26793         (USE_AS_WMEMCMP): New macro.
26794         Fixing indents.
26795         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
26796         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
26797         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
26798         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
26799         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
26800         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
26801         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
26802         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
26803         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
26804         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
26805         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
26806         (USE_AS_WMEMCMP): New macro.
26807         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
26808         * sysdeps/string/test-memcmp.c: Update.
26809         Fix simple_wmemcmp.
26810         Add new tests.
26811         * wcsmbs/wmemcmp.c: Update.
26812         (WMEMCMP): New macro.
26813         Fix overflow bug.
26815 2011-10-12  Andreas Jaeger  <aj@suse.de>
26817         [BZ #13268]
26818         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
26820 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
26822         * libio/iofwide.c (do_length): Avoid warning.
26824         * ctype/ctype.h (__isctype_f): Add missing __THROW.
26826 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
26828         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
26830         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
26831         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
26832         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
26833         * sysdeps/i386/i686/fpu/e_log.S: New file.
26834         * sysdeps/i386/i686/fpu/e_logf.S: New file.
26835         * sysdeps/i386/i686/fpu/e_logl.S: New file.
26837         * ctype/ctype.h: Add support for inlined isXXX functions when
26838         compiling C++ code.
26840 2011-10-14  Andreas Schwab  <schwab@redhat.com>
26842         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
26844         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
26846 2011-10-13  Roland McGrath  <roland@hack.frob.com>
26848         [BZ #13291]
26849         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
26851 2011-10-13  Andreas Schwab  <schwab@redhat.com>
26853         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
26854         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
26855         feraiseexcept.
26857         * sysdeps/x86_64/memrchr.S: Check for zero size.
26859         * string/stratcliff.c: Add memrchr tests.
26861 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
26863         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
26864         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
26865         rawmemchr-sse2 rawmemchr-sse2-bsf.
26866         * sysdeps/i386/i686/multiarch/memchr.S: New file.
26867         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
26868         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
26869         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
26870         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
26871         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
26872         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
26873         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
26874         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
26875         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
26876         * string/memrchr.c (MEMRCHR): New macro.
26878 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
26880         Add integration with gcc's -ffinite-math-only and optimize wrapper
26881         functions in libm.
26882         * Versions.def: Define GLIBC_2.15 version for libm.
26883         * math/Makefile (headers): Add bits/math-finite.h.
26884         * math/bits/math-finite.h: New file.
26885         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
26886         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
26887         * math/e_acoshl.c: Add __*_finite alias.
26888         * math/e_acosl.c: Likewise.
26889         * math/e_asinl.c: Likewise.
26890         * math/e_atan2l.c: Likewise.
26891         * math/e_atanhl.c: Likewise.
26892         * math/e_coshl.c: Likewise.
26893         * math/e_exp10.c: Likewise.
26894         * math/e_exp10f.c: Likewise.
26895         * math/e_exp10l.c: Likewise.
26896         * math/e_exp2l.c: Likewise.
26897         * math/e_fmodl.c: Likewise.
26898         * math/e_gammal_r.c: Likewise.
26899         * math/e_hypotl.c: Likewise.
26900         * math/e_j0l.c: Likewise.
26901         * math/e_j1l.c: Likewise.
26902         * math/e_jnl.c: Likewise.
26903         * math/e_lgammal_r.c: Likewise.
26904         * math/e_log10l.c: Likewise.
26905         * math/e_log2l.c: Likewise.
26906         * math/e_logl.c: Likewise.
26907         * math/e_powl.c: Likewise.
26908         * math/e_sinhl.c: Likewise.
26909         * math/e_sqrtl.c: Likewise.
26910         * math/e_scalb.c: Completely rewritten and optimized.
26911         * math/e_scalbf.c: Likewise.
26912         * math/e_scalbl.c: Likewise.
26913         * math/w_acos.c: Likewise.
26914         * math/w_acosf.c: Likewise.
26915         * math/w_acosl.c: Likewise.
26916         * math/w_acosh.c: Likewise.
26917         * math/w_acoshf.c: Likewise.
26918         * math/w_acoshl.c: Likewise.
26919         * math/w_asin.c: Likewise.
26920         * math/w_asinf.c: Likewise.
26921         * math/w_asinl.c: Likewise.
26922         * math/w_atan2.c: Likewise.
26923         * math/w_atan2f.c: Likewise.
26924         * math/w_atan2l.c: Likewise.
26925         * math/w_atanh.c: Likewise.
26926         * math/w_atanhf.c: Likewise.
26927         * math/w_atanhl.c: Likewise.
26928         * math/w_exp10.c: Likewise.
26929         * math/w_exp10f.c: Likewise.
26930         * math/w_exp10l.c: Likewise.
26931         * math/w_fmod.c: Likewise.
26932         * math/w_fmodf.c: Likewise.
26933         * math/w_fmodl.c: Likewise.
26934         * math/w_j0.c: Likewise.
26935         * math/w_j0f.c: Likewise.
26936         * math/w_j0l.c: Likewise.
26937         * math/w_j1.c: Likewise.
26938         * math/w_j1f.c: Likewise.
26939         * math/w_j1l.c: Likewise.
26940         * math/w_jn.c: Likewise.
26941         * math/w_jnf.c: Likewise.
26942         * math/w_log.c: Likewise.
26943         * math/w_logf.c: Likewise.
26944         * math/w_logl.c: Likewise.
26945         * math/w_log10.c: Likewise.
26946         * math/w_log10f.c: Likewise.
26947         * math/w_log10l.c: Likewise.
26948         * math/w_log2.c: Likewise.
26949         * math/w_log2f.c: Likewise.
26950         * math/w_log2l.c: Likewise.
26951         * math/w_pow.c: Likewise.
26952         * math/w_powf.c: Likewise.
26953         * math/w_powl.c: Likewise.
26954         * math/w_remainder.c: Likewise.
26955         * math/w_remainderf.c: Likewise.
26956         * math/w_remainderl.c: Likewise.
26957         * math/w_scalb.c: Likewise.
26958         * math/w_scalbf.c: Likewise.
26959         * math/w_scalbl.c: Likewise.
26960         * math/w_sqrt.c: Likewise.
26961         * math/w_sqrtf.c: Likewise.
26962         * math/w_sqrtl.c: Likewise.
26963         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
26964         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
26965         used.
26966         * math/math_private.h: Declare __kernel_standard_f.
26967         * math/w_cosh.c: Remove cruft and optimize a bit.
26968         * math/w_coshf.c: Likewise.
26969         * math/w_coshl.c: Likewise.
26970         * math/w_exp2.c: Likewise.
26971         * math/w_exp2f.c: Likewise.
26972         * math/w_exp2l.c: Likewise.
26973         * math/w_hypot.c: Likewise.
26974         * math/w_hypotf.c: Likewise.
26975         * math/w_hypotl.c: Likewise.
26976         * math/w_lgamma.c: Likewise.
26977         * math/w_lgamma_r.c: Likewise.
26978         * math/w_lgammaf.c: Likewise.
26979         * math/w_lgammaf_r.c: Likewise.
26980         * math/w_lgammal.c: Likewise.
26981         * math/w_lgammal_r.c: Likewise.
26982         * math/w_sinh.c: Likewise.
26983         * math/w_sinhf.c: Likewise.
26984         * math/w_sinhl.c: Likewise.
26985         * math/w_tgamma.c: Likewise.
26986         * math/w_tgammaf.c: Likewise.
26987         * math/w_tgammal.c: Likewise.
26988         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
26989         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
26990         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
26991         Minor optimizations.  Pretty printing.  Remove cruft.
26992         * sysdeps/i386/fpu/e_acosf.S: Likewise.
26993         * sysdeps/i386/fpu/e_acosh.S: Likewise.
26994         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
26995         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
26996         * sysdeps/i386/fpu/e_acosl.c: Likewise.
26997         * sysdeps/i386/fpu/e_asin.S: Likewise.
26998         * sysdeps/i386/fpu/e_asinf.S: Likewise.
26999         * sysdeps/i386/fpu/e_atan2.S: Likewise.
27000         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
27001         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
27002         * sysdeps/i386/fpu/e_atanh.S: Likewise.
27003         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
27004         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
27005         * sysdeps/i386/fpu/e_exp10.S: Likewise.
27006         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
27007         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
27008         * sysdeps/i386/fpu/e_exp2.S: Likewise.
27009         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
27010         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
27011         * sysdeps/i386/fpu/e_fmod.S: Likewise.
27012         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
27013         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
27014         * sysdeps/i386/fpu/e_hypot.S: Likewise.
27015         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
27016         * sysdeps/i386/fpu/e_log.S: Likewise.
27017         * sysdeps/i386/fpu/e_log10.S: Likewise.
27018         * sysdeps/i386/fpu/e_log10f.S: Likewise.
27019         * sysdeps/i386/fpu/e_log10l.S: Likewise.
27020         * sysdeps/i386/fpu/e_log2.S: Likewise.
27021         * sysdeps/i386/fpu/e_log2f.S: Likewise.
27022         * sysdeps/i386/fpu/e_log2l.S: Likewise.
27023         * sysdeps/i386/fpu/e_logf.S: Likewise.
27024         * sysdeps/i386/fpu/e_logl.S: Likewise.
27025         * sysdeps/i386/fpu/e_pow.S: Likewise.
27026         * sysdeps/i386/fpu/e_powf.S: Likewise.
27027         * sysdeps/i386/fpu/e_powl.S: Likewise.
27028         * sysdeps/i386/fpu/e_remainder.S: Likewise.
27029         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
27030         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
27031         * sysdeps/i386/fpu/e_scalb.S: Likewise.
27032         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
27033         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
27034         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
27035         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
27036         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
27037         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
27038         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
27039         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
27040         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
27041         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
27042         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
27043         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
27044         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
27045         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
27046         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
27047         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
27048         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
27049         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27050         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
27051         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
27052         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
27053         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
27054         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
27055         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
27056         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
27057         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
27058         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
27059         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
27060         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
27061         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
27062         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
27063         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
27064         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
27065         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
27066         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
27067         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
27068         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
27069         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
27070         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
27071         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
27072         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
27073         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
27074         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
27075         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
27076         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
27077         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
27078         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
27079         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
27080         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
27081         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
27082         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
27083         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
27084         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
27085         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
27086         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
27087         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
27088         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
27089         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
27090         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
27091         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
27092         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
27093         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
27094         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
27095         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
27096         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
27097         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
27098         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
27099         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
27100         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
27101         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
27102         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
27103         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
27104         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
27105         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
27106         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
27107         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
27108         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
27109         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
27110         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
27111         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
27112         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
27113         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
27114         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
27115         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
27116         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
27117         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
27118         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
27119         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
27120         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
27121         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
27122         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
27123         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
27124         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
27125         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
27126         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
27127         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
27128         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
27129         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
27130         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
27131         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
27132         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
27133         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
27134         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
27135         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
27136         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
27137         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
27138         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
27139         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
27140         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
27141         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
27142         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
27143         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
27144         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
27145         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
27146         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
27147         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
27148         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
27149         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
27150         (__isnanf): Likewise.
27151         (__isinf_ns): Likewise.
27152         (__isinf_nsf): Likewise.
27153         (__finite): Likewise.
27154         (__finitef): Likewise.
27155         (__ieee754_sqrt): Define as macro.
27156         (__ieee754_sqrtf): Define as macro.
27157         (__ieee754_sqrtl): Define as macro.
27158         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
27159         inlined copy.
27160         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
27161         __FINITE_MATH_ONLY__ consistent.
27162         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
27164 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
27166         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
27167         of rawmemchr.
27169         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
27171 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
27173         * po/ja.po: Update from translation team.
27175 2011-10-08  Roland McGrath  <roland@hack.frob.com>
27177         * locale/programs/locarchive.c (prepare_address_space): New function.
27178         (create_archive, enlarge_archive, open_archive): Use it.
27180         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
27181         inside [SHARED], where it is used.
27183         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
27185         * nss/getent.c (netgroup_keys): Remove unused variable.
27186         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
27188 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
27190         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
27191         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
27192         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
27193         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
27194         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
27195         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
27196         * math/Makefile (libm-calls): Add s_isinf_ns.
27197         * math/divtc3.c: Use __isinf_nsl instead of isinf.
27198         * math/multc3.c: Likewise.
27199         * math/s_casin.c: Likewise.
27200         * math/s_casinf.c: Likewise.
27201         * math/s_casinl.c: Likewise.
27202         * math/s_ccos.c: Likewise.
27203         * math/s_ccosf.c: Likewise.
27204         * math/s_ccosl.c: Likewise.
27205         * math/s_ctan.c: Likewise.
27206         * math/s_ctanf.c: Likewise.
27207         * math/s_ctanh.c: Likewise.
27208         * math/s_ctanhf.c: Likewise.
27209         * math/s_ctanhl.c: Likewise.
27210         * math/s_ctanl.c: Likewise.
27211         * math/w_fmod.c: Likewise.
27212         * math/w_fmodf.c: Likewise.
27213         * math/w_fmodl.c: Likewise.
27214         * math/w_remainder.c: Likewise.
27215         * math/w_remainderf.c: Likewise.
27216         * math/w_remainderl.c: Likewise.
27217         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
27218         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
27219         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
27220         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
27221         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
27222         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
27223         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
27224         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
27226         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
27227         of the number.
27228         * stdio-common/printf_fphex.c: Likewise.
27229         * stdio-common/printf_size.c: Likewise.
27231         * math/e_exp10.c: Include math_private.h using <...> not "...".
27232         * math/e_exp10f.c: Likewise.
27233         * math/e_exp10l.c: Likewise.
27234         * math/e_exp2l.c: Likewise.
27235         * math/e_j0l.c: Likewise.
27236         * math/e_j1l.c: Likewise.
27237         * math/e_jnl.c: Likewise.
27238         * math/e_lgammal_r.c: Likewise.
27239         * math/e_rem_pio2l.c: Likewise.
27240         * math/e_scalb.c: Likewise.
27241         * math/e_scalbf.c: Likewise.
27242         * math/e_scalbl.c: Likewise.
27243         * math/k_cosl.c: Likewise.
27244         * math/k_sinl.c: Likewise.
27245         * math/k_tanl.c: Likewise.
27246         * math/s_cacoshf.c: Likewise.
27247         * math/s_catan.c: Likewise.
27248         * math/s_catanf.c: Likewise.
27249         * math/s_catanh.c: Likewise.
27250         * math/s_catanhf.c: Likewise.
27251         * math/s_catanhl.c: Likewise.
27252         * math/s_catanl.c: Likewise.
27253         * math/s_ccosh.c: Likewise.
27254         * math/s_ccoshf.c: Likewise.
27255         * math/s_ccoshl.c: Likewise.
27256         * math/s_cexp.c: Likewise.
27257         * math/s_cexpf.c: Likewise.
27258         * math/s_cexpl.c: Likewise.
27259         * math/s_clog.c: Likewise.
27260         * math/s_clog10.c: Likewise.
27261         * math/s_clog10f.c: Likewise.
27262         * math/s_clog10l.c: Likewise.
27263         * math/s_clogf.c: Likewise.
27264         * math/s_clogl.c: Likewise.
27265         * math/s_csin.c: Likewise.
27266         * math/s_csinf.c: Likewise.
27267         * math/s_csinh.c: Likewise.
27268         * math/s_csinhf.c: Likewise.
27269         * math/s_csinhl.c: Likewise.
27270         * math/s_csinl.c: Likewise.
27271         * math/s_csqrt.c: Likewise.
27272         * math/s_csqrtf.c: Likewise.
27273         * math/s_csqrtl.c: Likewise.
27274         * math/s_ctan.c: Likewise.
27275         * math/s_ctanf.c: Likewise.
27276         * math/s_ctanh.c: Likewise.
27277         * math/s_ctanhf.c: Likewise.
27278         * math/s_ctanhl.c: Likewise.
27279         * math/s_ctanl.c: Likewise.
27280         * math/s_ldexp.c: Likewise.
27281         * math/s_ldexpf.c: Likewise.
27282         * math/s_ldexpl.c: Likewise.
27283         * math/s_significand.c: Likewise.
27284         * math/s_significandf.c: Likewise.
27285         * math/s_significandl.c: Likewise.
27286         * math/w_acos.c: Likewise.
27287         * math/w_acosf.c: Likewise.
27288         * math/w_acosh.c: Likewise.
27289         * math/w_acoshf.c: Likewise.
27290         * math/w_acoshl.c: Likewise.
27291         * math/w_acosl.c: Likewise.
27292         * math/w_asin.c: Likewise.
27293         * math/w_asinf.c: Likewise.
27294         * math/w_asinl.c: Likewise.
27295         * math/w_atan2.c: Likewise.
27296         * math/w_atan2f.c: Likewise.
27297         * math/w_atan2l.c: Likewise.
27298         * math/w_atanh.c: Likewise.
27299         * math/w_atanhf.c: Likewise.
27300         * math/w_atanhl.c: Likewise.
27301         * math/w_cosh.c: Likewise.
27302         * math/w_coshf.c: Likewise.
27303         * math/w_coshl.c: Likewise.
27304         * math/w_dremf.c: Likewise.
27305         * math/w_exp10.c: Likewise.
27306         * math/w_exp10f.c: Likewise.
27307         * math/w_exp10l.c: Likewise.
27308         * math/w_exp2.c: Likewise.
27309         * math/w_exp2f.c: Likewise.
27310         * math/w_fmod.c: Likewise.
27311         * math/w_fmodf.c: Likewise.
27312         * math/w_fmodl.c: Likewise.
27313         * math/w_hypot.c: Likewise.
27314         * math/w_hypotf.c: Likewise.
27315         * math/w_hypotl.c: Likewise.
27316         * math/w_j0.c: Likewise.
27317         * math/w_j0f.c: Likewise.
27318         * math/w_j0l.c: Likewise.
27319         * math/w_j1.c: Likewise.
27320         * math/w_j1f.c: Likewise.
27321         * math/w_j1l.c: Likewise.
27322         * math/w_jn.c: Likewise.
27323         * math/w_jnf.c: Likewise.
27324         * math/w_jnl.c: Likewise.
27325         * math/w_lgamma.c: Likewise.
27326         * math/w_lgamma_r.c: Likewise.
27327         * math/w_lgammaf.c: Likewise.
27328         * math/w_lgammaf_r.c: Likewise.
27329         * math/w_lgammal.c: Likewise.
27330         * math/w_lgammal_r.c: Likewise.
27331         * math/w_log.c: Likewise.
27332         * math/w_log10.c: Likewise.
27333         * math/w_log10f.c: Likewise.
27334         * math/w_log10l.c: Likewise.
27335         * math/w_log2.c: Likewise.
27336         * math/w_log2f.c: Likewise.
27337         * math/w_log2l.c: Likewise.
27338         * math/w_logf.c: Likewise.
27339         * math/w_logl.c: Likewise.
27340         * math/w_pow.c: Likewise.
27341         * math/w_powf.c: Likewise.
27342         * math/w_powl.c: Likewise.
27343         * math/w_remainder.c: Likewise.
27344         * math/w_remainderf.c: Likewise.
27345         * math/w_remainderl.c: Likewise.
27346         * math/w_scalb.c: Likewise.
27347         * math/w_scalbf.c: Likewise.
27348         * math/w_scalbl.c: Likewise.
27349         * math/w_sinh.c: Likewise.
27350         * math/w_sinhf.c: Likewise.
27351         * math/w_sinhl.c: Likewise.
27352         * math/w_sqrt.c: Likewise.
27353         * math/w_sqrtf.c: Likewise.
27354         * math/w_sqrtl.c: Likewise.
27355         * math/w_tgamma.c: Likewise.
27356         * math/w_tgammaf.c: Likewise.
27357         * math/w_tgammal.c: Likewise.
27359         * po/ja.po: Update from translation team.
27361 2011-09-29  Andreas Jaeger  <aj@suse.de>
27363         [BZ #13179]
27364         * sunrpc/netname.c (netname2host): Fix logic.
27366         [BZ #6779]
27367         [BZ #6783]
27368         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
27369         correctly.
27370         * math/w_remainder.c (__remainder): Likewise.
27371         * math/w_remainderf.c (__remainderf): Likewise.
27372         * math/libm-test.inc (remainder_test): Add test cases.
27374 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
27376         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
27377         sdiv_qrnnd.
27379 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
27381         * string/test-memcmp.c: Avoid unncessary #defines.
27382         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
27384 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
27386         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
27387         Use new sse2 version for core i3 - i7 as it's faster
27388         than sse42 version.
27389         (bit_Prefer_PMINUB_for_stringop): New.
27390         * sysdeps/x86_64/rawmemchr.S: Update.
27391         Replace with faster SSE2 version.
27392         * sysdeps/x86_64/memrchr.S: New file.
27393         * sysdeps/x86_64/memchr.S: Update.
27394         Replace with faster SSE2 version.
27396 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
27398         * elf/dl-load.c (lose): Add cast to avoid warning.
27400 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
27402         * po/ca.po: Update from translation team.
27404         * inet/getnetgrent_r.c: Hook up nscd.
27405         * nscd/Makefile (routines): Add nscd_netgroup.
27406         (nscd-modules): Add netgroupcache.
27407         (CFLAGS-netgroupcache.c): Define.
27408         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
27409         (cache_search): Add const to second parameter.
27410         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
27411         INNETGR.
27412         (dbs): Add netgrdb entry.
27413         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
27414         (verify_persistent_db): Handle netgrdb.
27415         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
27416         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
27417         GETFDNETGR.
27418         (netgroup_response_header): Define.
27419         (innetgroup_response_header): Define.
27420         (datahead): Add netgroup_response_header and innetgroup_response_header
27421         elements.
27422         * nscd/nscd.conf: Add entries for netgroup cache.
27423         * nscd/nscd.h (dbtype): Add netgrdb.
27424         (_PATH_NSCD_NETGROUP_DB): Define.
27425         (netgroup_iov_disabled): Declare.
27426         (xmalloc, xcalloc, xrealloc): Move declarations here.
27427         (cache_search): Adjust prototype.
27428         Add netgroup-related prototypes.
27429         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
27430         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
27431         (__nscd_innetgr): Declare.
27432         * nscd/selinux.c (perms): Use access_vector_t as element type and
27433         add netgroup-related initializers.
27434         * nscd/netgroupcache.c: New file.
27435         * nscd/nscd_netgroup.c: New file.
27436         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
27437         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
27438         For four parameters use innetgr.
27439         * nss/nss_files/files-init.c: Add definition and callback for netgr.
27440         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
27441         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
27442         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
27444         * nscd/connections.c (register_traced_file): Don't register file
27445         for disabled databases.
27447 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
27449         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
27451         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
27452         from tree and freeing node.
27454 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
27456         * nss/nsswitch.c (__nss_database_lookup): Handle
27457         nss_parse_service_list out of memory case.
27459 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
27461         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
27462         out of memory case.
27464 2011-10-04  Andreas Schwab  <schwab@redhat.com>
27466         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
27467         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
27468         pass it down.
27469         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
27470         elf_machine_rela, elf_machine_lazy_rel.
27471         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
27472         (ELF_DYNAMIC_DO_REL): Likewise.
27473         (ELF_DYNAMIC_DO_RELA): Likewise.
27474         (ELF_DYNAMIC_RELOCATE): Likewise.
27475         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
27476         to ELF_DYNAMIC_DO_REL.
27477         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
27478         (dl_main): In trace mode always set __RTLD_NOIFUNC.
27479         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
27480         elf_machine_rela.
27481         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
27482         skip_ifunc, don't call ifunc function if non-zero.
27483         (elf_machine_rela): Likewise.
27484         (elf_machine_lazy_rel): Likewise.
27485         (elf_machine_lazy_rela): Likewise.
27486         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
27487         (elf_machine_lazy_rel): Likewise.
27488         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
27489         Likewise.
27490         (elf_machine_lazy_rel): Likewise.
27491         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
27492         Likewise.
27493         (elf_machine_lazy_rel): Likewise.
27494         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
27495         (elf_machine_lazy_rel): Likewise.
27496         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
27497         (elf_machine_lazy_rel): Likewise.
27498         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
27499         (elf_machine_lazy_rel): Likewise.
27500         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
27501         (elf_machine_lazy_rel): Likewise.
27502         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
27503         (elf_machine_lazy_rel): Likewise.
27504         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
27505         (elf_machine_lazy_rel): Likewise.
27507 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
27509         * nss/nss_files/files-init.c (_nss_files_init): Use static
27510         initialization for all the *_traced_file variables.
27512 2011-09-28  Andreas Schwab  <schwab@redhat.com>
27514         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
27516 2011-09-27  Roland McGrath  <roland@hack.frob.com>
27518         [BZ #13226]
27519         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
27521 2011-09-27  Andreas Schwab  <schwab@redhat.com>
27523         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
27524         Reread the line before reparsing it.
27526 2011-09-26  Andreas Schwab  <schwab@redhat.com>
27528         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
27530 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
27531             Maxim Kuvyrkov  <maxim@codesourcery.com>
27532             Joseph Myers  <joseph@codesourcery.com>
27534         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
27535         if needed for __stack_chk_guard.
27537 2011-09-19  Roland McGrath  <roland@hack.frob.com>
27539         * sysdeps/posix/spawni.c (script_execute): Always define it.
27540         It will be optimized away if unused.
27541         (maybe_script_execute): New function.
27542         (__spawni): Call it.
27544         * Makerules: Don't include tls.make.
27545         (config-tls): Always set to thread.
27546         * tls.make.c: File removed.
27548 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
27550         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
27551         * config.make.in (CPPFLAGS-config): New substituted variable.
27553 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
27555         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
27557         [BZ #13192]
27558         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
27559         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
27561 2011-09-15  Roland McGrath  <roland@hack.frob.com>
27563         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
27564         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
27565         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
27566         (CALL_FAIL): Likewise.
27567         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
27568         (CALL_FAIL): Macro removed.
27569         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
27571 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
27573         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
27574         for __FINITE_MATH_ONLY__ == 1.
27576 2011-09-15  Andreas Schwab  <schwab@redhat.com>
27578         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
27579         __ieee754_sqrt instead of sqrt.
27580         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
27581         __ieee754_sqrtf instead of sqrtf.
27582         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
27583         __floorf instead of floorf.
27584         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
27585         __floorf, __truncf instead of floorf, truncf.
27587 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
27589         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
27591         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
27592         __extern_always_inline.
27593         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
27594         32-bit.
27596 2011-09-14  Andreas Schwab  <schwab@redhat.com>
27598         * elf/rtld.c (dl_main): Also relocate in dependency order when
27599         doing symbol dependency testing.
27601 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
27603         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
27604         Always define `refsym'.
27606 2011-09-13  Andreas Schwab  <schwab@redhat.com>
27608         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
27609         (__FD_ELT): Renamed from __FDELT.
27610         * misc/bits/select2.h (__FD_ELT): Likewise.
27611         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
27612         __FD_MASK instead of __FDELT, __FDMASK.
27613         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
27614         Likewise.
27615         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
27616         Likewise.
27618         * elf/Makefile (gen-ldd): Fix pattern.
27620         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
27621         (init_tls): Likewise.
27623 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
27625         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
27627 2011-09-12  Andreas Schwab  <schwab@redhat.com>
27629         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
27630         `struct cmsghdr *' instead of `void *'.
27631         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
27632         Likewise.
27634 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
27636         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
27637         if non-absolute.
27638         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
27639         ldd_rewrite_script.
27641 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
27643         * configure.in: Remove --with-tls option.
27644         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
27645         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
27646         out in case it is missing.
27647         * sysdeps/ia64/elf/configure.in: Likewise.
27648         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
27649         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
27650         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
27651         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
27652         * sysdeps/sh/elf/configure.in: Likewise.
27653         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
27654         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
27655         * sysdeps/x86_64/elf/configure.in: Likewise.
27656         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
27657         * sysdeps/mach/hurd/tls.h: Likewise.
27659         [BZ #13067]
27660         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
27662         [BZ #13090]
27663         * configure.in: Fix use of AC_INIT.
27665         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
27667 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
27669         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
27670         __set_errno.
27671         * malloc/hooks.c: Likewise.
27673         [BZ #11929]
27674         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
27675         variables statically.
27676         (narenas): Initialize.
27677         (list_lock): Initialize.
27678         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
27679         initializtion of main_arena and list_lock.  Small cleanups.
27680         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
27681         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
27682         Add initializers to main_arena and mp_.
27683         (malloc_state): Remove pagesize member.  Change all users to use
27684         GLRO(dl_pagesize).
27686         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
27687         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
27688         is always initialized.
27690         * malloc/malloc.c: Removed unused configurations and dead code.
27691         * malloc/arena.c: Likewise.
27692         * malloc/hooks.c: Likewise.
27693         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
27695         * include/tls.h: Removed.  USE___THREAD must always be defined.
27696         * bits/libc-tsd.h: Don't handle !USE___THREAD.
27697         * elf/dl-libc.c: Likewise.
27698         * elf/dl-tsd.c: Likewise.
27699         * include/errno.h: Likewise.
27700         * include/netdb.h: Likewise.
27701         * include/resolv.h: Likewise.
27702         * inet/herrno-loc.c: Likewise.
27703         * inet/herrno.c: Likewise.
27704         * malloc/arena.c: Likewise.
27705         * malloc/hooks.c: Likewise.
27706         * malloc/malloc.c: Likewise.
27707         * resolv/res-state.c: Likewise.
27708         * resolv/res_libc.c: Likewise.
27709         * sysdeps/i386/dl-machine.h: Likewise.
27710         * sysdeps/ia64/dl-machine.h: Likewise.
27711         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
27712         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
27713         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
27714         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
27715         * sysdeps/sh/dl-machine.h: Likewise.
27716         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
27717         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
27718         * sysdeps/unix/i386/sysdep.S: Likewise.
27719         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
27720         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
27721         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
27722         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
27723         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
27724         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
27725         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
27726         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
27727         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
27728         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
27729         * sysdeps/unix/x86_64/sysdep.S: Likewise.
27730         * sysdeps/x86_64/dl-machine.h: Likewise.
27731         * tls.make.c: Likewise.
27733         * configure.in: Remove --with-__thread option.  Make tests for
27734         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
27735         tls_model attribute fail if no support is available.  Remove
27736         USE_IN_LIBIO.
27737         * Makeconfig: Adjust for dropped configure option.  All features are
27738         now mandatory.
27739         * Makerules: Likewise.
27740         * Versions.def: Likewise.
27741         * argp/argp-fmtstream.c: Likewise.
27742         * argp/argp-fmtstream.h: Likewise.
27743         * argp/argp-help.c: Likewise.
27744         * assert/assert.c: Likewise.
27745         * config.h.in: Likewise.
27746         * config.make.in: Likewise.
27747         * configure: Likewise.
27748         * configure.in: Likewise.
27749         * csu/Versions: Likewise.
27750         * csu/init.c: Likewise.
27751         * elf/tst-audit2.c: Likewise.
27752         * elf/tst-tls10.c: Likewise.
27753         * elf/tst-tls10.h: Likewise.
27754         * elf/tst-tls11.c: Likewise.
27755         * elf/tst-tls12.c: Likewise.
27756         * elf/tst-tls14.c: Likewise.
27757         * elf/tst-tlsmod11.c: Likewise.
27758         * elf/tst-tlsmod12.c: Likewise.
27759         * elf/tst-tlsmod13.c: Likewise.
27760         * elf/tst-tlsmod13a.c: Likewise.
27761         * elf/tst-tlsmod14a.c: Likewise.
27762         * elf/tst-tlsmod15b.c: Likewise.
27763         * elf/tst-tlsmod16a.c: Likewise.
27764         * elf/tst-tlsmod16b.c: Likewise.
27765         * elf/tst-tlsmod7.c: Likewise.
27766         * elf/tst-tlsmod8.c: Likewise.
27767         * elf/tst-tlsmod9.c: Likewise.
27768         * gmon/gmon.c: Likewise.
27769         * grp/fgetgrent_r.c: Likewise.
27770         * grp/putgrent.c: Likewise.
27771         * hurd/fopenport.c: Likewise.
27772         * include/libc-symbols.h: Likewise.
27773         * include/tls.h: Likewise.
27774         * intl/gettextP.h: Likewise.
27775         * intl/loadinfo.h: Likewise.
27776         * locale/global-locale.c: Likewise.
27777         * locale/localeinfo.h: Likewise.
27778         * mach/devstream.c: Likewise.
27779         * malloc/arena.c: Likewise.
27780         * malloc/set-freeres.c: Likewise.
27781         * misc/err.c: Likewise.
27782         * misc/getttyent.c: Likewise.
27783         * misc/mntent_r.c: Likewise.
27784         * posix/getopt.c: Likewise.
27785         * posix/wordexp.c: Likewise.
27786         * pwd/fgetpwent_r.c: Likewise.
27787         * resolv/Versions: Likewise.
27788         * resolv/res_hconf.c: Likewise.
27789         * shadow/fgetspent_r.c: Likewise.
27790         * shadow/putspent.c: Likewise.
27791         * stdio-common/printf_fphex.c: Likewise.
27792         * stdio-common/tmpfile.c: Likewise.
27793         * stdlib/abort.c: Likewise.
27794         * stdlib/fmtmsg.c: Likewise.
27795         * sunrpc/auth_unix.c: Likewise.
27796         * sunrpc/clnt_perr.c: Likewise.
27797         * sunrpc/clnt_tcp.c: Likewise.
27798         * sunrpc/clnt_udp.c: Likewise.
27799         * sunrpc/clnt_unix.c: Likewise.
27800         * sunrpc/openchild.c: Likewise.
27801         * sunrpc/svc_simple.c: Likewise.
27802         * sunrpc/svc_tcp.c: Likewise.
27803         * sunrpc/svc_udp.c: Likewise.
27804         * sunrpc/svc_unix.c: Likewise.
27805         * sunrpc/xdr.c: Likewise.
27806         * sunrpc/xdr_array.c: Likewise.
27807         * sunrpc/xdr_rec.c: Likewise.
27808         * sunrpc/xdr_ref.c: Likewise.
27809         * sunrpc/xdr_stdio.c: Likewise.
27811 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
27813         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
27815 2011-07-03  Andreas Jaeger  <aj@suse.de>
27817         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
27818         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
27819         regenerate with gen-libm-tests.pl.
27821 2010-05-12  Petr Baudis  <pasky@suse.cz>
27823         [BZ #11589]
27824         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
27825         around j0() zero points by switching to j1().
27826         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
27827         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
27828         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
27829         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
27831 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
27833         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
27834         instead of 0.
27835         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
27836         instead of 0.
27837         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
27838         Patch in part by Pavel Roskin <proski@gnu.org>.
27840         [BZ #13138]
27841         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
27842         realloc.
27843         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
27844         Free memory block if necessary.
27846         [BZ #12847]
27847         * libio/genops.c (INTDEF): For string streams the _lock pointer can
27848         be NULL.  Don't lock in this case.
27850 2011-09-09  Roland McGrath  <roland@hack.frob.com>
27852         * elf/elf.h (ELFOSABI_GNU): New macro.
27853         (ELFOSABI_LINUX): Define to that.
27855 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
27857         * string/strncat.c (strncat): Undef the symbol in case it has been
27858         defined in bits/string.h.
27860 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
27862         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
27864         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
27865         link map.
27867 2011-08-17  Andreas Jaeger  <aj@suse.de>
27869         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
27871 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
27872             Ian Lance Taylor  <iant@google.com>
27874         * math/libm-test.inc (lround_test): New testcase.
27875         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
27877 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
27879         * Makefile: Remove support for automatic cvs check-ins.
27880         * Makerules: Likewise.
27881         * config.make.in: Likewise.
27882         * configure.in: Likewise.
27883         * intl/Makefile: Likewise.
27884         * locale/Makefile: Likewise.
27885         * po/Makefile: Likewise.
27886         * posix/Makefile: Likewise.
27887         * sysdeps/gnu/Makefile: Likewise.
27888         * sysdeps/mach/hurd/Makefile: Likewise.
27889         * sysdeps/sparc/sparc32/Makefile: Likewise.
27891         [BZ #13118]
27892         * posix/Makefile (bug-regex32-ENV): Define.
27893         Patch by John Stanley <jpsinthemix@verizon.net>.
27895         * misc/Makefile (headers): Add bits/select2.h.
27896         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
27897         * misc/bits/select2.h: New file.
27898         * include/bits/select2.h: New file.
27899         * debug/Makefile (routines): Add fdelt_chk.
27900         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
27901         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
27902         FD_ISSET.
27903         * debug/fdelt_chk.c: New file.
27905         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
27906         * wcsmbs/test-wmemcmp.c: Likewise.
27907         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
27908         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
27910 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
27912         * string/Makefile (strop-tests): Add memcmp.
27913         * string/test-wmemcmp.c: New file.
27914         * string/test-memcmp.c: Add wmemcmp support.
27916 2011-09-08  Roland McGrath  <roland@hack.frob.com>
27918         [BZ #13153]
27919         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
27920         2011-07-19 change.
27922         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
27923         garbage value in a __mach_port_mod_refs call in the cases of the
27924         task-self and thread-self ports.
27926 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
27928         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
27930 2011-09-08  Andreas Schwab  <schwab@redhat.com>
27932         * elf/dl-load.c (lose): Check for non-null L.
27934 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
27936         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
27938         * elf/dl-libc.c (dlerror_run): Pass back error code from
27939         dl_catch_error.
27941         [BZ #13123]
27942         * elf/dl-load.c (lose): Free l_origin if it is valid.
27944         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
27945         names.
27946         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
27947         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
27948         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
27949         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
27950         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
27951         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
27953 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27955         * sysdeps/powerpc/fpu/e_hypot.c: New file.
27956         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
27957         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
27958         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
27959         * sysdeps/powerpc/fpu/k_cosf.c: New file.
27960         * sysdeps/powerpc/fpu/k_sinf.c: New file.
27961         * sysdeps/powerpc/fpu/s_cosf.c: New file.
27962         * sysdeps/powerpc/fpu/s_sinf.c: New file.
27963         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
27964         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
27966 2011-08-15  Alan Modra  <amodra@gmail.com>
27968         [BZ #13092]
27969         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
27970         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
27971         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
27972         ppc_mcount to static-only-routines.
27973         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
27974         __mcount_internal.
27975         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
27976         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
27978 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
27980         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
27981         for finite and infinity parameters.
27983 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
27985         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
27986         and add nop instructions for throughput optimization.
27987         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
27989 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
27991         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
27992         aligned copy for power7 with vector-scalar instructions.
27993         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
27995 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
27997         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
27998         AVX check.
28000 2011-09-07  Andreas Schwab  <schwab@redhat.com>
28002         [BZ #13144]
28003         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
28004         last change.
28006 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
28008         * sysdeps/unix/sysv/linux/x86_64/init-first.c
28009         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
28010         syscall wrapper around clock_gettime in __vdso_clock_gettime.
28011         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
28012         clock_gettime.
28014 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
28016         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
28017         Forgot to demangle the pointer.
28019         * sysdeps/i386/sysdep.h: Define atom_text_section.
28020         * sysdeps/x86_64/sysdep.h: Likewise.
28021         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
28022         section with atom_text_section.
28023         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
28024         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
28025         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
28026         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
28027         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
28029         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
28030         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
28031         already be defined.  Change to take two parameters and don't assign
28032         result to variable.  Adjust all users.
28033         Define INTERNAL_GETTIME if not already defined.
28034         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
28035         call.
28036         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
28037         HAVE_CLOCK_GETTIME_VSYSCALL.
28038         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
28040         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
28041         gettimeofday vsyscall, just use time.
28043 2011-09-06  Andreas Schwab  <schwab@redhat.com>
28045         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
28046         <errno.h>.
28048 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
28050         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
28051         syscall on x86-64.
28052         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
28053         syscall.
28054         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
28055         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
28056         syscall if possible.
28058 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
28060         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
28061         e_ident.  Don't pass to find_mapsXX.
28062         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
28064 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
28066         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
28067         strchr-sse2-no-bsf strrchr-sse2-no-bsf
28068         * sysdeps/x86_64/multiarch/strchr.S: Update.
28069         Check bit_slow_BSF bit.
28070         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
28071         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
28072         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
28074 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
28076         [BZ #13134]
28077         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
28078         before glibc 2.15.
28079         (tryshell): Define.
28080         (__spawni): Change last parameter to be flag.  Test
28081         SPAWN_XFLAGS_USE_PATH flag to use path or not.
28082         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
28083         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
28084         * posix/spawni.c: Likewise.
28085         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
28086         * posix/spawnp.c: Likewise.  Change normal version to use
28087         SPAWN_XFLAGS_USE_PATH.
28088         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
28089         SPAWN_XFLAGS_TRY_SHELL.
28091         [BZ #13150]
28092         * posix/glob.h: Remove gcc 1.x support.
28094         [BZ #13068]
28095         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
28097 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
28099         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
28100         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
28101         strrchr-sse2-bsf
28102         * sysdeps/i386/i686/multiarch/strchr.S: New file.
28103         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
28104         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
28105         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
28106         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
28107         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
28109 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
28111         * sysdeps/x86_64/wcscmp.S: New file.
28113         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
28114         wcscmp-c wcscmp-sse2
28115         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
28116         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
28117         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
28118         * wcsmbs/wcscmp.c: Allow renaming.
28120 2011-09-05  David S. Miller  <davem@davemloft.net>
28122         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
28123         stack slot, rather than the struct return pointer slot.
28124         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
28125         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
28126         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
28127         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
28129 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
28131         * po/ja.po: Update from translation team.
28133         [BZ #13144]
28134         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
28135         kernel in 64-bit binaries.
28137 2011-09-01  David S. Miller  <davem@davemloft.net>
28139         * elf/elf.h (HWCAP_SPARC_*): Move to..
28140         * sysdeps/sparc/sysdep.h: this new file and add new values.
28141         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
28142         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
28143         _DL_HWCAP_COUNT to 24.
28144         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
28145         entries.
28146         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
28147         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
28148         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
28149         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
28150         instead of magic constants.
28151         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
28153 2011-08-31  David S. Miller  <davem@davemloft.net>
28155         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
28156         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
28157         Reimplement to do errno handling inline.
28158         (SYSCALL_ERROR_HANDLER): New macro.
28159         (__SYSCALL_STRING): Do not do errno handling in asm.
28160         (__CLONE_SYSCALL_STRING): Delete.
28161         (__INTERNAL_SYSCALL_STRING): Delete.
28162         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
28163         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
28164         (PSEUDO): Reimplement to do errno handling inline.
28165         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
28166         (SYSCALL_ERROR_HANDLER): New macro.
28167         (__SYSCALL_STRING): Do not do errno handling in asm.
28168         (__CLONE_SYSCALL_STRING): Delete.
28169         (__INTERNAL_SYSCALL_STRING): Delete.
28170         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
28171         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
28172         i386.
28173         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
28174         (inline_syscall*): Add 'err' argument.
28175         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
28176         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
28177         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
28178         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
28180         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
28181         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
28183 2011-08-30  Andreas Schwab  <schwab@redhat.com>
28185         * elf/rtld.c (dl_main): Relocate objects in dependency order.
28187 2011-08-29  Jiri Olsa <jolsa@redhat.com>
28189         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
28190         directive.
28192 2011-08-24  David S. Miller  <davem@davemloft.net>
28194         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
28196 2011-08-24  Andreas Schwab  <schwab@redhat.com>
28198         * elf/Makefile: Add rules to build and run unload8 test.
28199         * elf/unload8.c: New file.
28200         * elf/unload8mod1.c: New file.
28201         * elf/unload8mod1x.c: New file.
28202         * elf/unload8mod2.c: New file.
28203         * elf/unload8mod3.c: New file.
28205         * elf/dl-close.c (_dl_close_worker): Reset private search list if
28206         it wasn't used.
28208 2011-08-23  David S. Miller  <davem@davemloft.net>
28210         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
28211         subtract stack bias.
28212         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
28213         %sp not %fp in calculations.
28214         (_JMPBUF_UNWINDS_ADJ): Likewise.
28216         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
28217         (aio_suspend): Call it to force an exception region around the
28218         AIO_MISC_WAIT() invocation.
28220 2011-08-23  Andreas Schwab  <schwab@redhat.com>
28222         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
28223         backslash.
28225 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
28227         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
28228         protection macro.
28229         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
28230         and <dl-machine.h>.
28231         (Elf64_FuncDesc): Remove.
28233 2011-08-22  David S. Miller  <davem@davemloft.net>
28235         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
28236         sigaltstack check, add missing cfi directives.
28237         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
28238         missing cfi directives, and sigaltstack handling.
28240 2011-08-16  Andreas Schwab  <schwab@redhat.com>
28242         [BZ #11724]
28243         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
28244         object is seen twice.
28245         * elf/dl-fini.c (_dl_sort_fini): Likewise.
28247         * elf/Makefile (distribute): Add tst-initorder2.c.
28248         (tests): Add tst-initorder2.
28249         (modules-names): Add tst-initorder2a tst-initorder2b
28250         tst-initorder2c tst-initorder2d.  Add rules to build them.
28251         ($(objpfx)tst-initorder2.out): New rule.
28252         * elf/tst-initorder2.c: New file.
28253         * elf/tst-initorder2.exp: New file.
28255 2011-08-22  Andreas Schwab  <schwab@redhat.com>
28257         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
28259         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
28260         dependencies back to end of function.
28262         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
28263         $(elfobjdir)/ld.so.
28265 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
28267         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
28268         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
28269         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
28270         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
28271         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
28272         of __vdso_gettimeofday.
28273         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
28274         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
28275         attribute_hidden.
28276         (_libc_vdso_platform_setup): Remove initialization of
28277         __vdso_gettimeofday and __vdso_time.
28279 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
28281         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
28282         and fgetc_unlocked.
28283         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
28284         getc_unlocked.
28286         * elf/dl-open.c (add_to_global): Report additions to the global scope
28287         for LD_DEBUG=scopes.
28288         (dl_open_worker): Also print scope of newly loaded dependencies.
28289         (_dl_show_scope): Indicate if there is no scope.
28291         [BZ #13114]
28292         * stdio-common/Makefile (tests): Add bug24.
28293         * stdio-common/bug24.c: New file.
28295 2011-08-19  Andreas Jaeger  <aj@suse.de>
28297         [BZ #13114]
28298         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
28299         non-existant file when using close-on-exec mode.
28301 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
28303         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
28304         the very first instruction.
28306         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
28307         the CFI state in the end.
28308         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
28309         inclusion of dl-trampoline.h.
28310         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
28312 2011-08-19  Andreas Schwab  <schwab@redhat.com>
28314         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
28315         expectations for long double.
28317         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
28318         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
28320 2011-08-14  David S. Miller  <davem@davemloft.net>
28322         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
28323         artificual limit depends upon the system page size.
28325 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
28327         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
28328         * resolv/Makefile: Define CFLAGS-libresolv.
28330 2011-08-17  Andreas Schwab  <schwab@redhat.com>
28332         * nss/makedb.c (compute_tables): Make variables used in nested
28333         function static.
28335 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
28337         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
28338         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
28339         if buffer was too small.
28341         * elf/pldd.c (main): Attach to all threads in the process.
28342         Rewrite /proc handling to use *at functions.
28344 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
28346         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
28347         specifies first scope to show.
28348         (dl_open_worker): Update callers.  Move printing scope of new
28349         object to before the relocation.
28350         * elf/rtld.c (dl_main): Update _dl_show_scope call.
28351         * sysdeps/generic/ldsodefs.h: Update declaration.
28353         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
28354         string for the scope number.
28356 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
28358         * nscd/servicescache.c (cache_addserv): Make sure written is always
28359         initialized.
28361 2011-08-14  Roland McGrath  <roland@hack.frob.com>
28363         * sysdeps/i386/i486/bits/atomic.h
28364         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
28365         statement expression, so as to suppress "set but not used" warning.
28366         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
28368         * string/strncat.c (STRNCAT): Use prototype definition.
28370         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
28371         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
28372         -Iprograms here.
28373         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
28374         (localedef-modules): Add localedef.
28375         (locale-modules): Add locale.
28377         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
28378         * elf/rtld.c (dl_main): Invert order of assignment in last change,
28379         to avoid a warning.
28381 2011-08-14  David S. Miller  <davem@davemloft.net>
28383         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
28384         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
28386 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
28388         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
28389         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
28390         * elf/rtld.c (dl_main): Set l_name of vDSO.
28391         Call _dl_show_scope when DL_DEBUG_SCOPES.
28392         (process_dl_debug): Recognize scopes flag and also set it for all.
28393         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
28394         Declare _dl_show_scope.
28396         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
28397         (do_dlopen): Pass caller_dlopen to dl_open.
28398         (__libc_dlopen_mode): Initialize caller_dlopen.
28400         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
28401         of libc.  Make tolower call locale-independent.  Optimize a bit by
28402         using isdigit instead of isalnum.
28403         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
28405 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
28407         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
28408         was a dependency or dynamically loaded.
28410 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
28412         * intl/l10nflist.c: Allow architecture-specific pop function.
28413         * sysdeps/x86_64/l10nflist.c: New file.
28415         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
28416         classification.
28418 2011-08-10  Andreas Schwab  <schwab@redhat.com>
28420         * include/dirent.h: Add libc_hidden_proto for scandirat and
28421         scandirat64.  Don't declare __scandirat64.
28422         * dirent/scandirat.c: Add libc_hidden_def.
28423         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
28424         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
28426 2011-08-10  David S. Miller  <davem@davemloft.net>
28428         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
28429         enum.
28430         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
28431         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
28432         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
28434 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
28436         * Versions.def [libc]: Add GLIBC_2.15.
28437         * dirent/Makefile (routines): Add scandirat and scandirat64.
28438         * dirent/Versions [libc]: Export scandirat and scandirat64 for
28439         GLIBC_2.15.
28440         * dirent/dirent.h: Declare scandirat and scandirat64.
28441         * dirent/scandirat.c: New file.
28442         * dirent/scandirat64.c: New file.
28443         * sysdeps/wordsize-64/scandirat.c: New file.
28444         * sysdeps/wordsize-64/scandirat64.c: New file.
28445         * dirent/opendir.c: Define opendirat.
28446         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
28447         using scandirat.
28448         * dirent/scandir64.c: Adjust for scandir.c change.
28449         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
28450         __scandirat64, and __scandir_cancel_handler.
28451         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
28452         additional parameter and use openat instead of open (outside of ld.so).
28453         Add new __opendir as wrapper around __opendirat.
28454         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
28455         here without requiring old scandirat implementation.
28457 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
28459         * dirent/scandir.c (cancel_handler): Renamed to
28460         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
28461         defined.  Adjust users.
28462         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
28463         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
28465 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
28467         * string/test-string.h (IMPL): Use __STRING to expand name and then
28468         stringify it.
28470         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
28471         of cleanups.
28473 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
28475         * string/Makefile: Update.
28476         (strop-tests): Append strncat.
28477         * string/test-wcscmp.c: New file.
28478         New comprehensive test for wcscmp.
28479         * string/test-strcmp.c: Update.
28480         (WIDE): New define.
28482 2011-07-22  Andreas Schwab  <schwab@redhat.com>
28484         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
28485         line.
28487 2011-07-26  Andreas Schwab  <schwab@redhat.com>
28489         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
28490         encoding to ACE if AI_IDN.
28492 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
28494         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
28495         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
28497 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
28499         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
28500         Fix overflow bug in strncat.
28501         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
28503         * string/test-strncat.c: Update.
28504         Add new tests for checking overflow bugs.
28506 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
28508         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
28509         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
28510         * sysdeps/i386/i686/multiarch/strcat.S: New file.
28511         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
28512         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
28513         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
28514         * sysdeps/i386/i686/multiarch/strncat.S: New file.
28515         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
28516         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
28518         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
28519         (USE_AS_STRCAT): Define.
28520         Add strcat and strncat support.
28521         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
28523 2011-07-25  Andreas Schwab  <schwab@redhat.com>
28525         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
28526         __n bigger than INT_MAX+1.
28527         (__strncmp_g): Likewise.
28529 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
28531         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
28532         * libio/stido.h: Likewise.
28534         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
28535         (AF_NFC): Define.
28536         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
28537         (AF_NFC): Define.
28539         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
28540         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
28541         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
28542         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
28543         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
28545         [BZ #13021]
28546         * scripts/test-installation.pl: Don't expect libnss_test1 to be
28547         installed.
28549         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
28550         typo.
28551         (_dl_x86_64_save_sse): Likewise.
28553 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
28555         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
28556         OSXSAVE.
28557         (_dl_x86_64_save_sse): Likewise.
28559         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
28561         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
28563 2011-07-21  Andreas Schwab  <schwab@redhat.com>
28565         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
28566         change.
28567         (_dl_x86_64_save_sse): Use correct AVX check.
28569 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
28571         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
28572         bug in strncpy/strncat.
28573         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
28575 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
28577         * string/tester.c (test_strcat): Add tests for different alignments
28578         of source and destination.
28579         (test_strncat): Likewise.
28581 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
28583         [BZ #12852]
28584         * posix/glob.c (glob): Check passed in values before using them in
28585         expressions to avoid some overflows.
28586         (glob_in_dir): Likewise.
28588         [BZ #13007]
28589         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
28590         check for AVX enablement so that we don't crash with old kernels and
28591         new hardware.
28592         * elf/tst-audit4.c: Add same checks here.
28593         * elf/tst-audit6.c: Likewise.
28595         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
28597 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
28599         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
28601 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
28603         * po/cs.po: Update from translation team.
28604         * po/bg.po: Likewise.
28606 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
28608         * misc/sys/cdefs.h: Add support for const attribute.
28609         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
28610         to gnu_dev_{major,minor,makedev} functions.
28612 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
28614         * intl/dcigettext.c (get_output_charset): Add missing bracket.
28616 2011-07-20  Andreas Schwab  <schwab@redhat.com>
28618         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
28619         strlen results.
28621 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
28623         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
28624         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
28625         register in order to avoid conflicts with the soft frame pointer
28626         being held in r11 when necessary.
28627         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
28628         (INTERNAL_VSYSCALL_NCS): Likewise.
28630 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
28632         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
28633         * elf/dl-fini.c (_dl_fini): Adjust caller.
28634         * elf/dl-close.c (_dl_close_worker): Likewise.
28635         * sysdeps/generic/ldsodefs.h: Adjust declaration.
28637 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
28639         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
28640         "aux_cache->nlibs < 0".
28642         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
28643         in the reload-count case.
28645 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
28647         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
28648         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
28649         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
28650         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
28651         * sysdeps/x86_64/multiarch/strcat.S: New file.
28652         * sysdeps/x86_64/multiarch/strncat.S: New file.
28653         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
28654         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
28655         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
28656         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
28657         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
28658         (USE_AS_STRCAT): Define.
28659         Add strcat and strncat support.
28660         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
28661         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
28662         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
28663         * string/strncat.c: Update.
28664         (USE_AS_STRNCAT): Define.
28665         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28666         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
28667         and i7.
28668         * sysdeps/x86_64/multiarch/init-arch.h
28669         (bit_Prefer_PMINUB_for_stringop): New.
28670         (index_Prefer_PMINUB_for_stringop): Likewise.
28671         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
28672         bit_Prefer_PMINUB_for_stringop.
28674 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
28676         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
28677         buffer64.
28678         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
28679         of casting of buffer.
28680         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
28681         buffer32 and buffer64.
28682         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
28683         writes instead of casting of buffer.
28684         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
28685         buffer32.
28686         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
28687         casting of buffer.
28689 2011-07-19  Andreas Schwab  <schwab@redhat.com>
28691         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
28693 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
28695         * nscd/nscd.c (termination_handler): Don't do anything for a database
28696         if it has not yet been initialized.
28698 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
28700         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
28702 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
28704         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
28706 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
28708         * po/nl.po: Update from translation team.
28709         * po/sv.po: Likewise.
28711 2011-07-16  Roland McGrath  <roland@hack.frob.com>
28713         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
28714         now disallowed by GCC.
28716         * configure.in (use-default-link): Default to yes if a test -shared
28717         link meets our qualifications.
28718         * configure: Regenerated.
28720         * config.make.in (output-format): New variable.
28721         * configure.in: Check for ld --print-output-format support.
28722         * configure: Regenerated.
28723         * Makerules ($(common-objpfx)format.lds)
28724         [$(output-format) != unknown]: Just use $(output-format),
28725         instead of the linker-script munging.
28727 2011-07-14  Roland McGrath  <roland@hack.frob.com>
28729         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
28730         of $(common-objpfx)shlib.lds.
28731         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
28733         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
28734         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
28736         * configure.in (-z relro check): Adjust test code to add a large
28737         writable data section after it.
28738         * configure: Regenerated.
28740 2011-07-11  Roland McGrath  <roland@hack.frob.com>
28742         * configure.in (-z relro check): Fix test code to make the variable
28743         truly const.
28744         * configure: Regenerated.
28746 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
28748         * nscd/nscd.h (struct traced_file): Define.
28749         (struct database_dyn): Remove inotify_descr, reset_res, and filename
28750         elements.  Add traced_files.
28751         (inotify_fd): Declare.
28752         (register_traced_file): Declare.
28753         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
28754         (inotify_fd): Export.
28755         (resolv_conf_descr): Remove.
28756         (nscd_init): Move inotify descriptor creation to main.
28757         Don't register files for notification here.
28758         (register_traced_file): New function.
28759         (invalidate_cache): Don't use reset_res to determine whether to call
28760         res_init, go through the list of registered files.
28761         (main_loop_poll): The inotify descriptors are now stored in the
28762         structures for the traced files.
28763         (main_loop_epoll): Likewise
28764         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
28765         to __nss_disable_nscd.
28766         * nscd/cache.c (prune_cache): There is no single inotify descriptor
28767         for a database anymore.  Check the records for all the registered
28768         files instead.
28769         * nss/Makefile (libnss_files-routines): Add files-init.
28770         (libnss_db-routines): Add db-init.
28771         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
28772         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
28773         * nss/nss_db/db-init.c: New file.
28774         * nss/nss_files/files-init.c: New file.
28775         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
28776         __nss_lookup_function.
28777         (__nss_lookup_function): Call nss_load_library.
28778         (nss_load_all_libraries): New function.
28779         (__nss_disable_nscd): Take parameter with callback function for files
28780         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
28781         used for the cached services.
28782         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
28783         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
28784         options for features to all the files in nscd.
28786         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
28788 2011-07-10  Roland McGrath  <roland@hack.frob.com>
28790         * csu/elf-init.c (__libc_csu_init): Comment typo.
28792 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
28794         * po/pl.po: Update from translation team.
28795         * po/ja.po: Likewise.
28796         * po/ru.po: Likewise.
28797         * po/ko.po: Likewise.
28798         * po/fr.po: Likewise.
28800 2011-07-09  Roland McGrath  <roland@hack.frob.com>
28802         * configure.in (.ctors/.dtors header and trailer check):
28803         Use an empirical test on a built program.
28804         * configure: Regenerated.
28806         * configure.in (-z relro check): Use an empirical test on a built DSO.
28807         Detect, but do not require, on ia64.
28808         * configure: Regenerated.
28810         * configure.in (READELF): Find it with AC_CHECK_TOOL.
28811         Update tests that use readelf to use $READELF instead.
28812         * configure: Regenerated.
28814 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
28816         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
28817         if the result is not used.
28819 2011-07-05  Andreas Jaeger  <aj@suse.de>
28821         [BZ#9696]
28822         * stdlib/tst-strtod.c: Add testcase.
28824 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
28826         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
28827         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
28828         The latter has a higher limit.  Take additional parameter to pass to
28829         the new function.
28830         (__pathconf): Pass file to __statfs_link_max.
28831         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
28832         __statfs_link_max.
28833         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
28834         __statfs_link_max.
28836         [BZ #12868]
28837         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
28838         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
28839         Handle Lustre.
28840         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
28841         (__statfs_filesize_max): Likewise.
28842         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
28844 2011-07-05  Andreas Jaeger  <aj@suse.de>
28846         * resolv/res_comp.c (dn_skipname): Remove unused variable.
28848 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
28850         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
28851         `status' variable.
28852         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
28853         Likewise.
28855 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
28857         * Makefile (strop-tests): Add strncat.
28858         * string/test-strncat.c: New file.
28860 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
28862         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
28864 2011-06-21  Andreas Jaeger  <aj@suse.de>
28866         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
28867         Copy rule from iconvdata/Makefile.
28869 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
28871         [BZ #12922]
28872         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
28873         but no long options are defined, just return 'W'.
28875 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
28877         [BZ #9696]
28878         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
28880 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
28882         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
28883         netgroups to read.
28884         (innetgr): Likewise.
28886 2011-07-05  Roland McGrath  <roland@hack.frob.com>
28888         * config.make.in (install_root): Default to $(DESTDIR).
28890 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
28892         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
28894 2011-07-02  Roland McGrath  <roland@hack.frob.com>
28896         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
28898         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
28899         containing directory rather than embedding absolute directory names.
28901         * scripts/check-local-headers.sh: Rewritten using awk.
28902         Match by word, not by line.  Print error messages for matches.
28903         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
28905         * Makerules [shlib-lds-flags empty]:
28906         ($(common-objpfx)libc_pic.opts): New target.
28907         ($(common-objpfx)libc_pic.os.clean): New target.
28908         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
28910         * config.make.in (OBJCOPY): New variable.
28911         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
28912         * configure: Regenerated.
28914         * config.make.in (use-default-link): New variable.
28915         * configure.in (use_default_link): Grok --with-default-link to set it.
28916         * configure: Regenerated.
28917         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
28918         (shlib-lds, shlib-lds-flags): Define to empty.
28920         * Makerules (shlib-lds): New variable.
28921         (shlib-lds-flags): New variable.
28922         (build-shlib, build-moduile, build-module-asneeded): Use it.
28923         ($(common-objpfx)libc.so): Use $(shlib-lds).
28924         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
28925         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
28927         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
28928         DT_FLAGS/DT_FLAGS_1 with zero flags.
28930         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
28931         linker script munging.
28933 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
28935         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
28936         as 128-bit value.
28937         * crypt/sha512.c (sha512_process_block): Perform total addition using
28938         128-bit if possible.
28939         (__sha512_finish_ctx): Likewise.
28940         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
28941         as 64-bit value.
28942         * crypt/sha256.c (SWAP64): Define.
28943         (sha256_process_block): Perform total addition using 64-bit if
28944         possible.
28945         (__sha256_finish_ctx): Likewise.
28947 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
28949         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
28950         * nscd/initgrcache.c (addinitgroupsX): Likewise.
28951         * nscd/hstcache.c (cache_addhst): Likewise.
28952         * nscd/grpcache.c (cache_addgr): Likewise.
28953         * nscd/aicache.c (addhstaiX): Likewise
28954         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
28956 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
28958         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
28959         * nscd/initgrcache.c (addinitgroupsX): Likewise.
28960         * nscd/hstcache.c (cache_addhst): Likewise.
28961         * nscd/grpcache.c (cache_addgr): Likewise.
28962         * nscd/aicache.c (addhstaiX): Likewise
28964 2011-07-01  Andreas Schwab  <schwab@redhat.com>
28966         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
28967         domain only when needed.
28969 2011-06-30  Andreas Schwab  <schwab@redhat.com>
28971         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
28972         is always restored.
28974 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
28976         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
28977         are re-adding the entry.
28978         * nscd/servicescache.c (cache_addserv): Likewise.
28980 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
28982         * sysdeps/generic/dl-irel.h: fix protection against multiple
28983         inclusions.
28984         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
28986 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
28988         [BZ #12935]
28989         * malloc/memusage.sh: Fix quoting in message.
28990         * debug/xtrace.sh: Likewise.
28992         * configure.in: Remove support for --experimental-malloc option, make
28993         it the default.
28994         * config.make.in: Likewise.
28995         * malloc/Makefile: Likewise.
28997 2011-06-27  Andreas Schwab  <schwab@redhat.com>
28999         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
29000         two-byte characters.
29002 2011-06-27  Roland McGrath  <roland@hack.frob.com>
29004         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
29005         AC_CACHE_CHECK invocation.
29006         * configure: Regenerated.
29008         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
29010 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
29012         [BZ #12350]
29013         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
29014         bit from old_res_options.
29016         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
29018         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
29019         value type for setfct.
29021 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
29023         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
29024         __gettimeofday instead of gettimeofday.
29026 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
29028         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
29030 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
29032         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
29034         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
29035         info.
29037 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
29039         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
29040         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
29041         strcpy-sse2-unaligned strncpy-sse2-unaligned
29042         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
29043         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
29044         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
29045         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
29046         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
29047         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
29048         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
29049         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
29050         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
29051         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
29052         (STRCPY): Support SSE2 and SSSE3 versions.
29054 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
29056         [BZ #12874]
29057         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
29058         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
29059         kernels which artificially limit size of requests.
29061 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
29063         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
29064         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
29065         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
29066         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
29067         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
29068         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
29069         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
29070         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
29071         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
29072         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
29073         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
29074         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
29075         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
29076         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
29077         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
29078         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29079         Enable unaligned load optimization for Intel Core i3, i5 and i7
29080         processors.
29081         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
29082         Define.
29083         (index_Fast_Unaligned_Load): Define.
29084         (HAS_FAST_UNALIGNED_LOAD): Define.
29086 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
29088         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
29090 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
29092         [BZ #12907]
29093         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
29094         until it is clear that the information is realy needed.
29095         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
29097 2011-06-22  Andreas Schwab  <schwab@redhat.com>
29099         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
29101 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
29103         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
29104         /sys/devices/system/cpu/online if it is usable.
29106         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
29107         reading the information from the /proc filesystem to once a second.
29109 2011-06-21  Andreas Jaeger  <aj@suse.de>
29111         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
29112         NULL after inclusion of kernel headers.
29114 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
29116         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
29117         calls to internal_setent.
29119         [BZ #12885]
29120         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
29121         addresses using gethostbyname4_r ignore IPv4 addresses.
29123         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
29124         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
29126         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
29128 2011-06-20  David S. Miller  <davem@davemloft.net>
29130         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
29131         inclusions.
29132         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
29134         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
29135         (elf_irel): Use it.
29136         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
29137         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
29138         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
29139         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
29140         * sysdeps/x86_64/dl-irel.h: Likewise.
29142         * elf/dl-runtime.c: Use elf_ifunc_invoke.
29143         * elf/dl-sym.c: Likewise.
29145 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
29147         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
29148         need to dereference resplen2.
29150 2011-06-14  Andreas Schwab  <schwab@redhat.com>
29152         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
29154 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
29156         * Makeconfig: Define vardbdir and inst_vardbdir.
29157         * nss/Makefile: Add rules to install db-Makefile.
29159         * nss/nss_db/db-XXX.c: Cleanup.
29161         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
29162         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
29163         GLIBC_PRIVATE.
29164         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
29165         * nss/makedb.c: Implement -g option to specify that value strings
29166         are generated and should not be added to table iterated over for
29167         get*ent calls.
29168         * nss/nss_db/db-initgroups.c: New file.
29170         * nss/getent.c: Add support for initgroups lookups through getgrouplist
29171         interface.
29173         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
29174         (internal_getgrouplist): Adjust to name change.
29175         Update use_initgroups_entry if this is not the first call.
29176         * nss/databases.def: Add initgroups entry.
29178         * nss/makedb.c (compute_tables): Check result of multiple hash table
29179         sizes to minimize maximum chain length.
29181 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
29183         * Versions.def: Add entry for libnss_db.
29184         * shlib-versions: Likewise.
29185         * nss/Makefile: Add rules to build libnss_db.
29186         * nss/Versions: Add libnss_db information.  Organize libnss_files
29187         entries better.
29188         * nss/db-Makefile: Add gshadow support.  Change rules for the new
29189         makedb progra.  Some minor improvements to generate smaller files.
29190         * nss/nss_db/nss_db.h: Move NSS database header data structures to
29191         here from...
29192         * nss/makedb.c: ...here.
29193         Improve database format to be smaller and require less memory at
29194         runtime.
29195         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
29196         db anymore.
29197         * nss/nss_db/db-netgrp.c: Likewise.
29198         * nss/nss_db/db-open.c: Likewise.
29199         * nss/nss_files/flies-XXX.x: Adjust comments.
29200         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
29201         * nss/nss_files/files-grp.c: Likewise.
29202         * nss/nss_files/files-hosts.c: Likewise.
29203         * nss/nss_files/files-network.c: Likewise.
29204         * nss/nss_files/files-proto.c: Likewise.
29205         * nss/nss_files/files-pwd.c: Likewise.
29206         * nss/nss_files/files-rpc.c: Likewise.
29207         * nss/nss_files/files-service.c: Likewise.
29208         * nss/nss_files/files-sgrp.c: Likewise.
29209         * nss/nss_files/files-spwd.c: Likewise.
29210         * nss/nss_db/db-alias.c: Removed.
29211         * nss/nss_db/dummy-db.h: Removed.
29213 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
29215         * nss/makedb.c: Rewritten to not use database library.
29216         * nss/Makefile: Update to build new makedb program.
29218 2011-06-14  Andreas Jaeger  <aj@suse.de>
29220         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
29221         memset declaration.
29223 2011-06-10  Andreas Schwab  <schwab@redhat.com>
29225         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
29226         tmpbuf.
29228 2011-06-10  Roland McGrath  <roland@hack.frob.com>
29230         * Makerules (shlib.lds): Fail if the linker script comes out empty.
29231         * elf/Makefile ($(objpfx)ld.so): Likewise.
29233         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
29234         Don't list ld.so twice in dependencies.
29236         * posix/bug-regex31.c: Include <stdlib.h>.
29238         * nscd/hstcache.c (cache_addhst): Remove unused variable.
29240         * nis/nss_compat/compat-spwd.c
29241         (getspent_next_nss_netgr): Remove unused variable.
29242         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
29244         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
29245         nonmembers" output to use the right array.
29247         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
29249         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
29251         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
29252         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
29253         * catgets/gencat.c (read_input_file): Likewise.
29254         * locale/programs/locarchive.c (enlarge_archive): Likewise.
29256         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
29257         variable definition inside #if's controlling its use.
29259         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
29261         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
29263         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
29265         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
29266         unreachable code.
29268         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
29270         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
29271         * configure: Regenerated.
29273         * Makerules: Revert last change.
29274         * elf/Makefile: Likewise.
29276 2011-06-09  Roland McGrath  <roland@hack.frob.com>
29278         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
29279         * elf/Makefile ($(objpfx)librtld.os): Likewise.
29280         (reloc-link): Likewise.
29282 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
29284         * elf/Makefile: Add rules to build pldd.
29285         * elf/pldd.c: New file.
29286         * elf/pldd-xx.c: New file.
29288 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
29290         * version.h: Update for 2.15 development version.
29292 2011-06-07  David S. Miller  <davem@davemloft.net>
29294         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
29295         ifuncs.
29296         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
29297         elf_machine_lazy_rel): Likewise.
29298         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
29299         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
29300         elf_machine_lazy_rel): Likewise.
29301         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
29302         dl_hwcap via passed in argument.
29303         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
29304         Likewise.
29306 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
29308         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
29310 2011-06-06  Roland McGrath  <roland@hack.frob.com>
29312         [BZ #12849]
29313         * manual/fdl-1.1.texi: New file, verbatim from:
29314         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
29315         * manual/lgpl-2.1.texi: New file, verbatim from:
29316         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
29317         * manual/Makefile (licenses): New variable, list those new file names.
29318         (texis): Use it.
29319         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
29321         * manual/fdl.texi: File removed.
29322         * manual/lesser.texi: File removed.
29323         * manual/libc.texinfo (Copying, Documentation License):
29324         Use new @include file names, put @appendix directive before @include.
29326 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
29328         [BZ #12841]
29329         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
29330         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
29331         (mq_open): Add __NTH.
29333 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
29335         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29336         Assume Intel Core i3/i5/i7 processor if AVX is available.
29338 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
29340         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
29341         typo.
29343 2011-05-31  Andreas Schwab  <schwab@redhat.com>
29345         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
29346         memory.  Use alloca_account.  Fix memory leak when retrying.
29348 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
29350         * version.h (RELEASE): Bump for 2.14 release.
29351         * include/features.h (__GLIBC_MINOR__): Bump to 14.
29353         * config.make.in (RANLIB): Remove entry.
29355 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
29357         * po/Makefile (po-sed-cmd): Add ksh to extensions.
29358         (libc.pot): Work around missing support for .ksh extension in xgettext.
29360         [BZ #12684]
29361         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
29362         if both request failed.
29363         (send_dg): In case of server errors clear resplen or *resplen2.
29365         [BZ #12454]
29366         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
29367         when there are multiple maps.
29368         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
29369         (_dl_fini): Remove test here.
29371         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
29373 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
29375         [BZ #12350]
29376         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
29377         bit from old_res_options.
29378         (gaih_inet): Likewise.
29380         [BZ #11099]
29381         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
29382         as signed.
29384         * resolv/res_init.c (res_setoptions): Make the code more compact.
29386         [BZ #11558]
29387         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
29388         set RES_USEVC.
29390         [BZ #11634]
29391         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
29393         * malloc/malloc.h: Mark malloc hook variables as deprecated.
29395         [BZ #11781]
29396         * malloc/malloc.h: Declare malloc hook variables as volatile.
29398         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
29399         in last patch.
29401         [BZ #11799]
29402         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
29403         raise in the comment.
29404         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
29405         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
29406         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
29408 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
29410         [BZ #12811]
29411         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
29412         grow the buffers more if it already has to be sufficient.
29413         (build_wcs_upper_buffer): Likewise.
29414         * posix/regexec.c (check_matching): Likewise.
29415         (clean_state_log_if_needed): Likewise.
29416         (extend_buffers): Don't enlarge buffers beyond size of the input
29417         buffer.
29418         Patches mostly by Emil Wojak <emil@wojak.eu>.
29419         * posix/bug-regex32.c: New file.
29420         * posix/Makefile (tests): Add bug-regex32.
29422         * locale/findlocale.c (_nl_find_locale): Return right away if
29423         _nl_explode_name failed.
29424         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
29426         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
29428         * debug/xtrace.sh: Unify messages.
29429         * malloc/memusage.sh: Likewise.
29431         [BZ #12813]
29432         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
29433         time symbol from vDSO.  Substitute with vsyscall if not available.
29434         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
29435         __vdso_time.
29437         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
29438         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
29439         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
29440         Add sendmmsg and internal_sendmmsg.
29441         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
29442         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
29443         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
29445         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
29446         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
29447         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
29449 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
29451         [BZ #12813]
29452         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
29453         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
29454         available.
29455         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
29456         __vdso_getcpu.
29458         [BZ #12814]
29459         * iconvdata/Makefile (tests): Add bug-iconv9.
29460         * iconvdata/bug-iconv9.c: New file.
29462 2011-05-27  Andreas Schwab  <schwab@redhat.com>
29464         [BZ #12814]
29465         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
29467 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
29469         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
29470         (struct user_regs_struct): Change intcs field back to cs.
29472 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
29474         * po/ja.po: Update from translation team.
29476 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
29478         [BZ #12795]
29479         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
29480         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
29482 2011-05-20  Andreas Schwab  <schwab@redhat.com>
29484         * stdlib/longlong.h: Update from GCC.
29486 2011-05-23  Andreas Schwab  <schwab@redhat.com>
29488         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
29489         parameter name.
29490         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
29491         Add parameter name.
29492         (__sysconf): Pass it down.
29494 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
29496         [BZ #12671]
29497         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
29498         some situations.
29499         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
29500         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
29501         add in in __libc_use_alloca calls.  Adjust callers.
29502         (glob): Use malloc in some situations.
29504         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
29505         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
29506         pltexit.
29508 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
29510         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
29511         and CLOCK_BOOTTIME_ALARM.
29513         [BZ #12782]
29514         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
29515         is returned.
29517         * string/_strerror.c (__strerror_r): Print negative errors as signed
29518         numbers.
29520         [BZ #12777]
29521         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
29522         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
29523         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
29525         * configure.in: Fix typo in redirection and correct removal of test
29526         files in two cases.
29528         [BZ #12788]
29529         * locale/setlocale.c (new_composite_name): Fix test to check for
29530         identical name of all categories.
29532         [BZ #12792]
29533         * libio/filedoalloc.c (local_isatty): New function.
29534         (_IO_file_doallocate): Use local_isatty.
29535         * stdio-common/perror.c (perror): In case a new stream is used
29536         forward the stream error.
29537         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
29538         error flag.
29540 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
29542         [BZ #11869]
29543         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
29544         alloca.
29545         * include/alloca.h (extend_alloca_account): Define.
29547         [BZ #11857]
29548         * posix/regex.h: Fix comments with documentation of user-accessible
29549         fields after compilation and describe correct free'ing of pattern
29550         after re_compile_pattern.
29551         Patch by Reuben Thomas <rrt@sc3d.org>.
29553 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
29555         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
29556         and -mno-altivec to prevent the compiler from using Altivec and/or
29557         VSX instructions when the corresponding registers are not available.
29559 2011-05-19  Andreas Schwab  <schwab@redhat.com>
29561         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
29563 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
29565         * libio/freopen.c (freopen): Use __dup2, not dup2.
29566         * libio/freopen64.c (freopen64): Likewise.
29568 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
29570         [BZ #12775]
29571         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
29572         * math/Makefile (tests): Add test-powl.
29573         (CFLAGS-test-powl.c): Define.
29574         * math/test-powl.c: New file.
29576 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
29578         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
29580 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
29582         [BZ #11837]
29583         * iconvdata/gb18030.c: Update to GB18020-2005.
29585 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
29587         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
29588         RE_SYNTAX_POSIX_AWK): Update to match recent development.
29589         Patch by Aharon Robbins <arnold@skeeve.com>.
29591         [BZ #11892]
29592         * stdlib/putenv.c (putenv): Don't always create copy of the variable
29593         on the stack.
29595         [BZ #11895]
29596         * misc/pselect.c (__pselect): Handle timeout value errors hidden
29597         through underflows.
29599         [BZ #12766]
29600         * misc/error.c (error_at_line): Ensure file_name and old_file_name
29601         point to strings before performing equality test for error_one_per_line
29602         mode.
29604         [BZ #11697]
29605         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
29607         [BZ #11820]
29608         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
29609         (struct user_fpregs_struct): Avoid __uint*_t types.
29611         [BZ #6420]
29612         * malloc/mtrace.c (tr_where): Add additional parameter to point to
29613         symbol info.  Use it instead of calling _dl_addr locally.
29614         (lock_and_info): New function.
29615         (tr_freehook): Call lock_and_info and pass symbol info as additional
29616         parameter to tr_where.
29617         (tr_mallochook): Likewise.
29618         (tr_reallochook): Likewise.
29619         (tr_memalignhook): Likewise.
29621         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
29622         used and couldn't be at all thread-safe.
29624 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
29626         * libio/freopen.c (freopen): Don't close old file descriptor
29627         before the new one is opened.  Instead dup the new file descriptor
29628         to the old one after the new stream is created.
29629         * libio/freopen64.c (freopen64): Likewise.
29630         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
29631         * libio/fileops.c (_IO_new_file_close_it): Handle new
29632         _IO_FLAGS2_NOCLOSE flag.
29633         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
29634         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
29635         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
29636         _IO_FLAGS2_NOCLOSE flag.
29637         * include/unistd.h: Add hidden_proto for dup3.
29638         Define __have_dup3.
29639         * io/dup3.c: Define hidden symbol.
29640         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
29642         [BZ #7101]
29643         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
29644         when an incomplete long option is used.
29645         * posix/tst-getopt_long1.c: New file.
29646         * posix/Makefile (tests): Add tst-getopt_long1.
29648         [BZ #10138]
29649         * scripts/config.guess: Update from autoconf-2.68.
29650         * scripts/config.sub: Likewise.
29652         [BZ #10157]
29653         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
29654         tests into ...
29655         (has_cpuclock): ...this.  New function.
29656         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
29657         macro here based on has_cpuclock code.
29659         [BZ #10149]
29660         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
29661         First byte (not low byte) is now always NUL.
29662         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
29664         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
29665         Use non-cancelable interfaces.
29667         [BZ #9809]
29668         * locale/iso-639.def: Add entry for Sorani.
29670         [BZ #11901]
29671         * include/stdlib.h: Move include protection to the right place.
29672         Define abort_msg_s.  Declare __abort_msg with it.
29673         * stdlib/abort.c (__abort_msg): Adjust type.
29674         * assert/assert.c (__assert_fail_base): New function.  Majority
29675         of code from __assert_fail.  Allocate memory for __abort_msg with
29676         mmap.
29677         (__assert_fail): Now call __assert_fail_base.
29678         * assert/assert-perr.c: Remove bulk of implementation.  Use
29679         __assert_fail_base.
29680         * include/assert.hL Declare __assert_fail_base.
29681         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
29682         mmap.
29683         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
29685 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
29687         [BZ #11952]
29688         [BZ #12453]
29689         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
29690         until all modules are registered in the DTV.
29691         * elf/Makefile: Add rules to build and run tst-tls19.
29692         * elf/tst-tls19.c: New file.
29693         * elf/tst-tls19mod1.c: New file.
29694         * elf/tst-tls19mod2.c: New file.
29695         * elf/tst-tls19mod3.c: New file.
29696         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
29698         [BZ #12083]
29699         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
29700         correctly.
29702         [BZ #12601]
29703         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
29704         two-byte sequence errors.
29705         * iconvdata/Makefile (tests): Add bug-iconv8.
29706         * iconvdata/bug-iconv8.c: New file.
29708         [BZ #12626]
29709         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
29710         buf2 definition.
29712         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
29714         [BZ #12432]
29715         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
29716         (dummy_getcfa): New function.
29717         (init): Get _Unwind_GetCFA address, use dummy if not found.
29718         (backtrace_helper): In recursion check, also check whether CFA changes.
29719         (__backtrace): Completely initialize arg.
29721         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
29722         storing incomplete byte sequence in state object.  Avoid testing for
29723         guaranteed too small input if we know there is enough data available.
29725 2011-05-11  Andreas Schwab  <schwab@redhat.com>
29727         * Makeconfig (+link-pie): Indent.
29728         * Rules (binaries-pie): Define if $(have-fpie) and
29729         $(build-shared).
29730         (binaries-shared): Also filter out $(binaries-pie).
29731         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
29732         * nscd/Makefile (others-pie): Add nscd.
29733         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
29734         ($(objpfx)nscd): Remove command override.
29735         * login/Makefile (others-pie): Add pt_chown.
29736         ($(objpfx)pt_chown): Remove command override.
29737         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
29738         remove command overrides.
29740 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
29742         * libio/tst_putwc.c: Fix error messages.
29744         [BZ #12724]
29745         * libio/fileops.c (_IO_new_file_close_it): Always flush when
29746         currently writing and seek to current position when not.
29747         * libio/Makefile (tests): Add bug-fclose1.
29748         * libio/bug-fclose1.c: New file.
29750 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
29752         [BZ #12511]
29753         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
29754         don't set DF_1_NODELETE here.
29755         (do_lookup_x): When entering new entry test for copy relocation
29756         and if necessary set DF_1_NODELETE flag.
29757         * elf/tst-unique4.cc: New file.
29758         * elf/tst-unique4.h: New file.
29759         * elf/tst-unique4lib.cc: New file.
29760         * elf/Makefile: Add rules to build and run tst-unique4.
29761         Patch by Piotr Bury <pbury@goahead.com>.
29763 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
29765         [BZ #12052]
29766         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
29768         [BZ #12625]
29769         * misc/mntent_r.c (addmntent): Flush the stream after the output
29771         [BZ #12393]
29772         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
29773         (is_trusted_path_normalize): Skip initial colon.  Append slash
29774         to empty buffer.  Duplicate is_trusted_path code but allow
29775         constructed patch to be prefix.
29776         (is_dst): Allow $ORIGIN followed by /.
29777         (_dl_dst_substitute): Correct clearing of check_for_trusted.
29778         Correct testing of result of is_trusted_path_normalize
29779         (decompose_rpath): Fix warning.
29781 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
29783         [BZ #11257]
29784         * grp/initgroups.c (internal_getgrouplist): When we found the service
29785         list through the initgroups entry in nsswitch.conf do not always
29786         continue on a successful lookup.  Don't always use the
29787         __nss_group_database value if it is set.
29788         * nss/nsswitch.conf (initgroups): Change action for successful db
29789         lookup to continue for compatibility.
29791 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
29793         [BZ #11532]
29794         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
29795         and CP774 modules.
29796         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
29797         and CP774 modules.
29798         * iconvdata/tst-tables.sh: Likewise.
29799         * iconvdata/cp770.c: New file.
29800         * iconvdata/cp771.c: New file.
29801         * iconvdata/cp772.c: New file.
29802         * iconvdata/cp773.c: New file.
29803         * iconvdata/cp774.c: New file.
29804         * iconvdata/testdata/CP770: New file.
29805         * iconvdata/testdata/CP770..UTF8: New file.
29806         * iconvdata/testdata/CP771: New file.
29807         * iconvdata/testdata/CP771..UTF8: New file.
29808         * iconvdata/testdata/CP772: New file.
29809         * iconvdata/testdata/CP772..UTF8: New file.
29810         * iconvdata/testdata/CP773: New file.
29811         * iconvdata/testdata/CP773..UTF8: New file.
29812         * iconvdata/testdata/CP774: New file.
29813         * iconvdata/testdata/CP774..UTF8: New file.
29815         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
29816         END CHARMAP line.
29817         * iconvdata/gen-8bit-gap.sh: Likewise.
29818         * iconvdata/gen-8bit.sh: Likewise.
29820         * locale/iso-639.def: Add ary entry.
29822         [BZ #11258]
29823         * locale/C-translit.h.in: Add U20A1 transliteration.
29825         [BZ #12178]
29826         * locale/iso-639.def: Add wae entry.
29827         Patch by Kevin Bortis <bortis@translate-wae.ch>.
29829         [BZ #12545]
29830         * locale/programs/localedef.c (construct_output_path): Use ssize_t
29831         for n.
29833         [BZ #12711]
29834         * locale/C-translit.h.in: Add entry for U20B9.
29835         Patch by pravin.d.s@gmail.com.
29837 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
29839         [BZ #12713]
29840         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
29841         ENAMETOOLONG use generic getcwd.
29842         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
29843         in rtld.  Use *stat64.
29844         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
29845         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
29846         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
29847         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
29848         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
29849         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
29850         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
29851         __fstatat64 macros.
29852         * include/dirent.h: Add libc_hidden_proto for rewinddir.
29853         * dirent/rewinddir.c: Add libc_hidden_def.
29854         * sysdeps/mach/hurd/rewinddir.c: Likewise.
29855         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
29857         * include/dirent.h (__alloc_dir): Add flags parameter.
29858         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
29859         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
29860         __alloc_dir.
29861         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
29862         from fdopendir if O_CLOEXEC is already set.
29864 2011-03-15  Alan Modra  <amodra@gmail.com>
29866         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
29867         l_tls_firstbyte_offset non-zero.  Save padding offset in
29868         l_tls_firstbyte_offset for later use.
29869         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
29870         freeing static tls block.
29872 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
29874         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
29875         where #ifdef was intended.  The intent is to prevent ARG_MAX from
29876         being defined by the kernel headers.
29878 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
29880         [BZ #12734]
29881         * resolv/resolv.h: Define RES_NOTLDQUERY.
29882         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
29883         no-tld-query and set RES_NOTLDQUERY.
29884         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
29885         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
29886         modern BIND to search name as TLD unless forbidden.
29888 2011-05-07  Petr Baudis  <pasky@suse.cz>
29889             Ulrich Drepper  <drepper@gmail.com>
29891         [BZ #12393]
29892         * elf/dl-load.c (fillin_rpath): Move trusted path check...
29893         (is_trusted_path): ...to here.
29894         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
29895         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
29896         using is_trusted_path_normalize() in setuid scripts.
29898 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
29900         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
29901         __BEGIN/__END_DECLS.
29903 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
29905         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
29906         NSS_STATUS_NOTFOUND if no record was found.
29908 2011-05-05  Andreas Schwab  <schwab@redhat.com>
29910         * sunrpc/Makefile (headers): Add rpc/netdb.h.
29911         (headers-not-in-tirpc): Remove rpc/netdb.h
29912         * resolv/netdb.h: Revert last change.
29914 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
29916         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
29917         circular dependency between libgcc.a and libc.a.
29919 2011-05-05  Andreas Schwab  <schwab@redhat.com>
29921         * resolv/netdb.h: Don't include <rpc/netdb.h>.
29922         * nis/Makefile: Don't install rpcsvc/*.
29923         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
29924         instead of <rpc/types.h>.
29925         (MAXHOSTNAMELEN): Define.
29927 2011-05-03  Andreas Schwab  <schwab@redhat.com>
29929         * elf/ldconfig.c (add_dir): Don't crash on empty path.
29931 2011-04-28  Maciej Babinski  <mbabinski@google.com>
29933         [BZ #12714]
29934         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
29935         gethostbyname4_r when IPv6 results are possible.
29937 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
29939         [BZ #12723]
29940         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
29941         _PC_PIPE_BUF handling.
29943 2011-04-30  Bruno Haible  <bruno@clisp.org>
29945         [BZ #12717]
29946         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
29947         * resolv/netdb.h (getnameinfo): Change type of flags parameter
29948         to 'int'.
29949         * inet/getnameinfo.c (getnameinfo): Likewise.
29951 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
29953         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
29954         to groups setting in database lookup.
29955         * nss/nsswitch.conf: Add initgroups entry.
29957 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
29959         [BZ #12685]
29960         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
29961         mode string.
29962         Patch by Eric Blake <eblake@redhat.com>.
29964 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
29966         * sunrpc/Makefile (need-export-routines): Add svc_run.
29967         (routines): Remove svc_run.
29968         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
29969         * sunrpc/clnt_perr.c (clnt_perrno): Export.
29970         * sunrpc/svc_run.c (svc_run): Likewise.
29971         * sunrpc/svc_udp.c (svcudp_create): Likewise.
29973 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
29975         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
29976         problem in reallocation in last patch.
29978 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
29980         * sunrpc/Makefile: Move inclusion of Rules.
29982 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
29984         * nss/nss_files/files-initgroups.c: New file.
29985         * nss/Makefile (libnss_files-routines): Add files-initgroups.
29986         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
29987         _nss_files_initgroups_dyn.
29989 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
29991         * elf/elf.h (R_ARM_IRELATIVE): Define.
29993 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
29995         * po/ru.po: Update from translation team.
29997 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
29999         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
30000         dependencies.
30002 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
30004         [BZ #12653]
30005         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
30006         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
30007         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
30008         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
30009         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
30011 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
30013         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
30014         differing bytes.
30015         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
30016         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
30017         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
30019 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
30021         [BZ #12420]
30022         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
30023         storing it.
30024         * stdlib/bug-getcontext.c: New file.
30025         * stdlib/Makefile: Add rules to build and run bug-getcontext.
30027 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
30029         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
30030         instructions into .machine "z9-109".
30031         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
30032         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
30034 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
30036         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
30037         between environment variables and auxiliary vector.
30039 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
30041         * Makefile: Add rules to build linkobj/libc.so.
30042         * include/libc-symbols.h: Define libc_hidden_nolink.
30043         * include/rpc/auth.h: Mark functions which are to be hidden.
30044         * include/rpc/auth_des.h: Likewise.
30045         * include/rpc/auth_unix.h: Likewise.
30046         * include/rpc/clnt.h: Likewise.
30047         * include/rpc/des_crypt.h: Likewise.
30048         * include/rpc/key_prot.h: Likewise.
30049         * include/rpc/pmap_clnt.h: Likewise.
30050         * include/rpc/pmap_prot.h: Likewise.
30051         * include/rpc/pmap_rmt.h: Likewise.
30052         * include/rpc/rpc_msg.h: Likewise.
30053         * include/rpc/svc.h: Likewise.
30054         * include/rpc/svc_auth.h: Likewise.
30055         * include/rpc/xdr.h: Likewise.
30056         * nis/Makefile: Link all DSOs against linkobj/libc.so.
30057         * nss/Makefile: Likewise.
30058         * sunrpc/Makefile: Don't install headers.  Build library with normal
30059         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
30060         * sunrpc/auth_des.c: Hide exported symbols by default, export some
30061         for the compat linking library.  Remove use of INTDEF/INTUSE.
30062         * sunrpc/auth_none.c: Likewise.
30063         * sunrpc/auth_unix.c: Likewise.
30064         * sunrpc/authdes_prot.c: Likewise.
30065         * sunrpc/authuxprot.c: Likewise.
30066         * sunrpc/clnt_gen.c: Likewise.
30067         * sunrpc/clnt_perr.c: Likewise.
30068         * sunrpc/clnt_raw.c: Likewise.
30069         * sunrpc/clnt_simp.c: Likewise.
30070         * sunrpc/clnt_tcp.c: Likewise.
30071         * sunrpc/clnt_udp.c: Likewise.
30072         * sunrpc/clnt_unix.c: Likewise.
30073         * sunrpc/des_crypt.c: Likewise.
30074         * sunrpc/des_soft.c: Likewise.
30075         * sunrpc/get_myaddr.c: Likewise.
30076         * sunrpc/key_call.c: Likewise.
30077         * sunrpc/key_prot.c: Likewise.
30078         * sunrpc/netname.c: Likewise.
30079         * sunrpc/pm_getmaps.c: Likewise.
30080         * sunrpc/pm_getport.c: Likewise.
30081         * sunrpc/pmap_clnt.c: Likewise.
30082         * sunrpc/pmap_prot.c: Likewise.
30083         * sunrpc/pmap_prot2.c: Likewise.
30084         * sunrpc/pmap_rmt.c: Likewise.
30085         * sunrpc/publickey.c: Likewise.
30086         * sunrpc/rpc_cmsg.c: Likewise.
30087         * sunrpc/rpc_common.c: Likewise.
30088         * sunrpc/rpc_dtable.c: Likewise.
30089         * sunrpc/rpc_prot.c: Likewise.
30090         * sunrpc/rpc_thread.c: Likewise.
30091         * sunrpc/rtime.c: Likewise.
30092         * sunrpc/svc.c: Likewise.
30093         * sunrpc/svc_auth.c: Likewise.
30094         * sunrpc/svc_authux.c: Likewise.
30095         * sunrpc/svc_raw.c: Likewise.
30096         * sunrpc/svc_run.c: Likewise.
30097         * sunrpc/svc_simple.c: Likewise.
30098         * sunrpc/svc_tcp.c: Likewise.
30099         * sunrpc/svc_udp.c: Likewise.
30100         * sunrpc/svc_unix.c: Likewise.
30101         * sunrpc/svcauth_des.c: Likewise.
30102         * sunrpc/xcrypt.c: Likewise.
30103         * sunrpc/xdr.c: Likewise.
30104         * sunrpc/xdr_array.c: Likewise.
30105         * sunrpc/xdr_float.c: Likewise.
30106         * sunrpc/xdr_intXX_t.c: Likewise.
30107         * sunrpc/xdr_mem.c: Likewise.
30108         * sunrpc/xdr_rec.c: Likewise.
30109         * sunrpc/xdr_ref.c: Likewise.
30110         * sunrpc/xdr_sizeof.c: Likewise.
30111         * sunrpc/xdr_stdio.c: Likewise.
30113 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
30115         [BZ #12650]
30116         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
30117         * sysdeps/ia64/dl-tls.h: Likewise.
30118         * sysdeps/powerpc/dl-tls.h: Likewise.
30119         * sysdeps/s390/dl-tls.h: Likewise.
30120         * sysdeps/sh/dl-tls.h: Likewise.
30121         * sysdeps/sparc/dl-tls.h: Likewise.
30122         * sysdeps/x86_64/dl-tls.h: Likewise.
30123         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
30125 2011-03-14  Andreas Schwab  <schwab@redhat.com>
30127         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
30128         rpath element also skip the following colon.
30129         (expand_dynamic_string_token): Add is_path parameter and pass
30130         down to DL_DST_REQUIRED and _dl_dst_substitute.
30131         (decompose_rpath): Call expand_dynamic_string_token with
30132         non-zero is_path.  Ignore empty rpaths.
30133         (_dl_map_object_from_fd): Call expand_dynamic_string_token
30134         with zero is_path.
30136 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
30138         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
30139         Make cancelable.
30141 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
30143         [BZ #12655]
30144         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
30145         Patch by Filipe David Manana <fdmanana@apache.org>.
30147 2011-04-07  Andreas Schwab  <schwab@redhat.com>
30149         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
30150         Maintain aligned stack.
30151         (CHECK_RSP): Remove unused macro.
30153 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
30155         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
30156         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
30158 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
30160         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
30162         * include/features.h: Mention __USE_XOPEN2K8 in comment.
30164 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
30166         [BZ #12518]
30167         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
30168         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
30169         * sysdeps/x86_64/memmove.c: New file.
30170         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
30171         (memcpy): Renamed to ...
30172         (__new_memcpy): This.
30173         (memcpy): Provide GLIBC_2_14 memcpy.
30174         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
30175         (memcpy): Provide GLIBC_2_2_5 memcpy.
30177 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
30179         [BZ #12631]
30180         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
30182 2011-03-30  Andreas Schwab  <schwab@redhat.com>
30184         * misc/syncfs.c: New file.
30185         * misc/Makefile (routines): Add syncfs.
30186         * posix/unistd.h: Declare syncfs.
30187         * sysdeps/unix/syscalls.list: Add syncfs.
30189 2011-04-01  Andreas Schwab  <schwab@redhat.com>
30191         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
30192         open_by_handle_at.
30193         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
30194         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
30195         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
30196         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
30197         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
30198         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
30199         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
30201 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
30203         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
30204         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
30205         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
30206         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
30207         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
30208         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
30209         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
30211         * io/Makefile: Compile fallocate.c, fallocate64.c, and
30212         sync_file_range.c with -fexceptions.
30213         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
30214         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
30215         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
30216         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
30217         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
30218         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
30219         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
30220         sync_file_range as cancellation point
30221         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
30222         now a wrapper around __call_sync_file_range with cancellation handling.
30223         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
30224         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
30225         function name to __call_sync_file_range.
30226         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
30227         Add call_sync_file_range.
30229 2011-04-01  Andreas Schwab  <schwab@redhat.com>
30231         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30232         bits/timex.h.
30234 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
30236         * iconv/iconv.h: Fix typo in comment.
30237         * io/fcntl.h: Likewise.
30238         * libio/stdio.h: Likewise.
30239         * posix/spawn.h: Likewise.
30240         * posix/unistd.h: Likewise.
30241         * stdlib/stdlib.h: Likewise.
30242         * time/time.h: Likewise.
30243         * wcsmbs/wchar.h: Likewise.
30245         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
30246         open_by_handle): Add.
30247         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
30248         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
30249         Augment a few comments.
30250         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
30251         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
30252         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
30253         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
30254         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
30255         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
30256         open_by_handle.
30258         * io/fcntl.h (AT_EMPTY_PATH): Define.
30260 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
30262         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
30263         * sysdeps/unix/sysv/linux/bits/time.h: New file.
30264         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
30265         to...
30266         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
30267         * Versions.def: Add GLIBC_2.14.
30268         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
30269         Export.
30271 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
30273         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
30274         round counter.
30275         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
30277 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
30279         [BZ #12597]
30280         * string/test-strncmp.c (do_page_test): New function.
30281         (check2): Likewise.
30282         (test_main): Call check2.
30283         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
30285 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
30287         [BZ #12587]
30288         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
30289         Handle cache information in CPU leaf 4.
30290         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
30292 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
30294         [BZ #12583]
30295         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
30296         character representation.
30297         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
30299 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
30301         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
30302         END(__isnan) to END(__isnanf) to match function entry point/label
30303         EALIGN(__isnanf,...).
30305 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
30307         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
30309 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
30311         [BZ #12510]
30312         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
30313         copy from the symbol referenced in the relocation to initialize the
30314         used variable.
30315         Patch by Piotr Bury <pbury@goahead.com>.
30316         * elf/Makefile: Add rules to build and tst-unique3.
30317         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
30318         * elf/tst-unique3.cc: New file.
30319         * elf/tst-unique3.h: New file.
30320         * elf/tst-unique3lib.cc: New file.
30321         * elf/tst-unique3lib2.cc: New file.
30323         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
30325 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
30327         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
30328         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
30329         to _start.
30331 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
30333         * elf/dl-load.c (_dl_map_object): If we are looking for the first
30334         to-be-loaded object along a path to loader is ld.so.
30336 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
30337             Ulrich Drepper  <drepper@gmail.com>
30339         * sysdeps/x86_64/memset.S: After aligning destination, code
30340         branches to different locations depending on the value of
30341         misalignment, when multiarch is enabled. Fix this.
30343 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
30345         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
30346         Set _x86_64_preferred_memory_instruction for AMD processsors.
30347         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30348         Set bit_Prefer_SSE_for_memop for AMD processors.
30350 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
30352         * libio/fmemopen.c (fmemopen): Optimize a bit.
30354 2011-03-03  Andreas Schwab  <schwab@redhat.com>
30356         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
30358 2011-03-03  Roland McGrath  <roland@redhat.com>
30360         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
30362 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
30364         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
30365         __bzero_ultra1 instead of __memset_ultra1.
30367 2011-02-23  Andreas Schwab  <schwab@redhat.com>
30368             Ulrich Drepper  <drepper@gmail.com>
30370         [BZ #12509]
30371         * include/link.h (struct link_map): Add l_orig_initfini.
30372         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
30373         returning unsuccessfully.
30374         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
30375         close of a file loaded at startup, restore the original l_initfini
30376         list.
30377         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
30378         list, store the pointer.
30379         * elf/Makefile ($(objpfx)noload-mem): New rule.
30380         (noload-ENV): Define.
30381         (tests): Add $(objpfx)noload-mem.
30382         * elf/noload.c: Include <memcheck.h>.
30383         (main): Call mtrace.  Close all opened handles.
30385 2011-02-17  Andreas Schwab  <schwab@redhat.com>
30387         [BZ #12454]
30388         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
30389         dependencies are missing.
30391 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
30393         Fix __if_freereq crash: Unlike the generic version which uses free,
30394         Hurd needs munmap.
30395         * sysdeps/mach/hurd/ifreq.h: New file.
30397 2011-01-27  Petr Baudis  <pasky@suse.cz>
30398             Ulrich Drepper  <drepper@gmail.com>
30400         [BZ 12445]#
30401         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
30402         to extend_alloca().
30403         * stdio-common/bug23.c: New file.
30404         * stdio-common/Makefile (tests): Add bug23.
30406 2010-09-28  Andreas Schwab  <schwab@redhat.com>
30407             Ulrich Drepper  <drepper@gmail.com>
30409         [BZ #12489]
30410         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
30411         before performing relro protection.  At old place add assertion
30412         to make sure nothing changed.
30414 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
30415             Glauber de Oliveira Costa  <glommer@gmail.com>
30417         * elf/elf.h: Add new ARM TLS relocs.
30419 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
30421         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
30422         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
30423         cast from r3.
30424         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
30425         'tests' variable.
30426         * sysdeps/wordsize-64/tst-writev.c: New file.
30428 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
30430         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
30431         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
30432         insns in _dl_start to prevent a TOC reference before relocs are
30433         resolved.
30435 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
30437         [BZ #12469]
30438         * Makeconfig: Remove RANLIB definition.
30439         * Makerules: Don't use RANLIB.
30440         * aclocal.m4: Remove ranlib test.
30441         * configure.in: No need to check for ranlib.
30442         * elf/rtld-Rules: Don't use RANLIB.
30444 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
30446         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
30447         protection macro.
30448         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
30449         inclusion protection macro.
30451         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
30452         SIGRTMIN and SIGRTMAX and print information in that case only when
30453         SIGRTMIN is defined.
30455 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
30457         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
30458         arginfo fn returning -1.
30460         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
30461         and thousands string is zero terminated.
30463 2011-02-03  Andreas Schwab  <schwab@redhat.com>
30465         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
30466         sysdeps/unix/sysv/linux/bits/socket.h.
30468 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
30470         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
30471         (__CPU_COUNT): Remove old macros.
30472         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
30473         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
30474         (__CPU_ALLOC, __CPU_FREE): Add macros.
30475         (__sched_cpualloc, __sched_cpufree): Add declarations.
30477 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
30479         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
30480         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
30481         * nscd/aicache.c (addhstaiX): Return timeout of added value.
30482         (readdhstai): Return value of addhstaiX call.
30483         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
30484         (addgrbyX): Return value returned by cache_addgr.
30485         (readdgrbyname): Return value returned by addgrbyX.
30486         (readdgrbygid): Likewise.
30487         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
30488         (addpwbyX): Return value returned by cache_addpw.
30489         (readdpwbyname): Return value returned by addhstbyX.
30490         (readdpwbyuid): Likewise.
30491         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
30492         (addservbyX): Return value returned by cache_addserv.
30493         (readdservbyname): Return value returned by addservbyX:
30494         (readdservbyport): Likewise.
30495         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
30496         (addhstbyX): Return value returned by cache_addhst.
30497         (readdhstbyname): Return value returned by addhstbyX.
30498         (readdhstbyaddr): Likewise.
30499         (readdhstbynamev6): Likewise.
30500         (readdhstbyaddrv6): Likewise.
30501         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
30502         (readdinitgroups): Return value returned by addinitgroupsX.
30503         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
30504         (prune_cache): Keep track of timeout value of re-added entries.
30505         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
30506         * nscd/nscd.h: Adjust prototypes of readd* functions.
30508 2011-02-04  Roland McGrath  <roland@redhat.com>
30510         * nis/nis_server.c (nis_servstate): Use the right name for 0.
30511         (nis_stats): Likewise.
30512         * nis/nis_modify.c (nis_modify): Likewise.
30513         * nis/nis_remove.c (nis_remove): Likewise.
30514         * nis/nis_add.c (nis_add): Likewise.
30516         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
30518         * posix/fnmatch_loop.c: Add some consts.
30520         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
30522 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
30524         [BZ #12460]
30525         * config.make.in (config-cflags-novzeroupper): Define.
30526         * configure.in: Substitute libc_cv_cc_novzeroupper.
30527         * elf/Makefile (AVX-CFLAGS): Define.
30528         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
30529         (CFLAGS-tst-auditmod4a.c): Likewise.
30530         (CFLAGS-tst-auditmod4b.c): Likewise.
30531         (CFLAGS-tst-auditmod6b.c): Likewise.
30532         (CFLAGS-tst-auditmod6c.c): Likewise.
30533         (CFLAGS-tst-auditmod7b.c): Likewise.
30534         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
30536 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
30538         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
30539         function to the callback.
30540         Patch partly by Jiri Olsa <jolsa@redhat.com>.
30542 2011-02-02  Andreas Schwab  <schwab@redhat.com>
30544         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
30545         of errno.
30547 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
30549         [BZ #11724]
30550         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
30551         of constructors.
30552         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
30553         of destructors.
30554         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
30556         [BZ #11724]
30557         * elf/Makefile: Add rules to build and run new test.
30558         * elf/tst-initorder.c: New file.
30559         * elf/tst-initorder.exp: New file.
30560         * elf/tst-initordera1.c: New file.
30561         * elf/tst-initordera2.c: New file.
30562         * elf/tst-initordera3.c: New file.
30563         * elf/tst-initordera4.c: New file.
30564         * elf/tst-initorderb1.c: New file.
30565         * elf/tst-initorderb2.c: New file.
30566         * elf/tst-order-a1.c: New file.
30567         * elf/tst-order-a2.c: New file.
30568         * elf/tst-order-a3.c: New file.
30569         * elf/tst-order-a4.c: New file.
30570         * elf/tst-order-b1.c: New file.
30571         * elf/tst-order-b2.c: New file.
30572         * elf/tst-order-main.c: New file.
30573         New test case by George Gensure <werkt0@gmail.com>.
30575 2010-10-01  Andreas Schwab  <schwab@redhat.com>
30577         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
30578         decoding ACE if AI_CANONIDN.
30580 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
30582         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
30584 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
30586         * version.h (RELEASE): Bump for 2.13 release.
30587         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
30589         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
30591         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
30592         MADV_NOHUGEPAGE.
30593         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
30594         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
30595         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
30596         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
30597         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
30598         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
30600         * posix/getconf.c: Update copyright year.
30601         * catgets/gencat.c: Likewise.
30602         * csu/version.c: Likewise.
30603         * debug/catchsegv.sh: Likewise.
30604         * debug/xtrace.sh: Likewise.
30605         * elf/ldconfig.c: Likewise.
30606         * elf/ldd.bash.in: Likewise.
30607         * elf/sprof.c (print_version): Likewise.
30608         * iconv/iconv_prog.c: Likewise.
30609         * iconv/iconvconfig.c: Likewise.
30610         * locale/programs/locale.c: Likewise.
30611         * locale/programs/localedef.c: Likewise.
30612         * malloc/memusage.sh: Likewise.
30613         * malloc/mtrace.pl: Likewise.
30614         * nscd/nscd.c (print_version): Likewise.
30615         * nss/getent.c: Likewise.
30617         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
30618         PF_CAIF, and PF_ALG.
30619         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
30621 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
30623         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
30624         (modules-names): Use them.
30625         (ifunc-test-modules, ifunc-pie-tests): Define.
30626         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
30627         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
30628         (test-extras): Likewise.
30629         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
30630         $(compile-command.c).
30631         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
30632         (all-built-dso): Define.
30633         (check-textrel.out, check-execstack.out): Depend on it.
30635         * configure.in: Don't override --enable-multi-arch.
30637 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
30639         [BZ #6812]
30640         * nscd/hstcache.c (tryagain): Define.
30641         (cache_addhst): Return tryagain not notfound for temporary errors.
30642         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
30643         failed.
30645 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
30647         [BZ #10563]
30648         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
30649         to make the syscall.
30650         * sysdeps/unix/sysv/linux/setgroups.c: New file.
30652         [BZ #12378]
30653         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
30654         and fall back to matching as normal character if the string ends before
30655         the matching ']' is found.  This is what POSIX requires.
30656         * posix/testfnm.c: Adjust test result.
30657         * posix/globtest.sh: Adjust test result.  Add new test.
30658         * posix/tst-fnmatch.input: Likewise.
30659         * posix/tst-fnmatch2.c: Add new test.
30661 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
30663         * elf/Makefile (check-execstack): Revert last change.  Depend on
30664         check-execstack.h.
30665         (check-execstack.h): New target.
30666         (generated): Add check-execstack.h.
30667         * elf/check-execstack.c: Include "check-execstack.h".
30668         (main): Revert last change.
30669         (handle_file): Return zero if GNU_STACK is absent and
30670         DEFAULT_STACK_PERMS doesn't include PF_X.
30672 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
30674         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
30675         in child fails because the descriptor is already closed.
30676         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
30677         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
30678         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
30680         [BZ #12397]
30681         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
30682         syscall.
30684         [BZ #10484]
30685         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
30686         temporary buffer used to handle multi lookups locally.
30687         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
30689 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
30691         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
30692         loader is ld.so.
30694 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
30696         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
30697         alignment for SSE2.
30699 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
30701         [BZ #12394]
30702         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
30703         characters.  When rounding increased number of integer digits recompute
30704         number of groups.
30705         * stdio-common/tst-grouping.c: New file.
30706         * stdio-common/Makefile: Add rules to build and run tst-grouping.
30708 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
30710         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
30711         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
30713         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
30714         void.
30715         * bits/select.h: Likewise.
30717 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
30719         * po/ja.po: Update from translation team.
30721 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
30723         [BZ #11155]
30724         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
30725         implementation just like for lxstat, fxstatat, et al.
30727 2010-12-27  Jim Meyering  <meyering@redhat.com>
30729         [BZ #12348]
30730         * posix/regexec.c (build_trtable): Return failure indication upon
30731         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
30733 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
30735         [BZ #12201]
30736         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
30737         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
30738         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
30739         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
30741         [BZ #12207]
30742         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
30744         [BZ #12204]
30745         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
30746         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
30748 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
30750         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
30751         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
30752         script has SORT_BY_INIT_PRIORITY.
30753         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
30754         NO_CTORS_DTORS_SECTIONS is defined.
30755         * elf/soinit.c: Likewise.
30756         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
30757         NO_CTORS_DTORS_SECTIONS is defined.
30758         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
30759         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
30760         * sysdeps/sh/init-first.c: Likewise.
30761         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
30763 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
30765         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
30766         always use the slow path.
30768 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
30770         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
30771         similar rule which adds the sysdep directories to the header search in
30772         order to pick up the correct platform stackinfo.h.
30773         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
30774         perform test if it is, otherwise return successfully without testing.
30775         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
30776         DEFAULT_STACK_PERMS define in stackinfo.h.
30777         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
30778         defined in stackinfo.h.
30779         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
30780         DEFAULT_STACK_PERMS defined in stackinfo.h.
30781         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
30782         * sysdeps/ia64/stackinfo.h: Likewise.
30783         * sysdeps/s390/stackinfo.h: Likewise.
30784         * sysdeps/sh/stackinfo.h: Likewise.
30785         * sysdeps/sparc/stackinfo.h: Likewise.
30786         * sysdeps/x86_64/stackinfo.h: Likewise.
30787         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
30788         PF_X for powerpc64.  Retain PF_X for powerpc32.
30790 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
30792         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
30793         accurately.
30794         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
30795         GETDENTS_64BIT_ALIGNED.
30797 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
30799         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
30801 2010-12-10  Andreas Schwab  <schwab@redhat.com>
30803         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
30804         _GNU_SOURCE.
30806         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
30807         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
30808         Remove __restrict.
30809         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
30810         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
30812 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
30814         [BZ #11655]
30815         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
30816         are initialized.
30818 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
30820         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
30822 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
30824         * po/it.po: Update from translation team.
30826 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
30828         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
30829         unused codes.
30831 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
30833         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
30835 2010-11-24  Andreas Schwab  <schwab@redhat.com>
30837         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
30838         specially.
30839         (gaih_getanswer_slice): Likewise.
30841 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
30843         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
30845 2010-05-31  Petr Baudis  <pasky@suse.cz>
30847         [BZ #11149]
30848         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
30849         silently even in the chroot mode.
30851 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
30853         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
30854         last patch a bit.  Pretty printing
30856 2010-05-31  Petr Baudis <pasky@suse.cz>
30858         [BZ #10085]
30859         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
30860         initialization of skip_initgroups_dyn.
30862 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
30864         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
30865         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
30867 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
30869         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
30871 2010-11-11  Andreas Schwab  <schwab@redhat.com>
30873         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
30874         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
30875         (tst-fnmatch-ENV): Set MALLOC_TRACE.
30876         ($(objpfx)tst-fnmatch-mem): New rule.
30877         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
30878         * posix/tst-fnmatch.c (main): Call mtrace.
30880 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
30882         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30883         Support Intel processor model 6 and model 0x2c.
30885 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
30887         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
30888           signed comparison.
30890 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
30892         [BZ #12205]
30893         * string/test-strncasecmp.c (check_result): New function.
30894         (do_one_test): Use it.
30895         (check1): New function.
30896         (test_main): Use it.
30897         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
30898         Support strcasecmp and strncasecmp.
30900 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
30902         [BZ #12194]
30903         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
30904         * sysdeps/x86_64/bits/byteswap.h: Likewise.
30906 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
30908         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
30909         IFUNC support.
30910         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
30911         memset-x86-64.
30912         * sysdeps/x86_64/multiarch/bzero.S: New file.
30913         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
30914         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
30915         * sysdeps/x86_64/multiarch/memset.S: New file.
30916         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
30917         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30918         Set bit_Prefer_SSE_for_memop for Intel processors.
30919         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
30920         Define.
30921         (index_Prefer_SSE_for_memop): Define.
30922         (HAS_PREFER_SSE_FOR_MEMOP): Define.
30924 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
30926         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
30927         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
30929 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
30931         [BZ #12191]
30932         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
30933         (__x86_64_raw_data_cache_size_half): Likewise.
30934         (__x86_64_raw_shared_cache_size): Likewise.
30935         (__x86_64_raw_shared_cache_size_half): Likewise.
30937         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
30938         (__x86_64_raw_data_cache_size_half): Likewise.
30939         (__x86_64_raw_shared_cache_size): Likewise.
30940         (__x86_64_raw_shared_cache_size_half): Likewise.
30941         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
30942         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
30943         and __x86_64_raw_shared_cache_size_half.  Round
30944         __x86_64_data_cache_size_half, __x86_64_data_cache_size
30945         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
30946         to multiple of 256 bytes.
30948 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
30950         [BZ #12167]
30951         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
30952         of inacessible symlinks.  Verify result of symlink before returning it.
30953         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
30954         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
30956 2010-10-28  Erich Ritz  <erichritz@gmail.com>
30958         * math/math.h (isinf): Fix typo in comment.
30960 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
30962         * po/da.po: Update from translation team.
30964 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
30966         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
30967         is added to the list.
30969 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
30970             Ulrich Drepper  <drepper@gmail.com>
30972         * elf/dl-object.c (_dl_new_object): Don't append the new object to
30973         the global list here.  Move code to...
30974         (_dl_add_to_namespace_list): ...here.  New function.
30975         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
30976         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
30977         * elf/dl-load.c (lose): Don't remove the element from the list.
30978         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
30979         (_dl_map_object): Likewise.
30981 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
30983         [BZ #12159]
30984         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
30985         into all bytes of SSE register.
30986         Patch by Richard Li <richardpku@gmail.com>.
30988 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
30990         [BZ #12140]
30991         * malloc/malloc.c (_int_free): Fill correct number of bytes when
30992         perturbing.
30994 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
30996         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
30997         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
30998         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
30999         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
31000         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
31001         submachine.
31002         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
31004 2010-10-22  Andreas Schwab  <schwab@redhat.com>
31006         * include/dlfcn.h (__RTLD_SECURE): Define.
31007         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
31008         mode & __RTLD_SECURE instead.
31009         (open_path): Rename preloaded parameter to secure.
31010         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
31011         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
31012         * elf/dl-deps.c (openaux): Likewise.
31013         * elf/rtld.c (struct map_args): Remove is_preloaded.
31014         (map_doit): Don't use it.
31015         (dl_main): Likewise.
31016         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
31017         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
31019 2010-09-09  Andreas Schwab  <schwab@redhat.com>
31021         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
31022         (sysd-rules-targets): Remove duplicates.
31023         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
31024         rtld-%.$o dependency.
31026 2010-10-18  Andreas Schwab  <schwab@redhat.com>
31028         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
31029         _dl_map_object do it.
31031 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
31033         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
31034         fast fma builtins, define the macros in the C99 standard.
31035         (FP_FAST_FMAF): Likewise.
31036         (FP_FAST_FMAL): Likewise.
31037         * sysdeps/x86_64/bits/mathdef.h: Likewise.
31039         * bits/mathdef.h: Update copyright year.
31040         * sysdeps/powerpc/bits/mathdef.h: Likewise.
31042 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
31044         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
31045         builtins, define the macros in the C99 standard.
31046         (FP_FAST_FMAF): Likewise.
31047         (FP_FAST_FMAL): Likewise.
31048         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
31049         multiply/add.
31050         (FP_FAST_FMAF): Likewise.
31052 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
31054         [BZ #3268]
31055         * math/libm-test.inc (fma_test): Some new testcases.
31056         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
31057         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
31058         y and infinite z.  Do multiplication by C already in long double.
31059         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
31060         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
31061         y and infinite z.  Do bitwise or of inexact bit into u.d.
31062         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
31063         * sysdeps/i386/fpu/s_fmaf.S: Removed.
31064         * sysdeps/i386/fpu/s_fma.S: Removed.
31065         * sysdeps/i386/fpu/s_fmal.S: Removed.
31067 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
31069         [BZ #3268]
31070         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
31071         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
31072         computation is not scheduled after fetestexcept.  Fix value
31073         of minimum denormal long double.
31075 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
31077         [BZ #3268]
31078         * math/libm-test.inc (fma_test): Add some more tests.
31079         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
31080         correctly.
31082 2010-10-15  Andreas Schwab  <schwab@redhat.com>
31084         * scripts/data/localplt-s390-linux-gnu.data: New file.
31085         * scripts/data/localplt-s390x-linux-gnu.data: New file.
31087 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
31089         [BZ #3268]
31090         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
31091         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
31092         instead of dbl-64.
31093         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
31094         inlines.
31095         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
31096         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
31097         if one of x and y is very large and the other is subnormal.
31098         * sysdeps/s390/fpu/s_fmaf.c: New file.
31099         * sysdeps/s390/fpu/s_fma.c: New file.
31100         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
31101         * sysdeps/powerpc/fpu/s_fma.S: New file.
31102         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
31103         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
31104         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
31106 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
31108         [BZ #3268]
31109         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
31110         fma tests.
31111         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
31112         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
31113         * sysdeps/i386/i686/multiarch/s_fma.c: Include
31114         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
31115         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
31116         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
31117         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
31119 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
31121         [BZ #12078]
31122         * posix/regcomp.c (parse_branch): One more memory leak plugged.
31123         * posix/bug-regex31.input: Add test case.
31125 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
31127         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
31128         * posix/bug-regex31.input: New file.
31130         [BZ #12078]
31131         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
31132         (parse_sub_exp): Fix last change, use postorder.
31134         * posix/bug-regex31.c: New file.
31135         * posix/Makefile: Add rules to build and run bug-regex31.
31137         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
31139         [BZ #12078]
31140         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
31142         [BZ #12108]
31143         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
31144         to have entries in sys_siglist.
31146         [BZ #12093]
31147         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
31148         be NULL.
31150 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
31152         [BZ #3268]
31153         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
31154         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
31155         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
31156         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
31157         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
31158         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
31159         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
31160         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
31161         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
31162         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
31163         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
31164         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
31165         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
31166         * math/ftestexcept.c (fetestexcept): Likewise.
31167         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
31168         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
31169         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
31170         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
31171         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
31172         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
31173         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
31175 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
31177         [BZ #12107]
31178         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
31179         newline.
31181 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
31183         * string/bug-strstr1.c: New file.
31184         * string/Makefile: Add rules to build and run bug-strstr1.
31186 2010-10-05  Eric Blake  <eblake@redhat.com>
31188         [BZ #12092]
31189         * string/str-two-way.h (two_way_long_needle): Always clear memory
31190         when skipping input due to the shift table.
31192 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
31194         [BZ #12005]
31195         * malloc/mcheck.c: Handle large requests.
31197         [BZ #12077]
31198         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
31199         for strncmp and strncasecmp.
31200         * string/stratcliff.c: Add tests for strcmp and strncmp.
31201         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
31203 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
31205         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
31206         __set_fpscr.
31208 2010-09-30  Andreas Jaeger  <aj@suse.de>
31210         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
31211         (CGROUP_SUPER_MAGIC): Define.
31212         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
31213         Handle btrfs and cgroup file systems.
31214         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
31215         Likewise.
31217 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
31219         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
31220         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
31222 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
31224         [BZ #12067]
31225         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
31226         trying to locate the ELF header.
31228 2010-09-27  Andreas Schwab  <schwab@redhat.com>
31230         [BZ #11611]
31231         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
31232         Mask out sign-bit copies when constructing f_fsid.
31234 2010-09-24  Petr Baudis <pasky@suse.cz>
31236         * debug/stack_chk_fail_local.c: Add missing licence exception.
31237         * debug/warning-nop.c: Likewise.
31239 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
31241         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
31242         implementing getdents64 using getdents syscall, set d_type if
31243         __ASSUME_GETDENTS32_D_TYPE.
31245 2010-09-16  Andreas Schwab  <schwab@redhat.com>
31247         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
31248         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
31250 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
31252         [BZ #12037]
31253         * posix/unistd.h: Undo change of feature selection for ftruncate from
31254         2010-01-11.
31256 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
31258         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
31259         detection.
31261 2010-09-20  Andreas Schwab  <schwab@redhat.com>
31263         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
31264         fanotify_mark.
31265         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
31267 2010-09-14  Andreas Schwab  <schwab@redhat.com>
31269         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
31270         variables after CHECK_SP call.
31271         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
31273 2010-09-13  Andreas Schwab  <schwab@redhat.com>
31274             Ulrich Drepper  <drepper@redhat.com>
31276         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
31277         re-relocationg ld.so.
31278         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
31279         _dl_init_paths call.
31280         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
31281         here anymore.
31283 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
31285         * resolv/res_init.c (__res_vinit): Count the default server we added.
31287 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
31288             Ulrich Drepper  <drepper@redhat.com>
31290         [BZ #11968]
31291         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
31292         (____longjmp_chk): Use %ebx for saving value across system call.
31293         Add unwind info.
31295 2010-09-06  Andreas Schwab  <schwab@redhat.com>
31297         * manual/Makefile: Don't mix pattern rules with normal rules.
31299 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
31301         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
31302         operation.
31303         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
31304         * libio/iofopncook.c (_IO_cookie_init): Likewise.
31305         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
31306         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
31307         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
31308         Likewise.
31310 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
31312         [BZ #11979]
31313         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
31314         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
31316 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
31318         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
31319         * sysdeps/x86_64/addmul_1.S: Likewise.
31320         * sysdeps/x86_64/lshift.S: Likewise.
31321         * sysdeps/x86_64/mul_1.S: Likewise.
31322         * sysdeps/x86_64/rshift.S: Likewise.
31323         * sysdeps/x86_64/sub_n.S: Likewise.
31324         * sysdeps/x86_64/submul_1.S: Likewise.
31326 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
31328         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
31329         Define __sched_param instead of SCHED_* and sched_param when
31330         <bits/sched.h> is included with __need_schedparam defined.
31331         * bits/sched.h [__need_schedparam]
31332         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
31333         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
31334         (__defined_schedparam): Define to 1.
31335         (__sched_param): New structure, identical to sched_param.
31336         (__need_schedparam): Undefine.
31338 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
31340         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
31341         (epoll_create1): Declare.
31343         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
31345 2010-08-31  Andreas Schwab  <schwab@redhat.com>
31347         [BZ #7066]
31348         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
31349         shifting retval into place.
31351 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
31353         * nis/rpcsvc/nis.h: Update copyright notice.
31354         * nis/rpcsvc/nis.x: Likewise.
31355         * nis/rpcsvc/nis_callback.h: Likewise.
31356         * nis/rpcsvc/nis_callback.x: Likewise.
31357         * nis/rpcsvc/nis_object.x: Likewise.
31358         * nis/rpcsvc/nis_tags.h: Likewise.
31359         * nis/rpcsvc/yp.h: Likewise.
31360         * nis/rpcsvc/yp.x: Likewise.
31361         * nis/rpcsvc/ypupd.h: Likewise.
31362         * nis/yp_xdr.c: Likewise.
31363         * nis/ypupdate_xdr.c: Likewise.
31365         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
31366         mainly the body of pmap_getport.  Add parameters to specify timeouts.
31367         (pmap_getport): Use __libc_rpc_getport.
31368         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
31369         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
31370         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
31372 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
31374         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
31375         fanotify_mark.
31377 2010-08-27  Roland McGrath  <roland@redhat.com>
31379         * sysdeps/i386/i686/multiarch/Makefile
31380         (CFLAGS-varshift.c): New variable.
31382 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
31384         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
31385         * sysdeps/i386/i686/multiarch/varshift.c: New file.
31387         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
31389         * sysdeps/x86_64/strlen.S: Minimal code improvement.
31391 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
31393         * sysdeps/x86_64/strlen.S: Unroll the loop.
31394         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
31395         strlen-sse2 strlen-sse2-bsf.
31396         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
31397         __strlen_no_bsf if bit_Slow_BSF is set.
31398         (__strlen_sse42): Removed.
31399         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
31400         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
31402 2010-08-25  Roland McGrath  <roland@redhat.com>
31404         * sysdeps/x86_64/multiarch/varshift.S: File removed.
31405         * sysdeps/x86_64/multiarch/varshift.c: New file.
31406         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
31407         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
31408         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
31409         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
31411 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
31413         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
31414         strlen-sse2 strlen-sse2-bsf.
31415         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
31416         __strlen_sse2_bsf if bit_Slow_BSF is unset.
31417         (__strlen_sse2): Removed.
31418         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
31419         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
31420         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
31421         bit_Slow_BSF for Atom.
31422         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
31423         (index_Slow_BSF): Define.
31424         (HAS_SLOW_BSF): Define.
31426 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
31428         [BZ #10851]
31429         * resolv/res_init.c (__res_vinit): When no server address at all
31430         is given default to loopback.
31432 2010-08-24  Roland McGrath  <roland@redhat.com>
31434         * configure.in: Remove config-name.h generation.
31435         * configure: Regenerated.
31436         * config-name.in: File removed.
31437         * scripts/config-uname.sh: New file.
31438         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
31439         ($(objdir)config-name.h): New target.
31441         * sunrpc/rpc_parse.h: Avoid nested comment.
31443 2010-08-24  Richard Henderson  <rth@redhat.com>
31444             Ulrich Drepper  <drepper@redhat.com>
31445             H.J. Lu  <hongjiu.lu@intel.com>
31447         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
31448         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
31449         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
31450         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
31451         _mm_alignr_epi8 with _mm_loadu_si128.
31452         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
31453         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
31454         (__m128i_shift_right): Removed.
31455         * sysdeps/i386/i686/multiarch/varshift.h: New file.
31456         * sysdeps/i386/i686/multiarch/varshift.S: New file.
31457         * sysdeps/x86_64/multiarch/varshift.h: New file.
31458         * sysdeps/x86_64/multiarch/varshift.S: New file.
31460 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
31462         * configure.in: Move assembler checks to before sysdep dir checking.
31464 2010-08-20  Petr Baudis  <pasky@suse.cz>
31466         * LICENSES: Sync the sunrpc license.
31468 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
31470         * sunrpc/auth_des.c: Update copyright notice once again.
31471         * sunrpc/auth_none.c: Likewise.
31472         * sunrpc/auth_unix.c: Likewise.
31473         * sunrpc/authdes_prot.c: Likewise.
31474         * sunrpc/authuxprot.c: Likewise.
31475         * sunrpc/bindrsvprt.c: Likewise.
31476         * sunrpc/clnt_gen.c: Likewise.
31477         * sunrpc/clnt_perr.c: Likewise.
31478         * sunrpc/clnt_raw.c: Likewise.
31479         * sunrpc/clnt_simp.c: Likewise.
31480         * sunrpc/clnt_tcp.c: Likewise.
31481         * sunrpc/clnt_udp.c: Likewise.
31482         * sunrpc/clnt_unix.c: Likewise.
31483         * sunrpc/des_crypt.c: Likewise.
31484         * sunrpc/des_soft.c: Likewise.
31485         * sunrpc/get_myaddr.c: Likewise.
31486         * sunrpc/getrpcport.c: Likewise.
31487         * sunrpc/key_call.c: Likewise.
31488         * sunrpc/key_prot.c: Likewise.
31489         * sunrpc/openchild.c: Likewise.
31490         * sunrpc/pm_getmaps.c: Likewise.
31491         * sunrpc/pm_getport.c: Likewise.
31492         * sunrpc/pmap_clnt.c: Likewise.
31493         * sunrpc/pmap_prot.c: Likewise.
31494         * sunrpc/pmap_prot2.c: Likewise.
31495         * sunrpc/pmap_rmt.c: Likewise.
31496         * sunrpc/rpc/auth.h: Likewise.
31497         * sunrpc/rpc/auth_unix.h: Likewise.
31498         * sunrpc/rpc/clnt.h: Likewise.
31499         * sunrpc/rpc/des_crypt.h: Likewise.
31500         * sunrpc/rpc/key_prot.h: Likewise.
31501         * sunrpc/rpc/netdb.h: Likewise.
31502         * sunrpc/rpc/pmap_clnt.h: Likewise.
31503         * sunrpc/rpc/pmap_prot.h: Likewise.
31504         * sunrpc/rpc/pmap_rmt.h: Likewise.
31505         * sunrpc/rpc/rpc.h: Likewise.
31506         * sunrpc/rpc/rpc_des.h: Likewise.
31507         * sunrpc/rpc/rpc_msg.h: Likewise.
31508         * sunrpc/rpc/svc.h: Likewise.
31509         * sunrpc/rpc/svc_auth.h: Likewise.
31510         * sunrpc/rpc/types.h: Likewise.
31511         * sunrpc/rpc/xdr.h: Likewise.
31512         * sunrpc/rpc_clntout.c: Likewise.
31513         * sunrpc/rpc_cmsg.c: Likewise.
31514         * sunrpc/rpc_common.c: Likewise.
31515         * sunrpc/rpc_cout.c: Likewise.
31516         * sunrpc/rpc_dtable.c: Likewise.
31517         * sunrpc/rpc_hout.c: Likewise.
31518         * sunrpc/rpc_main.c: Likewise.
31519         * sunrpc/rpc_parse.c: Likewise.
31520         * sunrpc/rpc_parse.h: Likewise.
31521         * sunrpc/rpc_prot.c: Likewise.
31522         * sunrpc/rpc_sample.c: Likewise.
31523         * sunrpc/rpc_scan.c: Likewise.
31524         * sunrpc/rpc_scan.h: Likewise.
31525         * sunrpc/rpc_svcout.c: Likewise.
31526         * sunrpc/rpc_tblout.c: Likewise.
31527         * sunrpc/rpc_util.c: Likewise.
31528         * sunrpc/rpc_util.h: Likewise.
31529         * sunrpc/rpcinfo.c: Likewise.
31530         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
31531         * sunrpc/rpcsvc/key_prot.x: Likewise.
31532         * sunrpc/rpcsvc/klm_prot.x: Likewise.
31533         * sunrpc/rpcsvc/mount.x: Likewise.
31534         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
31535         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
31536         * sunrpc/rpcsvc/rex.x: Likewise.
31537         * sunrpc/rpcsvc/rstat.x: Likewise.
31538         * sunrpc/rpcsvc/rusers.x: Likewise.
31539         * sunrpc/rpcsvc/sm_inter.x: Likewise.
31540         * sunrpc/rpcsvc/spray.x: Likewise.
31541         * sunrpc/rpcsvc/yppasswd.x: Likewise.
31542         * sunrpc/rtime.c: Likewise.
31543         * sunrpc/svc.c: Likewise.
31544         * sunrpc/svc_auth.c: Likewise.
31545         * sunrpc/svc_authux.c: Likewise.
31546         * sunrpc/svc_raw.c: Likewise.
31547         * sunrpc/svc_run.c: Likewise.
31548         * sunrpc/svc_simple.c: Likewise.
31549         * sunrpc/svc_tcp.c: Likewise.
31550         * sunrpc/svc_udp.c: Likewise.
31551         * sunrpc/svc_unix.c: Likewise.
31552         * sunrpc/svcauth_des.c: Likewise.
31553         * sunrpc/xcrypt.c: Likewise.
31554         * sunrpc/xdr.c: Likewise.
31555         * sunrpc/xdr_array.c: Likewise.
31556         * sunrpc/xdr_float.c: Likewise.
31557         * sunrpc/xdr_mem.c: Likewise.
31558         * sunrpc/xdr_rec.c: Likewise.
31559         * sunrpc/xdr_ref.c: Likewise.
31560         * sunrpc/xdr_sizeof.c: Likewise.
31561         * sunrpc/xdr_stdio.c: Likewise.
31563         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
31564         handling.
31566 2010-08-19  Andreas Schwab  <schwab@redhat.com>
31568         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
31570 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
31572         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
31573         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
31574         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
31575         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
31576         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
31577         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
31578         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
31579         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
31580         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
31581         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
31582         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
31583         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
31584         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
31585         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
31587 2010-07-26  Anton Blanchard  <anton@samba.org>
31589         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
31590         * malloc/arena.c (heap_trim): Likewise.
31592 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
31594         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
31595         here.  Not...
31596         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
31597         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
31599 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
31601         * sysdeps/i386/elf/Makefile: New file.
31603 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
31605         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
31606         from fanotify_init.
31607         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
31608         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
31610 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
31612         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
31613         of strncasecmp_l.
31614         * sysdeps/multiarch/strcmp.S: Likewise.
31616 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
31618         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
31619         strncase_l-nonascii.
31620         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
31621         Add strncase_l-ssse3.
31622         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
31623         * sysdeps/x86_64/strcmp.S: Likewise.
31624         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
31625         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
31626         * sysdeps/x86_64/strncase.S: New file.
31627         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
31628         * sysdeps/x86_64/strncase_l.S: New file.
31629         * string/Makefile (strop-tests): Add strncasecmp.
31630         * string/test-strncasecmp.c: New file.
31632         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
31633         warning.
31635         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
31636         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
31638 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
31640         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
31642 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
31644         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
31645         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
31646         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
31648 2010-05-01  Alan Modra  <amodra@gmail.com>
31650         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
31651         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
31652         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
31653         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
31654         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
31655         tidying.  Don't tail-call __sigjmp_save for static lib.
31656         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
31657         save location.
31658         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
31659         (CALL_MCOUNT): Add eh info, and nop after bl.
31660         (TAIL_CALL_SYSCALL_ERROR): New macro.
31661         (PSEUDO_RET): Use it.
31662         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
31663         Correct save location of integer regs and cr.
31664         (_dl_profile_resolve): Correct cr save location.  Delete nops
31665         after bl when SHARED.  Reduce cfi size a little by better
31666         placement of cfi directives.
31667         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
31668         make a stack frame.  Instead use parm save area as a temp.
31669         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
31670         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
31671         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
31672         Don't make a stack frame for parent, use parm save area.
31673         Increase child stack frame to 112 bytes.  Don't save unused reg,
31674         and adjust reg usage.  Set up cfi on error recovery and
31675         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
31676         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
31677         (__makecontext): Add dummy nop after jump to exit.
31678         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
31679         Use correct parm save area and cr save, reduce stack frame.
31680         Correct cfi for possible PSEUDO_RET frame setup.
31681         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
31682         Branch to local label emitted by PSEUDO_RET rather than
31683         __syscall_error.
31685 2010-08-12  Andreas Schwab  <schwab@redhat.com>
31687         [BZ #11904]
31688         * locale/programs/locale.c (print_assignment): New function.
31689         (show_locale_vars): Use it.
31691 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
31693         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
31694         field.
31695         (struct statfs64): Likewise.
31696         (_STATFS_F_FLAGS): Define.
31697         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
31698         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
31699         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
31700         (ST_VALID): Define locally.
31701         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
31702         __statvfs_getflags, use the provided value.
31703         * sysdeps/unix/sysv/linux/kernel-features.h: Define
31704         __ASSUME_STATFS_F_FLAGS.
31706         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
31708         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
31709         Add sys/fanotify.h.
31710         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
31711         fanotify_mask for GLIBC_2.13.
31712         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
31713         fanotify_init and fanotify_mark.
31714         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
31715         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
31717         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
31718         Add prlimit.
31719         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
31720         prlimit64 for GLIBC_2.13.
31721         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
31722         prlimit64.
31723         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
31724         syscall.
31725         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
31726         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
31727         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
31728         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
31729         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
31730         add prlimit alias.
31731         * sysdeps/unix/sysv/linux/prlimit.c: New file.
31733         [BZ #11903]
31734         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
31735         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
31737         * nss/Makefile: Add rules to build and run tst-nss-test1.
31738         * shlib-versions: Add entry for libnss_test1.
31739         * nss/nss_test1.c: New file.
31740         * nss/tst-nss-test1.c: New file.
31742         * nss/nsswitch.c (__nss_database_custom): Define new variable.
31743         (__nss_configure_lookup): Set appropriate entry in
31744         __nss_configure_lookup to true.
31745         * nss/nsswitch.h: Define enum with indeces of databases in
31746         databases and __nss_database_custom arrays.  Declare
31747         __nss_database_custom.
31748         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
31749         to avoid using nscd when custom rules are installed.
31750         * nss/getXXbyYY_r.c: Likewise.
31751         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
31753         * nss/nss_files/files-parse.c: Whitespace fixes.
31755 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
31757         [BZ #11883]
31758         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
31759         * posix/fnmatch_loop.c: Likewise.
31761 2010-07-17  Andi Kleen  <ak@linux.intel.com>
31763         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
31764         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
31765         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
31766         * Versions.def [GLIBC_2.13]: Add.
31768 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
31770         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
31771         Also fail if tpwd after pwuid call is NULL.
31773 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
31775         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
31776         when converting to ms.
31778 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
31780         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
31781         EOPNOTSUPP errors with ENOTTY.
31782         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
31783         EOPNOTSUPP errors with ENOTTY.
31785 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
31787         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
31788         Add strcasecmp_l-ssse3.
31789         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
31790         strcasecmp.
31791         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
31792         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
31793         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
31795 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
31797         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
31799         * string/Makefile (strop-tests): Add strcasecmp.
31800         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
31801         strcasecmp_l-nonascii.
31802         (gen-as-const-headers): Add locale-defines.sym.
31803         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
31804         * sysdeps/x86_64/strcasecmp.S: New file.
31805         * sysdeps/x86_64/strcasecmp_l.S: New file.
31806         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
31807         * sysdeps/x86_64/locale-defines.sym: New file.
31808         * string/test-strcasecmp.c: New file.
31810         * string/test-strcasestr.c: Test both ends of the range of characters.
31811         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
31813 2010-07-29  Roland McGrath  <roland@redhat.com>
31815         [BZ #11856]
31816         * manual/locale.texi (Yes-or-No Questions): Fix example code.
31818 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
31820         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
31821         for ld.so.
31823 2010-07-27  Andreas Schwab  <schwab@redhat.com>
31825         * manual/memory.texi (Malloc Tunable Parameters): Document
31826         M_PERTURB.
31828 2010-07-26  Roland McGrath  <roland@redhat.com>
31830         [BZ #11840]
31831         * configure.in (-fgnu89-inline check): Set and substitute
31832         gnu89_inline, not libc_cv_gnu89_inline.
31833         * configure: Regenerated.
31834         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
31836 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
31838         * string/test-strnlen.c: New file.
31839         * string/Makefile (strop-tests): Add strnlen.
31840         * string/tester.c (test_strnlen): Add a few more test cases.
31841         * string/tst-strlen.c: Better error reporting.
31843         * sysdeps/x86_64/strnlen.S: New file.
31845 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
31847         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
31848         lower-latency instructions.
31850 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
31852         * string/test-strcasestr.c: New file.
31853         * string/test-strstr.c: New file.
31854         * string/Makefile (strop-tests): Add strstr and strcasestr.
31855         * string/str-two-way.h: Don't undefine MAX.
31856         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
31858 2010-07-21  Andreas Schwab  <schwab@redhat.com>
31860         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
31861         strcasestr-nonascii.
31862         (CFLAGS-strcasestr-nonascii.c): Define.
31863         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
31864         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
31865         Remove unused attribute.
31867 2010-07-20  Roland McGrath  <roland@redhat.com>
31869         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
31870         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
31871         ld.so.cache was broken.  With it, there is no way to disable dsocaps
31872         like LD_HWCAP_MASK can disable hwcaps.
31874 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
31876         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
31878 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
31880         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
31881         call in strcasestr.
31882         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
31883         __strcasestr_sse42_nonascii.
31884         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
31885         strcasestr-nonascii.c.
31886         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
31888 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
31890         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
31891         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
31892         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
31893         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
31895 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
31897         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
31898         fcntl.
31900 2010-07-06  Andreas Schwab  <schwab@redhat.com>
31902         [BZ #11577]
31903         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
31904         dl_signal_cerror.
31906 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
31908         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
31909         _PC_PIPE_BUF using F_GETPIPE_SZ.
31911 2010-07-05  Roland McGrath  <roland@redhat.com>
31913         * manual/arith.texi (Rounding Functions): Fix rint description
31914         implicit in round description.
31916 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
31918         * elf/Makefile: Fix linking for a few tests to make recent linker
31919         happy.
31921 2010-06-30  Andreas Schwab  <schwab@redhat.com>
31923         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
31924         $(common-objpfx)libc_nonshared.a.
31926 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
31928         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
31929         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
31930         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
31931         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
31932         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
31933         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
31934         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
31935         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
31936         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
31937         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
31938         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
31939         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
31940         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
31941         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
31942         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
31943         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
31944         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
31945         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
31946         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
31947         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
31948         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
31949         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
31950         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
31951         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
31952         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
31953         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
31954         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
31955         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
31956         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
31957         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
31958         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
31959         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
31960         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
31961         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
31962         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
31963         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
31964         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
31965         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
31966         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
31967         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
31968         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
31969         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
31970         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
31971         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
31972         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
31973         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
31974         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
31975         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
31977 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
31979         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
31980         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
31981         * string/memmove.c (memmove): Renamed to ...
31982         (MEMMOVE): ...this.  Default to memmove.
31983         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
31984         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
31985         (END_CHK): Define.
31986         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
31987         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
31988         mempcpy-ssse3-back memmove-ssse3-back.
31989         * sysdeps/x86_64/multiarch/bcopy.S: New file .
31990         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
31991         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
31992         * sysdeps/x86_64/multiarch/memcpy.S: New file.
31993         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
31994         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
31995         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
31996         * sysdeps/x86_64/multiarch/memmove.c: New file.
31997         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
31998         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
31999         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
32000         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
32001         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
32002         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
32003         Define.
32004         (index_Fast_Copy_Backward): Define.
32005         (HAS_ARCH_FEATURE): Define.
32006         (HAS_FAST_REP_STRING): Define.
32007         (HAS_FAST_COPY_BACKWARD): Define.
32009 2010-06-21  Andreas Schwab  <schwab@redhat.com>
32011         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
32012         Restore proper fallback handling.
32014 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
32016         [BZ #11701]
32017         * posix/group_member.c (__group_member): Correct checking loop.
32019         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
32020         OOM in getpwuid_r correctly.  Return error number when the caller
32021         should return, otherwise -1.
32022         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
32023         call returning > 0 value.
32024         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
32026 2010-06-07  Andreas Schwab  <schwab@redhat.com>
32028         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
32029         libc_nonshared.a from targets in modules-names.
32031 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
32033         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
32034         requires it.
32036 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
32038         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
32039         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
32040         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
32041         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
32043 2010-06-02  Andreas Schwab  <schwab@redhat.com>
32045         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
32047 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
32049         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
32050         and F_GETPIPE_SZ.
32051         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
32052         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
32053         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
32054         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
32055         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
32056         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
32058 2010-06-14  Roland McGrath  <roland@redhat.com>
32060         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
32062 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
32064         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
32065         __REDIRECT followed by __THROW.
32066         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
32067         * posix/getopt.h (getopt): Likewise.
32069 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
32071         * hurd/lookup-at.c (__file_name_lookup_at): Accept
32072         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
32073         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
32074         in AT_FLAGS.
32075         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
32076         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
32078 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
32080         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
32082 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
32084         [BZ #11640]
32085         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32086         Properly check family and model.
32088 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
32090         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
32092 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
32094         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
32096 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
32098         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
32099         symbol reference.
32101 2010-05-19  Andreas Schwab  <schwab@redhat.com>
32103         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
32104         symbol reference.
32106 2010-05-21  Andreas Schwab  <schwab@redhat.com>
32108         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
32109         and internal_recvmmsg.
32110         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
32111         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
32112         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
32113         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
32115         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
32116         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
32117         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
32119 2010-05-20  Andreas Schwab  <schwab@redhat.com>
32121         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
32123 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
32125         POWER7 optimizations.
32126         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
32127         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
32129 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
32131         * version.h: Update for 2.13 development version.
32133 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
32135         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
32136         exceptions.  Return 0.
32138 2010-05-07  Roland McGrath  <roland@redhat.com>
32140         * elf/ldconfig.c (main): Add a const.
32142 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
32144         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
32145         (args_options): Add no-idn option.
32146         (ahosts_keys_int): Add idn_flags to ai_flags.
32147         (parse_option): Handle 'i' option to clear idn_flags.
32149         * malloc/malloc.c (_int_free): Possible race in the most recently
32150         added check.  Only act on the data if no current modification
32151         happened.
32153 See ChangeLog.17 for earlier changes.