Remove sysdeps/ieee754/ldbl-128/bits/huge_vall.h and let builds use
[glibc.git] / ChangeLog
blobd2b2e24e6f6c1e4659322a013912e631f1b2232c
1 2012-09-27  Steve Ellcey  <sellcey@mips.com>
3         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
5 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
7         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Empty if not in
8         libc.a.
10 2012-09-26  Marek Polacek  <polacek@redhat.com>
12         [BZ #14530]
13         [BZ #13741]
14         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
15         for C++ and GCC <4.3 as well as for non GCC compilers.
17 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
19         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21 2012-09-25  Roland McGrath  <roland@hack.frob.com>
23         * Makefile.in (all, install): Declare with .PHONY.
24         Reported by Michael Hope <michael.hope@linaro.org>.
26 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
28         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
29         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
30         system header.
31         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
32         Likewise.
33         (sydep_routines): Add the new and the internal functions.
34         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
35         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
36         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
37         (GLIBC_2.17): Add the new function.
38         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
39         (GLIBC_2.17): Likewise.
40         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
41         (GLIBC_2.17): Likewise.
42         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
43         (GLIBC_2.17): Likewise.
44         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
46 2012-09-25  Alan Modra  <amodra@gmail.com>
48         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
49         Add release barrier before setting once_control to say
50         initialisation is done.  Add hints on lwarx.  Use macro in
51         place of isync.
52         (clear_once_control): Add release barrier.
54 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
56         [BZ #13629]
57         * math/s_clog.c (__clog): Handle more values close to |z| = 1
58         specially.
59         * math/s_clog10.c (__clog10): Likewise.
60         * math/s_clog10f.c (__clog10f): Likewise.
61         * math/s_clog10l.c (__clog10l): Likewise.
62         * math/s_clogf.c (__clogf): Likewise.
63         * math/s_clogl.c (__clogl): Likewise.
64         * math/Makefile (libm-calls): Add x2y2m1.
65         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
66         (__x2y2m1): Likewise.
67         (__x2y2m1l): Likewise.
68         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
69         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
70         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
71         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
72         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
73         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
74         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
75         * sysdeps/i386/fpu/libm-test-ulps: Update.
76         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
78         [BZ #14621]
79         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
80         int as type of variable DEPTH.
81         (glob): Use size_t instead of int as type of variables NEWCOUNT
82         and OLD_PATHC.
84 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
86         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
87         Add s_sincosf-sse2.
88         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
89         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
90         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
91         macros for using routine as __sincosf_ia32.
92         Use macro for function declaration and weak_alias.
93         * sysdeps/i386/fpu/libm-test-ulps: Update.
95         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
96         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
98         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
99         subnormal argument.
100         * math/s_cexpf.c (__cexpf): Likewise.
101         * math/s_csinf.c (__csinf): Likewise.
102         * math/s_csinhf.c (__csinhf): Likewise.
103         * math/s_ctanf.c (__ctanf): Likewise.
104         * math/s_ctanhf.c (__ctanhf): Likewise.
105         * math/s_ccosh.c (__ccoshf): Likewise.
106         * math/s_cexp.c (__cexpl): Likewise.
107         * math/s_csin.c (__csin): Likewise.
108         * math/s_csinh.c (__csinh): Likewise.
109         * math/s_ctan.c (__ctan): Likewise.
110         * math/s_ctanh.c (ctanh): Likewise.
111         * math/s_ccoshl.c (__ccoshl): Likewise.
112         * math/s_cexpl.c (__cexpl): Likewise.
113         * math/s_csinl.c (__csinl): Likewise.
114         * math/s_csinhl.c (__csinhl): Likewise.
115         * math/s_ctanl.c (__ctanl): Likewise.
116         * math/s_ctanhl.c (__ctanhl): Likewise.
118 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
120         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
121         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
122         (_IO_off_t): Define to __off_t, not _G_off_t.
123         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
124         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
125         (_IO_wint_t): Define to wint_t, not _G_wint_t.
126         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
127         type of __dummy and __dummy2 fields.
128         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
129         (_G_ssize_t): Likewise.
130         (_G_off_t): Likewise.
131         (_G_pid_t): Likewise.
132         (_G_uid_t): Likewise.
133         (_G_wchar_t): Likewise.
134         (_G_wint_t): Likewise.
135         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
136         (_G_ssize_t): Likewise.
137         (_G_off_t): Likewise.
138         (_G_pid_t): Likewise.
139         (_G_uid_t): Likewise.
140         (_G_wchar_t): Likewise.
141         (_G_wint_t): Likewise.
142         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
143         (_G_ssize_t): Likewise.
144         (_G_off_t): Likewise.
145         (_G_pid_t): Likewise.
146         (_G_uid_t): Likewise.
147         (_G_wchar_t): Likewise.
148         (_G_wint_t): Likewise.
150 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
152         * malloc/arena.c: Include malloc-sysdep.h.
153         (shrink_heap): Use check_may_shrink_heap to decide if madvise
154         is sufficient to shrink the heap or an unmap is needed.
155         * sysdeps/generic/malloc-sysdep.h: New file.  Define
156         new function check_may_shrink_heap.
157         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
158         new function check_may_shrink_heap.
160 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
162         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
163         comments.
165 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
167         * catgets/test-gencat.sh: Add "set -e".
168         * elf/tst-pathopt.sh: Likewise.
169         * grp/tst_fgetgrent.sh: Likewise.
170         * iconvdata/run-iconv-test.sh: Likewise.
171         * intl/tst-gettext.sh: Likewise.
172         * intl/tst-gettext2.sh: Likewise.
173         * intl/tst-gettext4.sh: Likewise.
174         * intl/tst-gettext6.sh: Likewise.
175         * intl/tst-translit.sh: Likewise.
176         * io/ftwtest-sh: Likewise.
177         * libio/test-freopen.sh: Likewise.
178         * malloc/tst-mtrace.sh: Likewise.
179         * posix/globtest.sh: Likewise.
180         * posix/tst-getconf.sh: Likewise.
181         * posix/wordexp-tst.sh: Likewise.
182         * stdio-common/tst-printf.sh: Likewise.
183         * stdio-common/tst-unbputc.sh: Likewise.
184         * stdlib/tst-fmtmsg.sh: Likewise.
185         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
186         * catgets/Makefile: Do not specify -e option when running
187         testsuite shell scripts.
188         * elf/Makefile: Likewise.
189         * grp/Makefile: Likewise.
190         * iconvdata/Makefile: Likewise.
191         * intl/Makefile: Likewise.
192         * io/Makefile: Likewise.
193         * libio/Makefile: Likewise.
194         * malloc/Makefile: Likewise.
195         * posix/Makefile: Likewise.
196         * stdio-common/Makefile: Likewise.
197         * stdlib/Makefile: Likewise.
198         * sysdeps/x86_64/Makefile: Likewise.
200         * io/ftwtest-sh: Add copyright header.
201         * posix/globtest.sh: Likewise.
202         * posix/tst-getconf.sh: Likewise.
203         * posix/wordexp-tst.sh: Likewise.
204         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
206 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
208         [BZ #13679]
209         * Makeconfig (+link): Defined as $(+link-static) if
210         $(build-shared) isn't yes.
211         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
212         isn't yes.
213         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
215         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
217         [BZ #14562]
218         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
219         new chunk size with MALLOC_ALIGN_MASK.
221 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
223         [BZ #5044]
224         * stdio-common/printf_fphex.c: Include <stdbool.h> and
225         <rounding-mode.h>.
226         (__printf_fphex): Determine rounding using get_rounding_mode and
227         round_away.
228         * stdio-common/tst-printf-round.c (struct hex_test): New
229         structure.
230         (hex_tests): New variable.
231         (test_hex_in_one_mode): New function.
232         (do_test): Also run tests for hex float output.
234 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
236         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
237         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
238         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
239         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
240         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
241         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
242         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
243         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
245 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
247         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
248         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
249         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
250         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
252 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
254         [BZ #14579]
255         * elf/rtld.c (dl_main): Limit the check for self loading to normal
256         mode only.
257         * elf/tst-rtld-load-self.sh: New test.
258         * elf/Makefile: Run it.
260 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
262         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
263         (tst-writev-ENV): Remove.
264         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
266 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
268         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
270 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
272         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
273         unconditional.
274         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
275         Likewise.
276         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
277         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
278         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
279         Likewise.
281 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
283         [BZ #14587]
284         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
285         * config.make.in (have-cpp-asm-debuginfo): Removed.
286         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
287         * configure: Regenerated.
289 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
291         [BZ #5044]
292         * stdio-common/printf_fp.c: Include <stdbool.h> and
293         <rounding-mode.h>.
294         (___printf_fp): Determine rounding using get_rounding_mode and
295         round_away.
296         * stdio-common/tst-printf-round.c: New file.
297         * stdio-common/Makefile (tests): Add tst-printf-round.
298         (link-libm): New variable.
299         ($(objpfx)tst-printf-round): Depend in $(link-libm).
301 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
303         [BZ #14576]
304         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
305         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
306         Likewise.
307         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
308         Likewise.
310 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
312         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
313         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
314         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
315         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
317 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
319         [BZ #14518]
320         * include/rounding-mode.h: New file.
321         * sysdeps/generic/get-rounding-mode.h: Likewise.
322         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
323         * stdlib/strtod_l.c: Include <rounding-mode.h>.
324         (MAX_VALUE): New macro.
325         (MIN_VALUE): Likewise.
326         (overflow_value): New function.
327         (underflow_value): Likewise.
328         (round_and_return): Use overflow_value and underflow_value to
329         determine return values in overflow and underflow cases.  Use
330         round_away to determine rounding depending on rounding mode.
331         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
332         determine return values in overflow and underflow cases.
333         * stdlib/tst-strtod-round.c: Include <fenv.h>.
334         (struct test_results): New structure.
335         (struct test): Use struct test_results to store expected results
336         for all rounding modes.
337         (TEST): Include expected results for all rounding modes.
338         (test_in_one_mode): New function.
339         (do_test): Use test_in_one_mode to compute and check results.
340         Check results for all rounding modes.
341         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
342         $(link-libm).
344 2012-12-09  Allan McRae  <allan@archlinux.org>
346         * sysdeps/i386/fpu/libm-test-ulps: Update
348 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
350         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
351         (_G_int32_t): Likewise.
352         (_G_uint16_t): Likewise.
353         (_G_uint32_t): Likewise.
354         (_G_HAVE_BOOL): Likewise.
355         (_G_HAVE_ATEXIT): Likewise.
356         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
357         (_G_HAVE_IO_FILE_OPEN): Likewise.
358         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
359         (_G_int32_t): Likewise.
360         (_G_uint16_t): Likewise.
361         (_G_uint32_t): Likewise.
362         (_G_HAVE_BOOL): Likewise.
363         (_G_HAVE_ATEXIT): Likewise.
364         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
365         (_G_HAVE_IO_FILE_OPEN): Likewise.
366         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
367         (_G_int32_t): Likewise.
368         (_G_uint16_t): Likewise.
369         (_G_uint32_t): Likewise.
370         (_G_HAVE_BOOL): Likewise.
371         (_G_HAVE_ATEXIT): Likewise.
372         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
373         (_G_HAVE_IO_FILE_OPEN): Likewise.
375 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
377         * csu/libc-tls.c: Update copyright years.
379 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
381         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
382         [!_G_USING_THUNKS]: Remove conditional code.
383         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
384         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
386         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
387         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
388         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
389         (_G_VTABLE_LABEL_PREFIX): Likewise.
390         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
391         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
392         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
393         (_G_VTABLE_LABEL_PREFIX): Likewise.
394         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
395         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
396         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
397         (_G_VTABLE_LABEL_PREFIX): Likewise.
398         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
400 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
402         * libio/Makefile: Include ../Makeconfig before tests.
403         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
404         only if $(build-shared) is yes.
406         * iconv/gconv_db.c: Update copyright years.
408 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
410         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
411         unwind info if defined PIC. Fix special cases description.
412         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
414         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
415         DP_HI_MASK entry.
416         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
418 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
420         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
422         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
423         is NULL.
425         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
426         (LDLIBS-tst-chk4): This.
427         (LDFLAGS-tst-chk5): Renamed to ...
428         (LDLIBS-tst-chk5): This.
429         (LDFLAGS-tst-chk6): Renamed to ...
430         (LDLIBS-tst-chk6): This.
431         (LDFLAGS-tst-lfschk4): Renamed to ...
432         (LDLIBS-tst-lfschk4): This.
433         (LDFLAGS-tst-lfschk5): Renamed to ...
434         (LDLIBS-tst-lfschk5): This.
435         (LDFLAGS-tst-lfschk6): Renamed to ...
436         (LDLIBS-tst-lfschk6): This.
438         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
439         on $(common-objpfx)soversions.mk.
441 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
443         [BZ #10014]
444         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
445         example host name.
447 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
449         * malloc/arena.c (arena_get_retry): New function that gets
450         another arena for the caller to try its request on.
451         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
452         current arena cannot fulfill the request.
453         (__libc_memalign): Likewise.
454         (__libc_memalign): Likewise.
455         (__libc_pvalloc): Likewise.
456         (__libc_calloc): Likewise.
458 2012-09-05  John Tobey  <john.tobey@gmail.com>
460         [BZ #13542]
461         * manual/arith.texi (Operations on Complex): Fix description
462         of carg branch cut.
464 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
466         [BZ #10014]
467         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
468         host name.
470         [BZ #10038]
471         * manual/memory.texi (Memory): Make order of menu items match
472         order of sections.
474 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
476         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
477         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
478         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
480 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
482         * csu/libc-tls.c (static_dtv): Renamed to ...
483         (_dl_static_dtv): This.  Make it global.
484         (_dl_initial_dtv): Removed.
485         (__libc_setup_tls): Updated.
486         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
487         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
488         DL_INITIAL_DTV.
490 2012-09-06  Petr Machata  <pmachata@redhat.com>
492         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
493         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
494         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
495         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
497 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
499         [BZ #14545]
500         * csu/libc-tls.c (_dl_initial_dtv): New variable.
501         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
502         freeing dtv[-1].
504 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
506         [BZ #14544]
507         * Makeconfig (link-static-before-libc): Replace $(+prector)
508         with $(+prectorT).
509         (link-static-after-libc): Replace $(+postctor) with
510         $(+postctorT).
511         (link-bounded): Replace $(+prector)/$(+postctor) with
512         $(+prectorT)/$(+postctorT).
513         (+prectorT): New macro.
514         (+postctorT): Likewise.
516 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
518         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
519         (round_str): Handle values above the maximum for IBM long double
520         as inexact.
521         * stdlib/tst-strtod-round.c (tests): Regenerated.
523 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
525         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
526         assembler flag.
527         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
528         zarch_nohighgprs around the zarch optimized routines.
529         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
530         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
531         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
532         for zarch.
534 2012-09-05  David S. Miller  <davem@davemloft.net>
536         * sysdeps/sparc/fpu/libm-test-ulps: Update.
538         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
539         HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
540         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
541         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
542         entries.
544 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
546         * malloc/arena.c: Fold copyright years.
547         * malloc/mcheck.c, malloc/memusage.c: Likewise.
549 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
551         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
553 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
555         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
557 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
559         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
560         change internal state upon failure.
562 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
564         * malloc/mcheck.c (mcheck_check_all): Fix typo.
565         * malloc/memusage.c (mmap): Likewise.
566         (mmap64, mremap): Likewise.  Adjust name in comment.
568 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
570         * libio/fileops.c: Fix typos in comments.
571         * libio/oldfileops.c: Likewise.
572         * libio/wfileops.c: Likewise.
574 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
576         [BZ #1349]
577         * malloc/Makefile (tests): Add tst-malloc-usable test case.
578         (tst-malloc-usable-ENV): Set environment for test case.
579         * malloc/hooks.c (malloc_check_get_size): New function to get
580         requested size.
581         * malloc/malloc.c (musable): Use malloc_check_get_size.
582         * malloc/tst-malloc-usable.c: New test case.
584 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
586         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
588 2012-09-05  Allan McRae  <allan@archlinux.org>
590         [BZ #13966]
591         * configure.in (CXX_SYSINCLUDES): Use compiler output to
592         determine header location.
593         * configure: Regenerated.
595 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
597         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
598         float format.
599         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
600         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
601         format.
602         (test): Regenerate.
604 2012-09-04  David S. Miller  <davem@davemloft.net>
606         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
607         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
608         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
610 2012-09-04  Florian Weimer  <fweimer@redhat.com>
612         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
613         failures.
615         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
617 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
619         [BZ #9914]
620         * libio/iogetdelim.c: Include <limits.h>.
621         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
622         + len + 1 would overflow.
624 2012-09-03  Andreas Jaeger  <aj@suse.de>
626         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
627         * sysdeps/i386/fpu/libm-test-ulps: Update.
629 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
631         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
632         Add s_sinf-sse2, s_conf-sse2.
634         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
635         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
636         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
637         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
639         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
640         for using routine as __sinf_ia32.
641         Use macro for function declaration and weak_alias.
642         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
643         for using routine as __cosf_ia32.
644         Use macro for function declaration and weak_alias.
646         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
647         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
649         * sysdeps/x86_64/fpu/s_sinf.S: New file.
650         * sysdeps/x86_64/fpu/s_cosf.S: New file.
651         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
653         * math/libm-test.inc (cos_test): Add more test cases.
654         (sin_test): Likewise.
655         (sincos_test): Likewise.
657 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
659         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
660         (IFUNC_RESOLVE): Make pointers to the specialized implementations
661         hidden.
662         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
664 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
666         [BZ #14538]
667         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
668         first element of the GOT.
669         (elf_machine_load_address): Return the difference between
670         the runtime address of _DYNAMIC and elf_machine_dynamic ().
672 2012-09-01  Allan McRae  <allan@archlinux.org>
674         [BZ #13412]
675         * configure.in (AWK): Require gawk version 3.0 or later.
676         * configure: Regenerated.
678 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
680         * sysdeps/unix/sysv/linux/kernel-features.h
681         (__ASSUME_POSIX_CPU_TIMERS): Remove.
682         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
683         [__NR_clock_getres]: Make code unconditional.
684         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
685         (clock_getcpuclockid): Remove code left unreachable by removal of
686         conditionals.
687         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
688         code unconditional.
689         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
690         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
691         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
692         Make code unconditional.
693         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
694         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
695         * sysdeps/unix/sysv/linux/clock_settime.c
696         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
697         conditional code.
698         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
699         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
701 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
703         [BZ #14476]
704         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
705         scripts/test-installation.pl.
707         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
708         and $ld_so_version if it is set.
710 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
712         [BZ #14516]
713         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
714         failure if reading from procfs failed.
715         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
717 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
719         * sysdeps/unix/sysv/linux/kernel-features.h
720         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
721         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
722         Remove conditional code.
723         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
724         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
725         Remove conditional code.
726         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
727         * sysdeps/unix/sysv/linux/i386/fxstat.c
728         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
729         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
730         * sysdeps/unix/sysv/linux/i386/fxstatat.c
731         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
732         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
733         * sysdeps/unix/sysv/linux/i386/lxstat.c
734         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
735         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
736         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
737         Remove conditional code.
738         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
739         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
740         Remove conditional code.
741         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
742         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
743         <kernel-features.h>.
744         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
745         Remove.
746         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
747         Remove conditional code.
748         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
749         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
750         Remove conditional.
752 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
754         [BZ #5400]
755         * NEWS: Add fixed bug number.
757 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
759         [BZ #14519]
760         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
761         underflowing exponent in case of negative sign.
762         * stdlib/tst-strtod-round-data: Add more tests.
763         * stdlib/tst-strtod-round.c (tests): Regenerated.
765         [BZ #3479]
766         * stdlib/strtod_l.c (NDIG): Remove.
767         (HEXNDIG): Likewise.
768         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
769         smallest representable value.
770         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
771         lie within an exact representation of 1/2 ulp of the result.
772         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
773         unconditionally.
774         (TENS_P9_IDX): Define unconditionally.
775         (TENS_P9_SIZE): Likewise.
776         (TENS_P10_IDX): Likewise.
777         (TENS_P10_SIZE): Likewise.
778         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
779         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
780         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
781         entries for 10^2^13 and 10^2^14.
782         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
783         (TENS_P13_IDX): Define.
784         (TENS_P13_SIZE): Likewise.
785         (TENS_P14_IDX): Likewise.
786         (TENS_P14_SIZE): Likewise.
787         (_fpioconst_pow10): Change array size to
788         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
789         unconditional.
790         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
791         1024]: Add entries for 10^2^13 and 10^2^14.
792         [LAST_POW10 > _LAST_POW10]: Remove #error.
793         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
794         (_fpioconst_pow10): Change array size to
795         FPIOCONST_POW10_ARRAY_SIZE.
796         * stdlib/gen-fpioconst.c: New file.
797         * stdlib/gen-tst-strtod-round.c: Likewise.
798         * stdlib/tst-strtod-round-data: Likewise.
799         * stdlib/tst-strtod-round.c: Likewise.
800         * stdlib/Makefile (tests): Add tst-strtod-round.
802         [BZ #14459]
803         * stdlib/strtod_l.c: Include <stdint.h>.
804         (NDEBUG): Do not define.
805         (round_and_return): Change EXPONENT parameter to type intmax_t.
806         Rearrange calculations to avoid internal overflow possibilities.
807         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
808         Rearrange calculations to avoid internal overflow possibilities.
809         Assert that number fits inside MPNSIZE limbs.
810         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
811         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
812         calculations and add assertions to avoid internal overflow
813         possibilities.  Add casts to avoid signed/unsigned operations.
814         * stdlib/tst-strtod-overflow.c: New file.
815         * stdlib/Makefile (tests): Add tst-strtod-overflow.
817 2012-08-25  Marek Polacek  <polacek@redhat.com>
819         * time/time.h: Fix some typos in comments.
821 2012-08-23  Roland McGrath  <roland@hack.frob.com>
823         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
824         * posix/tst-rfc3484-2.c: Likewise.
825         * posix/tst-rfc3484-3.c: Likewise.
827 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
829         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
830         (EF_ARM_ABI_FLOAT_HARD): Likewise.
832 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
834         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
835         #include of fxstatat64.c.
837 2012-08-22  Roland McGrath  <roland@hack.frob.com>
839         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
840         * shadow/getspent_r.c: Likewise.
841         * shadow/getspnam.c: Likewise.
842         * shadow/getspnam_r.c: Likewise.
843         * gshadow/getsgent.c: Likewise.
844         * gshadow/getsgent_r.c: Likewise.
845         * gshadow/getsgnam.c: Likewise.
846         * gshadow/getsgnam_r.c: Likewise.
847         * inet/getnetbyad.c: Likewise.
848         * inet/getnetbyad_r.c: Likewise.
849         * inet/getnetbynm.c: Likewise.
850         * inet/getnetbynm_r.c: Likewise.
851         * inet/getnetent.c: Likewise.
852         * inet/getnetent_r.c: Likewise.
853         * inet/getproto.c: Likewise.
854         * inet/getproto_r.c: Likewise.
855         * inet/getprtent.c: Likewise.
856         * inet/getprtent_r.c: Likewise.
857         * inet/getprtname.c: Likewise.
858         * inet/getprtname_r.c: Likewise.
859         * inet/getrpcbyname.c: Likewise.
860         * inet/getrpcbyname_r.c: Likewise.
861         * inet/getrpcbynumber.c: Likewise.
862         * inet/getrpcbynumber_r.c: Likewise.
863         * inet/getrpcent.c: Likewise.
864         * inet/getrpcent_r.c: Likewise.
865         * inet/getaliasent.c: Likewise.
866         * inet/getaliasent_r.c: Likewise.
867         * inet/getaliasname.c: Likewise.
868         * inet/getaliasname_r.c: Likewise.
869         * nscd/getgrgid_r.c: Likewise.
870         * nscd/getgrnam_r.c: Likewise.
871         * nscd/gethstbyad_r.c: Likewise.
872         * nscd/gethstbynm3_r.c: Likewise.
873         * nscd/getpwnam_r.c: Likewise.
874         * nscd/getpwuid_r.c: Likewise.
875         * nscd/getsrvbynm_r.c: Likewise.
876         * nscd/getsrvbypt_r.c: Likewise.
877         * nscd/gai.c: Likewise.
879         * configure.in (build_nscd): New substituted variable, set
880         by --disable-build-nscd and defaults to $use_nscd.
881         * configure: Regenerated.
882         * config.make.in (build-nscd): New substituted variable.
883         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
884         Change conditional to require [$(build-nscd) = yes] as well.
885         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
887         [BZ# 13696]
888         * configure.in (use_nscd): New substituted variable, set by
889         --disable-nscd.  If enabled, define USE_NSCD.
890         * configure: Regenerated.
891         * config.h.in: Add USE_NSCD.
892         * config.make.in (use-nscd): New substituted variable.
893         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
894         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
895         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
896         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
897         (CFLAGS-getgrnam_r.c): Likewise.
898         (CFLAGS-initgroups.c): Likewise.
899         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
900         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
901         Variables removed.
902         * inet/getnetgrent_r.c
903         (nscd_setnetgrent): New function, broken out of ...
904         (setnetgrent): ... here.  Call it.
905         (innetgr): Conditionalize nscd bits on [USE_NSCD].
906         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
907         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
908         * nscd/Makefile (routines, aux): Move definitions after include of
909         Makeconfig.  Conditionalize on [$(use-nscd) != no].
910         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
911         Conditionalize on [USE_NSCD].
912         (is_nscd, nscd_init_cb): Likewise.
913         (nss_load_library): Conditionalize init callback on [USE_NSCD].
914         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
915         * nss/nss_db/db-init.c: Likewise.
916         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
917         [USE_NSCD].
918         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
919         (make_request): Use it.
920         (cache_valid_p): New function.
921         (__check_pf): Use it.
922         * NEWS: Add item for --disable-nscd.
924 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
926         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
927         to support sed >= 4.2.1-20-ga9bf076.
928         * configure: Regenerated.
930 2012-08-22  Roland McGrath  <roland@hack.frob.com>
932         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
933         Conditionalize whole body on [IREL].
935 2012-08-22  Jeff Law <law@redhat.com>
937         [BZ #14505]
938         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
939         if the family is PF_UNSPEC.
941 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
943         * Makerules (lib-version): Rename from V.
944         (install-lib-nosubdir): Change V to lib-version.
946 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
948         [BZ #14252]
949         * powerpc32/power6/wcschr.c: New file.
950         * powerpc32/power6/wcscpy.c: New file.
951         * powerpc32/power6/wcsrchr.c: New file.
952         * powerpc64/power6/wcschr.c: New file.
953         * powerpc64/power6/wcscpy.c: New file.
954         * powerpc64/power6/wcsrchr.c: New file.
956 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
958         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
959         (two_way_short_needle): Use it.
960         * string/strstr.c (AVAILABLE1_USES_J): Define.
961         * string/strcasestr.c: Likewise.
963         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
964         array references.
965         * string/strcasestr.c (TOLOWER): Make side-effect safe.
967         [BZ #11607]
968         * NEWS: Add an entry.
969         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
970         define their defaults.
971         (two_way_short_needle): Detect end-of-string on-the-fly.
972         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
973         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
974         * string/bug-strcasestr1.c: New test.
975         * string/Makefile: Run it.
977 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
979         [BZ #11607]
980         * string/str-two-way.h (two_way_short_needle): Optimize matching of
981         the first character.
983 2012-08-21  Roland McGrath  <roland@hack.frob.com>
985         * csu/elf-init.c (__libc_csu_irel): Function removed.
986         * csu/libc-start.c (apply_irel): New function.
987         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
989 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
991         * sysdeps/unix/sysv/linux/kernel-features.h
992         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
993         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
994         <kernel-features.h>.
995         [__NR_fadvise64_64]: Make code unconditional.
996         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
997         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
998         !__NR_fadvise64_64)]: Likewise.
999         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
1000         !__NR_fadvise64_64))]: Likewise.
1001         [__NR_fadvise64]: Make code unconditional.
1002         [!__NR_fadvise64]: Remove conditional code.
1003         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
1004         <kernel-features.h>.
1005         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
1006         unconditional.
1007         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
1008         conditional code.
1009         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
1010         not include <kernel-features.h>.
1011         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
1012         unconditional.
1013         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
1014         conditional code.
1015         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
1016         include <kernel-features.h>.
1017         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
1018         unconditional.
1019         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
1020         conditional code.
1022 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
1024         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
1025         slight instruction rearrangements per scrollpipe analysis.
1026         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
1028 2012-08-20  Roland McGrath  <roland@hack.frob.com>
1030         * manual/syslog.texi (syslog; vsyslog, closelog):
1031         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
1032         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
1034         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
1035         DSOCAPS to match condition on defining it.
1037 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
1039         * sysdeps/unix/sysv/linux/kernel-features.h
1040         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
1041         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
1042         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
1043         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
1044         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
1045         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
1046         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
1047         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
1048         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
1049         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
1051         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
1052         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
1054         * sysdeps/unix/sysv/linux/kernel-features.h
1055         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
1056         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
1057         unconditional.
1058         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
1059         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
1060         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
1061         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
1062         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
1063         Make code unconditional.
1064         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
1065         (__mmap64) [!__NR_mmap2]: Likewise.
1066         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
1067         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
1068         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
1069         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
1070         [__NR_mmap2]: Make code unconditional.
1071         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
1072         (__mmap64) [!__NR_mmap2]: Likewise.
1074 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
1076         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
1078 2012-08-18  Andreas Jaeger  <aj@suse.de>
1080         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
1082 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
1084         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
1085         * include/unistd.h (__have_sock_cloexec): Likewise.
1086         (__have_pipe2): Likewise.
1087         (__have_dup3): Likewise.
1089 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
1091         [BZ #9685]
1092         * include/unistd.h (__have_pipe2): Change define into an extern int.
1093         (__have_dup3): Likewise.
1094         * socket/have_sock_cloexec.c: Include fcntl.h.
1095         (__have_pipe2): New variable.
1096         (__have_dup3): Likewise.
1098 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
1100         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
1102 2012-08-17  Marek Polacek  <polacek@redhat.com>
1104         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
1105         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
1107 2012-08-17  Roland McGrath  <roland@hack.frob.com>
1109         * configure.in: Add AC_SUBST for sysheaders.
1110         * configure: Regenerated.
1111         * config.make.in (sysheaders): New substituted variable.
1113         * sysdeps/unix/mkfifo.c: Moved ...
1114         * sysdeps/posix/mkfifo.c: ... here.
1115         * sysdeps/unix/mkfifoat.c: Moved ...
1116         * sysdeps/posix/mkfifoat.c: ... here.
1118         * sysdeps/unix/utime.c: Moved ...
1119         * sysdeps/posix/utime.c: ... here.
1121         * sysdeps/unix/time.c: Moved ...
1122         * sysdeps/posix/time.c: ... here.
1123         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
1124         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
1126         * sysdeps/unix/nice.c: Moved ...
1127         * sysdeps/posix/nice.c: ... here.
1129         * sysdeps/unix/alarm.c: Moved ...
1130         * sysdeps/posix/alarm.c: ... here.
1132         * intl/Makefile ($(codeset_mo)): Depend on the input file.
1134 2012-08-17  Jeff Law <law@redhat.com>
1136         * intl/Makefile (codeset_mo): New variable.
1137         ($(codeset_mo)): New target.
1138         (tst-codeset.out): Depend on that.  Remove explicit rule.
1139         (tst-gettext3.out, tst-gettext5.out): Likewise.
1140         (LOCPATH-ENV, tst-codeset-ENV): New variables.
1141         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
1142         * intl/tst-codeset.sh: Remove.
1143         * intl/tst-gettext3.sh: Likewise.
1144         * intl/tst-gettext5.sh: Likewise.
1146 2012-08-17  Roland McGrath  <roland@hack.frob.com>
1148         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
1149         * sysdeps/unix/syscalls.list: ... here.
1151         * sysdeps/posix/getaddrinfo.c
1152         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
1153         (gaiconf_init, gaiconf_reload): Use them.
1154         [!_STATBUF_ST_NSEC]
1155         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
1156         Define using time_t rather than struct timespec.
1158         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
1159         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
1160         Macros removed.
1161         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
1162         [!NO_THREADS].
1163         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
1164         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
1165         Likewise.
1167         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
1168         __libc_cleanup_push argument.
1170         * bits/param.h: New file.
1171         * misc/sys/param.h: New file.
1172         * include/sys/param.h: New file.
1173         * misc/Makefile (headers): Add bits/param.h.
1174         * sysdeps/generic/sys/param.h: File removed.
1175         * sysdeps/unix/sysv/linux/bits/param.h: New file.
1176         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
1177         * sysdeps/mach/hurd/bits/param.h: New file.
1178         * sysdeps/mach/hurd/sys/param.h: New file.
1180         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
1181         last change.
1183         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
1184         [_IO_MTSAFE_IO].
1185         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
1186         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
1187         New macros.
1189         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
1190         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
1191         rather than -D_IO_MTSAFE_IO conditionally.
1192         * stdio-common/Makefile (CPPFLAGS): Likewise.
1193         * wcsmbs/Makefile (CPPFLAGS): Likewise.
1194         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
1195         Use $(libio-mtsafe).
1196         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
1197         of -D_IO_MTSAFE_IO.
1198         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
1199         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
1200         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
1201         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
1202         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
1203         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
1204         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
1205         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
1206         (CFLAGS-fread_u_chk.c): Likewise.
1207         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
1208         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
1209         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
1210         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
1211         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
1212         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
1213         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
1214         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
1215         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
1217         * libio/Makefile: Test [$(libc-reentrant) = yes]
1218         instead of [$(filter %REENTRANT, $(defines)) nonempty].
1220         * Makeconfig
1221         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
1222         * sysdeps/pthread/configure: File removed.
1223         * sysdeps/pthread/Makeconfig: New file.
1224         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
1225         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
1227 2012-08-16  Gary Benson  <gbenson@redhat.com>
1229         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
1230         unmapping the first object in a namespace.
1232 2012-08-16  Roland McGrath  <roland@hack.frob.com>
1234         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
1235         (__internal_setnetgrent): ... this.  Add internal_function to
1236         definition.  Add libc_hidden_def.
1237         (setnetgrent): Update caller.
1238         (internal_endnetgrent): Renamed to ...
1239         (__internal_endnetgrent): ... this.  Add internal_function to
1240         definition.  Add libc_hidden_def.
1241         (endnetgrent): Update caller.
1242         (internal_getnetgrent_r): Renamed to ...
1243         (__internal_getnetgrent_r): ... this.  Add internal_function to
1244         definition.  Add libc_hidden_def.
1245         (__getnetgrent_r): Update caller.
1246         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
1248 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
1250         * stdlib/longlong.h: Update from GCC.
1252 2012-08-16  Roland McGrath  <roland@hack.frob.com>
1254         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
1255         on _QL, which is set by umul_ppmm but never used.
1256         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
1257         variables, which are set by GMP macros but never used.
1258         * stdio-common/_itowa.c (_itowa): Likewise.
1259         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
1260         * stdlib/mod_1.c (mpn_mod_1): Likewise.
1262 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
1264         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
1265         struct La_sh_regs is not constant.
1266         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
1267         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
1268         and struct La_sparc64_regs are not constant.
1270 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
1272         * sysdeps/unix/sysv/linux/kernel-features.h
1273         (__ASSUME_POSIX_TIMERS): Remove.
1274         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
1275         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
1276         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
1277         Make code unconditional.
1278         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
1279         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
1280         Make code unconditional.
1281         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
1282         * sysdeps/unix/sysv/linux/clock_nanosleep.c
1283         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
1284         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
1285         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
1286         Make code unconditional.
1287         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
1288         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
1289         (__libc_missing_posix_timers): Remove.
1291 2012-08-15  Roland McGrath  <roland@hack.frob.com>
1293         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
1294         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
1296         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
1298         * elf/dl-sym.c: Include <stdlib.h>.
1300         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
1301         constants, which avoids warnings in 32-bit builds.
1303         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
1304         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
1306         * misc/lseek.c: File moved to ...
1307         * io/lseek.c: ... here.
1309         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
1311         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
1312         shifting LEN more than 31 bits at once.
1314 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
1316         [BZ #14195]
1317         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
1318         segmentation fault for a case of two empty input strings.
1319         * string/test-strncasecmp.c (check1): Renamed to...
1320         (bz12205): ...this.
1321         (bz14195): Add new testcase for two empty input strings and N > 0.
1322         (test_main): Call new testcase, adapt for renamed function.
1324 2012-08-15  Andreas Jaeger  <aj@suse.de>
1326         [BZ #14090]
1327         * crypt/md5test2.c: New test, based on test supplied by Serge
1328         Belyshev <belyshev@depni.sinp.msu.ru>.
1329         * crypt/Makefile (xtests): Add md5test-giant..
1330         * crypt/Makefile ($(objpfx)md5test-giant): Add.
1332 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
1334         [BZ #14090]
1335         * crypt/md5.c (md5_process_block): Don't assume the buffer
1336         length is less than 2**32.
1337         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
1338         length is less than 2**64.
1340 2012-08-15  Roland McGrath  <roland@hack.frob.com>
1342         * string/str-two-way.h: Include <sys/param.h>.
1343         (MAX): Macro removed.
1345         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
1346         Move #define and #undef of memmove to just before and after
1347         including <string.h>.
1349         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
1350         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
1351         and after including <string.h>.  Move declarations of
1352         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
1353         to before #include "string/memmove.c".
1355         * include/dirent.h: Declare __getdirentries.
1357         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
1358         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
1360 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
1362         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
1363         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
1364         * sysdeps/i386/configure: Regenerated.
1365         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
1366         STABS_CURRENT_FILE, and STABS_FUN.
1367         (END): Remove call to STABS_FUN_END.
1368         (STABS_CURRENT_FILE1): Delete.
1369         (STABS_CURRENT_FILE): Likewise.
1370         (STABS_FUN): Likewise.
1371         (STABS_FUN_END): Likewise.
1372         (STABS_FUN2): Likewise.
1373         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
1374         * sysdeps/x86_64/configure: Regenerated.
1376 2012-08-14  Roland McGrath  <roland@hack.frob.com>
1378         * elf/dl-open.c: Include <atomic.h>.
1379         * elf/dl-lookup.c: Likewise.
1381 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
1383         * sysdeps/unix/sysv/linux/kernel-features.h
1384         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
1385         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
1386         unconditionally.
1387         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
1388         unconditionally.
1389         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
1390         condition on __ASSUME_CLONE_THREAD_FLAGS.
1392 2012-08-14  Andreas Jaeger  <aj@suse.de>
1394         * sysdeps/i386/fpu/libm-test-ulps: Update.
1396 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
1398         * include/atomic.h (atomic_exchange_and_add): Split into ...
1399         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
1400         New atomic macros.
1402 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
1404         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1406 2012-08-13  Jeff Law <law@redhat.com>
1408         * manual/stdio.texi (snprintf): Clarify handling of the trailing
1409         null byte in the output string.
1411 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
1413         * sysdeps/unix/sysv/linux/kernel-features.h
1414         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
1415         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
1416         (__ASSUME_ARG_MAX_STACK_BASED): Define.
1417         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
1418         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
1419         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
1420         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
1422 2012-08-09  Jeff Law <law@redhat.com>
1424         [BZ #13939]
1425         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
1426         When avoid_arena is set, don't retry in the that arena.  Pick the
1427         next one, whatever it might be.
1428         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
1429         (arena_lock): Pass in new parameter to arena_get2.
1430         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
1431         arena_get2.
1432         (__libc_malloc): Unify retrying after main arena failure with
1433         __libc_memalign version.
1434         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
1436 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
1438         [BZ #14166]
1439         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
1440         to __redirect_strstr.
1441         (__strstr_sse42): Use typeof __redirect_strstr.
1442         (__strstr_ia32): Likewise.
1443         (__libc_strstr): New prototype.
1444         (strstr): Renamed to ...
1445         (__libc_strstr): This.
1446         (strstr): New strong alias of __libc_strstr.
1447         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
1448         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
1449         __redirect_time.
1450         Include <time.h>.
1451         (__libc_time): New prototype.
1452         (time_ifunc): Replace time with __libc_time.
1453         (time): New strong alias and hidden definition of __libc_time.
1454         (__GI_time): Remove strong alias.
1455         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
1456         Include <stddef.h>.
1457         (memmove): Redefined to __redirect_memmove.
1458         (__memmove_sse2): Use typeof __redirect_memmove.
1459         (__memmove_ssse3): Likewise.
1460         (__memmove_ssse3_back): Likewise.
1461         (__libc_memmove): New prototype.
1462         (memmove): Renamed to ...
1463         (__libc_memmove): This.
1464         (memmove): New strong alias of __libc_memmove.
1466 2012-08-08  Mark Salter  <msalter@redhat.com>
1468         * elf/elf.h
1469         (R_MN10300_TLS_GD): Define.
1470         (R_MN10300_TLS_LD): Likewise.
1471         (R_MN10300_TLS_LDO): Likewise.
1472         (R_MN10300_TLS_GOTIE): Likewise.
1473         (R_MN10300_TLS_IE): Likewise.
1474         (R_MN10300_TLS_LE): Likewise.
1475         (R_MN10300_TLS_DTPMOD): Likewise.
1476         (R_MN10300_TLS_DTPOFF): Likewise.
1477         (R_MN10300_TLS_TPOFF): Likewise.
1478         (R_MN10300_SYM_DIFF): Likewise.
1479         (R_MN10300_ALIGN): Likewise.
1480         (R_MN10300_NUM): Update.
1482 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
1484         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
1485         Remove.
1487 2012-08-08  Roland McGrath  <roland@hack.frob.com>
1489         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
1491         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
1492         sysdeps/unix -> sysdeps/posix move.
1493         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
1495 2012-08-07      Allan McRae     <allan@archlinux.org>
1497         [BZ #14303]
1498         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
1499         (SUNOS_CPP): Likewise.
1500         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
1501         not found.
1502         (open_input): Call CPP using execvp.
1504 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
1506         * sysdeps/unix/sysv/linux/kernel-features.h
1507         (__ASSUME_PROT_GROWSUPDOWN): Remove.
1508         (__ASSUME_NO_CLONE_DETACHED): Likewise.
1509         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
1510         (__ASSUME_WAITID_SYSCALL): Likewise.
1511         * sysdeps/unix/sysv/linux/dl-execstack.c
1512         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
1513         code unconditional.
1514         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
1515         conditional code.
1516         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
1517         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
1518         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
1519         code.
1520         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
1521         unconditional.
1522         [__ASSUME_WAITID_SYSCALL]: Likewise.
1523         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
1525 2012-08-07  Roland McGrath  <roland@hack.frob.com>
1527         * sysdeps/unix/closedir.c: Renamed to ...
1528         * sysdeps/posix/closedir.c: ... here.
1529         * sysdeps/unix/dirfd.c: Renamed to ...
1530         * sysdeps/posix/dirfd.c: ... here.
1531         * sysdeps/unix/dirstream.h: Renamed to ...
1532         * sysdeps/posix/dirstream.h: ... here.
1533         * sysdeps/unix/fdopendir.c: Renamed to ...
1534         * sysdeps/posix/fdopendir.c: ... here.
1535         * sysdeps/unix/opendir.c: Renamed to ...
1536         * sysdeps/posix/opendir.c: ... here.
1537         * sysdeps/unix/readdir.c: Renamed to ...
1538         * sysdeps/posix/readdir.c: ... here.
1539         * sysdeps/unix/readdir_r.c: Renamed to ...
1540         * sysdeps/posix/readdir_r.c: ... here.
1541         * sysdeps/unix/rewinddir.c: Renamed to ...
1542         * sysdeps/posix/rewinddir.c: ... here.
1543         * sysdeps/unix/seekdir.c: Renamed to ...
1544         * sysdeps/posix/seekdir.c: ... here.
1545         * sysdeps/unix/telldir.c: Renamed to ...
1546         * sysdeps/posix/telldir.c: ... here.
1547         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
1548         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
1549         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
1550         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
1552         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
1553         * bits/fcntl.h: ... here.
1555         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
1556         not 0.
1557         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
1558         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
1559         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
1560         (struct flock): Move l_start, l_len to the beginning.
1561         Use __pid_t for l_pid.
1562         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
1563         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
1564         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
1565         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
1566         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
1567         [__USE_LARGEFILE64] (struct flock64): New type.
1568         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
1570         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
1571         * bits/dirent.h: ... here.
1573         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
1574         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
1576 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
1578         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
1579         Change from 2.6.0 to 2.6.16.
1580         * sysdeps/unix/sysv/linux/configure: Regenerated.
1581         * sysdeps/unix/sysv/linux/kernel-features.h
1582         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
1583         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
1584         version.
1585         (__ASSUME_UTIMES): Likewise.
1586         (__ASSUME_CLONE_STOPPED): Remove.
1587         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
1588         architectures, not kernel version.
1589         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
1590         (__ASSUME_NO_CLONE_DETACHED): Likewise.
1591         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
1592         (__ASSUME_WAITID_SYSCALL): Likewise.
1593         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
1594         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
1595         * README: State 2.6.16 as minimum Linux kernel version.  Do not
1596         refer to older versions.
1598 2012-08-06  Roland McGrath  <roland@hack.frob.com>
1600         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
1601         Define alphasort64 as an alias.
1602         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
1603         Define versionsort64 as an alias.
1604         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
1605         Define scandir64 as an alias.
1606         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
1607         Define scandirat64 as an alias.
1608         * dirent/alphasort64.c (alphasort64):
1609         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
1610         * dirent/versionsort64.c: Likewise.
1611         * dirent/scandir64.c: Likewise.
1612         * dirent/scandirat64.c: Likewise.
1613         * sysdeps/wordsize-64/alphasort.c: File removed.
1614         * sysdeps/wordsize-64/alphasort64.c: File removed.
1615         * sysdeps/wordsize-64/scandir.c: File removed.
1616         * sysdeps/wordsize-64/scandir64.c: File removed.
1617         * sysdeps/wordsize-64/scandirat.c: File removed.
1618         * sysdeps/wordsize-64/scandirat64.c: File removed.
1619         * sysdeps/wordsize-64/versionsort.c: File removed.
1620         * sysdeps/wordsize-64/versionsort64.c: File removed.
1621         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
1622         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
1623         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
1624         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
1625         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
1626         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
1627         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
1628         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
1630         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
1631         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
1632         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
1633         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
1634         [defined __arch64__ || defined __sparcv9]
1635         (__INO_T_MATCHES_INO64_T): New macro.
1636         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
1637         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
1638         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
1639         * sysdeps/unix/sysv/linux/bits/dirent.h
1640         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
1641         (_DIRENT_MATCHES_DIRENT64): New macro.
1643         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
1644         Define lockf64 as an alias.
1645         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
1646         Define fseeko64 as an alias.
1647         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
1648         Define ftello64 as an alias.
1649         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
1650         Define _IO_fgetpos64 and fgetpos64 as aliases.
1651         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
1652         Define _IO_fsetpos64 and fsetpos64 as aliases.
1653         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
1654         Conditionalize body on this.
1655         * libio/fseeko64.c: Likewise.
1656         * libio/ftello64.c: Likewise.
1657         * libio/iofgetpos64.c: Likewise.
1658         * libio/iofsetpos64.c: Likewise.
1659         * sysdeps/wordsize-64/lockf.c: File removed.
1660         * sysdeps/wordsize-64/lockf64.c: File removed.
1661         * sysdeps/wordsize-64/fseeko.c: File removed.
1662         * sysdeps/wordsize-64/fseeko64.c: File removed.
1663         * sysdeps/wordsize-64/ftello.c: File removed.
1664         * sysdeps/wordsize-64/ftello64.c: File removed.
1665         * sysdeps/wordsize-64/iofgetpos.c: File removed.
1666         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
1667         * sysdeps/wordsize-64/iofsetpos.c: File removed.
1668         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
1669         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
1670         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
1671         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
1672         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
1673         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
1674         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
1675         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
1676         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
1677         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
1678         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
1680         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
1681         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
1682         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
1683         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
1684         [defined __arch64__ || defined __sparcv9]
1685         (__OFF_T_MATCHES_OFF64_T): New macro.
1686         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
1687         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
1688         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
1689         (__OFF_T_MATCHES_OFF64_T): New macro.
1691 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
1693         * stdlib/secure-getenv.c (__secure_getenv): Replace
1694         GLIBC_2_16 with GLIBC_2_17.
1696 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
1698         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
1699         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
1701 2012-08-03  David S. Miller  <davem@davemloft.net>
1703         * sysdeps/sparc/fpu/libm-test-ulps: Update.
1705 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
1707         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
1708         Remove.
1709         (__ASSUME_CORRECT_SI_PID): Likewise.
1710         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
1711         (__ASSUME_TMPFS_NAME): Likewise.
1712         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
1713         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
1714         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
1715         (HAVE_AUX_SECURE): Make definition unconditional.
1716         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
1717         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
1719 2012-08-03  Roland McGrath  <roland@hack.frob.com>
1721         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
1722         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
1723         * sysdeps/mach/hurd/eloop-threshold.h: New file.
1724         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
1725         __eloop_threshold instead of SYMLOOP_MAX.
1727         * sysdeps/generic/eloop-threshold.h: New file.
1728         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
1729         of MAXSYMLINKS.
1730         * elf/chroot_canon.c (chroot_canon): Likewise.
1732 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
1734         [BZ #13717]
1735         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
1736         Change to 2.6.0 everywhere.
1737         * sysdeps/unix/sysv/linux/configure: Regenerated.
1738         * sysdeps/unix/sysv/linux/kernel-features.h
1739         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
1740         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
1741         kernel versions.
1742         (__ASSUME_POSIX_TIMERS): Define unconditionally.
1743         (__ASSUME_FUTEX_REQUEUE): Remove.
1744         (__ASSUME_STATFS64): Define unconditionally.
1745         (__ASSUME_AT_SECURE): Likewise.
1746         (__ASSUME_CORRECT_SI_PID): Likewise.
1747         (__ASSUME_TGKILL): Define without depending on kernel version for
1748         i386.
1749         (__ASSUME_UTIMES): Likewise.
1750         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
1751         kernel version.
1752         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
1753         (__ASSUME_TMPFS_NAME): Likewise.
1754         * README: Update reference to Linux kernel versions.
1756 2012-08-02  Marek Polacek  <polacek@redhat.com>
1758         [BZ# 14150]
1759         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
1760         libc_cv_asm_type_prefix with %.
1761         * configure: Regenerated.
1762         * include/libc-symbols.h: Remove comment about
1763         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
1764         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
1765         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
1766         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
1767         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
1768         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
1769         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
1770         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
1771         * elf/tst-unique2mod1.c: Likewise.
1772         * elf/tst-unique1mod2.c: Likewise.
1773         * elf/tst-unique1mod1.c: Likewise.
1774         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
1775         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
1776         Replace ASM_TYPE_DIRECTIVE with .type.
1777         * sysdeps/s390/s390-64/sysdep.h: Likewise.
1778         * sysdeps/i386/sysdep.h: Likewise.
1779         * sysdeps/x86_64/sysdep.h: Likewise.
1780         * sysdeps/sh/sysdep.h: Likewise.
1781         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
1782         Do not define ASM_TYPE_DIRECTIVE.
1783         * sysdeps/powerpc/sysdep.h: Likewise.
1784         * sysdeps/powerpc/powerpc32/sysdep.h:
1785         Replace ASM_TYPE_DIRECTIVE with .type.
1786         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
1787         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
1788         * sysdeps/i386/fpu/e_powf.S: Likewise.
1789         * sysdeps/i386/fpu/e_expl.S: Likewise.
1790         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
1791         * sysdeps/i386/fpu/e_acosh.S: Likewise.
1792         * sysdeps/i386/fpu/e_pow.S: Likewise.
1793         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
1794         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
1795         * sysdeps/i386/fpu/s_expm1.S: Likewise.
1796         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
1797         * sysdeps/i386/fpu/e_log2.S: Likewise.
1798         * sysdeps/i386/fpu/e_log2l.S: Likewise.
1799         * sysdeps/i386/fpu/e_scalb.S: Likewise.
1800         * sysdeps/i386/fpu/e_powl.S: Likewise.
1801         * sysdeps/i386/fpu/e_log10f.S: Likewise.
1802         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
1803         * sysdeps/i386/fpu/e_logl.S: Likewise.
1804         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
1805         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
1806         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
1807         * sysdeps/i386/fpu/e_log2f.S: Likewise.
1808         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
1809         * sysdeps/i386/fpu/e_log.S: Likewise.
1810         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
1811         * sysdeps/i386/fpu/e_logf.S: Likewise.
1812         * sysdeps/i386/fpu/e_log10l.S: Likewise.
1813         * sysdeps/i386/fpu/e_atanh.S: Likewise.
1814         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
1815         * sysdeps/i386/fpu/e_log10.S: Likewise.
1816         * sysdeps/i386/fpu/s_frexp.S: Likewise.
1817         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
1818         * sysdeps/i386/fpu/s_asinh.S: Likewise.
1819         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
1820         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
1821         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
1822         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
1823         * sysdeps/i386/i686/strtok.S: Likewise.
1824         * sysdeps/i386/i386-mcount.S: Likewise.
1825         * sysdeps/i386/strtok.S: Likewise.
1826         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
1827         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
1828         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
1829         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
1830         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
1831         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
1832         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
1833         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
1834         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
1835         * sysdeps/x86_64/_mcount.S: Likewise.
1836         * sysdeps/x86_64/strtok.S: Likewise.
1837         * sysdeps/sh/_mcount.S: Likewise.
1839 2012-08-01  Roland McGrath  <roland@hack.frob.com>
1841         * libio/iofopen.c: Include <fcntl.h>.
1842         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
1843         (_IO_fopen64, fopen64): Define as aliases.
1844         * libio/iofopen64.c: Include <fcntl.h>.
1845         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
1846         Conditionalize body on this.
1847         * sysdeps/wordsize-64/iofopen.c: File removed.
1848         * sysdeps/wordsize-64/iofopen64.c: File removed.
1850 2012-08-01  Marek Polacek  <polacek@redhat.com>
1852         * libc/Makeconfig: Use elf in place of binfmt-subdir.
1853         Use dlfcn directly instead of a variable.
1854         (binfmt-subdir): Do not define.
1855         (dlfcn): Likewise.
1857 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
1859         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
1860         Remove all definitions.
1861         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
1862         <kernel-features.h>.
1863         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
1864         (miss_F_GETOWN_EX): Remove all definitions.
1865         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
1866         macro definition.
1867         [!__ASSUME_FCNTL64]: Remove conditional code.
1868         [__ASSUME_FCNTL64]: Make code unconditional.
1869         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
1870         <kernel-features.h>.
1871         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
1872         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
1873         (lockf64) [__NR_fcntl64]: Make code unconditional.
1874         (lockf64) [__ASSUME_FCNTL64]: Likewise.
1876         * sysdeps/unix/sysv/linux/kernel-features.h
1877         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
1878         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
1879         Make code unconditional.
1880         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
1881         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
1882         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
1883         [__NR_vfork]: Make code unconditional.
1884         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
1885         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
1886         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
1887         [__NR_vfork]: Make code unconditional.
1888         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
1889         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
1891 2012-08-01  Roland McGrath  <roland@hack.frob.com>
1893         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
1894         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
1896         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
1897         Define mkstemp64 as an alias.
1898         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
1899         Define mkstemps64 as an alias.
1900         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
1901         Define mkostemp64 as an alias.
1902         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
1903         Define mkostemps64 as an alias.
1904         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
1905         Conditionalize body on this.
1906         * misc/mkostemp64.c: Likewise.
1907         * misc/mkostemps64.c: Likewise.
1908         * misc/mkstemps64.c: Likewise.
1909         * sysdeps/wordsize-64/mkstemp64.c: File removed.
1910         * sysdeps/wordsize-64/mkostemp64.c: File removed.
1911         * sysdeps/wordsize-64/mkostemp.c: File removed.
1912         * sysdeps/wordsize-64/mkstemp.c: File removed.
1913         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
1914         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
1915         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
1916         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
1918         [BZ #14138]
1919         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
1920         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
1921         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
1922         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
1924         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
1925         compat_symbol macros from <shlib-compat.h> rather than the underlying
1926         default_symbol_version and symbol_version macros, so that DEFAULT
1927         lines in shlib-versions are respected.
1928         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
1930 2012-08-01  Florian Weimer  <fweimer@redhat.com>
1932         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
1933         Declare with warn_unused_result.
1934         (setgid, setregid, setegid, setresgid): Likewise.
1935         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
1936         Likewise.
1937         * WUR-REPORT: Remove set*id functions.
1939 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
1941         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
1943 2012-07-31  Roland McGrath  <roland@hack.frob.com>
1945         * include/sys/socket.h (__libc_accept, __libc_accept4):
1946         Add attribute_hidden.
1947         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
1949         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
1950         use of PTR_MANGLE.
1951         * inet/getnetgrent_r.c (setup): Likewise.
1953         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
1955 2012-07-31  David S. Miller  <davem@davemloft.net>
1957         * sysdeps/sparc/fpu/libm-test-ulps: Update.
1959 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
1961         [BZ #13629]
1962         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
1963         value between 1.0 and 2.0 and smaller part has absolute value less
1964         than 1.0.
1965         * math/s_clog10.c (__clog10): Likewise.
1966         * math/s_clog10f.c (__clog10f): Likewise.
1967         * math/s_clog10l.c (__clog10l): Likewise.
1968         * math/s_clogf.c (__clogf): Likewise.
1969         * math/s_clogl.c (__clogl): Likewise.
1970         * math/libm-test.inc (clog_test): Add more tests.
1971         (clog10_test): Likewise.
1972         * sysdeps/i386/fpu/libm-test-ulps: Update.
1973         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1975 2012-07-31  Florian Weimer  <fweimer@redhat.com>
1977         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
1978         Exit with zero in case no suitable GID is found, and write a
1979         message to standard error.
1981 2012-07-30  Roland McGrath  <roland@hack.frob.com>
1983         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
1984         rather than to 1.
1985         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
1986         (MAXPATHLEN): Removed.
1987         (NOGROUP, NODEV): New macros.
1988         (setbit, clrbit, isset, isclr): New macros.
1989         (howmany, roundup, powerof2): New macros.
1990         (DEV_BSIZE): New macro.
1992         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
1993         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
1995         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
1996         definition on [!__NO_LONG_DOUBLE_MATH].
1998         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
1999         PTR_MANGLE and PTR_DEMANGLE.
2001         * socket/accept4.c (accept4): Rename to __libc_accept4.
2002         Define accept4 as a weak alias.
2004         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
2005         on [_DIRENT_HAVE_D_TYPE].
2006         * io/ftw.c (ftw_dir): Likewise.
2008         * io/xmknod.c (__xmknod): Don't check PATH for being null.
2010         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
2012         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
2013         Use the BSD numbers rather than the arbitrary ones we had.
2014         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
2015         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
2016         (SIGXCPU, SIGXFSZ): New macros.
2017         (_NSIG): Now 32.
2019         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
2020         initializer on [_LIBC_REENTRANT].
2022         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
2023         definitions inside [_POSIX_MAPPED_FILES].
2025         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
2027         * dirent/opendir.c: Include <fcntl.h>.
2029         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
2030         (__libc_getspecific): Likewise.
2031         (__libc_key_create): Likewise.
2033         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
2034         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
2035         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
2036         (tmpfile64): Define as alias.
2037         * sysdeps/wordsize-64/tmpfile.c: File removed.
2038         * sysdeps/wordsize-64/tmpfile64.c: File removed.
2039         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
2040         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
2042         * stdio-common/vfscanf.c: Include <stdbool.h>.
2043         * nss/makedb.c: Likewise.
2044         * stdio-common/_i18n_number.h: Likewise.
2045         * argp/argp-help.c: Likewise.
2046         * posix/wordexp.c: Likewise.
2047         * sysdeps/posix/spawni.c: Likewise.
2048         * nss/nss_files/files-initgroups.c: Likewise.
2049         * stdio-common/reg-modifier.c: Include <stdlib.h>.
2050         * nss/nss_files/files-initgroups.c: Likewise.
2051         * nss/nss_db/db-netgrp.c: Likewise.
2052         * nss/nss_db/db-initgroups.c: Likewise.
2053         * io/fchmodat.c: Include <sys/stat.h>.
2055         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
2056         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
2058         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
2059         [HAVE_MMAP].
2061         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
2062         Add multiple inclusion protection.
2064 2012-07-27  David S. Miller  <davem@davemloft.net>
2066         * sysdeps/sparc/fpu/libm-test-ulps: Update.
2068 2012-07-27  Gary Benson  <gbenson@redhat.com>
2070         [BZ #14298]
2071         * elf/rtld.c: Include <stap-probe.h>.
2072         (dl_main): Added static probes "init_start" and "init_complete".
2073         * elf/dl-load.c: Include <stap-probe.h>.
2074         (lose): Take new parameter "nsid".
2075         Added static probe "map_failed".
2076         (_dl_map_object_from_fd): Pass namespace id to lose.
2077         Added static probe "map_start".
2078         (open_verify): Pass namespace id to lose.
2079         * elf/dl-open.c: Include <stap-probe.h>.
2080         (dl_open_worker) Added static probes "map_complete", "reloc_start"
2081         and "reloc_complete".
2082         * elf/dl-close.c: Include <stap-probe.h>.
2083         (_dl_close_worker): Added static probes "unmap_start" and
2084         "unmap_complete".
2085         * elf/rtld-debugger-interface.txt: New file documenting the above.
2087 2012-07-26  Roland McGrath  <roland@hack.frob.com>
2089         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
2090         rather than a string variable.
2091         * sunrpc/rpc_main.c (h_output): Likewise.
2092         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
2094 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
2096         * inet/check_native.c: New file.
2098 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
2100         [BZ #13629]
2101         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
2102         if larger part has absolute value 1.0.
2103         * math/s_clog10.c (__clog10): Likewise.
2104         * math/s_clog10f.c (__clog10f): Likewise.
2105         * math/s_clog10l.c (__clog10l): Likewise.
2106         * math/s_clogf.c (__clogf): Likewise.
2107         * math/s_clogl.c (__clogl): Likewise.
2108         * math/libm-test.inc (clog_test): Add more tests.
2109         (clog10_test): Likewise.
2110         * sysdeps/i386/fpu/libm-test-ulps: Update.
2111         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2113         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
2114         (pltexit): Likewise.
2115         (La_regs): Likewise.
2116         (La_retval): Likewise.
2117         (int_retval): Likewise.
2118         Update #error for removed macros to refer only to definitions in
2119         tst-audit.h.
2120         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
2121         macro.
2122         (pltexit): Likewise.
2123         (La_regs): Likewise.
2124         (La_retval): Likewise.
2125         (int_retval): Likewise.
2126         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
2127         macro.
2128         (pltexit): Likewise.
2129         (La_regs): Likewise.
2130         (La_retval): Likewise.
2131         (int_retval): Likewise.
2132         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
2133         macro.
2134         (pltexit): Likewise.
2135         (La_regs): Likewise.
2136         (La_retval): Likewise.
2137         (int_retval): Likewise.
2138         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
2139         macro.
2140         (pltexit): Likewise.
2141         (La_regs): Likewise.
2142         (La_retval): Likewise.
2143         (int_retval): Likewise.
2144         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
2145         macro.
2146         (pltexit): Likewise.
2147         (La_regs): Likewise.
2148         (La_retval): Likewise.
2149         (int_retval): Likewise.
2150         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
2151         macro.
2152         (pltexit): Likewise.
2153         (La_regs): Likewise.
2154         (La_retval): Likewise.
2155         (int_retval): Likewise.
2156         * sysdeps/generic/tst-audit.h: Update comment to refer only to
2157         macro definitions in tst-audit.h.
2158         * sysdeps/i386/tst-audit.h: New file.
2159         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
2160         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
2161         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
2162         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
2163         * sysdeps/sh/tst-audit.h: Likewise.
2164         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
2165         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
2166         * sysdeps/x86_64/tst-audit.h: Likewise.
2168 2012-07-26  Andreas Jaeger  <aj@suse.de>
2170         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
2171         ptrace.
2173         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
2174         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
2175         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
2176         PTRACE_O_MASK.
2177         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
2178         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
2179         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
2181         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
2182         value.
2184         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
2185         _sigsys.
2186         (si_call_addr, si_syscall, si_arch): Define new macro.
2187         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
2188         _sigsys.
2189         (si_call_addr, si_syscall, si_arch): Define new marcro.
2190         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
2191         _sigsys.
2192         (si_call_addr, si_syscall, si_arch): Define new macro.
2193         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
2194         _sigsys.
2195         (si_call_addr, si_syscall, si_arch): Define new macro.
2197 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
2199         [BZ #13717]
2200         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
2201         Change to 2.4.21 where previously 2.4.1.
2202         * sysdeps/unix/sysv/linux/configure: Regenerated.
2203         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
2204         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
2205         Linux kernel version.
2206         (__ASSUME_STD_AUXV): Remove.
2207         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
2208         kernel version.
2209         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
2210         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
2211         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
2212         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
2213         (__ASSUME_NETLINK_SUPPORT): Likewise.
2214         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
2215         (__no_netlink_support): Remove conditional definition.
2216         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
2217         Remove.
2218         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
2219         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
2220         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
2221         (if_nameindex_ioctl): Remove.
2222         (if_nameindex_netlink): Do not handle __no_netlink_support.
2223         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
2224         code.
2225         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
2226         Remove conditional code.
2227         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
2228         code.
2229         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
2230         unconditional.
2231         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
2232         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
2233         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
2234         Remove.
2235         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
2236         [!__ASSUME_STD_AUXV]: Remove conditional code.
2237         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
2238         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
2239         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
2240         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
2241         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
2242         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
2243         code.
2244         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
2245         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
2246         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
2247         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
2248         conditional code.
2249         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
2250         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
2251         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
2252         code.
2253         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
2254         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
2255         conditional code.
2256         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
2257         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
2258         code unconditional.
2259         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
2260         conditional code.
2261         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
2262         unconditional.
2263         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
2264         conditional code.
2265         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
2266         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
2267         unconditional.
2268         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
2269         conditional code.
2270         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
2271         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
2272         code unconditional.
2273         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
2274         conditional code.
2275         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
2276         unconditional.
2277         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
2278         conditional code.
2279         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
2280         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
2281         code unconditional.
2282         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
2283         conditional code.
2284         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
2285         unconditional.
2286         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
2287         conditional code.
2289 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
2291         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
2292         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
2293         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
2294         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
2295         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
2296         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
2297         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
2298         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
2299         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
2300         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
2301         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
2302         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
2303         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
2304         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
2305         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
2306         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
2307         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
2308         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
2309         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
2310         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
2311         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
2312         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
2313         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
2315 2012-07-25  Florian Weimer  <fweimer@redhat.com>
2317         * Versions.def: Add GLIBC_2.17.
2318         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
2319         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
2320         Introduce __libc_secure_getenv.
2321         * stdlib/Versions (2.17): Add secure_getenv
2322         (GLIBC_PRIVATE): Add __libc_secure_getenv.
2323         * stdlib/secure-getenv.c: Rename __secure_getenv to
2324         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
2325         symbol __secure_getenv for GLIBC_2.0.
2326         * stdlib/tst-secure-getenv.c: New.
2327         * stdlib/Makefile (tests): Add testcase.
2328         * manual/startup.texi (Environment Access): Document
2329         secure_getenv.
2330         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
2331         __libc_secure_getenv.
2332         * inet/ruserpass.c (ruserpass): Likewise.
2333         * malloc/mtrace.c (mtrace): Likewise.
2334         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
2335         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
2336         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
2337         * sysdeps/posix/tempname.c: Likewise.  Evaluate
2338         HAVE_SECURE_GETENV.
2339         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
2340         __secure_getenv to __libc_secure_getenv.
2341         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
2342         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
2343         Likewise.
2344         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
2345         Likewise.
2346         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
2347         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
2348         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
2349         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
2350         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
2351         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
2352         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
2354 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
2356         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
2357         (struct La_i86_retval): Likewise.
2358         (struct La_x86_64_regs): Likewise.
2359         (struct La_x86_64_retval): Likewise.
2360         (struct La_x32_regs): Likewise.
2361         (struct La_x32_retval): Likewise.
2362         (struct La_ppc32_regs): Likewise.
2363         (struct La_ppc32_retval): Likewise.
2364         (struct La_ppc64_regs): Likewise.
2365         (struct La_ppc64_retval): Likewise.
2366         (struct La_sh_regs): Likewise.
2367         (struct La_sh_retval): Likewise.
2368         (struct La_s390_32_regs): Likewise.
2369         (struct La_s390_32_retval): Likewise.
2370         (struct La_s390_64_regs): Likewise.
2371         (struct La_s390_64_retval): Likewise.
2372         (struct La_sparc32_regs): Likewise.
2373         (struct La_sparc32_retval): Likewise.
2374         (struct La_sparc64_regs): Likewise.
2375         (struct La_sparc64_retval): Likewise.
2376         (struct audit_ifaces): Remove architecture-specific pltenter and
2377         pltexit members.
2378         * sysdeps/i386/ldsodefs.h: New file.
2379         * sysdeps/powerpc/ldsodefs.h: Likewise.
2380         * sysdeps/s390/ldsodefs.h: Likewise.
2381         * sysdeps/sh/ldsodefs.h: Likewise.
2382         * sysdeps/sparc/ldsodefs.h: Likewise.
2383         * sysdeps/x86_64/ldsodefs.h: Likewise.
2385 2012-07-25  Marek Polacek  <polacek@redhat.com>
2387         [BZ #6808]
2388         * math/libm-test.inc (yn_test): Add another test.
2389         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
2390         to ERANGE when the result is +-Inf.
2391         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
2392         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
2393         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
2394         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
2396 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
2398         * conform/data/time.h-data (NULL): Use macro-constant.  Require
2399         equal to 0.
2400         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
2401         clock_t.
2402         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
2404 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
2406         * configure.in <sysdeps resolving>: Correct printing
2407         Implies_before.
2408         * configure: Regenerate.
2410 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
2412         * math/w_ilogb.c: Include <limits.h>.
2413         * math/w_ilogbl.c: Likewise.
2415 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
2417         * manual/lang.texi (__va_copy): Document primarily as ISO C99
2418         va_copy.  Document allowing for unavailable va_copy only as
2419         pre-C99 compatibility.
2420         * manual/string.texi (Copying and Concatenation): Use va_copy
2421         instead of __va_copy in concat example.
2423 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
2425         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
2426         (__sendto): Use create_address_port.  Initialize APORT and deallocate
2427         it if not null.
2429         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
2430         with O_NOLINK passed to __file_name_lookup.
2432         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
2433         with O_NOLINK passed to __file_name_lookup.
2435         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
2436         negative N or less than NGIDS.
2438         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
2439         type to string_t.  Set ERANGE as errno and return it if NAME is not big
2440         enough.  Use memcpy instead of strncpy.
2442 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
2444         * elf/Makefile (check-data): Remove.
2445         (localplt.data): New vpath directive.
2446         ($(objpfx)check-localplt.out): Use localplt.data from vpath
2447         instead of $(check-data).
2448         * scripts/data/localplt-generic.data: Move to ...
2449         * sysdeps/generic/localplt.data: ... here.
2450         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
2451         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
2452         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
2453         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
2454         ... here.
2455         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
2456         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
2457         ... here.
2458         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
2459         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
2460         ... here.
2461         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
2462         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
2463         ... here.
2464         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
2465         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
2466         ... here.
2467         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
2468         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
2469         ... here.
2471 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2473         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
2474         PPC32 and PPC64 files.
2475         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
2476         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
2478 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
2480         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
2481         __makecontext_ret to ...
2482         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
2483         ... here and call exit if uc_link is NULL.  New file.
2484         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
2485         __makecontext_ret.S.
2486         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
2487         __makecontext_ret to ...
2488         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
2489         ... here and call exit if uc_link is NULL.  New file.
2490         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
2491         __makecontext_ret.S.
2493 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
2495         * elf/elf.h (R_390_IRELATIVE): New definition.
2496         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
2497         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
2498         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
2499         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
2500         (elf_machine_lazy_rel): Likewise.
2501         * sysdeps/s390/dl-irel.h: New file.
2502         * sysdeps/s390/s390-64/memcpy.S: New asm code.
2503         * sysdeps/s390/s390-64/memset.S: New asm code.
2504         * sysdeps/s390/s390-64/memcmp.S: New asm code.
2505         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
2506         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
2507         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
2508         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
2509         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
2510         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
2511         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
2512         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
2513         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
2514         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
2515         * sysdeps/s390/s390-32/memcpy.S: New asm code.
2516         * sysdeps/s390/s390-32/memset.S: New asm code.
2517         * sysdeps/s390/s390-32/memcmp.S: New asm code.
2519 2012-07-17  Marek Polacek  <polacek@redhat.com>
2521         [BZ #14349]
2522         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
2523         * sysdeps/s390/s390-64/configure.in: Likewise.
2524         * sysdeps/sparc/configure.in: Likewise.
2525         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
2526         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
2527         * sysdeps/i386/configure.in: Likewise.
2528         * sysdeps/x86_64/configure.in: Likewise.
2529         * sysdeps/sh/configure.in: Likewise.
2530         * sysdeps/s390/s390-32/configure: Regenerated.
2531         * sysdeps/s390/s390-64/configure: Likewise.
2532         * sysdeps/x86_64/configure: Likewise.
2533         * sysdeps/sh/configure: Likewise.
2534         * sysdeps/powerpc/powerpc64/configure: Likewise.
2535         * sysdeps/powerpc/powerpc32/configure: Likewise.
2536         * sysdeps/sparc/configure: Likwise.
2537         * sysdeps/i386/configure: Likewise.
2539         * elf/dl-open.c: Comment fixes.
2541 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
2543         * Makefile [CXX] (check-data): Remove.
2544         [CXX] (c++-types.data): New vpath directive.
2545         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
2546         vpath.  Do not allow for C++ type data being missing.
2547         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
2548         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
2549         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
2550         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
2551         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
2552         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
2553         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
2554         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
2555         ... here.
2556         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
2557         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
2558         ... here.
2559         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
2560         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
2561         ... here.
2562         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
2563         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
2564         ... here.
2565         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
2566         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
2567         ... here.
2568         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
2569         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
2570         ... here.
2571         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
2572         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
2573         ... here.
2574         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
2575         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
2577         * elf/tls-macros.h (TLS_LE): Move architecture-specific
2578         definitions to architecture-specific files.
2579         (TLS_IE): Likewise.
2580         (TLS_LD): Likewise.
2581         (TLS_GD): Likewise.
2582         * sysdeps/i386/tls-macros.h: New file.
2583         * sysdeps/powerpc/tls-macros.h: Likewise.
2584         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
2585         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
2586         * sysdeps/sh/tls-macros.h: Likewise.
2587         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
2588         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
2589         * sysdeps/x86_64/tls-macros.h: Likewise.
2591 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
2593         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
2594         zero value for regular exit case.
2596         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
2597         (__start_context): Preserve zero value for regular exit case.
2599 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
2600             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
2602         * manual/setjmp.texi (setcontext): Clarify normal process
2603         termination when uc_link is the null pointer.
2604         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
2605         exit call.
2607 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
2609         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
2610         preprocessor.  Test for each exception mask separately.
2612 2012-07-16  Andreas Jaeger  <aj@suse.de>
2614         * po/ru.po: Update from translation team.
2616 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
2618         * conform/data/string.h-data (NULL): Use macro-constant.  Require
2619         equal to 0.
2620         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
2621         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
2622         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
2623         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
2624         [ISO || ISO99 || ISO11] (*_t): Do not allow.
2626 2012-07-13  Andreas Jaeger  <aj@suse.de>
2628         * po/fr.po: Update from translation team.
2630 2012-07-12  Marek Polacek  <polacek@redhat.com>
2632         [BZ #14173]
2633         * math/libm-test.inc (yn_test): Add test for BZ #14173.
2634         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
2635         loop condition.
2637 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
2639         [BZ #13717]
2640         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
2641         Change to 2.4.1 where previously 2.4.0.
2642         * sysdeps/unix/sysv/linux/configure: Regenerated.
2643         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
2644         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
2645         version.
2646         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
2647         (__ASSUME_AT_CLKTCK): Remove.
2648         (__ASSUME_AT_PAGESIZE): Likewise.
2649         (__ASSUME_AT_XID): Likewise.
2650         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
2651         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
2652         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
2653         unconditionally.
2654         (HAVE_AUX_PAGESIZE): Likewise.
2655         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
2656         [__ASSUME_AT_CLKTCK]: Make code unconditional.
2657         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
2659 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
2661         [BZ #14307]
2662         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
2663         the temporary buffer used to invoke __gethostbyname2_r,
2664         __gethostbyaddr_r and gethostbyname4_r to make room for struct
2665         host_data / struct gaih_addrtuple.
2666         * resolv/nss_dns/dns-host.c (global scope): Move definition of
2667         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
2668         header file nss/nsswitch.h.
2669         * nss/nsswitch.h (global scope): Add definition of implementation
2670         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
2671         resolv/nss_dns/dns-host.c).
2673 2012-07-11  Andreas Jaeger  <aj@suse.de>
2675         * po/fr.po: Update from translation team.
2677         * po/sv.po: Update from translation team
2678         * po/fr.po: Another update from translation team.
2680 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2682         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
2683         for subnormals or multiply small sinh result by itself.
2684         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
2685         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2687 2012-07-11  David S. Miller  <davem@davemloft.net>
2689         * sysdeps/sparc/fpu/libm-test-ulps: Update.
2691 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
2693         [BZ #14347]
2694         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
2695         (INTERNAL_MARK): Shift it here.
2697 2012-07-10  Marek Polacek  <polacek@redhat.com>
2699         [BZ #14151]
2700         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
2701         libc_cv_asm_global_directive with .globl.
2702         * configure: Regenerated.
2703         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
2704         with .globl.
2705         * sysdeps/i386/configure: Regenerated.
2706         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
2707         with .globl.
2708         * sysdeps/x86_64/configure: Regenerated.
2709         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
2710         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
2711         * elf/tst-unique2mod2.c: Likewise.
2712         * elf/tst-unique2mod1.c: Likewise.
2713         * elf/tst-unique1mod2.c: Likewise.
2714         * elf/tst-unique1mod1.c: Likewise.
2715         * sysdeps/s390/s390-32/sysdep.h: Likewise.
2716         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
2717         * sysdeps/s390/s390-64/sysdep.h: Likewise.
2718         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
2719         * sysdeps/mach/sysdep.h: Likewise.
2720         * sysdeps/i386/sysdep.h: Likewise.
2721         * sysdeps/i386/i386-mcount.S: Likewise.
2722         * sysdeps/x86_64/_mcount.S: Likewise.
2723         * sysdeps/x86_64/sysdep.h: Likewise.
2724         * sysdeps/sh/_mcount.S: Likewise.
2725         * sysdeps/sh/sysdep.h: Likewise.
2726         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
2727         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
2728         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
2729         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
2730         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
2731         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
2732         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
2733         * locale/localeinfo.h: Likewise.
2734         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
2735         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
2737 2012-07-09  Roland McGrath  <roland@hack.frob.com>
2739         [BZ #14336]
2740         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
2741         system".
2742         * manual/message.texi (The Uniforum approach): Likewise.
2743         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
2744         (glibc iconv Implementation): Likewise.
2746 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
2748         [BZ #14337]
2749         * math/s_clog.c (__clog): Avoid scaling a value down where that
2750         could result in underflow.
2751         * math/s_clog10.c (__clog10): Likewise.
2752         * math/s_clog10f.c (__clog10f): Likewise.
2753         * math/s_clog10l.c (__clog10l): Likewise.
2754         * math/s_clogf.c (__clogf): Likewise.
2755         * math/s_clogl.c (__clogl): Likewise.
2756         * math/libm-test.inc (clog_test): Add more tests.
2757         (clog10_test): Likewise.
2758         * sysdeps/i386/fpu/libm-test-ulps: Update.
2759         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2761 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
2763         [BZ #14283]
2764         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
2765         by 7 not 8 to examine high bit of fractional part.
2767         [BZ #14042]
2768         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
2769         for call to __mcount_internal.
2770         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
2771         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
2772         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
2774 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
2776         [BZ #14154]
2777         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
2778         approximation for values within 0x1p-13f of an odd multiple of
2779         pi/4.
2780         * math/libm-test.inc (tan_test): Do not allow spurious underflow
2781         exception.  Add more tests.
2782         * sysdeps/i386/fpu/libm-test-ulps: Update.
2784         [BZ #6778]
2785         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
2786         inputs and return -1 for them.  Do not check for +Inf in case not
2787         reachable for +Inf.
2788         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
2789         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
2790         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
2791         and return -1 for them.  Do not check for +Inf in case not
2792         reachable for +Inf.
2793         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
2794         define.
2795         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
2796         and return -1 for them.  Do not check for +Inf in case not
2797         reachable for +Inf.
2798         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
2799         spurious underflow.
2800         * sysdeps/i386/fpu/libm-test-ulps: Update.
2801         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2803 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
2805         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
2807 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
2809         [BZ #14157]
2810         [BZ #14331]
2811         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
2812         could result in spurious underflow.  Scale down values above
2813         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
2814         * math/s_csqrtf.c (__csqrtf): Likewise.
2815         * math/s_csqrtl.c (__csqrtl): Likewise.
2816         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
2817         spurious underflow.
2818         * sysdeps/i386/fpu/libm-test-ulps: Update.
2819         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2821 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
2823         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
2824         xopen-msg.sed.
2825         * catgets/xopen-msg.awk: New file.
2826         * catgets/xopen-msg.sed: Removed.
2828         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
2829         po2text.sed.
2830         * intl/po2test.awk: New file.
2831         * intl/po2test.sed: Removed.
2833 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
2835         [BZ #14328]
2836         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
2837         or multiply small sinh result by itself.
2838         * math/s_ctanf.c (__ctanf): Likewise.
2839         * math/s_ctanh.c (__ctanh): Likewise.
2840         * math/s_ctanhf.c (__ctanhf): Likewise.
2841         * math/s_ctanhl.c (__ctanhl): Likewise.
2842         * math/s_ctanl.c (__ctanl): Likewise.
2843         * math/libm-test.inc (ctan_test_tonearest): New function.
2844         (ctan_test_towardzero): Likewise.
2845         (ctan_test_downward): Likewise.
2846         (ctan_test_upward): Likewise.
2847         (ctanh_test_tonearest): Likewise.
2848         (ctanh_test_towardzero): Likewise.
2849         (ctanh_test_downward): Likewise.
2850         (ctanh_test_upward): Likewise.
2851         (main): Call these new functions.
2852         * sysdeps/i386/fpu/libm-test-ulps: Update.
2853         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2855 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
2857         * .gitignore: Delete /ports entry.
2859 2012-07-03  Andreas Jaeger  <aj@suse.de>
2861         * po/bg.po: Update from translation team.
2862         * po/cs.po: Likewise.
2863         * po/de.po: Likewise.
2864         * po/hr.po: Likewise.
2865         * po/nl.pl: Likewise.
2866         * po/pl.po: Likewise.
2867         * po/vi.po: Likewise.
2869 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
2871         * Makeconfig [!+link] (+link-before-libc): New variable.
2872         [!+link] (+link-after-libc): Likewise.
2873         [!+link] (+link-tests): Likewise.
2874         [!+link] (+link): Define in terms of $(+link-before-libc) and
2875         $(+link-after-libc).
2876         [!+link-static] (+link-static-before-libc): New variable.
2877         [!+link-static] (+link-static-after-libc): Likewise.
2878         [!+link-static] (+link-static-tests): Likewise.
2879         [!+link-static] (+link-static): Define in terms of
2880         $(+link-static-before-libc) and $(+link-static-after-libc).
2881         [build-shared] (link-libc-before-gnulib): New variable.
2882         [build-shared] (link-libc-tests): Likewise.
2883         [build-shared] (link-libc): Define in terms of
2884         $(link-libc-before-gnulib).
2885         [!build-shared] (link-libc-tests): New variable.
2886         (link-libc-static-tests): New variable.
2887         [!gnulib] (gnulib-arch): New variable.
2888         [!gnulib] (gnulib-tests): Likewise.
2889         [!gnulib] (static-gnulib-arch): Likewise.
2890         [!gnulib] (static-gnulib-tests): Likewise.
2891         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
2892         Define with "=" instead of ":=".
2893         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
2894         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
2895         * Rules (binaries-all-notests): New variable.
2896         (binaries-all-tests): Likewise.
2897         (binaries-static-notests): Likewise.
2898         (binaries-static-tests): Likewise.
2899         (binaries-all): Define using $(binaries-all-notests) and
2900         $(binaries-all-tests).
2901         (binaries-static): Define using $(binaries-static-notests) and
2902         $(binaries-static-tests).
2903         (binaries-shared-tests): New variable.
2904         (binaries-shared-notests): Likewise.
2905         (binaries-shared): Remove variable.
2906         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
2907         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
2908         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
2909         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
2910         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
2911         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
2912         * elf/Makefile (sln-modules): New variable.
2913         (extra-objs): Add $(sln-modules:=.o).
2914         (ldconfig-modules): Add static-stubs.
2915         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
2916         * elf/static-stubs.c: New file.
2918         [BZ #14283]
2919         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
2920         by 7 not 8 to examine high bit of fractional part.  Use volatile
2921         variables when splitting into final array of floats if
2922         __FLT_EVAL_METHOD__ != 0.
2923         * math/libm-test.inc (cos_test): Add another test.
2924         (sin_test): Likewise.
2925         * sysdeps/i386/fpu/libm-test-ulps: Update.
2927         [BZ #14273]
2928         * math/libm-test.inc (cosh_test): Add more tests.
2930         * version.h (RELEASE): Set to "development".
2931         (VERSION): Set to "2.16.90".
2933 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
2935         * NEWS: Update copyright. Remove last-updated date.
2936         Mention math library bug fixes and timezone data changes.
2937         * README: Mention GNU/Hurd, x32, and HPPA support status.
2939 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
2941         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
2943 2012-06-27  Andreas Jaeger  <aj@suse.de>
2945         * manual/contrib.texi (Contributors): Add Samuel Thibault.
2947 2012-06-25  Andreas Jaeger  <aj@suse.de>
2949         * sysdeps/s390/fpu/libm-test-ulps: Update.
2951 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
2952             Thomas Schwinge  <thomas@codesourcery.com>
2954         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
2955         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
2956         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
2957         fanotify_mark.
2959 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
2961         * sysdeps/mach/start.c: Remove file.
2962         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
2963         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
2964         * sysdeps/sh/init-first.c: Likewise.
2966         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
2967         registers for frame unwinding purposes, add CFI directives.
2968         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
2969         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
2970         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
2971         Likewise.
2973         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
2974         __fortify_fail returning.
2975         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
2977         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
2978         sysdeps/sh/____longjmp_chk.S.
2979         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
2980         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
2981         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
2982         (gen-as-const-headers): Append sigaltstack-offsets.sym.
2984         * sysdeps/sh/abort-instr.h: New file.
2985         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
2986         process in case exit returns.
2988         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
2989         initialize the GOT register before use.
2991         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
2992         calculation of ARGC > 4.
2994         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
2995         meaningful names to some local labels.
2997 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
2998             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
3000         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
3001         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
3002         (__arch_compare_and_exchange_val_16_acq): Likewise.
3003         (__arch_compare_and_exchange_val_32_acq): Likewise.
3004         (atomic_exchange_and_add): Fix gUSA sequence.
3005         (atomic_add): Likewise.
3006         (atomic_add_negative): Likewise.
3007         (atomic_add_zero): Likewise.
3008         (atomic_bit_test_set): Likewise.
3010 2012-06-22  Andreas Schwab  <schwab@redhat.com>
3012         [BZ #13579]
3013         * include/link.h (struct link_map): Add l_free_initfini.
3014         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
3015         l_initfini.
3016         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
3017         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
3018         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
3019         set.
3021 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
3023         * configure.in: Use AC_LANG_SOURCE.
3024         * configure: Regenerate.
3026 2012-06-22  Roland McGrath  <roland@hack.frob.com>
3028         * configure.in (libc_cv_localstatedir): New substituted variable.
3029         * configure: Regenerated.
3030         * config.make.in (localstatedir): New variable, substituted from
3031         libc_cv_localstatedir.
3032         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
3033         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
3034         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
3035         * sysdeps/gnu/configure: Regenerated.
3037 2012-06-21  Jeff Law  <law@redhat.com>
3039         [BZ #14277]
3040         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
3041         free.  Simplify list management for _LIBC case.
3043 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
3045         [BZ #14273]
3046         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
3047         Clear sign bit of 64-bit integer value before comparing against
3048         overflow value.
3050         * sysdeps/mach/configure: Regenerated.
3052 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
3054         [BZ #14278]
3055         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
3057 2012-06-21  Jeff Law  <law@redhat.com>
3059         [BZ #13882]
3060         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
3061         uint16_t for elements in the "seen" array to avoid char overflows.
3062         * elf/dl-fini.c (_dl_sort_fini): Likewise.
3063         * elf/dl-open.c (dl_open_worker): Likewise.
3065 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
3067         * scripts/list-sources.sh: Scan PORTS for translations.
3068         * po/libc.pot: Regenerated.
3070 2012-06-21  Andreas Jaeger  <aj@suse.de>
3072         [BZ #12194]
3073         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
3074         warning.
3075         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
3076         * bits/byteswap-16.h (__bswap_16): Likewise.
3077         * bits/byteswap.h (__bswap_constant_16): Likewise.
3079 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
3081         [BZ #14117]
3082         * sysdeps/i386/fpu_control.h: Removed.
3083         * sysdeps/x86_64/fpu_control.h: Moved to ...
3084         * sysdeps/x86/fpu_control.h: Here.
3086         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
3087         (_FPU_SETCW): Likewise.
3089 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
3091         [BZ #14117]
3092         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
3093         * sysdeps/x86/fpu/bits/mathinline.h: This.
3094         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
3096         [BZ #14050]
3097         [BZ #14117]
3098         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
3099         functions if __x86_64__ is defined.
3101 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
3103         * string/endian.h: Add !__ASSEMBLER__ condition for including
3104         conversion interfaces.
3106 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
3108         [BZ #14241]
3109         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
3110         of ABS(x) in calculating zero to negative powers other than odd
3111         integers.
3112         * math/libm-test.inc (pow_test): Add more tests.
3114 2012-06-15  Andreas Jaeger  <aj@suse.de>
3116         * manual/contrib.texi (Contributors): Update entry of Liubov
3117         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
3118         Machado Filho.
3120 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
3122         * string/string.h: Add __wur to GNU version of strerror_r.
3124 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
3126         [BZ #14229]
3127         * string/Makefile (tests): Add tst-strtok_r.
3128         * string/tst-strtok_r.c: New file.
3129         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
3130         RAX_LP/RDX_LP on SAVE_PTR.
3132 2012-06-14  Roland McGrath  <roland@hack.frob.com>
3134         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
3136 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
3138         * libm_test.inc (csqrt_test): Allow more spurious underflow
3139         exceptions.
3140         (j0_test): Likewise.
3141         (j1_test): Likewise.
3142         (y0_test): Likewise.
3143         (y1_test): Likewise.
3145 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
3147         * po/Makefile (libc.pot): Use UTF-8 charset.
3149 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
3151         [BZ #14210]
3152         Suppress sign-conversion warning from FD_SET.
3153         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
3154         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
3155         not unsigned long int.
3156         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
3158 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
3160         [BZ #14050]
3161         [BZ #14117]
3162         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
3163         __extern_always_inline instead of __extern_inline.
3164         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
3165         (__signbit): Likewise.
3166         (__signbitl): Support C++ namespace.
3167         (lrintf): New inline function.
3168         (lrint): Likewise.
3169         (llrintf): Likewise.
3170         (llrint): Likewise.
3171         (fmaxf): Likewise.
3172         (fmax): Likewise.
3173         (fminf): Likewise.
3174         (fmin): Likewise.
3175         (rint): Likewise.
3176         (rintf): Likewise.
3177         (ceil): Likewise.
3178         (ceilf): Likewise.
3179         (floor): Likewise.
3180         (floorf): Likewise.
3181         (nearbyint): Likewise.
3182         (nearbyintf): Likewise.
3184 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
3186         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
3187         non-default versions.
3189 2012-06-11  Roland McGrath  <roland@hack.frob.com>
3191         [BZ #14218]
3192         * manual/argp.texi (Argp): Reword argp_parse description slightly.
3194 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
3196         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
3197         (FE_UPWARD, FE_DOWNWARD): Don't define.
3198         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
3199         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
3201         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
3202         reading it.
3203         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
3204         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
3206 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
3208         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
3209         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
3210         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
3211         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
3213 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
3215         [BZ #14117]
3216         * sysdeps/i386/fpu/bits/fenv.h: Removed.
3217         * sysdeps/i386/fpu/Implies: New file.
3218         * sysdeps/x86_64/fpu/Implies: Likewise.
3219         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
3220         * sysdeps/x86/fpu/bits/fenv.h: This.
3222         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
3223         __SSE_MATH__.
3225 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
3227         [BZ #14134]
3228         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
3229         character 0xffff that matches the last element of the
3230         conversion table.
3232 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3234         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
3235         fmodl commit.
3237 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3239         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
3240         values higher than 25.6283.
3242 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3244         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
3245         subnormal exponent extraction and add some __builtin_expect.
3246         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
3247         Fix for subnormal mantissa calculation.
3249 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
3251         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
3252         cpu2 is -1 and errno is not ENOSYS.
3254 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
3256         [BZ #14117]
3257         * sysdeps/i386/i486/bits/string.h: Renamed to ...
3258         * sysdeps/x86/bits/string.h: This.
3259         * sysdeps/x86_64/bits/string.h: Removed.
3261         * sysdeps/i386/i486/bits/string.h: Define inline functions only
3262         if not compiling for x86-64, but compiling for >= i486.
3264         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
3265         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
3267         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
3268         New macro from Linux kernel 3.4.0.
3269         (FP_XSTATE_MAGIC2): Likewise.
3270         (FP_XSTATE_MAGIC2_SIZE): Likewise.
3271         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
3272         (struct _fpx_sw_bytes): New struct.
3273         (struct _xsave_hdr): Likewise.
3274         (struct _ymmh_state): Likewise.
3275         (struct _xstate): Likewise.
3277         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
3278         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
3279         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
3280         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
3281         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
3282         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
3284         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
3285         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
3286         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
3287         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
3288         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
3289         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
3291 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
3293         [BZ #13743]
3294         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
3295         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
3296         (sysdep_headers): Include sys/platform/ppc.h.
3297         * sysdeps/powerpc/test-gettimebase.c: Test for
3298         __ppc_get_timebase() to catch future ISA opcode/insn changes.
3299         * manual/Makefile (appendices): Include platform.texi.
3300         * manual/contrib.texi (Contributors): Update @node pointers.
3301         * manual/maint.texi (Maintenance): Likewise.
3302         (Platform): New node.
3303         * manual/platform.texi: New file.  Document the new features.
3305 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
3306             Jakub Jelinek  <jakub@redhat.com>
3308         [BZ #14188]
3309         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
3310         where __builtin_expect is unavailable.
3312 2012-06-03  David S. Miller  <davem@davemloft.net>
3314         * stdlib/longlong.h: Updated from GCC.
3316 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
3318         [BZ #14042]
3319         * sysdeps/powerpc/powerpc32/mcount.c: New file.
3320         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
3321         __mcount_internal.
3322         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
3323         (GLIBC_2.16): Likewise.
3325 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
3327         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
3329 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
3331         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
3332         (default-abi): New variable.
3333         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
3334         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
3335         variable.
3336         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
3337         Likewise.
3338         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
3339         Likewise.
3340         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
3341         Likewise.
3343         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
3344         definition.  Document in comment.
3346 2012-06-01  David S. Miller  <davem@davemloft.net>
3348         * stdlib/longlong.h: Updated from GCC.
3350 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
3352         [BZ #14117]
3353         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
3354         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
3355         sys/debugreg.h sys/io.h here.
3356         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
3357         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
3358         sys/io.h.
3359         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
3360         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
3361         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
3362         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
3363         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
3364         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
3366         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
3367         Define only if __x86_64__ is defined.
3369 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
3371         [BZ #14048]
3372         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
3373         Use int64_t for variable i.
3374         * math/libm-test.inc (fmod_test): Add more tests.
3376         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
3377         z computation is not scheduled after fetestexcept.
3378         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
3379         Use math_force_eval instead of asm to ensure calculation scheduled
3380         before exception test.
3381         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
3382         Ensure a1 + u.d computation is not scheduled after fetestexcept.
3384 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
3386         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
3387         computation is not scheduled after fetestexcept.
3389 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
3391         [BZ #14117]
3392         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
3393         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
3395 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3397         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
3398         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
3400 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
3402         [BZ #14117]
3403         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
3404         <bits/wordsize.h>.
3405         (__WCHAR_MIN): Support __WORDSIZE == 64.
3406         (__WCHAR_MAX): Likewise.
3408         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
3409         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
3411         [BZ #14183]
3412         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
3413         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
3415         [BZ #14117]
3416         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
3417         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
3419         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
3420         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
3422         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
3423         Defined to 1 if __x86_64__ isn't defined.
3424         (_STAT_VER_LINUX_OLD): New.
3425         (st_atime): Remove duplicate.
3426         (st_mtime): Likewise.
3427         (st_ctime): Likewise.
3429 2012-05-31  David S. Miller  <davem@davemloft.net>
3431         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
3432         entries.
3434 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
3436         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
3437         gen-libm-test.pl.
3439         [BZ #14132]
3440         * elf/dl-reloc.c: Include <_itoa.h>.
3441         (_dl_reloc_bad_type): Remove use of INTUSE.
3442         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
3443         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
3444         * stdio-common/psiginfo.c (psiginfo): Likewise.
3445         * stdio-common/psignal.c (psignal): Likewise.
3446         * string/strsignal.c (strsignal): Likewise.
3447         * include/signal.h (_sys_siglist): Declare hidden proto.
3448         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
3449         INTVARDEF with libc_hidden_data_def.
3450         * stdio-common/itoa-udigits.c: Likewise.
3451         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
3452         (_itoa_lower_digits_internal): Remove declaration.
3453         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
3454         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
3455         (_sys_sigabbrev_internal): Remove aliases.
3456         (_sys_siglist): Define hidden alias.
3458 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
3460         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3461         bits/sysctl.h.
3463 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
3465         [BZ #14117]
3466         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
3467         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
3469         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
3470         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
3471         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
3472         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
3473         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
3474         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
3476         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
3477         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
3478         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
3480         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
3481         with __addr.
3482         (insw): Likewise.
3483         (insl): Likewise.
3484         (outsb): Likewise.
3485         (outsw): Likewise.
3486         (outsl): Likewise.
3488         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
3489         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
3490         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
3492         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
3493         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
3494         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
3495         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
3496         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
3497         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
3499         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
3500         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
3502         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
3503         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
3505         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
3506         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
3507         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
3509         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
3510         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
3511         to ...
3512         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
3514         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
3515         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
3516         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
3518         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
3519         for x86-64.
3520         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
3522 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
3524         * math/math.h (M_El): Use two more decimal places.
3525         (M_LOG2El): Likewise.
3526         (M_LOG10El): Likewise.
3527         (M_LN2l): Likewise.
3528         (M_LN10l): Likewise.
3529         (M_PIl): Likewise.
3530         (M_PI_2l): Likewise.
3531         (M_PI_4l): Likewise.
3532         (M_1_PIl): Likewise.
3533         (M_2_PIl): Likewise.
3534         (M_2_SQRTPIl): Likewise.
3535         (M_SQRT2l): Likewise.
3536         (M_SQRT1_2l): Likewise.
3538 2012-05-31  David S. Miller  <davem@davemloft.net>
3540         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
3541         values between float registers.
3542         * sysdeps/sparc/sparc64/memset.S: Likewise.
3543         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
3545 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
3547         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
3548         -D_FORTIFY_SOURCE=1.
3549         (CPPFLAGS-tst-longjmp_chk.c): Define.
3550         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
3551         (CPPFLAGS-tst-longjmp_chk2.c): Define.
3552         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
3553         CFLAGS-tst-wchar-h.c.
3555 2012-05-31  Marek Polacek  <polacek@redhat.com>
3557         [BZ #14132]
3558         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
3559         __endmntent_internal): Remove declaration.
3560         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
3561         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
3562         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
3564 2012-05-30  David S. Miller  <davem@davemloft.net>
3566         * sysdeps/sparc/sparc32/soft-fp/q_util.c
3567         (___Q_simulate_exceptions): Use real FP ops rather than writing
3568         into the %fsr.
3569         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
3570         Likewise.
3572 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
3574         [BZ #14117]
3575         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
3576         * sysdeps/x86/bits/xtitypes.h: This.
3578         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
3579         * sysdeps/x86/bits/wordsize.h: This.
3581         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
3582         * sysdeps/x86/bits/huge_vall.h: This.
3584         * sysdeps/i386/bits/select.h: Removed.
3585         * sysdeps/x86_64/bits/select.h: Renamed to ...
3586         * sysdeps/x86/bits/select.h: This.
3588         * sysdeps/i386/bits/setjmp.h: Removed.
3589         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
3590         * sysdeps/x86/bits/setjmp.h: This.
3592         * sysdeps/i386/bits/mathdef.h: Removed.
3593         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
3594         * sysdeps/x86/bits/mathdef.h: This.
3596 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
3598         [BZ #14132]
3599         * include/sys/socket.h (__connect_internal)
3600         (__libc_sa_len_internal): Remove declaration.
3601         (__connect, __libc_sa_len): Declare hidden_proto.
3602         (SA_LEN): Remove use of INTUSE.
3603         * socket/connect.c: Add libc_hidden_def.
3604         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
3605         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
3606         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
3607         alias.
3608         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
3609         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
3610         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
3611         of adding _internal alias.
3613 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
3615         [BZ #14117]
3616         * sysdeps/i386/bits/link.h: Removed.
3617         * sysdeps/i386/bits/linkmap.h: Likewise.
3618         * sysdeps/x86_64/bits/link.h: Renamed to ...
3619         * sysdeps/x86/bits/link.h: This.
3620         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
3621         * sysdeps/x86/bits/linkmap.h: This.
3623         * sysdeps/i386/bits/endian.h: Removed.
3624         * sysdeps/x86_64/bits/endian.h: Renamed to ...
3625         * sysdeps/x86/bits/endian.h: This.
3627         * sysdeps/i386/bits/byteswap.h: Removed.
3628         * sysdeps/i386/bits/byteswap-16.h: Likewise.
3629         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
3630         * sysdeps/x86/bits/byteswap.h: This.
3631         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
3632         * sysdeps/x86/bits/byteswap-16.h: This.
3633         * sysdeps/i386/Implies: Add x86.
3634         * sysdeps/x86_64/Implies: Likewise.
3636 2012-05-30  David S. Miller  <davem@davemloft.net>
3638         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
3639         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
3640         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
3641         (FP_TRAPPING_EXCEPTIONS): Define.
3642         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
3643         (FP_TRAPPING_EXCEPTIONS): Define.
3644         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
3645         subnormals only when inexact has been signalled or underflow
3646         exceptions are enabled.
3647         (_FP_PACK_CANONICAL): Likewise.
3649 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
3651         [BZ #14183]
3652         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
3653         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
3655 2012-05-30  Richard Henderson  <rth@twiddle.net>
3657         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
3658         with #ifndef NOT_IN_libc.
3660         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
3661         marked to avoid plt entry.
3663 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
3665         [BZ #14112]
3666         * Makeconfig (default-abi): New macro.
3667         (abi-includes): Likewise.
3668         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
3669         $(abi-$(default-abi)-lib-soname) for soname if defined.
3670         ($(common-objpfx)gnu/lib-names.stmp): Generate from
3671         abi-variants.
3672         * Makefile (installed-stubs): Likewise.
3673         * include/stubs-biarch.h: Removed.
3674         * scripts/lib-names.awk: Only handle one library at a time.
3675         * scripts/soversions.awk: Remove WORDSIZE support.
3676         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
3677         entries.
3678         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
3679         Removed.
3680         (syscall-list-default-condition): Likewise.
3681         (syscall-list-default-condition): Likewise.
3682         (syscall-list-includes): Likewise.
3683         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
3684         syscall-list-* with abi-*.  Handle undefined abi-variants.
3685         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
3686         * sysdeps/unix/sysv/linux/i386/Implies: New file.
3687         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
3688         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
3689         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
3690         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
3691         Removed.
3692         (syscall-list-32-options): Likewise.
3693         (syscall-list-32-condition): Likewise.
3694         (syscall-list-64-options): Likewise.
3695         (syscall-list-64-condition): Likewise.
3696         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
3697         macro.
3698         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
3699         Renamed to ...
3700         (abi-*): This.
3701         (abi-64-ld-soname): New macro.
3702         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
3703         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
3704         Renamed to ...
3705         (abi-*): This.
3706         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
3707         * sysdeps/x86_64/x32/shlib-versions: Likewise.
3709 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
3711         * sysdeps/unix/sysv/linux/kernel-features.h
3712         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
3713         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
3714         include <kernel-features.h>.
3715         [!__NR_ftruncate64]: Remove conditional code.
3716         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3717         [__NR_ftruncate64]: Make code unconditional.
3718         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3719         * sysdeps/unix/sysv/linux/truncate64.c: Do not
3720         include <kernel-features.h>.
3721         [!__NR_ftruncate64]: Remove conditional code.
3722         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3723         [__NR_ftruncate64]: Make code unconditional.
3724         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3725         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
3726         include <kernel-features.h>.
3727         [!__NR_ftruncate64]: Remove conditional code.
3728         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3729         [__NR_ftruncate64]: Make code unconditional.
3730         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3731         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
3732         include <kernel-features.h>.
3733         [!__NR_ftruncate64]: Remove conditional code.
3734         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3735         [__NR_ftruncate64]: Make code unconditional.
3736         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3738         * configure.in (libc_cv_fpie): Weaken to a compile test using
3739         LIBC_TRY_CC_OPTION.
3740         * configure: Regenerated.
3742 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
3744         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
3745         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
3746         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
3747         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
3748         Refreshed.
3749         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
3750         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
3751         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
3752         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
3753         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
3754         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
3755         Refreshed.
3757 2012-05-27  David S. Miller  <davem@davemloft.net>
3759         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
3760         (___Q_zero): New.
3761         (__Q_simulate_exceptions): Return void.  Change to simulate
3762         exceptions by writing into the %fsr.
3763         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
3764         (__Qp_handle_exceptions): Likewise.
3765         (numbers): Delete.
3766         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
3767         __Qp_handle_exceptions.
3768         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
3769         __Qp_handle_exceptions.
3770         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
3771         as unused and give dummy FP_RND_NEAREST initializer.
3772         (FP_INHIBIT_RESULTS): Define.
3773         (___Q_simulate_exceptions): Update declaration.
3774         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
3775         formatting.
3776         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
3777         as unused and give dummy FP_RND_NEAREST initializer.
3778         (__Qp_handle_exceptions): Update declaration.
3779         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
3780         formatting.
3782 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
3784         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
3785         the temporary FPU control word.
3786         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
3787         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
3788         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
3789         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
3790         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
3791         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
3792         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
3793         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
3794         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
3795         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
3796         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
3798 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
3800         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
3801         fields.
3803 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
3805         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
3806         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
3807         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
3808         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
3809         Likewise.
3810         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
3811         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
3812         Likewise.
3814 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
3816         * po/h.po: Update from translation team.
3818 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
3820         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
3822         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
3823         handling of denormals.
3824         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
3825         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
3826         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
3827         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
3828         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
3829         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
3830         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
3831         Likewise.
3833 2012-05-26  Marek Polacek  <polacek@redhat.com>
3835         [BZ #14152]
3836         * math/libm-test.inc (fma_test): Don't always expect underflow
3837         exception.
3839 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
3841         [BZ #12416]
3842         * elf/tst-execstack.c: Include stackinfo.h.
3843         (do_test): Adjust test case to ensure that pthread_getattr_np
3844         behaviour remains the same after marking stack executable.
3846 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
3848         * sysdeps/unix/sysv/linux/kernel-features.h
3849         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
3850         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
3851         kernel-features.h.
3852         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
3853         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
3854         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
3855         kernel-features.h.
3856         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
3857         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
3859 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
3861         * configure.in: Define the default includes to being none.
3862         * configure: Regenerated.
3864 2012-05-25  Roland McGrath  <roland@hack.frob.com>
3866         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
3867         * sysdeps/x86_64/setjmp.S: Likewise.
3868         * sysdeps/i386/bsd-setjmp.S: Likewise.
3869         * sysdeps/i386/bsd-_setjmp.S: Likewise.
3870         * sysdeps/i386/setjmp.S: Likewise.
3871         * sysdeps/i386/__longjmp.S: Likewise.
3872         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
3873         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
3875         * include/stap-probe.h: New file.
3876         * configure.in: Handle --enable-systemtap.
3877         * configure: Regenerated.
3878         * config.h.in (USE_STAP_PROBE): New #undef.
3879         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
3880         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
3881         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
3883 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
3885         [BZ #13717]
3886         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
3887         to 2.4.0 where earlier.
3888         * sysdeps/unix/sysv/linux/configure: Regenerated.
3889         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
3890         <kernel-features.h>.
3891         [__ASSUME_32BITUIDS]: Make code unconditional.
3892         [!__ASSUME_32BITUIDS]: Remove conditional code.
3893         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
3894         <kernel-features.h>.
3895         [__ASSUME_32BITUIDS]: Make code unconditional.
3896         [!__ASSUME_32BITUIDS]: Remove conditional code.
3897         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
3898         [__ASSUME_32BITUIDS]: Make code unconditional.
3899         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
3900         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
3901         <kernel-features.h>.
3902         [__ASSUME_32BITUIDS]: Make code unconditional.
3903         [!__ASSUME_32BITUIDS]: Remove conditional code.
3904         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
3905         <kernel-features.h>.
3906         [__ASSUME_32BITUIDS]: Make code unconditional.
3907         [!__ASSUME_32BITUIDS]: Remove conditional code.
3908         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
3909         <kernel-features.h>.
3910         [__ASSUME_32BITUIDS]: Make code unconditional.
3911         [!__ASSUME_32BITUIDS]: Remove conditional code.
3912         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
3913         <kernel-features.h>.
3914         [__ASSUME_32BITUIDS]: Make code unconditional.
3915         [!__ASSUME_32BITUIDS]: Remove conditional code.
3916         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
3917         <kernel-features.h>.
3918         [__ASSUME_32BITUIDS]: Make code unconditional.
3919         [!__ASSUME_32BITUIDS]: Remove conditional code.
3920         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
3921         <kernel-features.h>.
3922         [__ASSUME_32BITUIDS]: Make code unconditional.
3923         [!__ASSUME_32BITUIDS]: Remove conditional code.
3924         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
3925         <kernel-features.h>.
3926         [__ASSUME_32BITUIDS]: Make code unconditional.
3927         [!__ASSUME_32BITUIDS]: Remove conditional code.
3928         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
3929         <kernel-features.h>.
3930         [__ASSUME_32BITUIDS]: Make code unconditional.
3931         [!__ASSUME_32BITUIDS]: Remove conditional code.
3932         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
3933         <kernel-features.h>.
3934         [__ASSUME_32BITUIDS]: Make code unconditional.
3935         [!__ASSUME_32BITUIDS]: Remove conditional code.
3936         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
3937         <kernel-features.h>.
3938         [__ASSUME_32BITUIDS]: Make code unconditional.
3939         [!__ASSUME_32BITUIDS]: Remove conditional code.
3940         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
3941         <kernel-features.h>.
3942         [__NR_setresgid] (__setresgid): Do not declare.
3943         [__ASSUME_32BITUIDS]: Make code unconditional.
3944         [!__ASSUME_32BITUIDS]: Remove conditional code.
3945         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
3946         <kernel-features.h>.
3947         [__NR_setresuid] (__setresuid): Do not declare.
3948         [__ASSUME_32BITUIDS]: Make code unconditional.
3949         [!__ASSUME_32BITUIDS]: Remove conditional code.
3950         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
3951         <kernel-features.h>.
3952         [__ASSUME_32BITUIDS]: Make code unconditional.
3953         [!__ASSUME_32BITUIDS]: Remove conditional code.
3954         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
3955         <kernel-features.h>.
3956         [__ASSUME_32BITUIDS]: Make code unconditional.
3957         [!__ASSUME_32BITUIDS]: Remove conditional code.
3958         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
3959         <kernel-features.h>.
3960         [__ASSUME_32BITUIDS]: Make code unconditional.
3961         [!__ASSUME_32BITUIDS]: Remove conditional code.
3962         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
3963         <kernel-features.h>.
3964         [__ASSUME_32BITUIDS]: Make code unconditional.
3965         [!__ASSUME_32BITUIDS]: Remove conditional code.
3966         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
3967         <kernel-features.h>.
3968         [__ASSUME_32BITUIDS]: Make code unconditional.
3969         [!__ASSUME_32BITUIDS]: Remove conditional code.
3970         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
3971         <kernel-features.h>.
3972         [__ASSUME_32BITUIDS]: Make code unconditional.
3973         [!__ASSUME_32BITUIDS]: Remove conditional code.
3974         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
3975         <kernel-features.h>.
3976         [__ASSUME_32BITUIDS]: Make code unconditional.
3977         [!__ASSUME_32BITUIDS]: Remove conditional code.
3978         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
3979         <kernel-features.h>.
3980         [__ASSUME_32BITUIDS]: Make code unconditional.
3981         [!__ASSUME_32BITUIDS]: Remove conditional code.
3982         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
3983         <kernel-features.h>.
3984         [__ASSUME_32BITUIDS]: Make code unconditional.
3985         [!__ASSUME_32BITUIDS]: Remove conditional code.
3986         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
3987         <kernel-features.h>.
3988         [__ASSUME_32BITUIDS]: Make code unconditional.
3989         [!__ASSUME_32BITUIDS]: Remove conditional code.
3990         * sysdeps/unix/sysv/linux/kernel-features.h
3991         (__ASSUME_SETRESUID_SYSCALL): Remove.
3992         (__ASSUME_SETRESGID_SYSCALL): Likewise.
3993         (__ASSUME_32BITUIDS): Likewise.
3994         (__ASSUME_LDT_WORKS): Likewise.
3995         (__ASSUME_O_DIRECTORY): Likewise.
3996         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
3997         architecture but not kernel version.
3998         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
3999         (__ASSUME_MMAP2_SYSCALL): Likewise.
4000         (__ASSUME_STAT64_SYSCALL): Likewise.
4001         (__ASSUME_IPC64): Likewise.
4002         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
4003         <kernel-features.h>.
4004         [__ASSUME_32BITUIDS]: Make code unconditional.
4005         [!__ASSUME_32BITUIDS]: Remove conditional code.
4006         * sysdeps/unix/sysv/linux/opendir.c: Do not include
4007         <kernel-features.h>.
4008         [__ASSUME_O_DIRECTORY]: Make code unconditional.
4009         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
4010         132096]: Remove conditional code.
4011         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
4012         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
4013         <kernel-features.h>.
4014         [__ASSUME_32BITUIDS]: Make code unconditional.
4015         [!__ASSUME_32BITUIDS]: Remove conditional code.
4016         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
4017         <kernel-features.h>.
4018         [__ASSUME_32BITUIDS]: Make code unconditional.
4019         [!__ASSUME_32BITUIDS]: Remove conditional code.
4020         * sysdeps/unix/sysv/linux/setegid.c: Do not include
4021         <kernel-features.h>.
4022         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
4023         unconditional.
4024         (__setresgid): Do not declare.
4025         [__ASSUME_32BITUIDS]: Make code unconditional.
4026         [!__ASSUME_32BITUIDS]: Remove conditional code.
4027         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
4028         <kernel-features.h>.
4029         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
4030         unconditional.
4031         (__setresuid): Do not declare.
4032         [__ASSUME_32BITUIDS]: Make code unconditional.
4033         [!__ASSUME_32BITUIDS]: Remove conditional code.
4034         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
4035         <kernel-features.h>.
4036         [__ASSUME_32BITUIDS]: Make code unconditional.
4037         [!__ASSUME_32BITUIDS]: Remove conditional code.
4038         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
4039         <kernel-features.h>.
4040         [__ASSUME_32BITUIDS]: Make code unconditional.
4041         [!__ASSUME_32BITUIDS]: Remove conditional code.
4043 2012-05-25  Richard Henderson  <rth@twiddle.net>
4045         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
4046         dl_hwcap to ifunc resolver.
4047         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
4048         elf_ifunc_invoke.
4049         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
4050         dl_hwcap to ifunc resolver.
4051         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
4053 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
4055         [BZ #14153]
4056         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
4057         for |x| <= 2**-26, not 2**-57.
4058         * math/libm-test.inc (acos_test): Do not allow spurious underflow
4059         exception.
4061 2012-05-24  Jeff Law  <law@redhat.com>
4063         * stdio-common/Makefile (tests): Add bug25.
4064         * stdio-common/bug25.c: New test.
4066 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
4068         [BZ #13576]
4069         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
4070         multiple of MALLOC_ALIGNMENT in size.
4071         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
4073 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
4075         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
4076         Require >= 256.
4077         (FILENAME_MAX): Use macro-int-constant.
4078         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
4079         (_IOFBF): Use macro-int-constant.
4080         (_IOLBF): Likewise.
4081         (_IONBF): Likewise.
4082         (SEEK_CUR): Likewise.
4083         (SEEK_END): Likewise.
4084         (SEEK_SET): Likewise.
4085         (TMP_MAX): Likewise.
4086         (EOF): Use macro-int-constant.  Require < 0.
4087         (NULL): Use macro-constant.  Require == 0.
4088         (stdin): Require type to be FILE *.
4089         (stdout): Likewise.
4090         (stderr): Likewise.
4091         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
4092         macro-int-constant.
4093         (EXIT_SUCCESS): Likewise.
4094         (NULL): Use macro-constant.  Require == 0.
4095         (RAND_MAX): Use macro-int-constant.
4096         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
4097         [C99-based standards] (strtof): Require function.
4098         [C99-based standards] (strtold): Likewise.
4099         [C99-based standards] (strtoll): Likewise.
4100         [C99-based standards] (strtoull): Likewise.
4101         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
4102         [ISO || ISO99 || ISO11] (limits.h): Likewise.
4103         [ISO || ISO99 || ISO11] (math.h): Likewise.
4104         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
4105         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
4106         [ISO || ISO99 || ISO11] (*_t): Do not allow.
4108 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
4110         [BZ #14132]
4111         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
4112         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
4113         * intl/dgettext.c (DCGETTEXT): Likewise.
4114         * intl/gettext.c (DCGETTEXT): Likewise.
4115         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
4116         * posix/regex_internal.h (gettext): Likewise.
4117         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
4118         Remove declaration.
4119         * include/argz.h (__argz_count_internal)
4120         (__argz_stringify_internal): Remove declaration.
4121         (__argz_count, __argz_stringify): Declare hidden proto.
4122         * intl/dcgettext.c: Remove use of INTDEF.
4123         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
4124         * string/argz-stringify.c: Likewise.
4125         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
4126         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
4127         Declare hidden proto.
4128         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
4129         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
4130         Declare hidden proto.
4131         * include/stdio.h (__asprintf_internal): Don't declare.
4132         (__asprintf): Don't define as macro.  Declare hidden proto.
4133         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
4134         (__fsetlocking): Declare hidden proto.
4135         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
4136         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
4137         hidden proto.
4138         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
4139         (_IO_setlinebuf): Remove use of INTUSE.
4140         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
4141         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
4142         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
4143         Remove declaration.
4144         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
4145         (_IO_do_flush): Remove use of INTUSE.
4146         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
4147         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
4148         (_IO_adjust_column, _IO_least_wmarker)
4149         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
4150         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
4151         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
4152         (_IO_default_doallocate, _IO_wdefault_doallocate)
4153         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
4154         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
4155         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
4156         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
4157         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
4158         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
4159         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
4160         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
4161         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
4162         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
4163         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
4164         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
4165         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
4166         proto.
4167         (_IO_flush_all_internal, _IO_adjust_column_internal)
4168         (_IO_default_uflow_internal, _IO_default_finish_internal)
4169         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
4170         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
4171         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
4172         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
4173         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
4174         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
4175         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
4176         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
4177         (_IO_file_close_internal, _IO_file_close_it_internal)
4178         (_IO_file_underflow_internal, _IO_file_overflow_internal)
4179         (_IO_file_init_internal, _IO_file_attach_internal)
4180         (_IO_file_fopen_internal, _IO_file_read_internal)
4181         (_IO_file_sync_internal, _IO_file_seek_internal)
4182         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
4183         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
4184         (_IO_str_underflow_internal, _IO_str_overflow_internal)
4185         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
4186         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
4187         (_IO_list_all_internal, _IO_link_in_internal)
4188         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
4189         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
4190         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
4191         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
4192         (_IO_do_write_internal, _IO_padn_internal)
4193         (_IO_getline_info_internal, _IO_getline_internal)
4194         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
4195         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
4196         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
4197         (_IO_vfscanf_internal, _IO_vfprintf_internal)
4198         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
4199         (_IO_init_internal, _IO_un_link_internal): Don't declare.
4200         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
4201         with libc_hidden_ver, remove use of INTUSE.
4202         * libio/genops.c: Likewise.
4203         * libio/freopen.c: Likewise.
4204         * libio/freopen64.c: Likewise.
4205         * libio/iofclose.c: Likewise.
4206         * libio/iofdopen.c: Likewise.
4207         * libio/iofflush.c: Likewise.
4208         * libio/iofflush_u.c: Likewise.
4209         * libio/iofgets.c: Likewise.
4210         * libio/iofgets_u.c: Likewise.
4211         * libio/iofopen.c: Likewise.
4212         * libio/iofopncook.c: Likewise.
4213         * libio/iofread.c: Likewise.
4214         * libio/iofread_u.c: Likewise.
4215         * libio/ioftell.c: Likewise.
4216         * libio/iofwrite.c: Likewise.
4217         * libio/iogetline.c: Likewise.
4218         * libio/iogets.c: Likewise.
4219         * libio/iogetwline.c: Likewise.
4220         * libio/iopadn.c: Likewise.
4221         * libio/iopopen.c: Likewise.
4222         * libio/ioseekoff.c: Likewise.
4223         * libio/ioseekpos.c: Likewise.
4224         * libio/iosetbuffer.c: Likewise.
4225         * libio/iosetvbuf.c: Likewise.
4226         * libio/ioungetc.c: Likewise.
4227         * libio/ioungetwc.c: Likewise.
4228         * libio/iovdprintf.c: Likewise.
4229         * libio/iovsprintf.c: Likewise.
4230         * libio/iovsscanf.c: Likewise.
4231         * libio/memstream.c: Likewise.
4232         * libio/obprintf.c: Likewise.
4233         * libio/oldfileops.c: Likewise.
4234         * libio/oldiofclose.c: Likewise.
4235         * libio/oldiofdopen.c: Likewise.
4236         * libio/oldiofopen.c: Likewise.
4237         * libio/oldiopopen.c: Likewise.
4238         * libio/oldstdfiles.c: Likewise.
4239         * libio/putc.c: Likewise.
4240         * libio/setbuf.c: Likewise.
4241         * libio/setlinebuf.c: Likewise.
4242         * libio/stdfiles.c: Likewise.
4243         * libio/strops.c: Likewise.
4244         * libio/vasprintf.c: Likewise.
4245         * libio/vscanf.c: Likewise.
4246         * libio/vsnprintf.c: Likewise.
4247         * libio/vswprintf.c: Likewise.
4248         * libio/wfiledoalloc.c: Likewise.
4249         * libio/wfileops.c: Likewise.
4250         * libio/wgenops.c: Likewise.
4251         * libio/wmemstream.c: Likewise.
4252         * libio/wstrops.c: Likewise.
4253         * libio/__fpurge.c: Likewise.
4254         * libio/__fsetlocking.c: Likewise.
4255         * assert/assert.c: Likewise.
4256         * debug/fgets_chk.c: Likewise.
4257         * debug/fgets_u_chk.c: Likewise.
4258         * debug/fread_chk.c: Likewise.
4259         * debug/fread_u_chk.c: Likewise.
4260         * debug/gets_chk.c: Likewise.
4261         * debug/obprintf_chk.c: Likewise.
4262         * debug/vasprintf_chk.c: Likewise.
4263         * debug/vdprintf_chk.c: Likewise.
4264         * debug/vsnprintf_chk.c: Likewise.
4265         * debug/vsprintf_chk.c: Likewise.
4266         * malloc/mtrace.c: Likewise.
4267         * misc/error.c: Likewise.
4268         * misc/syslog.c: Likewise.
4269         * stdio-common/asprintf.c: Likewise.
4270         * stdio-common/fxprintf.c: Likewise.
4271         * stdio-common/getw.c: Likewise.
4272         * stdio-common/isoc99_fscanf.c: Likewise.
4273         * stdio-common/isoc99_scanf.c: Likewise.
4274         * stdio-common/isoc99_vfscanf.c: Likewise.
4275         * stdio-common/isoc99_vscanf.c: Likewise.
4276         * stdio-common/isoc99_vsscanf.c: Likewise.
4277         * stdio-common/printf-prs.c: Likewise.
4278         * stdio-common/printf_fp.c: Likewise.
4279         * stdio-common/printf_fphex.c: Likewise.
4280         * stdio-common/printf_size.c: Likewise.
4281         * stdio-common/putw.c: Likewise.
4282         * stdio-common/scanf.c: Likewise.
4283         * stdio-common/sprintf.c: Likewise.
4284         * stdio-common/tmpfile.c: Likewise.
4285         * stdio-common/vfprintf.c: Likewise.
4286         * stdio-common/vfscanf.c: Likewise.
4287         * stdlib/strfmon_l.c: Likewise.
4288         * sunrpc/openchild.c: Likewise.
4289         * sunrpc/xdr_stdio.c: Likewise.
4290         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
4291         * sysdeps/mach/hurd/tmpfile.c: Likewise.
4293 2012-05-24  Roland McGrath  <roland@hack.frob.com>
4295         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
4297         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
4298         in the third column, to generate for the shared library an IFUNC
4299         that uses _dl_vdso_vsym.
4300         * Makerules (COMPILE.c, compile-stdin.c): New variables.
4301         * Makeconfig (object-suffixes-noshared): New variable.
4303         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
4304         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
4305         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
4306         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
4308         [BZ #14132]
4309         * include/sys/time.h (__gettimeofday): Remove macro.
4310         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
4311         * time/gettimeofday.c (__gettimeofday): Remove #undef.
4312         Remove INTDEF.
4313         (__gettimeofday): Add libc_hidden_def.
4314         (gettimeofday): Add libc_hidden_weak.
4315         * sysdeps/mach/gettimeofday.c: Likewise.
4316         * sysdeps/posix/gettimeofday.c: Likewise.
4317         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
4318         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
4319         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
4320         (__gettimeofday_internal): Remove strong_alias.
4321         (__gettimeofday): Add libc_hidden_def.
4322         (gettimeofday): Add libc_hidden_weak.
4323         * sysdeps/unix/syscalls.list (gettimeofday):
4324         Remove __gettimeofday_internal alias.
4326 2012-05-24  Daniel Jacobowitz  <drow@false.org>
4327             H.J. Lu  <hongjiu.lu@intel.com>
4329         [BZ #12495]
4330         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
4331         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
4332         (largebin_index_32_big): New.
4333         (largebin_index): Use it for 16-byte alignment.
4334         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
4335         correction with front_misalign.
4337 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
4339         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
4340         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
4341         Likewise.
4342         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
4343         Likewise.
4344         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
4345         Likewise.
4346         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
4347         Likewise.
4348         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
4349         Likewise.
4350         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
4351         Likewise.
4352         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
4353         Likewise.
4354         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
4355         Likewise.
4356         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
4357         Likewise.
4358         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
4359         Likewise.
4360         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
4361         Likewise.
4362         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
4363         Likewise.
4365         * scripts/data/c++-types-x32-linux-gnu.data: New file.
4366         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
4368 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
4370         [BZ #10846]
4371         [BZ #14036]
4372         * math/libm-test.inc (exp_test): Add test from bug 14036.
4373         (pow_test): Add test from bug 10846.
4375         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
4376         and other flags.
4377         (special_function): Do not include flags in test name.
4378         (parse_args): Likewise.
4379         * sysdeps/i386/fpu/libm-test-ulps: Update.
4380         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
4381         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
4382         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
4383         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4385         * math/gen-libm-test.pl (%beautify): Add entries for underflow
4386         exceptions.
4387         * math/libm-test.inc ("Philosophy"): Update comment about
4388         exception testing.
4389         (UNDERFLOW_EXCEPTION): New macro.
4390         (UNDERFLOW_EXCEPTION_OK): Likewise.
4391         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
4392         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
4393         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
4394         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
4395         (INVALID_EXCEPTION_OK): Update value.
4396         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
4397         (OVERFLOW_EXCEPTION_OK): Likewise.
4398         (IGNORE_ZERO_INF_SIGN): Likewise.
4399         (test_exceptions): Handle underflow exceptions.
4400         (acos_test): Update for underflow exception expectations.
4401         (cexp_test): Likewise.
4402         (clog_test): Likewise.
4403         (clog10_test): Likewise.
4404         (csqrt_test): Likewise.
4405         (ctan_test): Likewise.
4406         (ctanh_test): Likewise.
4407         (exp_test): Likewise.
4408         (exp10_test): Likewise.
4409         (exp2_test): Likewise.
4410         (expm1_test): Likewise.
4411         (fma_test): Likewise.
4412         (j0_test): Likewise.
4413         (jn_test): Likewise.
4414         (nexttoward_test): Likewise.
4415         (pow_test): Likewise.
4416         (scalbn_test): Likewise.
4417         (scalbln_test): Likewise.
4418         (tan_test): Likewise.
4419         (y1_test): Likewise.
4420         * sysdeps/i386/fpu/libm-test-ulps: Update.
4421         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4423 2012-05-23  David S. Miller  <davem@davemloft.net>
4425         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
4426         (__libc_sigaction): Remove unused local variables.
4428 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
4430         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
4432 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
4434         mktime: avoid signed integer overflow
4435         * time/mktime.c (__mktime_internal): Do not mishandle the case
4436         where diff == INT_MIN.
4438         mktime: simplify computation of average
4439         * time/mktime.c (ranged_convert): Use new time_t_avg function
4440         instead of rolling our own (probably-slower) code.
4442         mktime: do not assume signed right shift propagates sign bit
4443         * time/mktime.c (isdst_differ): New static function.
4444         (__mktime_internal): No need to normalize tm_isdst now.
4445         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
4446         tm_isdst values.
4448         mktime: merge another wrapv change from gnulib
4449         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
4450         from some compilers.
4452         mktime: remove incorrect attempt at unusual arithmetics
4453         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
4454         The code didn't really work on such machines anyway.
4455         (TYPE_MINIMUM): Assume two's complement.
4456         (twos_complement_arithmetic): Verify that long_int and time_t
4457         are two's complement (or unsigned, in the latter case).
4459         mktime: check signed shifts on long_int and time_t, too
4460         * time/mktime.c (SHR): Check that shifts work as desired
4461         on the types long_int and time_t too, as SHR is used on
4462         such types.
4464         mktime: do not assume 'long' is wide enough
4465         * time/mktime.c (verify): Move decl up.
4466         (long_int): New type.
4467         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
4468         to remove assumption in the code that 'long' is wide enough to
4469         store year values.  This assumption is not true on x32 and on
4470         some non-glibc platforms.
4472         mktime: merge wrapv change from gnulib
4473         * time/mktime.c (WRAPV): New macro.
4474         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
4475         (guess_time_tm, __mktime_internal): Do not assume that signed
4476         integer overflow wraps around; modern compilers generate code
4477         where this assumption is no longer valid.
4479 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
4481         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
4482         Replace "jmp L(pseudo_end)" with "ret".
4483         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
4484         Likewise.
4486 2012-05-23  Andreas Jaeger  <aj@suse.de>
4488         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
4489         * sysdeps/unix/sysv/linux/poll.c: Remove file.
4491 2012-05-23  Andreas Jaeger  <aj@suse.de>
4492             Maximilian Attems  <max@stro.at>
4494         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
4495         New macros.
4497 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
4499         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
4500         code so that pseudo_end is just ret and the stack pointer is
4501         correct also for static library in error case.
4503 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
4505         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
4506         move to syscalls.list.
4507         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
4508         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
4509         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
4510         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
4512         * manual/install.texi (Running make install): Do not mention Linux
4513         kernel version for which pt_chown is not needed.
4514         (Linux): Do not mention problems with nscd with 2.0 kernels.
4515         * INSTALL: Regenerated.
4517 2012-05-23  Andreas Jaeger  <aj@suse.de>
4519         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
4520         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
4521         macro.
4522         * sysdeps/unix/sysv/linux/s390/bits/mman.h
4523         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
4524         * sysdeps/unix/sysv/linux/sh/bits/mman.h
4525         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
4526         * sysdeps/unix/sysv/linux/i386/bits/mman.h
4527         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
4528         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
4529         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
4530         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
4531         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
4532         * sysdeps/unix/sysv/linux/bits/in.h
4533         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
4535 2012-05-22  Roland McGrath  <roland@hack.frob.com>
4537         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
4538         (PREPARE_VERSION): Just use assert instead, it will be elided
4539         under [NDEBUG] anyway.
4541 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
4543         * sysdeps/unix/sysv/linux/Makefile: Include
4544         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
4545         (sysdep_routines): Remove sysctl.
4546         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
4547         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
4548         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
4549         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
4550         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
4552 2012-05-22  Andreas Jaeger  <aj@suse.de>
4554         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
4555         that pseudo_end is just ret and the stack pointer is correct also
4556         for static library in error case.
4558 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
4560         [BZ #14122]
4561         * nss/nsswitch.c (defconfig_entries): New variable.
4562         (__nss_database_lookup): Don't leak defconfig entries.
4563         (nss_parse_service_list): Don't leak on error paths.
4564         (free_database_entries): New function.
4565         (free_defconfig): New function.
4566         (free_mem): Move common code to free_database_entries.
4568 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
4570         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
4571         Add arch_prctl.
4572         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
4574         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
4575         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
4576         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
4577         New macro.
4578         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
4579         (INTERNAL_SYSCALL_TYPES): Likewise.
4580         (LOAD_ARGS_TYPES_[1-6]): Likewise.
4581         (LOAD_REGS_TYPES_[1-6]): Likewise.
4582         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
4583         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
4585 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4587         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
4588         copysignl for GLIBC_2_0.
4589         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
4590         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
4591         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
4592         logbl for GLIBC_2_0.
4593         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
4594         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
4596 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
4598         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
4599         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
4601         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
4602         Use "neg %eax".
4604         * time/mktime.c: Update copyright years.
4606 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
4608         mktime: merge comment-quoting-style change from gnulib
4609         * time/mktime.c: Quote 'like this' in comments.
4610         The GNU coding standards suggest that we no longer quote `like this',
4611         as "`" and "'" are typically rendered asymmetrically nowadays.
4612         The typical gnulib style is to quote 'like this' when quoting
4613         code, and "like this" when quoting English.
4615         * time/mktime.c (compile-command): Add "-I.".
4617         mktime: merge mktime-internal.h change from gnulib
4618         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
4620         mktime: merge time_r change from gnulib
4621         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
4623         mktime: merge DEBUG change from gnulib
4624         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
4625         case system <time.h> has a #define.
4627         mktime: merge <sys/types.h> change from gnulib
4628         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
4629         since <time.t> is now guaranteed to define time_t.
4631         mktime: merge HAVE_CONFIG_H change from gnulib
4632         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
4634 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
4636         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
4637         Use "neg %eax".
4639         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
4640         __rlim_t cast.
4641         (struct rusage): Use anonymous union to pad each field to
4642         __syscall_slong_t.
4644 2012-05-21  David S. Miller  <davem@davemloft.net>
4646         * Makefules (o-iterator): Remove .s cases.
4647         (compile-command.s): Delete.
4648         (COMPILE.s): Delete.
4649         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
4651 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
4653         * configure.in (libc_cv_predef_stack_protector): Only consider
4654         "foobar" and "__stack_chk_fail" lines in libc_undefs.
4655         * configure: Regenerated.
4657 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
4659         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
4660         New macro.  Use R*LP on int and pointer.
4661         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
4662         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
4663         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
4664         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
4666         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
4667         [__WORDSIZE_TIME64_COMPAT32] instead of
4668         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
4669         (struct utmp): Likewise.
4670         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
4671         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
4672         Renamed to ...
4673         (__WORDSIZE_TIME64_COMPAT32): This.
4674         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
4675         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
4676         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
4677         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
4678         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
4679         (__WORDSIZE_TIME64_COMPAT32): New macro.
4681 2012-05-21  Andreas Jaeger  <aj@suse.de>
4683         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
4684         only if [SHARED]. Add prototype for __wcschr_ia32.
4686 2012-05-21  Roland McGrath  <roland@hack.frob.com>
4688         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
4689         of %rbp unmolested in the jmp_buf while mangling the low bits.
4690         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
4691         unmolested high bits of %rbp while demangling the low bits.
4692         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
4694 2012-05-21  Andreas Jaeger  <aj@suse.de>
4696         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
4697         * sunrpc/svc_simple.c: Use it for registerrpc.
4698         * sunrpc/xcrypt.c: Use it for passwd2des.
4700         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
4702 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
4704         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
4705         Don't define if [__SYSCALL_WORDSIZE != 32].
4706         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
4707         New macro.
4709 2012-05-21  Bruno Haible  <bruno@clisp.org>
4710             Andreas Jaeger  <aj@suse.de>
4712         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
4713         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
4714         inptr and inend for must_buffer_ch.
4715         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
4716         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
4717         * stdio-common/Makefile (tests): Remove bug15.
4718         (bug15-ENV): Remove macro.
4719         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
4720         anymore.
4722 2012-05-19  Andreas Jaeger  <aj@suse.de>
4723             Roland McGrath  <roland@hack.frob.com>
4725         * manual/contrib.texi: Completely rewritten. It contains now an
4726         alphabetical list of contributors and their contributions.
4728 2012-05-21  Richard Henderson  <rth@twiddle.net>
4730         * misc/getauxval.c (__getauxval): Use unsigned long int.
4731         * misc/sys/auxv.h: Include <sys/cdefs.h>.
4732         (getauxval): Use unsigned long int.
4734 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
4736         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
4738 2012-05-21  Roland McGrath  <roland@hack.frob.com>
4740         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
4741         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
4742         __alignof__ (long double).
4744 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4746         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4748 2012-05-20  Richard Henderson  <rth@twiddle.net>
4750         * misc/getauxval.c: New file.
4751         * misc/sys/auxv.h: New file.
4752         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
4753         (routines): Add getauxval.
4754         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
4755         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
4756         * elf/dl-sysdep.c (_dl_auxv): Remove.
4757         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
4758         * elf/dl-support.c (_dl_auxv): New variable.
4759         (_dl_aux_init): Initialize it.
4760         * manual/startup.texi (Auxiliary Vector): New node.
4761         * sysdeps/generic/bits/hwcap.h: New file.
4762         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
4763         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
4764         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
4765         * sysdeps/sparc/sysdep.h: ... here.  Include it.
4766         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
4767         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
4768         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
4769         Update.
4770         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
4771         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
4772         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
4773         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
4774         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
4775         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
4776         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
4777         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
4779 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4781         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4783 2012-05-19  David S. Miller  <davem@davemloft.net>
4785         * sysdeps/sparc/fpu/libm-test-ulps: Update.
4787 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
4789         [BZ #14123]
4790         * math/s_ccosh.c: Include <float.h>
4791         (__ccosh): Avoid internal overflow calculating sinh and cosh
4792         values before multiplying by sin and cos values.
4793         * math/s_ccoshf.c: Likewise.
4794         * math/s_ccoshl.c: Likewise.
4795         * math/s_csin.c: Likewise.
4796         * math/s_csinf.c: Likewise.
4797         * math/s_csinl.c: Likewise.
4798         * math/s_csinh.c: Likewise.
4799         * math/s_csinhf.c: Likewise.
4800         * math/s_csinhl.c: Likewise.
4801         * math/libm-test.inc (ccos_test): Add more tests.
4802         (ccosh_test): Likewise.
4803         (csin_test): Likewise.
4804         (csinh_test): Likewise.
4805         * sysdeps/i386/fpu/libm-test-ulps: Update.
4806         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4808 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
4810         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
4811         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
4813         * sysdeps/x86_64/x32/_itoa.h: Add comment.
4815 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
4817         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
4818         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
4819         * sysdeps/powerpc/soft-fp/Versions: Likewise.
4820         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
4821         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
4822         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
4823         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
4824         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
4825         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
4826         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
4827         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
4828         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
4829         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
4830         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
4831         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
4832         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
4833         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
4834         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
4835         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
4836         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
4837         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
4838         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
4839         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
4840         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
4841         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
4842         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
4843         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
4844         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
4845         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
4846         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
4847         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
4849 2012-05-18  Andreas Jaeger  <aj@suse.de>
4851         * csu/.gitignore: Delete.
4853 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
4855         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
4856         (timex): Use __syscall_slong_t.
4858 2012-05-18  Andreas Jaeger  <aj@suse.de>
4859             Carlos O'Donell  <carlos_odonell@mentor.com>
4861         * manual/install.texi (Configuring and compiling): Update
4862         description about files modified in the source directory.
4863         * INSTALL: Regenerated.
4865 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
4867         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
4868         value.  Use "or" to set return value to -1.
4869         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
4870         negate return value.
4872 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
4874         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
4875         CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
4876         failure if the compiler has Graphite support disabled.
4877         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
4878         Likewise.
4879         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
4880         CFLAGS-memmove.c): Likewise.
4881         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
4882         Likewise.
4884 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
4886         * sysdeps/x86_64/x32/_itoa.h: New file.
4888         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
4889         getdents system call only if kernel and user dirents have the
4890         same d_ino and d_off.
4892         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
4893         LLONG_MAX != LONG_MAX.
4894         (_itoa_word): Use _ITOA_WORD_TYPE on value.
4895         (_fitoa_word): Likewise.
4897         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
4898         years.
4899         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
4900         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
4901         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
4903         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
4904         include <bits/wordsize.h>.  Check __x86_64__ instead of
4905         __WORDSIZE.
4906         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
4907         if __x86_64__ is defined.  Use anonymous union on fpstate.
4909         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
4910         anonymous union.
4912 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
4914         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
4915         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
4916         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
4917         Refer to _rtld_local_ro instead of _rtld_global_ro.
4918         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
4919         Likewise.
4920         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
4921         Likewise.
4922         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
4923         Likewise.
4924         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
4925         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
4926         of _rtld_global, and rtld_progname instead of _dl_argv[0].
4928         * sysdeps/powerpc/powerpc32/dl-machine.c
4929         (__elf_machine_runtime_setup) [PROF]: Don't reference
4930         _dl_prof_resolve.
4932 2012-05-18  Andreas Jaeger  <aj@suse.de>
4934         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
4935         function only available for GCCs before 3.4 since GCC 3.4
4936         introduced a builtin.
4937         (lrint): Likewise.
4938         (llrintf): Likewise.
4939         (llrint): Likewise.
4940         (fmaxf): Likewise.
4941         (fmax): Likewise.
4942         (fminf): Likewise.
4943         (fmin): Likewise.
4944         (rint): Likewise.
4945         (rintf): Likewise.
4946         (nearbyint): Likewise.
4947         (nearbyintf): Likewise.
4948         (ceil): Likewise.
4949         (ceilf): Likewise.
4950         (floor): Likewise.
4951         (floorf): Likewise.
4953 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
4955         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
4956         on both fields and cast pointer to __syscall_ulong_t.
4958         * bits/types.h (__fsword_t): New type.
4959         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
4960         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
4961         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
4962         (__FSWORD_T_TYPE): Likewise.
4963         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
4964         (__FSWORD_T_TYPE): Likewise.
4965         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
4966         (__FSWORD_T_TYPE): Likewise.
4967         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
4968         (__FSWORD_T_TYPE): Likewise.
4969         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
4970         __SWORD_TYPE with __fsword_t.
4971         (statfs64): Likewise.
4973 2012-05-17  David S. Miller  <davem@davemloft.net>
4975         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
4977 2012-05-17  Andreas Jaeger  <aj@suse.de>
4979         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
4980         warning.
4982 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
4984         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
4986 2012-05-17  Andreas Jaeger  <aj@suse.de>
4988         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
4989         when it is used.
4991 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
4993         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
4995 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
4997         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
4998         * sysdeps/x86_64/tst-mallocalign1.c: New file.
5000 2012-05-17  Andreas Jaeger  <aj@suse.de>
5001             Carlos O'Donell  <carlos_odonell@mentor.com>
5003         [BZ #14059]
5004         * sysdeps/x86_64/multiarch/init-arch.h
5005         (bit_YMM_Usable): Rename to...
5006         (bit_AVX_Usable): ... this.
5007         (bit_FMA4_Usable): New macro.
5008         (bit_XMM_state): New macro.
5009         (bit_YMM_state): New macro.
5010         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
5011         [__ASSEMBLER__] (index_AVX_Usable): ... this.
5012         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
5013         (CPUID_OSXSAVE): New macro.
5014         (CPUID_AVX): New macro.
5015         (CPUID_FMA4): New macro.
5016         (index_YMM_Usable): Rename to...
5017         (index_AVX_Usable): ... this.
5018         (HAS_AVX): Use HAS_ARCH_FEATURE.
5019         (HAS_FMA4): Likewise.
5020         (HAS_YMM_USABLE): Remove.
5021         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
5022         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
5023         are present.
5024         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
5025         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
5026         * sysdeps/x86_64/multiarch/Makefile: Likewise.
5027         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
5028         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
5030 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
5032         * math/libm-test.c: Support platforms without multiple rounding modes.
5033         * math/bug-nextafter.c: Support platforms without FP exceptions.
5034         * math/bug-nexttoward.c: Likewise.
5035         * math/test-fenv.c: Likewise.
5036         * math/test-misc.c: Likewise.
5037         * stdlib/bug-getcontext.c: Likewise.
5039 2012-05-17  Andreas Jaeger  <aj@suse.de>
5041         * manual/examples/search.c (critter_cmp): Change signature to
5042         avoid warnings.
5043         * manual/string.texi (Collation Functions): Likewise.
5045 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
5047         * bits/types.h: Fold copyright years.
5048         * bits/typesizes.h: Likewise.
5049         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
5050         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
5051         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
5052         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
5053         * time/time.h: Likewise.
5055 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
5057         [BZ #208]
5058         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
5059         in instead of returning them.  Return void.
5060         (__libc_mallinfo): Accumulate over all arenas.
5061         (__malloc_stats): Adjust for change in int_mallinfo interface.
5063 2012-05-16  Roland McGrath  <roland@hack.frob.com>
5065         [BZ #10375]
5066         * configure.in (NM): Add AC_CHECK_TOOL for it.
5067         (libc_extra_cflags): New substituted variable.
5068         Check for -fstack-protector being used implicitly.
5069         * configure: Regenerated.
5070         * config.make.in (config-extra-cflags): New variable,
5071         gets @libc_extra_cflags@.
5072         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
5074         [BZ #10375]
5075         * configure.in: Check for _FORTIFY_SOURCE being predefined.
5076         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
5077         * configure: Regenerated.
5078         * config.make.in (CPPUNDEFS): New substituted variable.
5079         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
5080         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
5081         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
5083 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
5085         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
5086         (mq_attr): Use __syscall_slong_t.
5088 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
5090         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
5091         Check __x86_64__ instead of __WORDSIZE.
5092         (_STAT_VER_LINUX): Likewise.
5093         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
5094         __syscall_ulong_t and __syscall_slong_t.
5095         (stat64): Likewise.
5097 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
5099         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
5101 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
5103         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
5105 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
5107         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
5108         __syscall_ulong_t.
5110         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
5111         include <bits/wordsize.h>.  Check __x86_64__ instead of
5112         __WORDSIZE.
5113         (greg_t): Use "__extension__ long long int" if __x86_64__ is
5114         defined.
5115         (mcontext_t): Replace "unsigned long" with "unsigned long long".
5117         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
5118         include <bits/wordsize.h>.  Check __x86_64__ instead of
5119         __WORDSIZE.
5120         (user_regs_struct): Use "__extension__ unsigned long long"
5121         instead of "unsigned long" if __x86_64__ is defined.
5122         (user): Likewise.  Pad after pointer field if __ILP32__ is
5123         defined.
5125 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
5127         * configure.in (makeinfo): Require version 4.5 or later.  Allow
5128         versions 5 to 9.
5129         * configure: Regenerated.
5130         * manual/install.texi (texinfo): Increase version requirement to
5131         4.5 or later.
5132         * INSTALL: Regenerated.
5134         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
5136 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
5138         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
5140         * sysdeps/x86_64/x32/ffs.c: New file.
5142         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
5143         __syscall_ulong_t.
5144         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
5145         defined.  Use __syscall_ulong_t.
5146         (shminfo): Use __syscall_ulong_t.
5147         (shm_info): Likewise.
5149         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
5150         __syscall_ulong_t.
5152         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
5153         <bits/wordsize.h>.
5154         (msgqnum_t): Use __syscall_ulong_t.
5155         (msglen_t): Likewise.
5156         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
5157         __syscall_ulong_t.
5159         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
5160         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
5162         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
5164         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
5165         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
5167         * sysvipc/sys/msg.h (msgbuf): Replace long int with
5168         __syscall_slong_t.
5170         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
5171         include <bits/wordsize.h>.  Check __x86_64__ instead of
5172         __WORDSIZE.
5174         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
5175         "unsigned long long int" if __x86_64__ is defined.
5176         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
5178         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
5179         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
5180         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
5182         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
5183         <stdint.h>.
5184         (GET_PC): Cast to uintptr_t first.
5185         (GET_FRAME): Likewise.
5186         (GET_STACK): Likewise.
5188         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
5189         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
5190         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
5191         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
5192         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
5193         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
5194         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
5195         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
5196         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
5197         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
5198         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
5199         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
5200         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
5201         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
5202         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
5203         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
5204         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
5205         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
5206         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
5207         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
5208         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
5209         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
5210         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
5211         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
5212         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
5213         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
5214         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
5215         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
5216         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
5218 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
5220         * Makerules (+depfiles): Also collect depfiles from .oS in
5221         $(extra-objs).
5222         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
5223         .oS, $(libnldbl-routines)).
5225         * Makerules (native-compile-mkdep-flags): Define.
5226         * sunrpc/Makefile (extra-objs): Add $(addprefix
5227         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
5228         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
5229         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
5230         calling $(make-target-directory).
5232 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
5234         * bits/types.h (__snseconds_t): Removed.
5235         * time/time.h (struct timespec): Replace __snseconds_t with
5236         __syscall_slong_t.
5237         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
5238         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
5239         Likewise.
5240         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
5241         (__SNSECONDS_T_TYPE): Likewise.
5242         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
5243         (__SNSECONDS_T_TYPE): Likewise.
5244         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
5245         (__SNSECONDS_T_TYPE): Likewise.
5247 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
5249         * sysdeps/mach/hurd/bits/typesizes.h
5250         (__SYSCALL_SLONG_TYPE): New macro.
5251         (__SYSCALL_ULONG_TYPE): Likewise.
5253 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
5255         * bits/types.h (__syscall_slong_t): New type.
5256         (__syscall_ulong_t): Likewise.
5258         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
5259         (__SYSCALL_ULONG_TYPE): Likewise.
5260         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
5261         (__SYSCALL_SLONG_TYPE): Likewise.
5262         (__SYSCALL_ULONG_TYPE): Likewise.
5263         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
5264         (__SYSCALL_SLONG_TYPE): Likewise.
5265         (__SYSCALL_ULONG_TYPE): Likewise.
5266         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
5267         (__SYSCALL_SLONG_TYPE): Likewise.
5268         (__SYSCALL_ULONG_TYPE): Likewise.
5270 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
5272         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
5273         Add sigaltstack-offsets.sym.
5274         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
5275         <sigaltstack-offsets.h>.
5276         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
5277         longjmp_msg pointer.
5278         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
5279         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
5280         signal stack.
5281         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
5283 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
5285         * elf/stackguard-macros.h: Remove file.
5286         * sysdeps/generic/stackguard-macros.h: New file.
5287         * sysdeps/i386/stackguard-macros.h: Likewise.
5288         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
5289         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
5290         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
5291         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
5292         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
5293         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
5294         * sysdeps/x86_64/stackguard-macros.h: Likewise.
5295         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
5296         <elf/stackguard-macros.h>.
5298         [BZ #14109]
5299         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
5300         __aligned__ in attribute.
5301         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
5302         (gregset_t): Likewise.
5304 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
5306         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
5307         * sysdeps/x86_64/64/Implies-after: Here.  New file.
5308         * sysdeps/x86_64/x32/Implies-after: New file.
5310 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
5312         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
5313         and access return value for _dl_profile_fixup.  Use R10_LP to
5314         load frame size.
5316 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
5318         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
5320 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
5322         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
5323         * sysdeps/x86_64/x32/sysdep.h: New file.
5325 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
5327         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
5328         * sysdeps/x86_64/setjmp.S: Likewise.
5330 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5332         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
5333         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
5334         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
5335         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
5336         remove unused global constant.
5338 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
5340         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
5341         include of <not-cancel.h>.
5343 2012-05-15  Roland McGrath  <roland@hack.frob.com>
5345         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
5347 2012-05-15  Jeff Law  <law@redhat.com>
5348             Andreas Jaeger  <aj@suse.de>
5350         [BZ #13594]
5351         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
5352         out from...
5353         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
5354         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
5355         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
5356         code changing __hst_map_handle.map.
5358 2012-05-15  Roland McGrath  <roland@hack.frob.com>
5360         * configure.in (sysnames): Look for Implies-before and Implies-after
5361         files.
5362         * configure: Regenerated.
5364 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
5366         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
5367         8-byte data alignment with LP_SIZE alignment.
5369 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
5371         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
5372         into R10_LP.
5374 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
5376         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
5378 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
5380         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
5381         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
5382         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
5383         Likewise.
5384         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
5386 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
5388         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
5389         (stackinfo_sub_sp): Likewise.
5391 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
5393         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
5394         RAX_LP.
5396 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
5398         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
5399         into R*_LP.
5401 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
5403         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
5404         sizes into R*_LP.
5406 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
5408         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
5410 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
5412         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
5413         into R11_LP and load __x86_64_shared_cache_size_half into
5414         R8_LP.
5416 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
5418         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
5419         R8_LP.
5421 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5423         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
5424         logb for POWER7.
5425         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
5426         logbf for POWER7.
5427         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
5428         logbl for POWER7.
5429         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
5430         powerpc32/power7/fpu/s_logb.c via #include.
5431         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
5432         powerpc32/power7/fpu/s_logbf.c via #include.
5433         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
5434         powerpc32/power7/fpu/s_logbl.c via #include.
5436 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
5438         * README.libm: Remove file.
5440 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
5442         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
5443         count for x32.  Use R*_LP and omit operand-size suffix.
5445 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
5447         * shlib-versions: Move x86_64-.*-linux.* entries to ...
5448         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
5449         * sysdeps/x86_64/x32/shlib-versions: New file.
5451 2012-05-14  Roland McGrath  <roland@hack.frob.com>
5453         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
5454         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
5455         Use _dl_fatal_printf instead.
5457 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
5459         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
5460         set if not set by the user.  Do not allow for being unset.
5461         * sysdeps/unix/sysv/linux/configure: Regenerated.
5463 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
5465         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
5466         the `q' suffix from lea and replace .quad with ASM_ADDR.
5468 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
5470         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
5471         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
5472         instead of $17.
5473         (PTR_DEMANGLE): Likewise.
5475 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
5477         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
5478         (LP_OP): Likewise.
5479         (ASM_ADDR): Likewise.
5480         (RAX_LP): Likewise.
5481         (RBP_LP): Likewise.
5482         (RBX_LP): Likewise.
5483         (RCX_LP): Likewise.
5484         (RDI_LP): Likewise.
5485         (RSI_LP): Likewise.
5486         (RSP_LP): Likewise.
5487         (R8_LP): Likewise.
5488         (R9_LP): Likewise.
5489         (R10_LP): Likewise.
5490         (R10_LP): Likewise.
5491         (R11_LP): Likewise.
5492         (R12_LP): Likewise.
5493         (R13_LP): Likewise.
5494         (R14_LP): Likewise.
5495         (R15_LP): Likewise.
5497 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
5499         * sysdeps/x86_64/x32/dl-machine.h: New file.
5501 2012-05-14  Andreas Jaeger  <aj@suse.de>
5503         * manual/Makefile (subdir): Remove export of subdir.
5504         (all): Remove target.
5505         (.PHONY): Remove all from list.
5506         (mkinstalldirs): Remove.
5507         (.PHONY): Remove installdirs from list.
5508         ($(inst_infodir)/libc.info): Use make-target-directory.
5509         (installdirs): Remove.
5510         (subdir_%): Remove.
5511         (glibc-targets): Remove.
5512         (lib): Remove.
5513         (stubs): Remove.
5514         ($(objpfx)stubs ../po/manual.pot): Remove.
5515         ($(objpfx)stamp%): Remove.
5516         (make-target-directory): Remove.
5517         (subdir_install): Remove.
5518         (routines): Remove.
5519         (aux): Remove.
5520         (sources): Remove.
5521         (objects): Remove.
5522         (headers): Remove.
5524         [BZ #13750]
5525         * manual/.gitignore: Remove, it's not needed anymore.
5526         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
5527         all files in it.
5528         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
5529         directory.
5530         (texis): Renamed to $(objpfx)texis.
5531         (texis-path): New, contains path to generated files.
5532         (chapters.%): Use texis-path for complete path, add extra argument
5533         libc-texinfo.sh.
5534         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
5535         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
5536         (summary,texi, stamp-summary): Use complete path of
5537         files. Generate files in build dir.
5538         (dir-add.texi): Build in build dir.
5539         (libm-err.texi,stamp-libm-err): Likewise.
5540         (version.texi, stamp-version): Likewise.
5541         (.%c.texi): Likewise.
5542         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
5543         (mostlyclean): Remove target.
5544         (realclean): Remove target.
5545         (generated): Add new variable with contents from mostlyclean and
5546         realclean, remove entries duplicated in common-mostlyclean, add
5547         stamp-libm-err and stamp-version.
5548         (generated-dirs): Add libc directory.
5549         ($(inst_infodir)/libc.info): Install files from build dir.
5551         * manual/install.texi (Configuring and compiling): Adjust since
5552         the info files are not part of the tar ball anymore.
5554 2012-05-14  Andreas Jaeger  <aj@suse.de>
5556         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
5557         variable.
5559 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
5561         [BZ #13717]
5562         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
5563         to 2.2.0 where earlier.
5564         * sysdeps/unix/sysv/linux/configure: Regenerated.
5565         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
5566         Remove conditional code.
5567         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
5568         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
5569         Remove conditional code.
5570         [!__NR_lchown]: Likewise.
5571         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
5572         [__NR_lchown]: Likewise.
5573         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
5574         comment referencing __ASSUME_LCHOWN_SYSCALL.
5575         * sysdeps/unix/sysv/linux/i386/sigaction.c
5576         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
5577         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
5578         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
5579         Remove conditional code.
5580         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
5581         (__protocol_available): Remove #if 0 code.
5582         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
5583         conditional code.
5584         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
5585         * sysdeps/unix/sysv/linux/kernel-features.h
5586         (__ASSUME_GETCWD_SYSCALL): Don't define.
5587         (__ASSUME_REALTIME_SIGNALS): Likewise.
5588         (__ASSUME_PREAD_SYSCALL): Likewise.
5589         (__ASSUME_PWRITE_SYSCALL): Likewise.
5590         (__ASSUME_POLL_SYSCALL): Likewise.
5591         (__ASSUME_LCHOWN_SYSCALL): Likewise.
5592         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
5593         non-SPARC.
5594         (__ASSUME_SIOCGIFNAME): Don't define.
5595         (__ASSUME_MSG_NOSIGNAL): Likewise.
5596         (__ASSUME_SENDFILE): Define unconditionally.
5597         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
5598         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
5599         conditional code.
5600         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
5601         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
5602         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
5603         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
5604         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
5605         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
5606         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
5607         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
5608         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
5609         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5610         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
5611         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
5612         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5613         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
5614         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
5615         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5616         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
5617         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
5618         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5619         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
5620         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
5621         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5622         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
5623         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
5624         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5625         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
5626         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
5627         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5628         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
5629         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
5630         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5631         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
5632         Remove conditional code.
5633         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5634         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
5635         Remove conditional code.
5636         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5637         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
5638         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
5639         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
5640         Remove conditional code.
5641         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5642         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
5643         Remove conditional code.
5644         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5645         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
5646         Remove conditional code.
5647         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5648         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
5649         Remove conditional code.
5650         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5651         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
5652         Remove conditional code.
5653         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5654         * sysdeps/unix/sysv/linux/sh/pwrite64.c
5655         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
5656         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5657         * sysdeps/unix/sysv/linux/sigaction.c
5658         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
5659         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
5660         * sysdeps/unix/sysv/linux/sigpending.c
5661         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
5662         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
5663         * sysdeps/unix/sysv/linux/sigprocmask.c
5664         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
5665         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
5666         * sysdeps/unix/sysv/linux/sigsuspend.c
5667         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
5668         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
5669         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
5670         (__libc_missing_rt_sigs): Remove.
5671         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
5672         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
5673         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
5674         Remove conditional code.
5675         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
5676         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
5677         return 1.
5678         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
5679         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
5680         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
5681         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
5683 2012-05-14  Andreas Jaeger  <aj@suse.de>
5685         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
5686         it's not used in glibc.
5687         (__coshm1): Likewise.
5688         (__acosh1p): Likewise.
5689         (__sgn): Likewise.
5691         * manual/string.texi (Copying and Concatenation): Add missing
5692         variable in concat example.
5693         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
5695 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
5697         [BZ #14103]
5698         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
5699         __builtin_clzl with __builtin_clzll.
5701 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
5703         [BZ #14104]
5704         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
5705         libc_freeres_ptr.
5707 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
5709         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
5710         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
5711         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
5712         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
5714 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
5716         * NEWS: Update ia64 info.
5718 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
5720         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
5721         used as bcopy.
5723 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
5725         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
5726         * sysdeps/unix/syscalls.list (dup3): Likewise.
5727         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
5728         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
5730 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
5732         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
5733         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
5735 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
5737         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
5738         thread pointer.
5739         (TLS_IE): Use mov/add instead of movq/addq to load thread
5740         pointer.
5741         (TLS_GD_PREFIX): New.
5742         (TLS_GD): Use it.
5744 2012-05-11  David S. Miller  <davem@davemloft.net>
5746         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
5747         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
5748         (_FPU_SETCW): Likewise.
5750 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
5752         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
5753         is 32-byte aligned.
5755 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
5757         [BZ #11837]
5758         * iconvdata/gb18030.c: Update tables.
5759         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
5760         characters specially.
5761         (BODY for TO_LOOP): Add encoding of missing ranges.
5763 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
5765         [BZ #13673]
5766         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
5767         * sysdeps/mach/hurd/dup3.c: Likewise.
5768         * sysdeps/mach/hurd/readlinkat.c: Likewise.
5769         * sysdeps/powerpc/memmove.c:: Likewise.
5771 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
5773         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
5774         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
5776 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
5778         * elf/elf.h (R_X86_64_RELATIVE64): New.
5779         (R_X86_64_NUM): Updated.
5780         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
5781         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
5782         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
5783         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
5784         tst-quad1pie tst-quad2pie
5785         (modules-names): Add tst-quadmod1 tst-quadmod2.
5786         ($(objpfx)tst-quad1): New dependency.
5787         ($(objpfx)tst-quad2): Likewise.
5788         ($(objpfx)tst-quad1pie): Likewise.
5789         ($(objpfx)tst-quad2pie): Likewise.
5790         * sysdeps/x86_64/tst-quad1.c: New file.
5791         * sysdeps/x86_64/tst-quad1pie.c: New file.
5792         * sysdeps/x86_64/tst-quad2.c: Likewise.
5793         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
5794         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
5795         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
5796         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
5797         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
5799 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5801         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
5802         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
5803         * streams/stropts.h (t_scalar_t): Define type.
5805         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
5806         (_PATH_PRESERVE): Set to "/var/lib".
5807         (_PATH_RWHODIR): Set to "/var/spool/rwho".
5809         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
5810         instead of int.
5812         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
5813         if __dir_mkfile succeeded.
5815         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
5816         checking for _hurd_dtablesize.  Unlock it right after having
5817         finished _hurd_dtable allocation.
5819 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
5821         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
5822         * sysdeps/mach/hurd/configure: Regenerated.
5823         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
5824         special-casing to...
5825         * sysdeps/gnu/configure.in: ... this new file.
5826         * sysdeps/unix/sysv/linux/configure: Regenerated.
5827         * sysdeps/gnu/configure: New generated file.
5829         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
5830         for Linux: use nsec instead of usec, as well as:
5831         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
5832         members of type struct timespec.
5833         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
5834         New macros.
5835         (struct stat64): Likewise.
5836         (_STATBUF_ST_NSEC): New macro.
5837         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
5839         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
5840         __strtoul_internal rather than strtoul.
5842 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
5844         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
5845         and reject them.
5847 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5849         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
5850         which preserves existing values.
5851         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
5853 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
5855         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
5856         TIMEOUT values.  Return EINVAL for NFDS values either negative or
5857         greater than FD_SETSIZE.
5859 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5861         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
5862         allocated, call __vm_protect to finish enabling the existing space, and
5863         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
5864         allocate the remainder.
5866 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
5868         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
5869         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
5871 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5873         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
5874         sysdeps/mach/hurd/readlink.c.
5876         * posix/tst-sysconf.c (posix_options): Only use
5877         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
5878         _POSIX_SYNCHRONIZED_IO when they are defined
5879         * sysdeps/mach/hurd/bits/posix_opt.h:
5880         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
5881         (_XOPEN_REALTIME): Undefine macro.
5882         (_XOPEN_REALTIME_THREADS): Undefine macro.
5883         (_XOPEN_SHM): Undefine macro.
5884         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
5885         macro to -1.
5886         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
5887         macro to -1.
5888         (_POSIX_ASYNC_IO): Undefine macro.
5889         (_POSIX_PRIORITIZED_IO): Undefine macro.
5890         (_POSIX_SPIN_LOCKS): Define macro to -1.
5892         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
5893         SA_NODEFER, SA_RESETHAND.
5894         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
5895         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
5896         F_DUPFD_CLOEXEC.
5898 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
5900         * elf/Makefile (pldd-modules): Define unconditionally.
5902 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
5904         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
5906 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5908         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
5909         Return ENOENT when name is empty.
5910         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
5912 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
5914         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
5916         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
5918 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5920         Fix mlock in all cases except non-readable pages.
5921         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
5922         instead of VM_PROT_ALL as parameter to __vm_wire function.
5924         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
5925         (__mkdir): When path is `/', just fail with EEXIST.
5926         * sysdeps/mach/hurd/mkdirat.c: Likewise.
5928 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
5930         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
5931         <sys/uio.h> (for writev).
5932         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
5933         and <sys/param.h> (for MIN).
5935 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
5937         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
5938         REQUESTED_TIME.  Properly set the remaining time and return EINTR
5939         if interrupted.
5941 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
5943         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
5944         Depend on against $(link-rpcuserlibs).
5946 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5948         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
5949         (__libc_stack_end): Do not use attribute_relro.
5950         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
5951         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5952         to libthread-provided value.
5953         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
5954         attribute_relro.
5956 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
5958         [BZ #3748]
5959         * bits/libc-lock.h (__libc_once_get): New macro.
5960         * sysdeps/mach/bits/libc-lock.h: Likewise.
5961         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
5962         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
5963         instead of using implementation details.
5965         * libio/fileops.c: Unconditionally include <kernel-features.h>.
5966         * libio/freopen.c: Likewise.
5967         * libio/freopen64.c: Likewise.
5968         * misc/syslog.c: Likewise.
5969         * nscd/connections.c: Likewise.
5970         * nscd/netgroupcache.c: Likewise.
5971         * sysdeps/posix/getcwd.c: Likewise.
5973 2012-05-10  Roland McGrath  <roland@hack.frob.com>
5975         * math/w_ilogbf.c: Add #include <limits.h>.
5977 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5979         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
5980         path instead of returning without unlocking.
5982         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
5983         immediate-write ioctls.
5984         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
5986 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
5988         * sysdeps/mach/hurd/i386/init-first.c (init): Use
5989         __builtin_frame_address instead of making assumptions about the
5990         location of the return address relative to DATA.  Force early load of
5991         the return address.
5992         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
5993         __builtin_frame_address.
5995         dup3 for GNU Hurd.
5996         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
5997         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
5998         implement dup3 and do some further code clean-ups.
5999         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
6000         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
6002 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6004         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
6006         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
6007         HURD_CRITICAL_END around holding _hurd_dtable_lock.
6008         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
6009         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
6010         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
6011         d->port.lock.
6013         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
6014         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
6015         when handler == SIG_ERR, not when handler != SIG_ERR.
6017 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
6019         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
6020         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
6021         definitions.
6023         accept4 for GNU Hurd.
6024         * include/sys/socket.h (__libc_accept4): New prototype.
6025         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
6026         to implement __libc_accept4.
6027         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
6028         __libc_accept4.
6029         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
6031         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
6032         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
6033         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
6034         signal-defines.sym.
6036 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6038         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6040 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
6042         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
6043         assertion on O_CLOEXEC flag.
6044         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
6045         * hurd/intern-fd.c: Likewise.
6046         * hurd/port2fd.c: Likewise.
6048 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6050         [BZ #3906]
6051         * bits/in.h (IPV6_PKTINFO): Define new macro.
6052         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
6054 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6056         [BZ #13954]
6057         [BZ #13955]
6058         [BZ #13956]
6059         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
6060         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
6061         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
6062         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
6063         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
6064         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
6065         * math/libm-test.inc (logb_test) : Additional logb tests.
6067 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
6068             Andreas Jaeger  <aj@suse.de>
6070         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
6071         * configure: Regenerated.
6072         * config.h.in (LINK_OBSOLETE_RPC): New macro.
6073         * config.make.in (link-obsolete-rpc): New substituted variable.
6074         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
6075         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
6076         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
6077         (shared-only-routines): Don't set it under [link-obsolete-rpc],
6078         so that libc.a contains the symbols.
6079         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
6080         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
6081         * sunrpc/auth_none.c: Likewise.
6082         * sunrpc/auth_unix.c: Likewise.
6083         * sunrpc/authdes_prot.c: Likewise.
6084         * sunrpc/authuxprot.c: Likewise.
6085         * sunrpc/clnt_gen.c: Likewise.
6086         * sunrpc/clnt_perr.c: Likewise.
6087         * sunrpc/clnt_raw.c: Likewise.
6088         * sunrpc/clnt_simp.c: Likewise.
6089         * sunrpc/clnt_tcp.c: Likewise.
6090         * sunrpc/clnt_udp.c: Likewise.
6091         * sunrpc/clnt_unix.c: Likewise.
6092         * sunrpc/des_crypt.c: Likewise.
6093         * sunrpc/des_soft.c: Likewise.
6094         * sunrpc/get_myaddr.c: Likewise.
6095         * sunrpc/key_call.c: Likewise.
6096         * sunrpc/key_prot.c: Likewise.
6097         * sunrpc/netname.c: Likewise.
6098         * sunrpc/pm_getmaps.c: Likewise.
6099         * sunrpc/pm_getport.c: Likewise.
6100         * sunrpc/pmap_clnt.c: Likewise.
6101         * sunrpc/pmap_prot.c: Likewise.
6102         * sunrpc/pmap_prot2.c: Likewise.
6103         * sunrpc/pmap_rmt.c: Likewise.
6104         * sunrpc/publickey.c: Likewise.
6105         * sunrpc/rpc_cmsg.c: Likewise.
6106         * sunrpc/rpc_common.c: Likewise.
6107         * sunrpc/rpc_dtable.c: Likewise.
6108         * sunrpc/rpc_prot.c: Likewise.
6109         * sunrpc/rpc_thread.c: Likewise.
6110         * sunrpc/rtime.c: Likewise.
6111         * sunrpc/svc.c: Likewise.
6112         * sunrpc/svc_auth.c: Likewise.
6113         * sunrpc/svc_raw.c: Likewise.
6114         * sunrpc/svc_run.c: Likewise.
6115         * sunrpc/svc_tcp.c: Likewise.
6116         * sunrpc/svc_udp.c: Likewise.
6117         * sunrpc/svc_unix.c: Likewise.
6118         * sunrpc/svcauth_des.c: Likewise.
6119         * sunrpc/xcrypt.c: Likewise.
6120         * sunrpc/xdr.c: Likewise.
6121         * sunrpc/xdr_array.c: Likewise.
6122         * sunrpc/xdr_float.c: Likewise.
6123         * sunrpc/xdr_intXX_t.c: Likewise.
6124         * sunrpc/xdr_mem.c: Likewise.
6125         * sunrpc/xdr_rec.c: Likewise.
6126         * sunrpc/xdr_ref.c: Likewise.
6127         * sunrpc/xdr_sizeof.c: Likewise.
6128         * sunrpc/xdr_stdio.c: Likewise.
6130 2012-05-10  Roland McGrath  <roland@hack.frob.com>
6132         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
6133         change.  Update copyright years.
6135 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
6137         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
6139 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
6140             Joseph Myers  <joseph@codesourcery.com>
6141             Paul Pluzhnikov  <ppluzhnikov@google.com>
6143         [BZ #14012]
6144         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
6145         requiring rpcgen.
6146         [cross-compiling] (extra-libs): Likewise.
6147         [cross-compiling] (extra-libs-others): Likewise.
6148         [cross-compiling] (librpcsvc-routines): Likewise.
6149         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
6150         [cross-compiling] (omit-deps): Likewise.
6151         (sunrpc-CPPFLAGS): New variable.
6152         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
6153         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
6154         (cross-rpcgen-objs): New variable.
6155         (extra-objs): Append $(cross-rpcgen-objs).
6156         ($(cross-rpcgen-objs)): New rule.
6157         ($(objpfx)cross-rpcgen): Likewise.
6158         (rpcgen-cmd): Define to use $(built-program-file).  Expand
6159         comment.
6160         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
6161         ($(objpfx)x%.stmp): Likewise.
6162         * sunrpc/proto.h [IS_IN_build] (_): Define.
6163         [IS_IN_build] (_libc_intl_domainname): Likewise.
6165 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
6167         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
6168         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
6169         and R_X86_64_TPOFF64.
6171 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
6173         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
6174         sysdeps/unix/sysv/syscalls.list.
6175         (stime): Likewise.
6176         (utime): Likewise.
6177         * sysdeps/unix/sysv/syscalls.list: Remove file.
6179 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
6181         [BZ #3440]
6182         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
6183         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
6184         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
6185         (__LC_IDENTIFICATION): Make these macros useful in #if
6186         expressions, as required by C99.
6188 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
6190         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
6191         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
6192         after this.
6194 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
6196         * stdlib/longlong.h: Updated from GCC.
6198 2012-05-09  Andreas Jaeger  <aj@suse.de>
6200         * nscd/nscd.c (run_modes): Make named enum, reorder so that
6201         default is first entry.
6202         (run_mode): Set type.
6203         (main): Remove informal message about syslog.
6204         (options): Fix typo.
6206         [BZ #14053]
6207         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
6208         to asm.
6209         (lrint): Likewise.
6210         (llrintf): Likewise.
6211         (llrint): Likewise.
6212         (rint): Likewise.
6213         (rintf): Likewise.
6214         (nearbyint): Likewise.
6215         (nearbyintf): Likewise.
6217 2012-05-09  Andreas Jaeger  <aj@suse.de>
6218             Pedro Alves  <palves@redhat.com>
6220         * nscd/nscd.c (run_mode): Use enum.
6221         (main): Cleanup coding style issue.
6223 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
6224             Andreas Jaeger  <aj@suse.de>
6226         * nscd/nscd.c (go_background): Replaced with...
6227         (run_mode): ... this.
6228         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
6229         (options): Add -F --foreground.
6230         (main): Implement it.
6231         (parse_opt): Parse it.
6233 2012-05-09  Andreas Jaeger  <aj@suse.de>
6235         [BZ #14083]
6236         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
6237         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
6238         -Wconversion warning.
6239         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
6240         Likewise.
6242 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
6244         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
6245         == 0.
6246         (LC_ALL): Use macro-int-constant.
6247         (LC_COLLATE): Likewise.
6248         (LC_CTYPE): Likewise.
6249         (LC_MESSAGES): Likewise.
6250         (LC_MONETARY): Likewise.
6251         (LC_NUMERIC): Likewise.
6252         (LC_TIME): Likewise.
6253         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
6254         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
6255         [ISO || ISO99 || ISO11] (*_t): Do not allow.
6256         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
6257         Specify type.
6258         [C99-based standards] (float_t): Expect type.
6259         [C99-based standards] (double_t): Expect type.
6260         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
6261         type.
6262         [C99-based standards] (HUGE_VALL): Likewise.
6263         [C99-based standards] (INFINITY): Likewise.
6264         [C99-based standards] (NAN): Likewise.
6265         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
6266         [C99-based standards] (FP_NAN): Likewise.
6267         [C99-based standards] (FP_NORMAL): Likewise.
6268         [C99-based standards] (FP_SUBNORMAL): Likewise.
6269         [C99-based standards] (FP_ZERO): Likewise.
6270         [C99-based standards] (FP_FAST_FMA): Use
6271         optional-macro-int-constant.  Specify type.  Require == 1.
6272         [C99-based standards] (FP_FAST_FMAF): Likewise.
6273         [C99-based standards] (FP_FAST_FMAL): Likewise.
6274         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
6275         [C99-based standards] (FP_ILOGBNAN): Likewise.
6276         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
6277         Specify type.
6278         [C99-based standards] (MATH_ERREXCEPT): Likewise.
6279         [C99-based standards] (math_errhandling): Specify type.
6280         [ISO99 || ISO11] (signgam): Do not allow.
6281         [non-C99-based standards] (copysignf): Do not allow.
6282         [non-C99-based standards] (exp2f): Likewise.
6283         [non-C99-based standards] (log2f): Likewise.
6284         [non-C99-based standards] (modff): Allow.
6285         [non-C99-based standards] (erff): Do not allow.
6286         [non-C99-based standards] (erfcf): Likewise.
6287         [non-C99-based standards] (gammaf): Likewise.
6288         [non-C99-based standards] (hypotf): Likewise.
6289         [non-C99-based standards] (j0f): Likewise.
6290         [non-C99-based standards] (j1f): Likewise.
6291         [non-C99-based standards] (jnf): Likewise.
6292         [non-C99-based standards] (lgammaf): Likewise.
6293         [non-C99-based standards] (tgammaf): Likewise.
6294         [non-C99-based standards] (y0f): Likewise.
6295         [non-C99-based standards] (y1f): Likewise.
6296         [non-C99-based standards] (ynf): Likewise.
6297         [non-C99-based standards] (isnanf): Likewise.
6298         [non-C99-based standards] (acoshf): Likewise.
6299         [non-C99-based standards] (asinhf): Likewise.
6300         [non-C99-based standards] (atanhf): Likewise.
6301         [non-C99-based standards] (cbrtf): Likewise.
6302         [non-C99-based standards] (expm1f): Likewise.
6303         [non-C99-based standards] (ilogbf): Likewise.
6304         [non-C99-based standards] (log1pf): Likewise.
6305         [non-C99-based standards] (logbf): Likewise.
6306         [non-C99-based standards] (nextafterf): Likewise.
6307         [non-C99-based standards] (remainderf): Likewise.
6308         [non-C99-based standards] (rintf): Likewise.
6309         [non-C99-based standards] (scalbf): Likewise.
6310         [non-C99-based standards] (copysignl): Likewise.
6311         [non-C99-based standards] (exp2l): Likewise.
6312         [non-C99-based standards] (log2l): Likewise.
6313         [non-C99-based standards] (modfl): Allow.
6314         [non-C99-based standards] (erfl): Do not allow.
6315         [non-C99-based standards] (erfcl): Likewise.
6316         [non-C99-based standards] (gammal): Likewise.
6317         [non-C99-based standards] (hypotl): Likewise.
6318         [non-C99-based standards] (j0l): Likewise.
6319         [non-C99-based standards] (j1l): Likewise.
6320         [non-C99-based standards] (jnl): Likewise.
6321         [non-C99-based standards] (lgammal): Likewise.
6322         [non-C99-based standards] (tgammal): Likewise.
6323         [non-C99-based standards] (y0l): Likewise.
6324         [non-C99-based standards] (y1l): Likewise.
6325         [non-C99-based standards] (ynl): Likewise.
6326         [non-C99-based standards] (isnanl): Likewise.
6327         [non-C99-based standards] (acoshl): Likewise.
6328         [non-C99-based standards] (asinhl): Likewise.
6329         [non-C99-based standards] (atanhl): Likewise.
6330         [non-C99-based standards] (cbrtl): Likewise.
6331         [non-C99-based standards] (expm1l): Likewise.
6332         [non-C99-based standards] (ilogbl): Likewise.
6333         [non-C99-based standards] (log1pl): Likewise.
6334         [non-C99-based standards] (logbl): Likewise.
6335         [non-C99-based standards] (nextafterl): Likewise.
6336         [non-C99-based standards] (remainderl): Likewise.
6337         [non-C99-based standards] (rintl): Likewise.
6338         [non-C99-based standards] (scalbl): Likewise.
6339         [ISO || ISO99 || ISO11] (*_t): Do not allow.
6340         [non-C99-based standards] (FP_*): Do not allow.
6341         [C99-based standards] (FP_*): Change to
6342         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
6343         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
6344         allow.
6345         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
6346         (SIG_ERR): Likewise.
6347         [X/Open-based standards] (SIG_HOLD): Likewise.
6348         (SIG_IGN): Likewise.
6349         (SIGABRT): Use macro-int-constant.  Specify type.  Require
6350         positive value.
6351         (SIGFPE): Likewise.
6352         (SIGILL): Likewise.
6353         (SIGINT): Likewise.
6354         (SIGSEGV): Likewise.
6355         (SIGTER): Likewise.
6356         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
6357         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
6358         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
6359         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
6360         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
6361         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
6362         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
6363         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
6364         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
6365         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
6366         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
6367         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
6368         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
6369         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
6370         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
6371         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
6372         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
6373         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
6374         [X/Open-based standards] (SIGTRAP): Likewise.
6375         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
6376         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
6377         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
6378         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
6379         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
6380         allow.
6382 2012-05-08  Ian Wienand  <ianw@vmware.com>
6384         [BZ #14080]
6385         * time/tzset.c (__tzset_parse_tz): Update default rules for
6386         daylight time changes in the Energy Policy Act of 2005.
6388 2012-05-09  Andreas Jaeger  <aj@suse.de>
6390         [BZ #13983]
6391         * elf/ldconfig.c (parse_conf): Change string to make clear that
6392         ldconfig only issued a warning if ld.so.conf does not exist.
6394 2012-05-08  David S. Miller  <davem@davemloft.net>
6396         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
6397         movxtod instead of popping the value on the stack.
6399         * sysdeps/sparc/fpu/libm-test-ulps: Update.
6401 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
6403         * config.h.in: Add HAVE_ARM_PCS_VFP.
6405 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
6407         [BZ #13979]
6408         * include/features.h: Warn if user requests __FORTIFY_SOURCE
6409         checking but the checks are disabled for any reason.
6411 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
6413         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
6414         and ELF64_R_TYPE with ELFW(R_TYPE).
6416 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
6418         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
6419         (ulimit): Likewise.
6421         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
6422         (settimeofday): Likewise.
6424 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
6426         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
6427         a struct th_u2 inside the union, and move tu_block/tu_code into
6428         a new th_u3 union of tu_block/tu_code inside of that.  Move
6429         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
6430         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
6431         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
6432         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
6433         (th_stuff): Change to th_u1.tu_stuff.
6434         (th_data): Define.
6435         (th_msg): Change to th_u1.th_u2.tu_data.
6437 2012-05-07  David S. Miller  <davem@davemloft.net>
6439         * sysdeps/sparc/fpu/libm-test-ulps: Update.
6441         [BZ #14074]
6442         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
6443         (SETUP_PIC_REG): Use it.
6444         (SETUP_PIC_REG_LEAF): Use it.
6446 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
6448         [BZ #13885]
6449         [BZ #13923]
6450         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
6451         USE_AS_EXPM1L.
6452         (EXPL_FINITE): Likewise.
6453         (FLDLOG): Likewise.
6454         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
6455         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
6456         e_expl.S.
6457         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
6458         USE_AS_EXPM1L.
6459         (EXPL_FINITE): Likewise.
6460         (FLDLOG): Likewise.
6461         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
6462         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
6463         e_expl.S.
6464         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
6465         test of -max_value argument for long double.
6466         * sysdeps/i386/fpu/libm-test-ulps: Update.
6467         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6469 2012-05-06  David S. Miller  <davem@davemloft.net>
6471         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
6472         quad soft-float symbols whose references which are compiler
6473         generated.
6474         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
6476 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
6478         [BZ #13884]
6479         [BZ #13914]
6480         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
6481         USE_AS_EXP10L.
6482         (EXPL_FINITE): Likewise.
6483         (FLDLOG): Likewise.
6484         (c0): Likewise.
6485         (c1): Likewise.
6486         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
6487         Adjust comments for base varying.
6488         (__expl_finite): Change alias to EXPL_FINITE.
6489         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
6490         e_expl.S.
6491         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
6492         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
6493         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
6494         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
6495         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
6496         USE_AS_EXP10L.
6497         (EXPL_FINITE): Likewise.
6498         (FLDLOG): Likewise.
6499         (c0): Likewise.
6500         (c1): Likewise.
6501         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
6502         Adjust comments for base varying.
6503         (__expl_finite): Change alias to EXPL_FINITE.
6504         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
6505         tests for bugs.
6506         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6508         [BZ #14064]
6509         * math/libm-test.inc (check_float_internal): Correct ulp
6510         calculation for subnormal expected results.
6512 2012-05-06  Andreas Jaeger  <aj@suse.de>
6514         * Makeconfig (+math-flags): New, set to -frounding-math.
6515         (+cflags): Add +math-flags so that all of glibc gets compiled with
6516         it.
6518         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
6520 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
6522         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
6523         Disable one test.
6525         [BZ #13787]
6526         [BZ #13922]
6527         [BZ #14036]
6528         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
6529         (__ieee754_expl): Allow for and saturate large arguments.
6530         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
6531         (u_threshold): Likewise.
6532         (__exp): Call __ieee754_exp before checking for overflow and
6533         underflow.
6534         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
6535         (u_threshold): Likewise.
6536         (__expf): Call __ieee754_expf before checking for overflow and
6537         underflow.
6538         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
6539         (u_threshold): Likewise.
6540         (__expl): Call __ieee754_expl before checking for overflow and
6541         underflow.
6542         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
6543         (__ieee754_expl): Allow for and saturate large arguments.
6544         * math/libm-test.inc (exp_test): Add another test.  Do not allow
6545         missing overflow exception on overflow.
6546         (expm1_test): Do not allow missing overflow exception on overflow.
6548         * sysdeps/i386/fpu/e_expl.c: Move to ...
6549         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
6550         rather than using inline asm.
6551         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
6552         * sysdeps/x86_64/fpu/e_expl.S: Copy from
6553         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
6555         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
6556         (nice): Likewise.
6557         (poll): Likewise.
6558         (signal): Likewise.
6559         (time): Likewise.
6560         (times): Likewise.
6562 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
6564         * sysdeps/unix/syscalls.list (adjtime): Add entry from
6565         sysdeps/unix/common/syscalls.list.
6566         (fchmod): Likewise.
6567         (fchown): Likewise.
6568         (ftruncate): Likewise.
6569         (getrusage): Likewise.
6570         (gettimeofday): Likewise.
6571         (setpgid): Likewise.
6572         (setregid): Likewise.
6573         (setreuid): Likewise.
6574         (sigaction): Likewise.
6575         (truncate): Likewise.
6576         (vhangup): Likewise.
6577         * sysdeps/unix/common/syscalls.list: Remove file.
6578         * sysdeps/unix/bsd/Implies: Don't include unix/common.
6579         * sysdeps/unix/sysv/linux/Implies: Likewise.
6581 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
6583         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
6584         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
6585         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
6586         Moved to ...
6587         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
6588         Here.
6589         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
6590         to ...
6591         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
6592         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
6593         to ...
6594         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
6595         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
6596         to ...
6597         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
6598         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
6599         to ...
6600         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
6601         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
6602         to ...
6603         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
6604         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
6605         to ...
6606         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
6607         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
6608         to ...
6609         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
6610         Here.
6611         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
6612         to ...
6613         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
6614         Here.
6615         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
6616         to ...
6617         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
6618         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
6619         Moved to ...
6620         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
6621         Here.
6622         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
6623         to ...
6624         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
6626 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
6628         * sysdeps/unix/common/bits/dirent.h: Remove file.
6629         * sysdeps/unix/common/bits/fcntl.h: Likewise.
6631         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
6632         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
6633         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
6634         * sysdeps/unix/bsd/isatty.c: Likewise.
6635         * sysdeps/unix/bsd/tcdrain.c: Likewise.
6636         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
6637         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
6639 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6641         [BZ #13563]
6642         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
6643         long double comparison inaccuracies.
6644         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
6645         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6647 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
6649         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
6650         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
6652 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
6654         [BZ #14049]
6655         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
6656         nonzero digits before rounding a hex value.
6657         * stdlib/tst-strtod.c (tests): Add another test.
6659 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
6661         * sysdeps/s390/fpu/libm-test-ulps: Update.
6663 2012-05-03  Andreas Jaeger  <aj@suse.de>
6665         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
6666         does not get optimized out.
6667         (malloc_opt_barrier): New.
6669 2012-05-03  Andreas Jaeger  <aj@suse.de>
6670             Roland McGrath  <roland@hack.frob.com>
6672         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
6673         intermediate file deletion.
6674         (generated): Add .symlist files.
6676 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
6678         [BZ #13775]
6679         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
6680         Redirect under this condition.
6681         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
6682         [__USE_GNU] (__dprintf_chk): Not under this condition.
6683         [__USE_GNU] (__vdprintf_chk): Likewise.
6684         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
6685         under this condition.
6686         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
6687         [__USE_XOPEN2K8] (dprintf): Define under this condition.
6688         [__USE_XOPEN2K8] (vdprintf): Likewise.
6689         [__USE_GNU] (__dprintf_chk): Not under this condition.
6690         [__USE_GNU] (__vdprintf_chk): Likewise.
6691         [__USE_GNU] (dprintf): Likewise.
6692         [__USE_GNU] (vdprintf): Likewise.
6694 2012-05-03  Roland McGrath  <roland@hack.frob.com>
6696         * elf/Makefile (common-generated): Set this instead of generated for
6697         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
6698         $(all-built-dso)-derived lists.
6700 2012-05-03  Andreas Jaeger  <aj@suse.de>
6702         * sysdeps/i386/fpu/libm-test-ulps: Update.
6704         * FAQ: Removed.
6705         * FAQ.in: Likewise.
6706         * scripts/gen-FAQ.pl: Likewise.
6707         * manual/install.texi (Installation): Point to online location of
6708         FAQ.
6709         * Makefile (files-for-dist): Remove FAQ.
6710         (FAQ): Remove.
6712 2012-05-02  Allan McRae  <allan@archlinux.org>
6714         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
6715         (LDFLAGS-reldepmod5.so): Likewise.
6716         (LDFLAGS-reldep6mod1.so): Likewise.
6717         (LDFLAGS-reldep6mod4.so): Likewise.
6718         (LDFLAGS-reldep8mod3.so): Likewise.
6719         (LDFLAGS-unload4mod1.so): Likewise.
6720         (LDFLAGS-unload4mod2.so): Likewise.
6721         (LDFLAGS-tst-initorder): Likewise.
6722         (LDFLAGS-tst-initordera2.so): Likewise.
6723         (LDFLAGS-tst-initordera3.so): Likewise.
6724         (LDFLAGS-tst-initordera4.so): Likewise.
6725         (LDFLAGS-tst-initorderb2.so): Likewise.
6726         (LDFLAGS-noload): Likewise.
6727         (LDFLAGS-next): Likewise.
6728         (LDFLAGS-order2mod1.so): Likewise.
6729         (LDFLAGS-order2mod2.so): Likewise.
6730         (LDFLAGS-tst-initorder2): Likewise.
6731         (LDFLAGS-tst-initorder2a.so): Likewise.
6732         (LDFLAGS-tst-initorder2b.so): Likewise.
6733         (LDFLAGS-tst-initorder2c.so): Likewise.
6734         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
6736 2012-05-02  David S. Miller  <davem@davemloft.net>
6738         * sysdeps/sparc/fpu/libm-test-ulps: Update.
6740 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
6742         [BZ #14055]
6743         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
6745 2012-05-02  Andreas Jaeger  <aj@suse.de>
6747         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
6748         since we manipulate rounding mode.
6749         (CPPFLAGS-test-idouble.c): Likewise.
6750         (CPPFLAGS-test-ifloat.c): Likewise.
6751         (CFLAGS-test-ldouble.c): Likewise.
6752         (CFLAGS-test-double.c): Likewise.
6753         (CFLAGS-test-float.c): Likewise.
6754         (CFLAGS-test-misc.c): Likewise.
6755         (CFLAGS-test-test-fenv.c): Likewise.
6757 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6759         [BZ #2550]
6760         [BZ #2570]
6761         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
6762         comparisons to determine direction to adjust input.
6764 2012-05-01  Roland McGrath  <roland@hack.frob.com>
6766         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
6767         output to the target.
6769         * scripts/localplt.awk: New file.
6770         * elf/Makefile ($(objpfx)check-localplt): Target removed.
6771         (check-localplt-CFLAGS): Variable removed.
6772         ($(all-built-dso:=.jmprel)): New static pattern rule.
6773         (generated): Add those targets.
6774         (localplt-built-dso): New variable.
6775         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
6777         * elf/check-localplt.c: File removed.
6779         * scripts/check-execstack.awk: New file.
6780         * elf/Makefile ($(objpfx)check-execstack): Target removed.
6781         (check-execstack-CFLAGS): Variable removed.
6782         ($(objpfx)check-execstack.h): Target removed.
6783         ($(objpfx)execstack-default): New target.
6784         (generated): Add that instead of check-execstack.h.
6785         ($(all-built-dso:=.phdr)): New static pattern rule.
6786         (generated): Add those targets.
6787         * elf/check-execstack.c: File removed.
6789         * scripts/check-textrel.awk: New file.
6790         * elf/Makefile ($(objpfx)check-textrel): Target removed.
6791         (check-textrel-CFLAGS): Variable removed.
6792         (all-built-dso): Use := to define.o
6793         ($(all-built-dso:=.dyn)): New static pattern rule.
6794         (generated): Add those targets.
6795         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
6796         * config.make.in (READELF): New substituted variable.
6797         * elf/check-textrel.c: File removed.
6799 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
6801         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
6802         allow.
6803         * conform/data/ctype.h-data [C99-based standards] (isblank):
6804         Expect function.
6805         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
6806         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
6807         [ISO || ISO99 || ISO11] (*_t): Do not allow.
6808         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
6809         Specify type.  Require positive value.
6810         (EILSEQ): Likewise.
6811         (ERANGE): Likewise.
6812         [ISO || POSIX] (EILSEQ): Do not expect.
6813         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
6814         Specify type.  Require positive value.
6815         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
6816         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
6817         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
6818         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
6819         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
6820         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
6821         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
6822         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
6823         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
6824         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
6825         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
6826         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
6827         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
6828         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
6829         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
6830         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
6831         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
6832         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
6833         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
6834         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
6835         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
6836         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
6837         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
6838         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
6839         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
6840         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
6841         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
6842         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
6843         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
6844         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
6845         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
6846         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
6847         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
6848         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
6849         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
6850         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
6851         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
6852         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
6853         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
6854         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
6855         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
6856         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
6857         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
6858         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
6859         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
6860         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
6861         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
6862         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
6863         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
6864         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
6865         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
6866         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
6867         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
6868         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
6869         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
6870         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
6871         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
6872         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
6873         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
6874         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
6875         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
6876         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
6877         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
6878         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
6879         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
6880         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
6881         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
6882         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
6883         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
6884         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
6885         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
6886         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
6887         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
6888         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
6889         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
6890         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
6891         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
6892         Require >= 2.
6893         (FLT_ROUNDS): Expect as macro, not constant.
6894         (FLT_MANT_DIG): Use macro-int-constant.
6895         (DBL_MANT_DIG): Likewise.
6896         (LDBL_MANT_DIG): Likewise.
6897         (FLT_DIG): Likewise.
6898         (DBL_DIG): Likewise.
6899         (LDBL_DIG): Likewise.
6900         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
6901         (DBL_MIN_EXP): Likewise.
6902         (LDBL_MIN_EXP): Likewise.
6903         (FLT_MAX_EXP): Use macro-int-constant.
6904         (DBL_MAX_EXP): Likewise.
6905         (LDBL_MAX_EXP): Likewise.
6906         (FLT_MAX_10_EXP): Likewise.
6907         (DBL_MAX_10_EXP): Likewise.
6908         (LDBL_MAX_10_EXP): Likewise.
6909         (FLT_MAX): Use macro-constant.
6910         (DBL_MAX): Likewise.
6911         (LDBL_MAX): Likewise.
6912         (FLT_EPSILON): Use macro-constant.  Give upper bound.
6913         (DBL_EPSILON): Likewise.
6914         (LDBL_EPSILON): Likewise.
6915         (FLT_MIN): Likewise.
6916         (DBL_MIN): Likewise.
6917         (LDBL_MIN): Likewise.
6918         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
6919         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
6920         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
6921         [ISO11] (FLT_HAS_SUBNORM): Likewise.
6922         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
6923         [ISO11] (DBL_DECIMAL_DIG): Likewise.
6924         [ISO11] (FLT_DECIMAL_DIG): Likewise.
6925         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
6926         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
6927         [ISO11] (FLT_TRUE_MIN): Likewise.
6928         [ISO11] (LDBL_TRUE_MIN): Likewise.
6929         [ISO || ISO99 || ISO11] (*_t): Do not allow.
6930         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
6931         (SCHAR_MIN): Use macro-int-constant.  Specify type.
6932         (SCHAR_MAX): Likewise.
6933         (UCHAR_MAX): Likewise.
6934         (CHAR_MIN): Likewise.
6935         (CHAR_MAX): Likewise.
6936         (MB_LEN_MAX): Use macro-int-constant.
6937         (SHRT_MIN): Use macro-int-constant.  Specify type.
6938         (SHRT_MAX): Likewise.
6939         (USHRT_MAX): Likewise.
6940         (INT_MAX): Likewise.
6941         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
6942         bound negative.
6943         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
6944         bound with "U".
6945         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
6946         bound with "L".
6947         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
6948         bound negative.  Suffix upper bound with "L".
6949         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
6950         bound with "UL".
6951         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
6952         Specify type.
6953         [C99-based standards] (LLONG_MAX): Likewise.
6954         [C99-based standards] (ULLONG_MAX): Likewise.
6955         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
6956         == 0.
6957         [ISO11] (max_align_t): Require type.
6958         [ISO || ISO99 || ISO11] (*_t): Do not allow.
6960         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
6961         from $CFLAGS, without defining away __attribute__ calls.
6962         (checknamespace): Use $CFLAGS_namespace.
6964         * conform/conformtest.pl (@keywords): Only include C99 keywords
6965         for standards based on C99 or C11.
6967         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
6968         Disable tests.
6969         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
6970         UNIX98]: Likewise.
6972         * conform/conformtest.pl: Handle "macro-int-constant" and test for
6973         usability of symbols in #if.
6975         * conform/conformtest.pl: If macro or constant types start
6976         "promoted:", expect the symbol to be of the following type
6977         promoted by the integer promotions.
6979         * conform/conformtest.pl: Parse all "constant" and "macro" lines
6980         in one place.  Also handle "macro-constant".
6982         * conform/conformtest.pl: Only accept expected macro values with
6983         "==".  Parse all "macro" lines in one place.
6984         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
6986         * conform/conformtest.pl: Handle braced types on "constant" lines
6987         instead of handling "typed-constant".
6988         * conform/data/signal.h-data: Use "constant" instead of
6989         "typed-constant".
6991         * conform/conformtest.pl: Handle "optional-" at start of lines in
6992         one place rather than duplicating several cases.  Handle each
6993         format of "macro" line with initial "optional-".
6995         * conform/conformtest.pl: Only accept expected constant or
6996         optional-constant values with "==".  Parse all "constant" lines in
6997         one place.  Parse all "optional-constant" lines in one place.
6998         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
6999         * conform/data/fmtmsg.h-data: Likewise.
7000         * conform/data/netinet/in.h-data: Likewise.
7001         * conform/data/tar.h-data: Likewise.
7002         * conform/data/limits.h-data: Use "==" form on "constant" and
7003         "optional-constant" lines.
7005         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
7006         Use -std=c99 for XOPEN2K.
7007         (@knownproblems): Remove.
7008         (newtoken): Don't check %isknown.
7010         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
7011         Do not expect macro.
7012         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
7013         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
7014         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
7015         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
7016         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
7017         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
7018         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
7019         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
7020         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
7021         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
7022         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
7023         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
7024         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
7025         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
7026         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
7027         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
7028         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
7029         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
7030         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
7031         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
7032         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
7033         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
7034         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
7035         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
7036         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
7037         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
7038         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
7039         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
7040         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
7041         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
7042         [XPG3] (acosh): Likewise.
7043         [XPG3] (asinh): Likewise.
7044         [XPG3] (atanh): Likewise.
7045         [XPG3] (cbrt): Likewise.
7046         [XPG3] (expm1): Likewise.
7047         [XPG3] (ilogb): Likewise.
7048         [XPG3] (log1p): Likewise.
7049         [XPG3] (logb): Likewise.
7050         [XPG3] (nextafter): Likewise.
7051         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
7052         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
7053         [XPG3] (remainder): Likewise.
7054         [XPG3] (rint): Likewise.
7055         [XPG3 || XPG4 || UNIX98] (round): Likewise.
7056         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
7057         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
7058         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
7059         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
7060         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
7061         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
7062         [UNIX98 || XOPEN2K] (scalb): Expect.
7063         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
7064         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
7065         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
7066         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
7067         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
7068         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
7069         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
7070         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
7071         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
7072         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
7073         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
7074         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
7075         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
7076         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
7077         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
7078         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
7079         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
7080         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
7081         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
7082         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
7083         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
7084         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
7085         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
7086         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
7087         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
7088         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
7089         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
7090         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
7091         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
7092         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
7093         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
7094         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
7095         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
7096         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
7097         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
7098         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
7099         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
7100         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
7101         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
7102         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
7103         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
7104         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
7105         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
7106         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
7107         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
7108         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
7109         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
7110         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
7111         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
7112         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
7113         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
7114         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
7115         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
7116         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
7117         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
7118         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
7119         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
7120         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
7121         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
7122         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
7123         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
7124         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
7125         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
7126         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
7127         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
7128         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
7129         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
7130         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
7131         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
7132         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
7133         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
7134         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
7135         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
7136         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
7137         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
7138         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
7139         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
7140         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
7141         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
7142         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
7143         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
7144         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
7145         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
7146         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
7147         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
7148         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
7149         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
7150         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
7151         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
7152         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
7153         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
7154         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
7155         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
7156         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
7157         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
7158         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
7159         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
7160         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
7161         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
7162         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
7163         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
7164         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
7165         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
7166         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
7167         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
7168         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
7169         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
7170         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
7171         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
7172         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
7173         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
7174         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
7175         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
7176         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
7177         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
7178         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
7179         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
7180         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
7181         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
7182         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
7183         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
7184         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
7185         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
7186         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
7187         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
7188         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
7189         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
7190         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
7191         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
7192         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
7193         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
7194         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
7195         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
7196         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
7197         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
7198         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
7199         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
7201         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
7202         _XOPEN_SOURCE_EXTENDED for XPG4.
7204         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
7206         * Makeconfig (localtime): Remove variable.
7207         (inst_localtime-file): Likewise.
7209 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
7211         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
7212         Update.
7213         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
7214         Update.
7215         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
7216         Update.
7217         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
7218         Update.
7219         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
7220         Update.
7221         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
7222         Update.
7223         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
7224         Update.
7225         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
7226         Update.
7227         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
7228         Update.
7230 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
7232         [BZ #2550]
7233         [BZ #2570]
7234         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
7235         comparisons to determine direction to adjust input.
7236         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
7237         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
7238         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
7239         Likewise.
7240         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
7241         Likewise.
7242         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
7243         Likewise.
7244         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
7245         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
7246         Likewise.
7247         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
7248         Likewise.
7249         * math/libm-test.inc (nexttoward_test): Add more tests.
7251 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
7253         [BZ #14040]
7254         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
7255         in version GLIBC_2.1, not GLIBC_2.0.
7256         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
7257         Likewise.
7259 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
7261         [BZ #13942]
7262         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
7263         (1 - x) * (1 + x).
7264         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
7265         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
7266         * math/libm-test.inc (acos_test): Add more tests.
7267         (asin_test): Likewise.
7268         * sysdeps/i386/fpu/libm-test-ulps: Update.
7269         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7271         [BZ #14034]
7272         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
7273         of square root.
7274         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
7275         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
7276         * math/libm-test.inc (acos_test_tonearest): New function.
7277         (acos_test_towardzero): Likewise.
7278         (acos_test_downward): Likewise.
7279         (acos_test_upward): Likewise.
7280         (asin_test_tonearest): Likewise.
7281         (asin_test_towardzero): Likewise.
7282         (asin_test_downward): Likewise.
7283         (asin_test_upward): Likewise.
7284         (main): Call the new functions.
7285         * sysdeps/i386/fpu/libm-test-ulps: Update.
7286         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7288         [BZ #13884]
7289         [BZ #13924]
7290         * math/e_exp10.c: Include <float.h>.
7291         (__ieee754_exp10): Handle underflow here rather than multiplying
7292         large negative argument by M_LN10.
7293         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
7294         of __ieee754_expf.
7295         * math/e_exp10l.c: Include <float.h>.
7296         (__ieee754_exp10l): Handle underflow here rather than multiplying
7297         large negative argument by M_LN10l.
7298         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
7299         spurious overflow exception on underflow.
7301 2012-04-29  Marek Polacek  <polacek@redhat.com>
7303         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
7304         (__fortify_function): New macro.
7305         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
7306         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
7307         __extern_always_inline.
7308         * libio/bits/stdio2.h: Likewise.
7309         * libio/bits/stdio.h: Likewise.
7310         * string/string.h: Likewise.
7311         * string/bits/string3.h: Likewise.
7312         * include/stdio.h: Likewise.
7313         * stdlib/bits/stdlib.h: Likewise.
7314         * stdlib/stdlib.h: Likewise.
7315         * rt/bits/mqueue2.h: Likewise.
7316         * rt/mqueue.h: Likewise.
7317         * posix/bits/unistd.h: Likewise.
7318         * posix/unistd.h: Likewise.
7319         * io/bits/poll2.h: Likewise.
7320         * io/bits/fcntl2.h: Likewise.
7321         * io/fcntl.h: Likewise.
7322         * io/sys/poll.h: Likewise.
7323         * misc/bits/syslog.h: Likewise.
7324         * misc/bits/syslog-ldbl.h: Likewise.
7325         * misc/sys/syslog.h: Likewise.
7326         * socket/bits/socket2.h: Likewise.
7327         * socket/sys/socket.h: Likewise.
7328         * debug/tst-chk1.c: Likewise.
7329         * wcsmbs/bits/wchar2.h: Likewise.
7330         * wcsmbs/bits/wchar-ldbl.h: Likewise.
7331         * wcsmbs/wchar.h: Likewise.
7333 2012-04-29  Andreas Jaeger  <aj@suse.de>
7335         * Makerules (tests): Remove enable-check-abi protection.
7336         (check-abi-warn): Remove.
7337         (check-abi-%): Remove check-abi-warn usage.
7339         * configure.in: Remove check-abi configure option.
7340         * configure: Regenerated.
7341         * config.make.in (enable-check-abi): Remove.
7343 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
7345         [BZ #14033]
7346         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
7347         double functions to double *_finite functions.
7349         [BZ #13941]
7350         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
7351         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
7352         LDBL_MIN_EXP.
7353         * stdio-common/Makefile (tests): Add tst-sprintf3.
7354         * stdio-common/tst-sprintf3.c: New file.
7356         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
7357         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
7359 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
7361         * conform/conformtest.pl: Remove duplicate typed-constant
7362         handling.
7364 2012-04-28  David S. Miller  <davem@davemloft.net>
7366         * Makerules (%.abilist): Add vpath on sysdep_dirs.
7367         (check-abi-%): Remove AWK script prerequisite and explicit
7368         abilist directory.
7369         (check-abi): Rewrite to just diff the symlist with the abilist.
7370         (config-tls, config-abi-config): Delete, no longer used.
7371         (update-abi-%): Remove AWK script and explicit abilist directory.
7372         (update-abi): Rewrite to simply compare and conditionally copy the
7373         symlist and the sysdep abilist file.  Remove update-abi-config
7374         checks.
7375         * abilist/ld.abilist: Remove.
7376         * abilist/libBrokenLocale.abilist: Remove.
7377         * abilist/libanl.abilist: Remove.
7378         * abilist/libcrypt.abilist: Remove.
7379         * abilist/libdl.abilist: Remove.
7380         * abilist/librt.abilist: Remove.
7381         * abilist/libthread_db.abilist: Remove.
7382         * abilist/libutil.abilist: Remove.
7383         * scripts/extract-abilist.awk: Remove.
7384         * scripts/merge-abilist.awk: Remove.
7385         * sysdeps/generic/libcidn.abilist: New file.
7386         * sysdeps/generic/libnss_compat.abilist: New file.
7387         * sysdeps/generic/libnss_db.abilist: New file.
7388         * sysdeps/generic/libnss_dns.abilist: New file.
7389         * sysdeps/generic/libnss_files.abilist: New file.
7390         * sysdeps/generic/libnss_hesiod.abilist: New file.
7391         * sysdeps/generic/libnss_nis.abilist: New file.
7392         * sysdeps/generic/libnss_nisplus.abilist: New file.
7393         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
7394         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
7395         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
7396         file.
7397         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
7398         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
7399         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
7400         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
7401         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
7402         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
7403         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
7404         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
7405         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
7406         file.
7407         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
7408         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
7409         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
7410         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
7411         file.
7412         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
7413         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
7414         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
7415         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
7416         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
7417         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
7418         file.
7419         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
7420         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
7421         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
7422         file.
7423         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
7424         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
7425         New file.
7426         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
7427         New file.
7428         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
7429         New file.
7430         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
7431         New file.
7432         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
7433         New file.
7434         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
7435         New file.
7436         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
7437         New file.
7438         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
7439         New file.
7440         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
7441         New file.
7442         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
7443         New file.
7444         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
7445         New file.
7446         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
7447         New file.
7448         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
7449         New file.
7450         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
7451         file.
7452         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
7453         New file.
7454         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
7455         New file.
7456         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
7457         file.
7458         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
7459         New file.
7460         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
7461         New file.
7462         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
7463         file.
7464         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
7465         New file.
7466         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
7467         New file.
7468         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
7469         New file.
7470         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
7471         New file.
7472         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
7473         New file.
7474         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
7475         New file.
7476         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
7477         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
7478         file.
7479         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
7480         New file.
7481         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
7482         file.
7483         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
7484         file.
7485         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
7486         file.
7487         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
7488         file.
7489         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
7490         file.
7491         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
7492         New file.
7493         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
7494         file.
7495         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
7496         file.
7497         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
7498         New file.
7499         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
7500         file.
7501         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
7502         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
7503         file.
7504         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
7505         New file.
7506         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
7507         file.
7508         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
7509         file.
7510         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
7511         file.
7512         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
7513         file.
7514         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
7515         file.
7516         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
7517         New file.
7518         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
7519         file.
7520         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
7521         file.
7522         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
7523         New file.
7524         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
7525         file.
7526         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
7527         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
7528         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
7529         file.
7530         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
7531         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
7532         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
7533         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
7534         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
7535         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
7536         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
7537         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
7538         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
7539         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
7540         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
7541         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
7542         file.
7543         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
7544         New file.
7545         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
7546         file.
7547         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
7548         file.
7549         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
7550         file.
7551         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
7552         file.
7553         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
7554         file.
7555         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
7556         New file.
7557         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
7558         New file.
7559         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
7560         file.
7561         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
7562         New file.
7563         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
7564         file.
7565         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
7566         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
7567         file.
7568         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
7569         New file.
7570         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
7571         file.
7572         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
7573         file.
7574         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
7575         file.
7576         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
7577         file.
7578         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
7579         file.
7580         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
7581         New file.
7582         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
7583         New file.
7584         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
7585         file.
7586         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
7587         New file.
7588         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
7589         file.
7591 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
7593         * conform/conformtest.pl: Fix typo in handling typed-constant from
7594         allow-header.
7596 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
7598         * README: Cut down references to pre-2.6 Linux kernels and
7599         Linuxthreads.  Update lists of configurations in libc and ports
7600         and sort alphabetically.  Say "or newer" with Linux kernel version
7601         requirements.
7603         * config.h.in [IS_IN_build]: Allow compiling without optimization.
7605 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
7607         [BZ #887]
7608         * math/libm-test.inc (logb_test_downward): New test to expose
7609         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
7610         rounding mode.
7612 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
7614         [BZ #14027]
7615         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
7616         to be done.
7617         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
7618         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
7620 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
7622         * sysdeps/unix/i386/brk.S: Remove file.
7623         * sysdeps/unix/i386/dl-brk.S: Likewise.
7624         * sysdeps/unix/i386/pipe.S: Likewise.
7625         * sysdeps/unix/i386/sigreturn.S: Likewise.
7626         * sysdeps/unix/i386/syscall.S: Likewise.
7627         * sysdeps/unix/i386/vfork.S: Likewise.
7628         * sysdeps/unix/i386/wait.S: Likewise.
7630         * sysdeps/unix/common/tcsendbrk.c: Move to ...
7631         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
7633         * configure.in (arm*-none*): Do not allow without
7634         --enable-hacker-mode.
7635         (netbsd*): Remove case setting base_os.
7636         (386bsd*): Likewise.
7637         (freebsd*): Likewise.
7638         (bsdi*): Likewise.
7639         (osf*): Likewise.
7640         (sunos*): Likewise.
7641         (ultrix*): Likewise.
7642         (newsos*): Likewise.
7643         (dynix*): Likewise.
7644         (*bsd*): Likewise.
7645         (sysv*): Likewise.
7646         (isc*): Likewise.
7647         (esix*): Likewise.
7648         (sco*): Likewise.
7649         (minix*): Likewise.
7650         (irix4*): Likewise.
7651         (irix6*): Likewise.
7652         (solaris[2-9]*): Likewise.
7653         (none): Likewise.
7654         * configure: Regenerated.
7656 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7658         [BZ #11521]
7659         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
7660         overflow or cancellation in calculating denominator.
7661         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
7662         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
7663         down expression to avoid unexpected rounding in newer GCCs.
7664         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
7666 2012-04-26  David S. Miller  <davem@davemloft.net>
7668         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
7669         long-double compat symbols.
7670         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
7671         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
7672         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
7673         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
7674         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
7675         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
7676         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
7677         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
7678         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
7679         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
7680         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
7681         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
7682         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
7684 2012-04-25  David S. Miller  <davem@davemloft.net>
7686         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
7687         HWCAP_* values only after the memory barriers have been defined.
7688         (atomic_full_barrier): Define.
7689         (atomic_read_barrier): Define.
7690         (atomic_write_barrier): Define.
7692 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
7694         * shlib-versions: Add libgcc_s version information.
7695         * sysdeps/generic/libgcc_s.h: Remove.
7696         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
7697         libgcc_s.h.
7698         * sysdeps/gnu/unwind-resume.c: Likewise.
7699         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
7701 2012-04-25  David S. Miller  <davem@davemloft.net>
7703         * sysdeps/unix/sparc/brk.S: Delete.
7704         * sysdeps/unix/sparc/dl-brk.S: Delete.
7705         * sysdeps/unix/sparc/pipe.S: Delete.
7706         * sysdeps/unix/sparc/sysdep.S: Delete.
7707         * sysdeps/unix/sparc/sysdep.h: Delete.
7708         * sysdeps/unix/sparc/vfork.S: Delete.
7709         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
7710         SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
7711         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
7712         ret_ERRVAL, r0, r1, MOVE): Define.
7713         (JUMPTARGET): Remove.
7714         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
7715         sysdeps/unix/sparc/sysdep.h
7716         (ENTRY, END): Remove.
7717         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
7719 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
7721         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
7722         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
7723         -DIS_IN_build.
7725         * timezone/README: Update upstream location and email address for
7726         tzcode and tzdata.
7727         * timezone/zdump.c: Update from tzcode 2012b.
7728         * timezone/zic.c: Likewise.
7730         * configure.in (libc_cv_as_needed): Remove test.
7731         * configure: Regenerated.
7732         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
7733         conditional definition.
7734         [$(have-as-needed) != yes] (no-as-needed): Likewise.
7735         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
7736         * config.make.in (have-as-needed): Remove variable.
7738 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
7739             Paul Pluzhnikov  <ppluzhnikov@google.com>
7741         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
7742         strings correctly.
7744 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
7746         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
7747         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
7748         * sysdeps/sh/strlen.S: Likewise.
7750 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
7752         * sysdeps/unix/fork.S: Remove file.
7753         * sysdeps/unix/i386/fork.S: Likewise.
7754         * sysdeps/unix/sparc/fork.S: Likewise.
7756         * sysdeps/unix/system.c: Remove file.
7757         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
7759         * sysdeps/unix/getegid.S: Remove file.
7760         * sysdeps/unix/geteuid.S: Likewise.
7762 2012-04-24  Roland McGrath  <roland@hack.frob.com>
7764         * scripts/check-localplt.awk: New file.
7765         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
7766         of diff.
7767         * scripts/data/localplt-generic.data: Add a comment.
7769         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
7770         NODE when __dir_mkfile failed.
7771         * sysdeps/mach/hurd/symlinkat.c: Likewise.
7772         Reported by Ludovic Courtès <ludo@gnu.org>.
7774 2012-04-24  Andreas Jaeger  <aj@suse.de>
7776         * Makerules (common-clean): Also remove gen-as-const-headers
7777         files.
7779 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
7781         * Makerules (native-compile): Do not change working directory for
7782         build.  Use $(OUTPUT_OPTION) in command.
7783         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
7785 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7787         [BZ #13886]
7788         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
7789         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
7790         * math/libm-test.inc (floor_test): Add more tests.
7791         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
7793 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
7795         * sysdeps/unix/getdents.c: Remove file.
7796         * sysdeps/unix/sysv/getdents.c: Likewise.
7797         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
7799         * sysdeps/unix/syscalls.list (madvise): Add syscall from
7800         sysdeps/unix/mman/syscalls.list.
7801         (mmap): Likewise.
7802         (mprotect): Likewise.
7803         (msync): Likewise.
7804         (munmap): Likewise.
7805         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
7806         * sysdeps/unix/mman/syscalls.list: Remove.
7807         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
7809         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
7810         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
7811         * configure: Regenerated.
7812         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
7813         $(libgcc_s_suffix).
7814         * config.make.in (libgcc_s_suffix): Remove variable.
7816 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
7818         * sysdeps/unix/sysv/gethostname.c: Move to ...
7819         * sysdeps/posix/gethostname.c: ... here.
7821         * sysdeps/unix/execve.S: Remove file.
7823         * sysdeps/unix/_exit.S: Remove file.
7825 2012-04-23  Andreas Jaeger  <aj@suse.de>
7827         [BZ #13739]
7828         * manual/Makefile: Remove make dist support, there's no
7829         need for a stand-alone documentation tar ball.
7830         (TEXI2DVI): Define always, it's not in Makeconfig.
7831         (dist): Removed.
7832         (tar-it): Removed.
7833         (edition): Removed.
7834         (glibc-doc-$(edition).tar): Removed
7835         (%.Z): Removed.
7836         (%.gz): Removed.
7837         (%.uu): Removed.
7838         (ETAGS): Remove, it's in Makeconfig.
7839         (move-if-change): Remove, it's in Makeconfig.
7841 2013-04-23  Paul Eggert  <eggert@cs.ucla.edu>
7843         [BZ #13970]
7844         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
7845         (strtod, strtof, strtold, strtol, strtoul, strtoq)
7846         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
7847         (strtod_l, strtof_l, strtold_l): Remove __wur.
7848         It is not necessarily an error to ignore strtol's return value.
7849         One can reliably look at the stored endptr to decide whether
7850         the number had valid syntax.
7852 2012-04-21  Andreas Jaeger  <aj@suse.de>
7854         [BZ #13739]
7855         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
7857 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
7859         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
7860         * sysdeps/unix/sysv/Versions: Remove file.
7862 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
7864         [BZ #13927]
7865         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7867 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
7869         [BZ #7064]
7870         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
7871         version from __vm86.
7873 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
7875         * sysdeps/unix/common/lxstat.c: Remove file.
7876         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
7878         * sysdeps/unix/sysv/Makefile: Remove file.
7880         * sysdeps/unix/sysv/direct.h: Remove file.
7882         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
7883         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
7884         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
7885         * sysdeps/unix/sysv/bits/signum.h: Likewise.
7886         * sysdeps/unix/sysv/bits/stat.h: Likewise.
7887         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
7888         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
7890         * sysdeps/unix/sysv/setrlimit.c: Remove file.
7892         * sysdeps/unix/xmknod.c: Remove file.
7893         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
7895         * sysdeps/unix/sysv/settimeofday.c: Remove file.
7897         * sysdeps/unix/sysv/i386/time.S: Remove file.
7899         * sysdeps/unix/fxstat.c: Remove file.
7900         * sysdeps/unix/xstat.c: Likewise.
7901         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
7903         * sysdeps/unix/sysv/sigaction.c: Remove file.
7905         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
7906         (sysdep_headers): Remove variable.
7907         [termio.h not in sysdep_headers] (generated): Likewise.
7908         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
7909         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
7910         * sysdeps/unix/sysv/tcdrain.c: Likewise.
7911         * sysdeps/unix/sysv/tcflow.c: Likewise.
7912         * sysdeps/unix/sysv/tcflush.c: Likewise.
7913         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
7914         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
7915         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
7916         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
7917         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
7919         * sysdeps/unix/siglist.c: Remove file.
7921         * sysdeps/unix/getppid.S: Remove file.
7923         * sysdeps/unix/mkdir.c: Remove file.
7924         * sysdeps/unix/rmdir.c: Likewise.
7926 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
7928         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
7929         ERR_MAX value.
7930         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
7931         errlist-compat value.
7933 2012-04-18  David S. Miller  <davem@davemloft.net>
7935         * sysdeps/generic/memcopy.h (reg_char): Delete.
7936         * debug/strcat_chk.c: Use char, not reg_char.
7937         * debug/strcpy_chk.c: Likewise.
7938         * debug/strncat_chk.c: Likewise.
7939         * debug/strncpy_chk.c: Likewise.
7940         * string/memchr.c: Likewise.
7941         * string/memrchr.c: Likewise.
7942         * string/rawmemchr.c: Likewise.
7943         * string/strcat.c: Likewise.
7944         * string/strchr.c: Likewise.
7945         * string/strchrnul.c: Likewise.
7946         * string/strcmp.c: Likewise.
7947         * string/strcpy.c: Likewise.
7948         * string/strncat.c: Likewise.
7949         * string/strncmp.c: Likewise.
7950         * string/strncpy.c: Likewise.
7952 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
7954         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
7955         __builtin_memcopy is called when src and dest ranges are known to not
7956         overlap.
7958 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
7960         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
7961         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
7962         fwd_align_merge macro call.
7963         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
7964         bwd_align_merge macro call.
7965         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
7967 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
7969         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
7970         bwd_align_merge macros.
7971         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
7972         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
7973         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
7975 2012-04-18  David S. Miller  <davem@davemloft.net>
7977         * sysdeps/sparc/sparc64/memcopy.h: Delete.
7979 2012-04-18  Andreas Jaeger  <aj@suse.de>
7981         [BZ# 6794]
7982         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
7983         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
7984         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
7986         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
7987         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
7988         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
7990         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
7991         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
7992         Adjust for changed ldbl-128 files.
7994         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
7995         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
7996         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
7998 2012-04-17  David S. Miller  <davem@davemloft.net>
8000         * sysdeps/sparc/sparc32/memcopy.h: Delete.
8002 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
8004         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
8005         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
8006         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
8007         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
8008         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
8009         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
8011 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8013         [BZ #6794]
8014         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
8015         * math/libm-test.inc: Add ilogb errno and exception tests.
8016         * math/w_ilogb.c: New file: ilogb wrapper.
8017         * math/w_ilogbf.c: New file: ilogbf wrapper.
8018         * math/w_ilogbl.c: New file: ilogbl wrapper.
8019         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
8020         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
8021         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
8022         exception being thrown with 0.0 as argument.
8023         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
8024         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
8025         exception being thrown with 0.0 as argument.
8026         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
8027         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
8028         exception being thrown with 0.0 as argument.
8029         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
8030         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
8031         exception being thrown with 0.0 as argument.
8032         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
8033         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
8034         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
8035         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
8036         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
8037         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
8038         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
8039         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
8040         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
8042 2012-04-17  Petr Baudis  <pasky@ucw.cz>
8044         * include/sys/uio.h: Change __vector to __iovec to avoid clash
8045         with altivec.
8047 2012-04-16  Marek Polacek  <polacek@redhat.com>
8049         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
8051 2012-04-16  Marek Polacek  <polacek@redhat.com>
8053         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
8054         operands of fdivp instruction.
8056 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
8058         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
8059         * elf/tst-auditmod3b.c: Likewise.
8060         * elf/tst-auditmod4b.c: Likewise.
8061         * elf/tst-auditmod5b.c: Likewise.
8062         * elf/tst-auditmod6b.c: Likewise.
8063         * elf/tst-auditmod6c.c: Likewise.
8064         * elf/tst-auditmod7b.c: Likewise.
8065         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
8066         * sysdeps/x86_64/preconfigure.in: Likewise.
8067         * sysdeps/x86_64/preconfigure: Regenerated.
8069 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
8071         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
8072         __ILP32__.
8074 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
8076         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
8077         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
8079 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
8081         [BZ #13973]
8082         * locale/iso-639.def: Fix gl language name. Spotted by
8083         Yaron Shahrabani.
8085 2012-04-12  Roland McGrath  <roland@hack.frob.com>
8087         [BZ #2074]
8088         * libio/libio.h (__io_write_fn): Update comment.
8090 2012-04-12  Petr Baudis  <pasky@ucw.cz>
8092         [BZ #2074]
8093         * stdio.texi (Hook Functions): The user provided writer function
8094         is not allowed to return -1.
8096 2012-04-11  David S. Miller  <davem@davemloft.net>
8098         * sysdeps/sparc/fpu/libm-test-ulps: Update.
8100 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
8102         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
8103         Add a leading slash to rtkaio.
8105 2012-04-11  Jim Meyering  <meyering@redhat.com>
8107         [BZ #11959]
8108         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
8109         It is not necessarily an error to ignore fwrite's return
8110         value.  One can reliably use ferror to test for errors after
8111         the fact.
8113 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
8115         * bits/types.h (__snseconds_t): New type.
8116         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
8118         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
8119         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
8120         (__SNSECONDS_T_TYPE): Likewise.
8121         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
8122         (__SNSECONDS_T_TYPE): Likewise.
8123         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
8124         (__SNSECONDS_T_TYPE): Likewise.
8126 2012-04-10  Andreas Jaeger  <aj@suse.de>
8128         [BZ #2636]
8129         * manual/time.texi (Processor Time): Return type of times is
8130         elapsed real time since an arbitrary point in the past.
8131         (CPU Time): Move CLK_TCK from here...
8132         (Processor Time): ...to here.  Correct description.
8133         * manual/conf.texi (Constants for Sysconf): Correct description of
8134         _SC_CLK_TCK.
8136 2012-04-10  David S. Miller  <davem@davemloft.net>
8138         [BZ #13967]
8139         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
8140         where the is a gap between DT_REL(A) and DT_JMPREL.
8142 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
8144         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
8145         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
8146         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
8148 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
8150         * elf/dl-support.c (_dl_inhibit_cache): New variable.
8151         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
8152         (dl_main): Handle --inhibit-cache.
8153         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
8154         _dl_inhibit_cache.
8155         * elf/dl-load.c (_dl_map_object): Use it.
8156         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
8158 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
8160         [BZ #13872]
8161         * sysdeps/i386/fpu/e_powl.S (p78): New object.
8162         (__ieee754_powl): Saturate large exponents rather than testing for
8163         overflow of y*log2(x).
8164         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
8165         * math/libm-test.inc (pow_test): Do not permit spurious overflow
8166         exceptions.
8168         [BZ #11521]
8169         * math/s_ctan.c: Include <float.h>.
8170         (__ctan): Avoid internal overflow or cancellation in calculating
8171         denominator.
8172         * math/s_ctanf.c: Likewise.
8173         * math/s_ctanl.c: Likewise.
8174         * math/s_ctanh.c: Likewise.
8175         * math/s_ctanhf.c: Likewise.
8176         * math/s_ctanhl.c: Likewise.
8177         * math/libm-test.inc (ctan_test): Add more tests.
8178         (ctanh_test): Likewise.
8179         * sysdeps/i386/fpu/libm-test-ulps: Update.
8180         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8182 2012-04-09  Andreas Jaeger  <aj@suse.de>
8184         [BZ #6894]
8185         * manual/filesys.texi (Directory Entries): Mention that d_namlen
8186         is an optional BSD extension.
8188         [BZ #10254]
8189         * manual/stdio.texi (Opening Streams): Document additional fopen
8190         parameters.
8192 2012-04-09  Roland McGrath  <roland@hack.frob.com>
8194         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
8195         %eax without telling the compiler.
8197 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
8199         [BZ # 13963]
8200         * manual/install.texi: Use sourceware.org.
8202 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
8204         [BZ #13873]
8205         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
8206         (__ieee754_pow): Generate overflow and underflow using huge*huge
8207         and tiny*tiny rather than just returning constant infinity or zero
8208         for large exponents.
8209         * math/libm-test.inc (pow_test): Require overflow exceptions for
8210         applicable cases of large exponents.
8212         [BZ #706]
8213         * sysdeps/i386/fpu/e_pow.S (p10): New object.
8214         (__ieee754_pow): Use iterative multiplication algorithm only for
8215         integer exponents with absolute value below 1024.  Check for odd
8216         integer exponents when using algorithm for real exponents.
8217         * math/libm-test.inc (pow_test): Add more tests.
8218         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8220 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
8222         [BZ #13705]
8223         * math/libm-test.inc (exp_test): Do not allow overflow exception
8224         on underflow test.
8226 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
8228         [BZ #13705]
8229         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
8230         instead of __kernel_standard_f.
8232 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
8234         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
8235         * sysdeps/x86_64/memset_chk.S: Likewise.
8237 2012-04-08  Andreas Jaeger  <aj@suse.de>
8239         [BZ #10153]
8240         * manual/startup.texi (Environment Access): Describe return value
8241         for putenv and setenv.
8243         [BZ #6895]
8244         * manual/filesys.texi (Directory Entries): Add description for
8245         DT_LNK.
8247         [BZ #6890]
8248         * manual/filesys.texi (Directory Entries): Clarify that it's file
8249         system not operating system in the description of DT_UNKNOWN.
8251         [BZ #6578]
8252         * manual/syslog.texi (closelog): Fix reference, it's openlog.
8254 2012-04-08  Stephen Compall  <s11@member.fsf.org>
8256         [BZ #6649]
8257         * manual/llio.texi (Opening and Closing Files): Add cross
8258         reference to explain mode argument.
8260 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
8262         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
8263         * sysdeps/x86_64/memset_chk.S: Likewise.
8265 2012-04-07  David S. Miller  <davem@davemloft.net>
8267         * elf/elf.h (R_SPARC_WDISP10): Define.
8268         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
8269         R_SPARC_SIZE32.
8270         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
8271         R_SPARC_SIZE64 and R_SPARC_H34.
8273 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
8275         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
8276         conditions and remove no longer applicable assertion.
8278 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
8280         * bits/byteswap.h: Include <features.h>.
8281         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
8282         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
8284 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
8286         * bits/byteswap.h (__bswap_16): Removed.
8287         Include <bits/byteswap-16.h> to get __bswap_16.
8288         * sysdeps/i386/bits/byteswap.h: Likewise.
8289         * sysdeps/s390/bits/byteswap.h: Likewise.
8290         * sysdeps/x86_64/bits/byteswap.h: Likewise.
8291         * bits/byteswap-16.h: New file.
8292         * sysdeps/i386/bits/byteswap-16.h: Likewise.
8293         * sysdeps/s390/bits/byteswap-16.h: Likewise.
8294         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
8295         * string/Makefile (headers): Add bits/byteswap-16.h.
8297 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
8299         [BZ #13895]
8300         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
8301         extra indirection.
8302         * nss/Makefile (tests-static, tests): Add tst-nss-static.
8303         * nss/tst-nss-static.c: New.
8305 2012-04-06  Robert Millan  <rmh@gnu.org>
8307         [BZ #6486]
8308         * manual/llio.texi (File Position Primitive): lseek
8309         refers to WHENCE when it really means OFFSET.
8311 2012-04-06  Andreas Jaeger  <aj@suse.de>
8313         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
8314         strncmp declarations.
8316         * abilist/libc.abilist: Add __poll and __ppoll.
8318 2012-04-05  David S. Miller  <davem@davemloft.net>
8320         * scripts/check-local-headers.sh: Accept a host triplet in the
8321         path matched by the exclude regexp.
8323         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
8324         definition.
8325         * sysdeps/powerpc/powerpc32/dl-machine.h
8326         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
8327         * sysdeps/s390/s390-32/dl-machine.h
8328         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
8329         * sysdeps/sparc/sparc32/dl-machine.h
8330         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
8331         * sysdeps/sparc/sparc64/dl-machine.h
8332         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
8334         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
8335         lazy binding.
8336         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
8337         undefined symbol errors.
8339         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
8340         DT_NEEDED entries.
8342 2012-04-05  Michael Matz  <matz@suse.de>
8344         [BZ #13592]
8345         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
8347 2012-04-05  Andreas Jaeger  <aj@suse.de>
8349         [BZ #13908]
8350         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
8351         comment.
8353 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
8355         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
8356         which ROUND is no valid rounding mode.
8358 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
8360         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
8361         read again.
8362         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
8364 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
8366         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
8367         an exception using FPU order intentionally.
8369 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
8371         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
8372         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
8373         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
8374         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
8376 2012-04-05  Simon Josefsson  <simon@josefsson.org>
8378         [BZ #12340]
8379         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
8380         EINVAL when BUFLEN is too smal.
8382 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
8384         [BZ #13553]
8385         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
8386         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
8388 2012-04-03  Andreas Jaeger  <aj@suse.de>
8390         [BZ #13938]
8391         * manual/setjmp.texi (System V contexts): Fix sentence.
8393         [BZ #13926]
8394         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
8395         New macro for this case.
8396         [!__GNUC__] (__bswap_64): New inline function for this case.
8397         * sysdeps/x86_64/bits/byteswap.h: Likewise.
8398         * bits/byteswap.h: Likewise.
8399         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
8400         ull, guard with __GLIBC_HAVE_LONG_LONG.
8402         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
8403         __GLIBC_HAVE_LONG_LONG.
8405         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
8406         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
8408 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
8410         [BZ #13691]
8411         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
8412         inptr and inend, rather than using last_ch.
8414 2012-04-02  David S. Miller  <davem@davemloft.net>
8416         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
8417         * stdio-common/printf-parse.h (read_int): Change return type to
8418         'int', return -1 on INT_MAX overflow.
8419         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
8420         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
8421         overflows INT_MAX.  Check for overflow of in-format-string precision
8422         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
8423         SIZE_MAX not INT_MAX for integer overflow test.
8424         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
8425         skip the construct in the format string but do not record anything.
8426         * stdio-common/bug22.c: Adjust to test both width/prevision
8427         INT_MAX overflow as well as total length INT_MAX overflow.  Check
8428         explicitly for proper errno values.
8430 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
8432         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
8433         CHAR_MAX.
8434         * string/test-strcmp.c [! WIDE]: Likewise.
8435         * time/tst-mktime2.c: Likewise for INT_MAX.
8436         * string/test-string.h: #include <sys/param.h> for MIN.
8438         * csu/init-first.c (__libc_init_first): Call __ctype_init.
8439         * sysdeps/i386/init-first.c (init): Likewise.
8440         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
8441         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
8442         * sysdeps/sh/init-first.c (init): Likewise.
8444 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
8446         * po/ru.po: Update from translation team.
8447         * po/vi.po: Likewise.
8449 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
8451         * resolv/nss_dns/dns-host.c: Merge copyright years.
8453 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
8455         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
8456         Optimize memcpy with prefetch if
8457         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
8458         src, dst pointers have unequal 16 byte alignments.
8460 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
8462         [BZ #13928]
8463         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
8464         from a CNAME entry and return the minimum ttl for the query.
8465         (gaih_getanswer_slice): Likewise.
8467 2012-03-30  Jeff Law  <law@redhat.com>
8469         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
8470         due to long keys.
8471         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
8472         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
8474         * resolv/nss_dns/dns-host.c: Update copyright year.
8476 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
8478         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8479         requests to save a system call.  Fix check that all bytes are sent.
8481         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
8482         comments for sendmmsg.
8484 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
8486         [BZ #13691]
8487         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
8488         with only 1 character between 0x0041 and 0x01b0.
8489         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
8490         * wcsmbs/tst-mbsnrtowcs.c: New file.
8492 2012-03-29  David S. Miller  <davem@davemloft.net>
8494         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
8495         small copies by hand.
8497 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
8499         [BZ #13761]
8500         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
8501         _nss_compat_initgroups_dyn): Fall back to malloc/free
8502         for large group memberships.
8504 2012-03-28  David S. Miller  <davem@davemloft.net>
8506         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
8507         that branches into memcpy.
8508         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
8509         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
8510         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
8511         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
8512         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
8513         bits.
8514         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
8515         implementation too.
8516         * sysdeps/sparc/mempcpy.S: New file.
8518         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
8519         the IFUNC routine in the libc case.
8520         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
8522         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
8523         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
8524         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
8525         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
8526         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
8527         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
8528         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
8529         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
8531         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
8532         loop to 256 bytes instead of 64 bytes and fix test signedness.
8534         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
8535         * sysdeps/sparc/sparc32/Makefile: rather than here...
8536         * sysdeps/sparc/sparc64/Makefile: and here.
8538 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
8540         * malloc/mallocbug.c: Avoid warnings about unused variables.
8542 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
8544         [BZ #13760]
8545         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
8546         in the right place. Discard and retry query if response is
8547         larger than input buffer size.
8549 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
8551         [BZ #369]
8552         [BZ #2678]
8553         [BZ #3866]
8554         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
8555         x for large integer exponent.
8556         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
8557         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
8558         sign of result as needed afterwards.
8559         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
8560         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
8561         result for underflowing pow the same as for overflow.
8562         (__kernel_standard_l): Handle powl overflow and underflow here
8563         rather than calling __kernel_standard.
8564         * math/libm-test.inc (pow_test): Add more tests.
8566         [BZ #3868]
8567         [BZ #13879]
8568         [BZ #13910]
8569         [BZ #13911]
8570         [BZ #13912]
8571         [BZ #13913]
8572         [BZ #13915]
8573         [BZ #13916]
8574         [BZ #13917]
8575         [BZ #13918]
8576         [BZ #13919]
8577         [BZ #13920]
8578         [BZ #13921]
8579         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
8580         * sysdeps/ieee754/k_standard.c: Include <float.h>.
8581         (__kernel_standard_l): New function.
8582         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
8583         __kernel_standard.
8584         * math/w_acosl.c (__acosl): Likewise.
8585         * math/w_asinl.c (__asinl): Likewise.
8586         * math/w_atan2l.c (__atan2l): Likewise.
8587         * math/w_atanhl.c (__atanhl): Likewise.
8588         * math/w_coshl.c (__coshl): Likewise.
8589         * math/w_exp10l.c (__exp10l): Likewise.
8590         * math/w_exp2l.c (__exp2l): Likewise.
8591         * math/w_fmodl.c (__fmodl): Likewise.
8592         * math/w_hypotl.c (__hypotl): Likewise.
8593         * math/w_j0l.c (__j0l, __y0l): Likewise.
8594         * math/w_j1l.c (__j1l, __y1l): Likewise.
8595         * math/w_jnl.c (__jnl, __ynl): Likewise.
8596         * math/w_lgammal.c (__lgammal): Likewise.
8597         * math/w_log10l.c (__log10l): Likewise.
8598         * math/w_log2l.c (__log2l): Likewise.
8599         * math/w_logl.c (__logl): Likewise.
8600         * math/w_powl.c (__powl): Likewise.
8601         * math/w_remainderl.c (__remainderl): Likewise.
8602         * math/w_scalbl.c (sysv_scalbl): Likewise.
8603         * math/w_sinhl.c (__sinhl): Likewise.
8604         * math/w_sqrtl.c (__sqrtl): Likewise.
8605         * math/w_tgammal.c (__tgammal): Likewise.
8606         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
8607         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
8608         * math/libm-test.inc (acos_test): Add more tests.
8609         (acosh_test): Likewise.
8610         (asin_test): Likewise.
8611         (atanh_test): Likewise.
8612         (exp_test): Likewise.
8613         (exp10_test): Likewise.
8614         (exp2_test): Likewise.
8615         (expm1_test): Likewise.
8616         (lgamma_test): Likewise.
8617         (log_test): Likewise.
8618         (log10_test): Likewise.
8619         (log1p_test): Likewise.
8620         (log2_test): Likewise.
8621         (pow_test): Do not allow some spurious overflow exceptions.
8622         (sqrt_test): Add more tests.
8623         (tgamma_test): Likewise.
8624         (y0_test): Likewise.
8625         (y1_test): Likewise.
8626         (yn_test): Likewise.
8628 2012-03-27  Anton Blanchard  <anton@samba.org>
8630         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
8631         MAP_HUGETLB.
8632         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
8633         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
8634         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
8636 2012-03-27  David S. Miller  <davem@davemloft.net>
8638         * conform/Makefile: Run run-conformtest.sh using $(BASH).
8640         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
8641         have-as-vis3 check.
8643 2012-03-27  Andreas Jaeger  <aj@suse.de>
8645         * sysdeps/x86_64/elf/configure.in: Moved to ...
8646         * sysdeps/x86_64/configure.in: ... here.
8647         * sysdeps/x86_64/elf/start.S: Moved to ...
8648         * sysdeps/x86_64/start.S: ... here.
8649         * sysdeps/x86_64/elf/configure: Delete.
8651         * sysdeps/x86_64/configure.in: Merge contents from
8652         sysdeps/i386/configure.in (without i686 check).
8654         * sysdeps/i386/elf/Versions: Merge into ...
8655         * sysdeps/i386/Versions: ... this.
8656         * sysdeps/i386/elf/Versions: Delete file.
8657         * sysdeps/i386/elf/start.S: Moved to ...
8658         * sysdeps/i386/start.S: ...here.
8659         * sysdeps/i386/elf/configure.in: Merge into...
8660         * sysdeps/i386/configure.in: ...here.
8661         * sysdeps/i386/elf/configure.in: Delete file.
8662         * sysdeps/i386/elf/configure: Delete file.
8664         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
8665         * debug/backtracesyms.c: ... here.
8666         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
8667         * debug/backtracesymsfd.c: ... here.
8668         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
8669         * sysdeps/generic/ifunc-sel.h: ... here.
8671         * sysdeps/unix/i386/start.c: Delete file.
8672         * sysdeps/unix/sparc/start.c: Delete file.
8673         * sysdeps/unix/start.c: Delete file.
8675         * sysdeps/sh/elf/configure.in: Moved to ...
8676         * sysdeps/sh/configure.in: ... here.
8677         * sysdeps/sh/elf/start.S: Moved to ...
8678         * sysdeps/sh/start.S: ... here.
8679         * sysdeps/sh/elf/configure: Delete file.
8681         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
8682         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
8683         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
8684         * sysdeps/powerpc/powerpc64/entry.h: ... here.
8685         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
8686         * sysdeps/powerpc/powerpc64/start.S: here.
8687         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
8688         * sysdeps/powerpc/powerpc64/Makefile: ... this.
8689         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
8690         * sysdeps/powerpc/powerpc64/configure.in: ... this.
8691         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
8693         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
8694         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
8695         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
8696         * sysdeps/powerpc/powerpc32/start.S: ... here.
8697         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
8698         * sysdeps/powerpc/powerpc32/configure.in: ... this.
8699         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
8701         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
8702         * sysdeps/powerpc/ifunc-sel.h: ... here.
8703         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
8704         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
8706         * sysdeps/sparc/elf/configure.in: Moved to ...
8707         * sysdeps/sparc/configure.in: ... here.
8708         * sysdeps/sparc/elf/configure: Delete file.
8709         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
8710         * sysdeps/sparc/sparc32/start.S: ... here.
8711         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
8712         * sysdeps/sparc/sparc64/start.S: ... here.
8713         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
8714         * sysdeps/sparc/sparc32/Makefile: ... this.
8715         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
8716         * sysdeps/sparc/sparc64/Makefile: ... this.
8718         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
8719         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
8720         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
8721         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
8722         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
8723         * sysdeps/s390/s390-32/setjmp.S: ... here.
8724         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
8725         * sysdeps/s390/s390-32/configure.in: ... here.
8726         * sysdeps/s390/s390-32/elf/configure: Delete file.
8727         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
8728         * sysdeps/s390/s390-32/start.S: ... here.
8730         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
8731         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
8732         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
8733         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
8734         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
8735         * sysdeps/s390/s390-64/setjmp.S: ... here.
8736         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
8737         * sysdeps/s390/s390-64/configure.in: ... here
8738         * sysdeps/s390/s390-64/elf/configure: Delete file.
8739         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
8740         * sysdeps/s390/s390-64/start.S: ... here.
8741         * sysdeps/s390/s390-64/elf/configure: Delete.
8743         * configure.in: Remove support for elf directories in sysdeps.
8745         * configure: Regenerated.
8746         * sysdeps/i386/configure: Regenerated.
8747         * sysdeps/powerpc/powerpc32/configure: Regenerated.
8748         * sysdeps/powerpc/powerpc64/configure: Regenerated.
8749         * sysdeps/s390/s390-32/configure: Regenerated.
8750         * sysdeps/s390/s390-64/configure: Regenerated.
8751         * sysdeps/sh/configure: Regenerated.
8752         * sysdeps/sparc/configure: Regenerated.
8753         * sysdeps/x86_64/configure: Regenerated.
8755 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
8757         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8759         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
8760         denormal result into account.
8762 2012-03-25  Roland McGrath  <roland@hack.frob.com>
8764         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
8765         Reported by Allan McRae <allan@archlinux.org>.
8767 2012-03-23  Jeff Law  <law@redhat.com>
8769         * nss/getnssent.c (__nss_getent): Fix typo.
8771 2012-03-23  David S. Miller  <davem@davemloft.net>
8773         * sysdeps/sparc/fpu/libm-test-ulps: Update.
8775 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
8777         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
8778         to pad to uint64_t for each field.
8779         (dl_tls_index): Replace unsigned long with uint64_t.
8781 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
8782         Paul Pluzhnikov  <ppluzhnikov@google.com>
8784         [BZ #6528]
8785         * grp/Makefile (otherlibs): Don't set it.
8786         * inet/Makefile (otherlibs): Likewise.
8787         * login/Makefile (otherlibs): Likewise.
8788         * nscd/Makefile (otherlibs): Likewise.
8789         * posix/Makefile (otherlibs): Likewise.
8790         * pwd/Makefile (otherlibs): Likewise.
8791         * rt/Makefile (otherlibs): Likewise.
8792         * sunrpc/Makefile (otherlibs): Likewise.
8793         * nss/Makefile (otherlibs): Likewise.
8794         Add libnss_files to routines and static-only-routines.
8795         ($(objpfx)getent): Remove rule.
8796         * resolv/Makefile: Add libnss_dns and libresolv to routines and
8797         static-only-routines.
8799 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
8801         [BZ #13892]
8802         * math/s_cexp.c: Include <float.h>.
8803         (__cexp): Handle exp result overflowing not necessarily
8804         overflowing both real and imaginary parts of result.
8805         * math/s_cexpf.c: Likewise.
8806         * math/s_cexpl.c: Likewise.
8807         * math/libm-test.inc (cexp_test): Add more tests.
8808         * sysdeps/i386/fpu/libm-test-ulps: Update.
8809         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8811 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
8813         * include/link.h (ELFW): New macro.
8814         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
8815         Replace ELF64_R_TYPE with ELFW(R_TYPE).
8817 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
8819         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
8820         with uint64_t.
8822 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
8824         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
8825         declaration.
8826         (struct La_x32_retval): Likewise.
8828 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
8830         * sysdeps/x86_64/preconfigure.in: New file.
8831         * sysdeps/x86_64/preconfigure: New generated file.
8833 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
8835         [BZ #13824]
8836         * math/e_exp2l.c: Include <float.h>.
8837         (__ieee754_exp2l): Handle overflow and underflow cases
8838         separately.  Only pass fractional part of argument to
8839         __ieee754_expl.
8840         * math/libm-test.inc (exp2_test): Add more tests.
8842         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
8843         negating x to take absolute value.
8844         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
8845         Likewise.
8846         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
8847         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
8848         Likewise.
8849         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
8850         computing low part if x was negated.
8851         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
8853 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
8855         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
8856         la_x32_gnu_pltexit.
8857         (pltexit): Cast int_retval to ptrdiff_t.
8858         * elf/tst-auditmod3b.c: Likewise.
8859         * elf/tst-auditmod4b.c: Likewise.
8860         * elf/tst-auditmod5b.c: Likewise.
8861         * elf/tst-auditmod6b.c: Likewise.
8862         * elf/tst-auditmod6c.c: Likewise.
8863         * elf/tst-auditmod7b.c: Likewise.
8865         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
8866         and x32_gnu_pltexit.
8868         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
8869         __ELF_NATIVE_CLASS.
8870         (La_x32_regs): New macro.
8871         (La_x32_retval): Likewise.
8872         (la_x32_gnu_pltenter): New function prototype.
8873         (la_x32_gnu_pltexit): Likewise.
8875 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
8877         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
8878         exponent.
8880         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8882         * configure.in (libc_cv_cc_nofma): Check for option to disable
8883         generation of FMA instructions.
8884         * configure: Regenerate.
8885         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
8886         * sysdeps/ieee754/dbl-64/Makefile: New file.
8887         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
8888         Remove brandred-fma4.
8889         (CFLAGS-brandred-fma4.c): Remove.
8890         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
8891         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
8892         define.
8893         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
8894         define.
8896 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
8898         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
8899         LLONG_MAX != LONG_MAX.
8900         (_itoa_word): Use _ITOA_WORD_TYPE on value.
8901         (_fitoa_word): Likewise.
8902         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
8903         LLONG_MAX != LONG_MAX.
8904         * stdio-common/_itowa.h: Include <_itoa.h>.
8905         (_itowa_word): Use _ITOA_WORD_TYPE on value.
8906         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
8907         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
8908         only if not defined.
8909         (_ITOA_WORD_TYPE): Likewise.
8910         (_itoa_word): Use _ITOA_WORD_TYPE on value.
8911         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
8913 2012-03-21  David S. Miller  <davem@davemloft.net>
8915         * sysdeps/sparc/fpu/libm-test-ulps: Update.
8917 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
8919         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
8920         of x86_64 when setting libc_cv_slibdir, libdir and
8921         libc_cv_localedir.
8922         * sysdeps/unix/sysv/linux/configure: Regenerated.
8924 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
8926         * manual/lang.texi (Old Varargs): Remove section.
8927         (How Variadic): Update menu.
8928         (va_start): Do not mention varargs.h.
8930 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
8931             Joseph Myers  <joseph@codesourcery.com>
8933         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
8934         link test.
8935         * configure: Regenerated.
8937 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
8939         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
8940         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
8941         conformtest.pl
8943 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
8945         * NOTES: Remove.
8946         * Makefile (files-for-dist): Remove NOTES.
8947         (NOTES): Remove rule.
8948         * README: Don't refer to NOTES.
8949         * manual/creature.texi: Don't include macros.texi.
8950         * manual/intro.texi (creature.texi): Remove comment referring to
8951         NOTES.
8953         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
8954         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
8955         * configure: Regenerated.
8956         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
8957         LIBC_TRY_CC_OPTION.
8958         (libc_cv_as_i686): Likewise.
8959         (libc_cv_cc_avx): Likewise.
8960         (libc_cv_cc_sse2avx): Likewise.
8961         (libc_cv_cc_fma4): Likewise.
8962         (libc_cv_cc_novzeroupper): Likewise.
8963         * sysdeps/i386/configure: Regenerated.
8965         [BZ #13883]
8966         * sysdeps/i386/fpu/s_cexp.S: Remove.
8967         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
8968         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
8969         * math/libm-test.inc (cexp_test): Add more tests.
8970         * sysdeps/i386/fpu/libm-test-ulps: Update.
8971         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8973 2012-03-21  Allan McRae  <allan@archlinux.org>
8975         * timezone/Makefile: Do not install iso3166.tab and zone.tab
8977 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
8979         [BZ #13871]
8980         * math/w_exp2.c: Do not include <float.h>.
8981         (o_threshold, u_threshold): Remove.
8982         (__exp2): Calculate result before checking finiteness and calling
8983         __kernel_standard.
8984         * math/w_exp2f.c: Likewise.
8985         * math/w_exp2l.c: Likewise.
8986         * math/libm-test.inc (exp2_test): Require overflow exception for
8987         1e6 input.
8989         [BZ #3866]
8990         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
8991         range of signed 64-bit integers before using fistpll.  Remove
8992         checks for whether integers fit in mantissa bits.
8993         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
8994         the range of signed 32-bit integers before using fistpl.  Remove
8995         checks for whether integers fit in mantissa bits.
8996         * sysdeps/i386/fpu/e_powl.S (p64): New object.
8997         (__ieee754_powl): Test for y outside the range of signed 64-bit
8998         integers before using fistpll.  Reduce 64-bit values to 63-bit
8999         ones as needed.
9000         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
9001         divide-by-zero is raised for zero to large negative powers.
9002         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
9003         (__ieee754_powl): Test for y outside the range of signed 64-bit
9004         integers before using fistpll.  Reduce 64-bit values to 63-bit
9005         ones as needed.
9006         * math/libm-test.inc (pow_test): Add more tests.
9008 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
9010         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
9011         <stdio-common/_itoa.h>.
9012         * debug/segfault.c: Likewise.
9013         * elf/dl-cache.c: Likewise.
9014         * elf/dl-minimal.c: Likewise.
9015         * elf/dl-misc.c: Likewise.
9016         * elf/dl-sysdep.c: Likewise.
9017         * elf/dl-version.c: Likewise.
9018         * elf/rtld.c: Likewise.
9019         * hurd/hurdsock.c: Likewise.
9020         * hurd/lookup-retry.c: Likewise.
9021         * malloc/malloc.c: Likewise.
9022         * malloc/mtrace.c: Likewise.
9023         * nscd/nscd_getgr_r.c: Likewise.
9024         * nscd/nscd_getpw_r.c: Likewise.
9025         * nscd/nscd_getserv_r.c: Likewise.
9026         * posix/getopt_init.c: Likewise.
9027         * posix/wordexp.c: Likewise.
9028         * stdio-common/_itoa.c: Likewise.
9029         * stdio-common/printf_fphex.c: Likewise.
9030         * stdio-common/vfprintf.c: Likewise.
9031         * string/_strerror.c: Likewise.
9032         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
9033         * sysdeps/i386/i686/hp-timing.h: Likewise.
9034         * sysdeps/mach/_strerror.c: Likewise.
9035         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
9036         * sysdeps/mach/hurd/sethostid.c: Likewise.
9037         * sysdeps/mach/hurd/xmknodat.c: Likewise.
9038         * sysdeps/mach/xpg-strerror.c: Likewise.
9039         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
9040         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
9041         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
9042         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
9043         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
9044         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
9045         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
9046         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
9047         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
9048         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
9049         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
9050         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
9051         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
9052         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
9053         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
9054         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
9055         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
9056         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
9057         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
9058         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
9059         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
9061         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
9063         * stdio-common/_itoa.h: Moved to ...
9064         * sysdeps/generic/_itoa.h: Here.
9066         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
9068         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
9069         instead of "_itoa.h" and "_itowa.h".
9070         * stdio-common/vfprintf.: Likewise.
9072 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
9074         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
9075         <bits/wordsize.h>.
9076         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
9077         (__signbit): Likwise.
9078         (llrintf): Likwise.
9079         (llrint): Likwise.
9081 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
9083         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
9084         __WORDSIZE != 64.
9086 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
9088         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
9089         OVERFLOW_EXCEPTION_OK.
9090         * math/libm-test.inc ("Philosophy"): Update comment about
9091         exception testing.
9092         (OVERFLOW_EXCEPTION): Define.
9093         (OVERFLOW_EXCEPTION_OK): Likewise.
9094         (INVALID_EXCEPTION_OK): Renumber.
9095         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
9096         (IGNORE_ZERO_INF_SIGN): Likewise.
9097         (test_exceptions): Handle FE_OVERFLOW.
9098         (exp10_test): Expect overflow exceptions.
9099         (exp2_test): Likewise.
9100         (expm1_test): Likewise.
9101         (nextafter_test): Likewise.
9102         (pow_test): Likewise.
9103         (scalbn_test): Likewise.
9104         (scalbln_test): Likewise.
9106 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
9108         * sysdeps/x86_64/bits/atomic.h
9109         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
9110         64bit integer.
9111         (atomic_exchange_acq): Likewise.
9112         (__arch_exchange_and_add_body): Likewise.
9113         (__arch_add_body): Likewise.
9114         (atomic_add_negative): Likewise.
9115         (atomic_add_zero): Likewise.
9117 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
9119         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
9120         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
9122 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
9124         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
9125         Check __x86_64__ instead of __WORDSIZE.
9127 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
9129         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
9131 2012-03-19  David S. Miller  <davem@davemloft.net>
9133         * sysdeps/sparc/fpu/libm-test-ulps: Update.
9135         * sysdeps/sparc/fpu/fenv_private.h: New file.
9136         * sysdeps/sparc/fpu/math_private.h: Use it.
9137         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
9138         Remove.
9139         (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
9140         (libc_feholdexcept_setroundl): Remove.
9141         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
9142         Remove.
9143         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
9144         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
9146 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
9148         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
9149         int64_t instead of long int.
9150         (INSERT_WORDS64): Likwise.
9152 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
9154         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
9155         _Unwind_GetCFA return to _Unwind_Ptr first.
9157 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
9159         [BZ #13629]
9160         * math/s_clog.c: Include <float.h>.
9161         (__clog): Scale large or subnormal inputs.
9162         * math/s_clogf.c: Likewise.
9163         * math/s_clogl.c: Likewise.
9164         * math/s_clog10.c: Include <float.h>.
9165         (M_LOG10_2): Define.
9166         (__clog10): Scale large or subnormal inputs.
9167         * math/s_clog10f.c: Likewise.
9168         * math/s_clog10l.c: Likewise.
9169         * math/libm-test.inc (clog_test): Add more tests.
9170         (clog10_test): Likewise.
9171         * sysdeps/i386/fpu/libm-test-ulps: Update.
9172         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9174         [BZ #11451]
9175         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
9176         x and y.
9177         * math/libm-test.inc (atan2_test): Add another test.
9179         * Makerules (common-objdir-compile): Remove.
9180         * sysdeps/unix/Makefile (config-generated): Do not add
9181         $(unix-generated) to variable.
9182         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
9183         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
9184         Remove rule.
9185         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
9186         Likewise.
9187         [generic bits/local_lim.h] (before-compile): Do not append to
9188         variable.
9189         [generic bits/local_lim.h] (common-generated): Likewise.
9190         [generic sys/param.h] (before-compile): Do not append to variable.
9191         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
9192         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
9193         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
9194         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
9195         include.
9196         [generic sys/param.h] (sys/param.h-includes): Remove variable.
9197         [generic sys/param.h] (sys/param.h-includes): Remove rule.
9198         [generic sys/param.h] ($(addprefix
9199         $(common-objpfx),$(sys/param.h-includes))): Likewise.
9200         [generic sys/param.h] (common-generated): Do not append to
9201         variable.
9202         [generic sys/param.h] (sysdep_headers): Likewise.
9203         [generic bits/errno.h] (before-compile): Do not append to
9204         variable.
9205         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
9206         rule.
9207         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
9208         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
9209         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
9210         [generic bits/errno.h] (common-generated): Do not append to
9211         variable.
9212         [generic bits/ioctls.h] (before-compile): Do not append to
9213         variable.
9214         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
9215         rule.
9216         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
9217         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
9218         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
9219         rule.
9220         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
9221         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
9222         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
9223         [generic bits/ioctls.h] (common-generated): Do not append to
9224         variable.
9225         [generic sys/syscall.h] (syscall.h): Remove variable.
9226         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
9227         rule.
9228         [generic sys/syscall.h] (before-compile): Do not append to
9229         variable.
9230         [generic sys/syscall.h] (common-generated): Likewise.
9231         * sysdeps/unix/errnos-tmpl.c: Remove file.
9232         * sysdeps/unix/errnos.awk: Likewise.
9233         * sysdeps/unix/ioctls-tmpl.c: Likewise.
9234         * sysdeps/unix/ioctls.awk: Likewise.
9235         * sysdeps/unix/mk-local_lim.c: Likewise.
9236         * sysdeps/unix/snarf-ioctls: Likewise.
9238 2012-03-19  Richard Henderson  <rth@twiddle.net>
9240         * sysdeps/i386/fpu/fenv_private.h: New file.
9241         * sysdeps/i386/fpu/math_private.h: Use it.
9242         (math_opt_barrier, math_force_eval): Remove.
9243         (libc_feholdexcept_setround_53bit): Remove.
9244         (libc_feupdateenv_53bit): Remove.
9245         * sysdeps/x86_64/fpu/math_private.h: Likewise.
9246         (math_opt_barrier, math_force_eval): Remove.
9247         (libc_feholdexcept): Remove.
9248         (libc_feholdexcept_setround): Remove.
9249         (libc_fetestexcept, libc_fesetenv): Remove.
9250         (libc_feupdateenv_test): Remove.
9251         (libc_feupdateenv, libc_feholdsetround): Remove.
9252         (libc_feresetround): Remove.
9254         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
9255         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
9257         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
9258         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
9259         (libc_feupdateenv_testl): New.
9260         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
9261         (libc_feupdateenv_testf): New.
9262         (libc_feupdateenv): Use libc_feupdateenv_test.
9263         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
9264         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
9266         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
9267         (libc_feholdsetroundf, libc_feholdsetroundl): New.
9268         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
9269         (libc_feresetround_noex): New.
9270         (libc_feresetround_noexf): New.
9271         (libc_feresetround_noexl): New.
9272         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
9273         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
9274         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
9275         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
9276         SET_RESTORE_ROUND.
9277         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
9278         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
9279         (__cos): Likewise.
9280         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
9281         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
9282         SET_RESTORE_ROUND_NOEX.
9283         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
9284         SET_RESTORE_ROUND_NOEXF.
9285         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
9286         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
9287         (libc_feholdsetroundf): New.
9288         (libc_feresetround, libc_feresetroundf): New.
9290         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
9291         (libc_feholdexcept_setround_53bit): Convert from macro to function.
9292         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
9294         * sysdeps/generic/math_private.h: Include <fenv.h>.
9295         (default_libc_feholdexcept): New.
9296         (default_libc_feholdexcept_setround): New.
9297         (default_libc_fesetenv, default_libc_feupdateenv): New.
9298         (libc_feholdexcept): Only define if undefined.
9299         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
9300         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
9301         (libc_feholdexcept_setroundl): Likewise.
9302         (libc_feholdexcept_setround_53bit): Likewise.
9303         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
9304         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
9305         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
9306         (libc_feupdateenv_53bit): Likewise.
9307         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
9308         (libc_feholdexcept): Convert from macro to inline function.
9309         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
9310         (libc_fesetenv, libc_feupdateenv): Likewise.
9312         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
9313         not previously defined.
9314         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
9315         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
9316         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
9317         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
9318         * sysdeps/ieee754/flt-32/math_private.h: New file.
9319         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
9320         math_private.h below SET_FLOAT_WORD.
9321         (__isnan, __isinf_ns, __finite): Remove.
9322         (__isnanf, __isinf_nsf, __finitef): Remove.
9324 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
9326         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9328 2012-03-17  David S. Miller  <davem@davemloft.net>
9330         [BZ #6471]
9331         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
9332         for 2.16.
9334 2012-03-16  David S. Miller  <davem@davemloft.net>
9336         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
9337         warnings.
9339         [BZ #6471]
9340         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
9341         properly.
9342         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
9343         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
9344         sysdep_routines when subdir is sysvipc.
9345         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
9346         __getshmlba helper.
9348         * sysdeps/sparc/fpu/libm-test/ulps: Update.
9350 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
9352         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
9353         [__LP64__].
9355 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
9357         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
9358         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
9359         (__lround): Renamed to ...
9360         (__llround): This.  Replace long int with long long int.
9361         Define lround functions as aliases of llround functions.
9362         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
9364 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
9366         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
9367         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
9368         adresses to uintptr_t.  Replace "long int" and "unsigned long
9369         int" with "greg_t" on va_arg.
9371 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
9373         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
9374         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
9376         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
9377         Move e_machine check before EI_CLASS check.  Handle x32
9378         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
9379         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
9380         SKIP_EM_IA_64 and include
9381         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
9383         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
9384         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
9385         (add_system_dir): New macro.
9387         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
9388         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
9390 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
9392         [BZ #2551]
9393         [BZ #2552]
9394         [BZ #2553]
9395         [BZ #2554]
9396         [BZ #2562]
9397         [BZ #2563]
9398         [BZ #2565]
9399         [BZ #2566]
9400         [BZ #2576]
9401         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
9402         (y0): Likewise.
9403         * math/w_j0f.c (j0f): Likewise.
9404         (y0f): Likewise.
9405         * math/w_j0l.c (__j0l): Likewise.
9406         (__y0l): Likewise.
9407         * math/w_j1.c (j1): Likewise.
9408         (y1): Likewise.
9409         * math/w_j1f.c (j1f): Likewise.
9410         (y1f): Likewise.
9411         * math/w_j1l.c (__j1l): Likewise.
9412         (__y1l): Likewise.
9413         * math/w_jn.c (jn): Likewise.
9414         (yn): Likewise.
9415         * math/w_jnf.c (jnf): Likewise.
9416         (ynf): Likewise.
9417         * math/w_jnl.c (__jnl): Likewise.
9418         (__ynl): Likewise.
9419         * math/libm-test.inc (j0_test): Add more tests.
9420         (j1_test): Likewise.
9421         (jn_test): Likewise.  Add trailing semicolon to existing test.
9422         (y0_test): Likewise.
9423         (y1_test): Likewise.
9424         * sysdeps/i386/fpu/libm-test-ulps: Update.
9425         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9427         [BZ #13851]
9428         [BZ #13854]
9429         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
9430         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
9431         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
9432         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
9433         (__tanl): Set errno for infinite argument.
9434         * sysdeps/i386/fpu/mptan.c: Remove.
9435         * sysdeps/i386/fpu/s_tan.S: Likewise.
9436         * sysdeps/i386/fpu/s_tanl.S: Likewise.
9437         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
9438         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
9439         * math/libm-test.inc (tan_test): Add more tests and enable more
9440         tests for double and long double.
9441         * sysdeps/i386/fpu/libm-test-ulps: Update.
9442         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9444 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
9446         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
9447         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
9449 2012-03-16  Roland McGrath  <roland@hack.frob.com>
9451         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
9452         * configure.in: Use it for both main tree and add-ons.
9453         * configure: Regenerated.
9455 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
9457         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
9459 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
9461         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
9462         in comment.
9464         [BZ #13851]
9465         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
9466         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
9467         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
9468         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
9469         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
9470         infinite argument.
9471         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
9472         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
9473         != 0 for prec == 2.
9474         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
9475         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
9476         * sysdeps/i386/fpu/s_cosl.S: Likewise.
9477         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
9478         * sysdeps/i386/fpu/s_sinl.S: Likewise.
9479         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
9480         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
9481         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
9482         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
9483         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
9484         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
9485         * math/libm-test.inc (cos_test): Add more tests and enable more
9486         tests for long double.
9487         (sin_test): Likewise.
9488         (sincos_test): Likewise.
9489         * sysdeps/i386/fpu/libm-test-ulps: Update.
9490         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9492 2012-03-16  David S. Miller  <davem@davemloft.net>
9494         * sysdeps/sparc/fpu/math_private.h: New file.
9496 2012-03-15  David S. Miller  <davem@davemloft.net>
9498         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
9499         file.
9500         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
9501         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
9502         file.
9503         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
9504         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
9505         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
9506         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
9507         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
9508         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
9509         sysdep routines.
9510         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
9512         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
9513         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
9515         * sysdeps/sparc/sparc-ifunc.h: New file.
9516         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
9517         sparc-ifunc.h
9518         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
9519         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
9520         Likewise.
9521         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
9522         Likewise.
9523         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
9524         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
9525         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
9526         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
9527         Likewise.
9528         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
9529         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
9530         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
9531         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
9532         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
9533         Likewise.
9534         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
9535         Likewise.
9536         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
9537         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
9538         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
9539         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
9540         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
9541         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
9542         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
9543         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
9544         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
9545         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
9546         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
9547         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
9548         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
9549         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
9550         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
9551         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
9552         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
9553         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
9554         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
9555         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
9556         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
9557         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
9558         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
9559         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
9561 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
9563         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
9564         scaling.
9565         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9567 2012-03-15  Andreas Jaeger  <aj@suse.de>
9569         [BZ #13852]
9570         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
9571         ieee754/flt-32 implementation for sin, cos and sincos.
9572         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
9573         * sysdeps/i386/fpu/s_cosf.S: Likewise.
9574         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
9575         * sysdeps/i386/fpu/s_sinf.S: Likewise.
9576         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
9577         ieee754/flt-32 implementation for tan.
9579         * math/libm-test.inc (cos_test): Enable some large input tests for
9580         float as well
9581         (sin_test): Likewise.
9582         (sincos_test): Likewise.
9583         (tan_test): Add tests for large input.
9585         * sysdeps/i386/fpu/libm-test-ulps: Update.
9587 2012-03-15  Andreas Jaeger  <aj@suse.de>
9589         [BZ #13658]
9590         * math/libm-test.inc (cos_test): Add more test cases.
9591         (sin_test): Likewise.
9592         (sincos_test): Likewise.
9594 2012-03-15  Andreas Jaeger  <aj@suse.de>
9596         [BZ #13837]
9597         * math/libm-test.inc (cos_test): Add a test case for large input
9598         value.
9599         (sin_test): Likewise.
9600         (sincos_test): Likewise.
9602 2012-03-15  Andreas Jaeger  <aj@suse.de>,
9603         Joseph Myers  <joseph@codesourcery.com>
9605         [BZ #13658]
9606         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
9607         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
9608         * sysdeps/i386/fpu/branred.c: Likewise.
9609         * sysdeps/i386/fpu/dosincos.c: Likewise.
9610         * sysdeps/i386/fpu/mpa.c: Likewise.
9611         * sysdeps/i386/fpu/s_cos.S: Likewise.
9612         * sysdeps/i386/fpu/s_sin.S: Likewise.
9613         * sysdeps/i386/fpu/s_sincos.S: Likewise.
9614         * sysdeps/i386/fpu/sincos32.c: Likewise.
9616         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
9617         Define.
9618         (libc_feupdateenv_53bit): Define.
9619         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
9620         Define.
9621         (libc_feupdateenv_53bit): Define.
9623         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
9624         53 bit (without extend i386 double precision).
9626         * math/libm-test.inc (sincos_test): Add tests for large input.
9627         (sin): Likewise.
9628         (cos): Likewise.
9630         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
9632 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
9634         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9636 2012-03-15  David S. Miller  <davem@davemloft.net>
9638         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
9639         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
9640         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
9641         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
9642         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
9643         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
9644         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
9645         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
9646         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
9647         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
9648         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
9649         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
9650         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
9651         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
9652         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
9653         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
9654         file.
9655         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
9656         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
9657         file.
9658         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
9659         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
9660         file.
9661         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
9662         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
9663         file.
9664         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
9665         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
9666         fmin/fmax sysdep routines.
9667         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
9669 2012-03-14  David S. Miller  <davem@davemloft.net>
9671         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
9672         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
9673         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
9674         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
9675         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
9676         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
9677         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
9678         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
9679         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
9680         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
9681         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
9682         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
9683         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
9684         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
9685         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
9686         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
9687         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
9688         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
9689         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
9690         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
9691         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
9692         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
9693         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
9694         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
9695         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
9696         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
9697         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
9698         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
9699         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
9700         routines.
9701         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
9702         file.
9703         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
9704         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
9705         file.
9706         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
9707         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
9708         file.
9709         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
9710         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
9711         file.
9712         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
9713         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
9714         file.
9715         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
9716         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
9717         file.
9718         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
9719         file.
9720         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
9721         file.
9722         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
9723         file.
9724         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
9725         New file.
9726         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
9727         file.
9728         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
9729         file.
9730         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
9731         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
9732         file.
9733         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
9734         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
9735         file.
9736         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
9737         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
9738         file.
9739         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
9740         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
9741         VIS3 routines.
9743         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
9744         New file.
9746         * sysdeps/sparc/fpu/libm-test-ulps: Update.
9748         * sysdeps/sparc/configure.in: New file.
9749         * sysdeps/sparc/configure: Generate.
9750         * configure.in (libc_cv_sparc_as_vis3): Substitute.
9751         * configure: Regenerate.
9752         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
9753         * config.make.in (have-as-vis3): New.
9754         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
9755         available use -Av9d instead of -Av9a.
9756         * sysdeps/sparc/sparc64/Makefile: Likewise.
9757         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
9758         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
9759         New file.
9760         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
9761         file.
9762         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
9763         New file.
9764         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
9765         file.
9766         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
9767         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
9768         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
9769         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
9770         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
9772         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
9773         fzeros/fnegs to load 0x80000000 into a float register instead of
9774         using the stack.
9775         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
9777 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
9779         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9780         bits/syscall.h.
9781         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
9782         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
9783         ($(inst_includedir)/bits/syscall.h): Remove rule.
9784         ($(objpfx)bits/syscall.d): Include instead of
9785         $(objpfx)syscall-list.d.
9786         (generated): Change syscall-list.h and syscall-list.d to
9787         bits/syscall.h and bits/syscall.d.
9789 2012-03-14  Roland McGrath  <roland@hack.frob.com>
9791         [BZ #13846]
9792         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
9794 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
9796         [BZ #13841]
9797         * math/s_csqrt.c: Include <float.h>.
9798         (__csqrt): Scale large or subnormal inputs.
9799         * math/s_csqrtf.c: Likewise.
9800         * math/s_csqrtl.c: Likewise.
9801         * math/libm-test.inc (csqrt_test): Add more tests.
9802         * sysdeps/i386/fpu/libm-test-ulps: Update.
9803         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9805         [BZ #13840]
9806         * math/libm-test.inc (hypot_test): Add more tests.
9808 2012-03-13  David S. Miller  <davem@davemloft.net>
9810         [BZ #13840]
9811         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
9812         double-precision for the calculation instead of scaling.
9814 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
9816         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
9817         manipulate bits before adding and subtracting TWO52[sx].
9818         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
9819         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
9820         Likewise.
9821         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
9823 2012-03-13  David S. Miller  <davem@davemloft.net>
9825         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
9826         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
9827         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
9828         rtld-global-offsets.h
9829         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
9831         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
9832         large parameters.
9834         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
9836         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
9837         'err' in the ifdef scope in which it is actually used.
9839         * nss/nss_db/db-init.c: Include string.h
9841 2012-03-12  David S. Miller  <davem@davemloft.net>
9843         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
9844         masking out of the most significant byte of random value used.
9845         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
9846         Fix coding style in previous change.
9848         * sysdeps/unix/sysv/linux/kernel-features.h
9849         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
9850         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
9851         expression.
9852         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
9853         later.
9855 2012-03-11  David S. Miller  <davem@davemloft.net>
9857         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
9858         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
9859         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
9860         for 'resultvar' otherwise things get truncated on 64-bit.
9862         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
9863         Fix masking out of the most significant byte of random value used.
9865         * sysdeps/sparc/fpu/libm-test-ulps: Update.
9867 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
9869         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9871 2012-03-09  David S. Miller  <davem@davemloft.net>
9873         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
9874         variables with appropriate CPP guards.
9875         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
9876         frame pointer, not the stack pointer.  Correct layout comments.  Fix test
9877         on resulting framesize and the management of the outregs buffer for pltexit.
9878         Preserve floating point return values across _dl_call_pltexit call.
9879         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
9880         framesize and the management of the outregs buffer for pltexit.
9881         Preserve floating point return values across _dl_call_pltexit
9882         call.
9883         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
9884         la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
9885         (print_exit): Fix format string for return register value.
9887 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
9889         * sunrpc/Makefile (others): Add rpcgen.
9890         ($(objpfx)rpcgen): Remove special build rule and dependency on
9891         libc.
9892         * sunrpc/rpcgen.c: New file.
9894 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
9896         [BZ #13673]
9897         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
9898         * stdio-common/bug-vfprintf-nargs.c: Likewise.
9899         * sysdeps/i386/crti.S: Likewise.
9900         * sysdeps/i386/crtn.S: Likewise.
9901         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
9902         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
9903         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
9904         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
9905         * sysdeps/sh/crti.S: Likewise.
9906         * sysdeps/sh/crtn.S: Likewise.
9907         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
9909         [BZ #13673]
9910         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
9911         with URL.
9912         * locale/programs/locfile-kw.gperf: Likewise.
9913         * locale/programs/charmap-kw.h: Regenerated.
9914         * locale/programs/locfile-kw.h: Likewise.
9916         [BZ #13673]
9917         * intl/plural.y: Replace FSF snail mail address with URL.
9918         * intl/plural.c: Regenerated.
9920 2012-03-09  Richard Henderson  <rth@twiddle.net>
9922         * include/math_private.h: Remove file.
9923         * math/math_private.h: Move file ...
9924         * sysdeps/generic/math_private.h: ... here.
9926         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
9927         * sysdeps/powerpc/fpu/math_private.h: Likewise.
9928         * sysdeps/x86_64/fpu/math_private.h: Likewise.
9930         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
9931         and <math_private.h>.
9932         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
9933         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
9934         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
9935         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
9936         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
9937         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
9938         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
9939         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
9940         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
9941         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
9942         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
9943         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
9944         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
9945         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
9946         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
9947         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
9948         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
9949         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
9950         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
9951         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
9952         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
9953         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
9954         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
9955         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
9956         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
9957         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
9958         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
9959         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
9960         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
9961         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
9962         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
9963         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
9964         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
9965         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
9966         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
9967         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
9968         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
9969         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
9970         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
9971         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
9972         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
9973         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
9974         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
9975         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
9976         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
9977         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
9978         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
9979         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
9980         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
9981         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
9982         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
9983         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
9984         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
9985         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
9986         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
9987         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
9988         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
9989         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
9990         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
9991         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
9992         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
9993         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
9994         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
9995         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
9996         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
9997         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
9998         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
9999         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
10000         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
10001         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
10002         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
10003         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
10004         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
10005         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
10006         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
10007         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
10008         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
10009         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
10010         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
10011         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
10012         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
10013         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
10014         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
10015         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
10016         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
10017         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
10018         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
10019         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
10020         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
10021         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
10022         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
10023         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
10024         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
10025         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
10026         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
10027         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
10028         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
10029         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
10030         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
10031         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
10032         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
10033         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
10034         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
10035         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
10036         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
10037         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
10038         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
10039         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
10040         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
10041         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
10042         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
10043         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
10044         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
10045         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
10046         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
10047         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
10048         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
10049         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
10050         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
10051         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
10052         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
10053         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
10054         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
10055         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
10056         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
10057         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
10058         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
10059         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
10060         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
10061         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
10062         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
10063         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
10064         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
10065         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
10066         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
10067         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
10068         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
10069         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
10070         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
10071         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
10072         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
10073         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
10074         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
10075         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
10076         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
10077         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
10078         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
10079         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
10080         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
10081         * sysdeps/ieee754/k_standard.c: Likewise.
10082         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
10083         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
10084         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
10085         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
10086         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
10087         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
10088         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
10089         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
10090         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
10091         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
10092         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
10093         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
10094         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
10095         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
10096         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
10097         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
10098         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
10099         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
10100         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
10101         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
10102         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
10103         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
10104         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
10105         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
10106         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
10107         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
10108         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
10109         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
10110         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
10111         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
10112         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
10113         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
10114         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
10115         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
10116         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
10117         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
10118         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
10119         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
10120         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
10121         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
10122         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
10123         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
10124         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
10125         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
10126         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
10127         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
10128         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
10129         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
10130         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
10131         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
10132         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
10133         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
10134         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
10135         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
10136         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
10137         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
10138         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
10139         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
10140         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
10141         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
10142         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
10143         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
10144         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
10145         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
10146         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
10147         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
10148         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
10149         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
10150         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
10151         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
10152         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
10153         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
10154         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
10155         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
10156         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
10157         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
10158         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
10159         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
10160         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
10161         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
10162         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
10163         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
10164         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
10165         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
10166         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
10167         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
10168         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
10169         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
10170         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
10171         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
10172         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
10173         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
10174         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
10175         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
10176         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
10177         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
10178         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
10179         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
10180         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
10181         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
10182         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
10183         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
10184         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
10185         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
10186         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
10187         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
10188         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
10189         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
10190         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
10191         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
10192         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
10193         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
10194         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
10195         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
10196         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
10197         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
10198         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
10199         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
10200         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
10201         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
10202         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
10203         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
10204         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
10205         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
10206         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
10207         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
10208         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
10209         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
10210         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
10211         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
10212         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
10213         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
10214         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
10215         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
10216         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
10217         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
10218         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
10219         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
10220         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
10221         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
10222         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
10223         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
10224         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
10225         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
10226         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
10227         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
10228         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
10229         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
10230         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
10231         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
10232         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
10233         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
10234         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
10235         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
10236         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
10237         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
10238         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
10239         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
10240         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
10241         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
10242         * sysdeps/ieee754/s_lib_version.c: Likewise.
10243         * sysdeps/ieee754/s_matherr.c: Likewise.
10244         * sysdeps/ieee754/s_signgam.c: Likewise.
10245         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
10246         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
10247         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
10248         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
10249         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
10250         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
10251         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
10252         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
10253         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
10254         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
10255         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
10256         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
10257         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
10258         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
10259         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
10260         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
10261         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
10262         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
10263         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
10264         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
10265         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
10267 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
10269         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
10270         * sunrpc/rpc_main.c: Likewise.
10271         * sunrpc/rpc_svcout.c: Likewise.
10273 2012-03-09  David S. Miller  <davem@davemloft.net>
10275         * include/math_private.h: New file.
10277 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
10279         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
10280         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
10281         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
10282         from <bits/socket_type.h>.
10283         (enum __socket_type): Don't define here.
10284         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
10285         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10286         bits/socket_type.h.
10288         [BZ #13566]
10289         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
10290         checking __USE_GNU.
10292         * Makerules ($(inst_includedir)/%.h): New rule.
10293         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
10294         (install-others): Remove variable setting.
10295         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
10297 2012-03-08  Richard Henderson  <rth@twiddle.net>
10299         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
10300         from macro to inline function; merge with the
10301         !__LIBC_INTERNAL_MATH_INLINES version.
10302         (__ieee754_sqrtf): Likewise.
10304         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
10305         to inline function.
10306         (__rintf, __floor, __floorf): Likewise.
10308         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
10309         macro to inline function.
10310         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
10312         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
10313         not <math/math_private.h>.
10315 2012-03-08  David S. Miller  <davem@davemloft.net>
10317         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
10318         copyright year.
10319         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
10321 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
10323         * resolv/gai_misc.c (handle_requests): Fix struct timespec
10324         normalization.
10325         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
10326         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
10328 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
10330         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
10331         be defined individually, they must be defined as a block.  Define
10332         S for printing a string instead of hidint the different by using a
10333         macro for adding the 'l'.
10334         * stdio-common/tst-fphex-wide.c: Adjust.
10336 2012-03-07  Marek Polacek  <polacek@redhat.com>
10338         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
10340 2012-03-08  Marek Polacek  <polacek@redhat.com>
10342         [BZ #13806]
10343         * stdio-common/Makefile (tests): Add tst-fphex-wide.
10344         * stdio-common/tst-fphex.c: Define a few macros to make the
10345         test reusable.  Use them.
10346         * stdio-common/tst-fphex-wide.c: New file.
10348 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
10350         [BZ #6911]
10351         * manual/macros.texi (gnusystems): New macro.
10352         (nongnusystems): Likewise.
10353         (gnulinuxhurdsystems): Likewise.
10354         (gnuhurdsystems): Likewise..
10355         (gnulinuxsystems): Likewise.
10356         * manual/charset.texi: Use new macros or @theglibc{} to refer to
10357         variants of the GNU system, not "GNU system".
10358         * manual/conf.texi: Likewise.
10359         * manual/errno.texi: Likewise.  Update example of errno macro
10360         expansion.
10361         * manual/filesys.texi: Likewise.
10362         (getumask): Document as specific to GNU/Hurd.
10363         * manual/install.texi: Likewise.  Reword some references to
10364         GNU/Linux.
10365         * manual/intro.texi: Likewise.
10366         * manual/io.texi: Likewise.
10367         (File Name Portability): Detail which constraints are inapplicable
10368         to all GNU systems and which are only inapplicable to GNU/Hurd.
10369         * manual/job.texi: Likewise.
10370         * manual/llio.texi: Likewise.
10371         (O_NOCTTY): Document as present on GNU/Linux.
10372         * manual/maint.texi: Likewise.
10373         * manual/memory.texi: Likewise.
10374         * manual/pattern.texi: Likewise.
10375         * manual/pipe.texi: Likewise.
10376         * manual/process.texi: Likewise.
10377         * manual/resource.texi: Likewise.
10378         (RUSAGE_CHILDREN): Remove statement about specifying a particular
10379         child on GNU/Hurd.
10380         * manual/setjmp.texi: Likewise.
10381         * manual/signal.texi: Likewise.
10382         * manual/startup.texi: Likewise.
10383         * manual/stdio.texi: Likewise.
10384         * manual/terminal.texi: Likewise.
10385         (ONLCR): Document as POSIX.
10386         (OXTABS): Document availability on GNU/Linux as XTABS.
10387         (ONOEOT): Document availability separately from other bits.
10388         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
10389         * manual/time.texi: Likewise.
10390         * manual/users.texi: Likewise.
10391         * INSTALL: Regenerated.
10392         * sysdeps/gnu/errlist.c: Regenerated.
10394         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
10395         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
10396         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
10397         puts.
10398         * configure: Regenerated.
10400 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
10402         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
10403         default includes instead of AC_HEADER_CHECK.
10404         * sysdeps/i386/configure: Regenerated.
10406         [BZ #10716]
10407         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
10408         * math/s_cacoshf.c (__cacoshf): Likewise.
10409         * math/s_cacoshl.c (__cacoshl): Likewise.
10410         * math/s_casinh.c (__casinh): Set signs of result from argument.
10411         * math/s_casinhf.c (__casinhf): Likewise.
10412         * math/s_casinhl.c (__casinhl): Likewise.
10413         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
10414         (casinh_test): Add more tests.
10415         * sysdeps/i386/fpu/libm-test-ulps: Update.
10416         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10418 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
10420         * po/zh_TW.po: Update from translation team.
10422         * login/Makefile (distribute): Remove variable.
10423         * catgets/Makefile: Likewise.
10424         * mach/Makefile: Likewise.
10425         * malloc/Makefile: Likewise.
10426         * misc/Makefile: Likewise.
10427         * iconv/Makefile: Likewise.
10428         * nscd/Makefile: Likewise.
10429         * hurd/Makefile: Likewise.
10430         * manual/Makefile: Likewise.
10431         * locale/Makefile: Likewise.
10432         * intl/Makefile: Likewise.
10433         * conform/Makefile: Likewise.
10434         * nss/Makefile: Likewise.
10435         * time/Makefile: Likewise.
10436         * soft-fp/Makefile: Likewise.
10437         * dirent/Makefile: Likewise.
10438         * gmon/Makefile: Likewise.
10439         * po/Makefile: Likewise.
10440         * rt/Makefile: Likewise.
10441         * socket/Makefile: Likewise.
10442         * math/Makefile: Likewise.
10443         * signal/Makefile: Likewise.
10444         * debug/Makefile: Likewise.
10445         * elf/Makefile: Likewise.
10446         * timezone/Makefile: Likewise.
10447         * stdlib/Makefile: Likewise.
10448         * iconvdata/Makefile: Likewise.
10449         * sunrpc/Makefile: Likewise.
10450         * io/Makefile: Likewise.
10451         * argp/Makefile: Likewise.
10452         * inet/Makefile: Likewise.
10453         * hesiod/Makefile: Likewise.
10454         * grp/Makefile: Likewise.
10455         * csu/Makefile: Likewise.
10456         * wctype/Makefile: Likewise.
10457         * crypt/Makefile: Likewise.
10458         * libio/Makefile: Likewise.
10459         * string/Makefile: Likewise.
10460         * nis/Makefile: Likewise.
10461         * resolv/Makefile: Likewise.
10462         * stdio-common/Makefile: Likewise.
10463         * wcsmbs/Makefile: Likewise.
10464         * dlfcn/Makefile: Likewise.
10465         * posix/Makefile: Likewise.
10467         [BZ #6959]
10468         * timezone/Makefile: Don't install timezone files, just the programs
10469         and scripts.
10471 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
10473         * nss/databases.def: Add missing gshadow entry.
10475         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
10477 2012-03-06  Marek Polacek  <polacek@redhat.com>
10479         [BZ #13726]
10480         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
10481         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
10482         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
10483         * stdio-common/tst-long-dbl-fphex.c: New file.
10485 2012-03-06  David S. Miller  <davem@davemloft.net>
10487         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
10488         (set_obp_int): New function.
10489         (get_obp_int): New function.
10490         (__get_clockfreq_via_dev_openprom): Likewise.
10491         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
10492         Avoid unused variable warnings on 'val' and use builtin_expect.
10493         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
10494         __builtin_expect.
10495         (INLINE_CLONE_SYSCALL): Likewise.
10497 2012-03-05  David S. Miller  <davem@davemloft.net>
10499         * sysdeps/sparc/fpu/libm-test-ulps: Update.
10501 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
10503         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10505         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
10506         only for |x| >= 40.
10507         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
10509 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
10511         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
10512         Replace gettimeofday with __vdso_gettimeofday.
10514         * sysdeps/unix/sysv/linux/x86_64/init-first.c
10515         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
10516         __vdso_clock_gettime and __vdso_getcpu.
10518         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
10519         time with __vdso_time.
10521 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
10523         * manual/lang.texi (size_t): Note types to which size_t may be
10524         equivalent with the GNU C Library, but do not describe when
10525         differences between them are significant.
10527 2012-03-05  Andreas Jaeger  <aj@suse.de>
10529         * sysdeps/i386/fpu/libm-test-ulps: Update.
10531 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
10533         [BZ #3976]
10534         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
10535         (__ieee754_pow): Save and restore rounding mode and use
10536         round-to-nearest for main computations.
10537         * math/libm-test.inc (pow_test_tonearest): New function.
10538         (pow_test_towardzero): Likewise.
10539         (pow_test_downward): Likewise.
10540         (pow_test_upward): Likewise.
10541         (main): Call the new functions.
10542         * sysdeps/i386/fpu/libm-test-ulps: Update.
10543         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10545         [BZ #3976]
10546         * math/libm-test.inc (cosh_test_tonearest): New function.
10547         (cosh_test_towardzero): Likewise.
10548         (cosh_test_downward): Likewise.
10549         (cosh_test_upward): Likewise.
10550         (sinh_test_tonearest): Likewise.
10551         (sinh_test_towardzero): Likewise.
10552         (sinh_test_downward): Likewise.
10553         (sinh_test_upward): Likewise.
10554         (main): Call the new functions.
10555         * sysdeps/i386/fpu/libm-test-ulps: Update.
10556         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10558 2012-03-05  Tom de Vries  <tom@codesourcery.com>
10560         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
10561         default stack guard is set in last bytes.
10562         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
10564 2012-03-05  Kees Cook  <keescook@chromium.org>
10566         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
10568         [BZ #13656]
10569         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
10570         possibly allocate from heap instead of stack.
10571         * stdio-common/bug-vfprintf-nargs.c: New file.
10572         * stdio-common/Makefile (tests): Add nargs overflow test.
10574 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
10576         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10578 2012-03-03  Marek Polacek  <polacek@redhat.com>
10580         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
10581         * math/math_private.h: Likewise.
10582         * stdlib/tst-strtod.c: Likewise.
10583         * sysdeps/i386/i486/bits/atomic.h: Likewise.
10584         * sysdeps/x86_64/bits/atomic.h: Likewise.
10586 2012-03-02  David S. Miller  <davem@davemloft.net>
10588         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
10589         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
10590         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
10591         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
10592         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
10593         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
10594         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
10595         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
10597 2012-03-02  Roland McGrath  <roland@hack.frob.com>
10599         [BZ #13792]
10600         * manual/examples/README: New file, says the example source files
10601         can be used under GPL>=2.
10602         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
10603         line containing just "*/".
10604         * manual/examples/add.c: Add copyright header (GPL>=2).
10605         * manual/examples/argp-ex1.c: Likewise.
10606         * manual/examples/argp-ex2.c: Likewise.
10607         * manual/examples/argp-ex3.c: Likewise.
10608         * manual/examples/argp-ex4.c: Likewise.
10609         * manual/examples/atexit.c: Likewise.
10610         * manual/examples/db.c: Likewise.
10611         * manual/examples/dir.c: Likewise.
10612         * manual/examples/dir2.c: Likewise.
10613         * manual/examples/execinfo.c: Likewise.
10614         * manual/examples/filecli.c: Likewise.
10615         * manual/examples/filesrv.c: Likewise.
10616         * manual/examples/fmtmsgexpl.c: Likewise.
10617         * manual/examples/genpass.c: Likewise.
10618         * manual/examples/inetcli.c: Likewise.
10619         * manual/examples/inetsrv.c: Likewise.
10620         * manual/examples/isockad.c: Likewise.
10621         * manual/examples/longopt.c: Likewise.
10622         * manual/examples/memopen.c: Likewise.
10623         * manual/examples/memstrm.c: Likewise.
10624         * manual/examples/mkfsock.c: Likewise.
10625         * manual/examples/mkisock.c: Likewise.
10626         * manual/examples/mygetpass.c: Likewise.
10627         * manual/examples/pipe.c: Likewise.
10628         * manual/examples/popen.c: Likewise.
10629         * manual/examples/rprintf.c: Likewise.
10630         * manual/examples/search.c: Likewise.
10631         * manual/examples/select.c: Likewise.
10632         * manual/examples/setjmp.c: Likewise.
10633         * manual/examples/sigh1.c: Likewise.
10634         * manual/examples/sigusr.c: Likewise.
10635         * manual/examples/stpcpy.c: Likewise.
10636         * manual/examples/strdupa.c: Likewise.
10637         * manual/examples/strftim.c: Likewise.
10638         * manual/examples/strncat.c: Likewise.
10639         * manual/examples/subopt.c: Likewise.
10640         * manual/examples/swapcontext.c: Likewise.
10641         * manual/examples/termios.c: Likewise.
10642         * manual/examples/testopt.c: Likewise.
10643         * manual/examples/testpass.c: Likewise.
10644         * manual/examples/timeval_subtract.c: Likewise.
10646         [BZ #13792]
10647         * manual/time.texi (Elapsed Time): Move timeval_subtract example
10648         function to ...
10649         * manual/timeval_subtract.c.texi: ... here, new file.
10651 2012-03-02  David S. Miller  <davem@davemloft.net>
10653         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
10655 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
10657         [BZ #3976]
10658         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
10659         (__sin): Save and restore rounding mode and use round-to-nearest
10660         for all computations.
10661         (__cos): Save and restore rounding mode and use round-to-nearest
10662         for all computations.
10663         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
10664         <fenv.h>.
10665         (tan): Save and restore rounding mode and use round-to-nearest for
10666         all computations.
10667         * math/libm-test.inc (cos_test_tonearest): New function.
10668         (cos_test_towardzero): Likewise.
10669         (cos_test_downward): Likewise.
10670         (cos_test_upward): Likewise.
10671         (sin_test_tonearest): Likewise.
10672         (sin_test_towardzero): Likewise.
10673         (sin_test_downward): Likewise.
10674         (sin_test_upward): Likewise.
10675         (tan_test_tonearest): Likewise.
10676         (tan_test_towardzero): Likewise.
10677         (tan_test_downward): Likewise.
10678         (tan_test_upward): Likewise.
10679         (main): Call the new functions.
10680         * sysdeps/i386/fpu/libm-test-ulps: Update.
10681         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10683         [BZ #10135]
10684         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
10685         small n, then large n, before computing and testing k+n.
10686         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
10687         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
10688         Likewise.
10689         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
10690         Likewise.
10691         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
10692         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
10693         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
10694         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
10695         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
10696         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
10697         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
10698         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
10699         * math/libm-test.inc (scalbn_test): Add more tests.
10700         (scalbln_test): Likewise.
10702         * manual/filesys.texi (mode_t): Describe constraints on size and
10703         signedness, not exact equivalence to a particular type.
10704         (ino_t): Likewise.
10705         (ino64_t): Likewise.
10706         (dev_t): Likewise.
10707         (nlink_t): Likewise.
10708         (blkcnt_t): Likewise.
10709         (blkcnt64_t): Likewise.
10710         * manual/llio.texi (off_t): Likewise.
10712         [BZ #3976]
10713         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
10714         (__ieee754_exp): Save and restore rounding mode and use
10715         round-to-nearest for all computations.
10716         * math/libm-test.inc (exp_test_tonearest): New function.
10717         (exp_test_towardzero): Likewise.
10718         (exp_test_downward): Likewise.
10719         (exp_test_upward): Likewise.
10720         (main): Call the new functions.
10721         * sysdeps/i386/fpu/libm-test-ulps: Update.
10722         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10724 2012-03-01  Chris Demetriou  <cgd@google.com>
10726         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
10727         have predictable order.
10729 2012-03-01  David S. Miller  <davem@davemloft.net>
10731         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
10733         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
10734         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
10735         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
10736         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
10738         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
10739         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
10740         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
10741         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
10742         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
10743         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
10744         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
10745         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
10746         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
10748         * sysdeps/sparc/fpu/libm-test-ulps: Update.
10750         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
10751         * sysdeps/sparc/fpu/libm-test-ulps: to here.
10752         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
10754         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
10755         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
10756         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
10757         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
10758         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
10759         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
10760         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
10761         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
10762         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
10763         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
10764         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
10765         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
10766         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
10767         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
10768         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
10769         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
10770         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
10771         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
10772         * sysdeps/sparc/elf/configure: Regenerated.
10774 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
10776         * configure.in (AS, LD): Require binutils 2.20 or later.
10777         * configure: Regenerated.
10778         * manual/install.texi (Tools for Compilation): Give binutils 2.20
10779         as required minimum version.
10780         * INSTALL: Regenerated.
10782         [BZ #2541]
10783         [BZ #4108]
10784         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
10785         before squaring exponent.
10786         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
10787         bottom long double and 27 bits of top long double before squaring
10788         exponent.
10789         * math/libm-test.inc (erfc_test): Add more tests.
10790         * sysdeps/i386/fpu/libm-test-ulps: Update.
10791         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
10792         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10794 2012-03-01  Kai Tietz  <ktietz@redhat.com>
10796         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
10797         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
10798         containing bit-fields.
10799         * soft-fp/extended.h (_FP_UNION_E): Likewise.
10800         * soft-fp/single.h (_FP_UNION_S): Likewise.
10801         * soft-fp/double.h (_FP_UNION_D): Likewise.
10803 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
10805         [BZ #13786]
10806         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
10807         not include ../strcmp.S.
10808         [USE_AS_STRNCASECMP_L]: Likewise.
10809         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
10810         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
10811         * sysdeps/i386/i686/multiarch/strncase_l-c.c
10812         (__strncasecmp_l_ia32): Define as alias to
10813         __strncasecmp_l_nonascii.
10815         [BZ #5794]
10816         * math/libm-test.inc (expm1_test): Add test for bug 5794.
10817         * sysdeps/i386/fpu/libm-test-ulps: Update.
10818         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10820         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
10821         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10823 2012-02-29  Jeff Law  <law@redhat.com>
10825         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
10826         out of bounds read.
10828 2012-02-29  Marek Polacek  <polacek@redhat.com>
10830         [BZ #13706]
10831         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
10832         * elf/Makefile: Add rules to run tst-unused-dep.out.
10834 2012-02-28  David S. Miller  <davem@davemloft.net>
10836         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
10837         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
10838         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
10839         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
10840         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
10841         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
10843 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
10845         * math/libm-test.inc (llround_test): Move one test from
10846         lround_test.  Use TEST_f_L in moved test.
10847         (lround_test): Move misplaced test to llround_test.  Add testcase
10848         from bug 2561.
10850 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
10852         * sysdeps/x86_64/fpu/e_expf.S: New file.
10853         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
10855 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
10857         [BZ #13637]
10858         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
10859         of remain_len that may cause incomplete multi-byte character and
10860         false match.
10861         * posix/bug-regex33.c: New file.
10862         * posix/Makefile (tests): Add bug-regex33.
10864 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
10866         * manual/macros.texi: New file.
10867         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
10868         * manual/libc.texinfo: Include macros.texi.
10869         * manual/creatute.texi: Likewise.
10870         * manual/install.texi: Likewise.
10871         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
10872         @glibcadj{} in references to the GNU C Library.
10873         * manual/charset.texi: Likewise.
10874         * manual/conf.texi: Likewise.
10875         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
10876         when not using those macros.
10877         * manual/creature.texi: Likewise.
10878         * manual/crypt.texi: Likewise.
10879         * manual/errno.texi: Likewise.
10880         * manual/filesys.texi: Likewise.
10881         * manual/header.texi: Likewise.
10882         * manual/install.texi: Likewise.
10883         * manual/intro.texi: Likewise.
10884         * manual/io.texi: Likewise.
10885         * manual/job.texi: Likewise.
10886         * manual/lang.texi: Likewise.
10887         * manual/libc.texiinfo: Likewise.
10888         * manual/llio.texi: Likewise.
10889         * manual/locale.texi: Likewise.
10890         * manual/maint.texi: Likewise.
10891         * manual/math.texi: Likewise.
10892         * manual/memory.texi: Likewise.
10893         * manual/message.texi: Likewise.
10894         * manual/nss.texi: Likewise.
10895         * manual/pattern.texi: Likewise.
10896         * manual/process.texi: Likewise.
10897         * manual/resource.texi: Likewise.
10898         * manual/search.texi: Likewise.
10899         * manual/setjmp.texi: Likewise.
10900         * manual/signal.texi: Likewise.
10901         * manual/socket.texi: Likewise.
10902         * manual/startup.texi: Likewise.
10903         * manual/stdio.texi: Likewise.
10904         * manual/string.texi: Likewise.
10905         * manual/sysinfo.texi: Likewise.
10906         * manual/syslog.texi: Likewise.
10907         * manual/terminal.texi: Likewise.
10908         * manual/time.texi: Likewise.
10909         * manual/users.texi: Likewise.
10910         * INSTALL: Regenerated.
10911         * NOTES: Regenerated.
10912         * sysdeps/gnu/errlist.c: Regenerated.
10914 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
10916         * include/dirent.h: Include <dirstream.h> before
10917         <dirent/dirent.h>.
10919 2012-02-28  David S. Miller  <davem@davemloft.net>
10921         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
10922         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
10923         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
10924         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
10926 2012-02-27  David S. Miller  <davem@davemloft.net>
10928         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
10929         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
10930         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
10931         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
10933         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
10934         frame pointer instead of stack pointer relative arg slot.
10935         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
10936         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
10937         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
10939 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
10941         [BZ #3992]
10942         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
10944 2012-02-27  David S. Miller  <davem@davemloft.net>
10946         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
10947         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
10948         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
10949         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
10950         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
10951         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
10952         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
10953         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
10955 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
10957         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
10958         later.  Allow versions 5-9.
10959         * configure: Regenerated.
10960         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
10961         required minimum version and 4.6 as recommended version.  Do not
10962         mention bugs in GCC 2.7 and 2.8.
10963         * INSTALL: Regenerated.
10965 2012-02-27  David S. Miller  <davem@davemloft.net>
10967         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
10968         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
10969         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
10970         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
10971         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
10972         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
10973         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
10974         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
10976         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
10977         manipulate bits before adding and subtracting TWO112[sx].
10978         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
10980 2012-02-27  Roland McGrath  <roland@hack.frob.com>
10982         [BZ #13775]
10983         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
10984         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
10985         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
10986         being in POSIX, because they are in 1003.1-2008.
10988         * rt/tst-aio.c: Include <fcntl.h>.
10989         * rt/tst-aio7.c: Likewise.
10990         * rt/tst-aio64.c: Likewise.
10992         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
10994 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
10996         * manual/install.texi (--with-headers): Describe headers as
10997         interface headers, not private headers.
10998         (Specific advice for GNU/Linux systems): Describe use of headers
10999         from "make headers_install", not private headers from older
11000         kernels.
11001         * INSTALL: Regenerated.
11002         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
11003         Change to 2.6.19.
11004         * sysdeps/unix/sysv/linux/configure: Regenerated.
11006         * manual/llio.texi (fclean): Remove documentation.
11008         * manual/Makefile (libc-texi-generated): New variable.  Include
11009         version.texi.
11010         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
11011         $(libc-texi-generated), not duplicated list of files.
11012         (version.texi, stamp-version): New rules.
11013         (realclean): Remove $(libc-texi-generated), not individual files
11014         from that list.  Do not remove dir-add.texinfo.
11015         * manual/libc.texinfo: Comment out uses of edition numbers and
11016         references to printed manual.  Remove last-updated dates.
11017         (EDITION): Comment out.
11018         (ISBN): Likewise.
11019         (VERSION, UPDATED): Remove.
11020         (version.texi): Include.
11022 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
11024         * sysdeps/posix/spawni.c: Include <signal.h>.
11025         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
11026         * sysdeps/pthread/aio_fsync.c: Likewise.
11028 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
11030         * conform/Makefile (tests): Run only when not cross-compiling and
11031         when fast-check is not defined.
11033         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
11034         * conform/data/limits.h-data: Fixes for POSIX2008.
11035         * conform/run-conformtest.sh: Run all tests.
11036         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
11037         headers.
11038         * include/bits/dlfcn.h: Likewise.
11039         * include/langinfo.h: Likewise.
11040         * include/monetary.h: Likewise.
11041         * include/sys/poll.h: Likewise.
11043         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
11044         for __USE_GNU.
11045         * posix/spawn.h: Define __need_sigset_t.
11046         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
11047         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
11048         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
11049         to get sigevent_t only.
11050         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
11051         only for __USE_GNU.
11052         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
11053         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
11054         process_vm_writev only for __USE_GNU.
11055         * termios/termios.h: Declare tcgetsid also for POSIX2008.
11057         * conform/Makefile: For now ignore errors from run-conformtest.
11058         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
11059         POSIX to avoid namespace pollution.  Don't prepend headers.
11060         * conform/data/aio.h-data: Fixes for POSIX testing.
11061         * conform/data/fcntl.h-data: Likewise.
11062         * conform/data/glob.h-data: Likewise.
11063         * conform/data/grp.h-data: Likewise.
11064         * conform/data/pthread.h-data: Likewise.
11065         * conform/data/pwd.h-data: Likewise.
11066         * conform/data/signal.h-data: Likewise.
11067         * conform/data/spawn.h-data: Likewise.
11068         * conform/data/stdio.h-data: Likewise.
11069         * conform/data/stdlib.h-data: Likewise.
11070         * conform/data/stropts.h-data: Likewise.
11071         * conform/data/sys/mman.h-data: Likewise.
11072         * conform/data/sys/stat.h-data: Likewise.
11073         * conform/data/sys/types.h-data: Likewise.
11074         * conform/data/sys/wait.h-data: Likewise.
11075         * conform/data/time.h-data: Likewise.
11076         * conform/data/unistd.h-data: Likewise.
11077         * conform/data/utime.h-data: Likewise.
11079         * io/sys/stat.h: fchmod was always in POSIX.
11080         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
11081         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
11082         * rt/aio.h: Define __need_timespec before including <time.h>.
11083         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
11084         struct.  Add forward declaration of pthread_attr_t and use it in
11085         sigevent.
11086         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
11087         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
11088         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
11089         always remove CLK_TCK definition.
11091 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
11093         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
11095 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
11097         * conform/run-conformtest.sh: New file.
11098         * conform/Makefile: Run run-conformtest for tests.
11099         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
11100         support.
11102         * conform/data/uchar.h-data: New file.
11103         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
11104         * conform/data/arpa/inet.h-data: Likewise.
11105         * conform/data/assert.h-data: Likewise.
11106         * conform/data/complex.h-data: Likewise.
11107         * conform/data/cpio.h-data: Likewise.
11108         * conform/data/ctype.h-data: Likewise.
11109         * conform/data/dirent.h-data: Likewise.
11110         * conform/data/dlfcn.h-data: Likewise.
11111         * conform/data/errno.h-data: Likewise.
11112         * conform/data/fcntl.h-data: Likewise.
11113         * conform/data/float.h-data: Likewise.
11114         * conform/data/fmtmsg.h-data: Likewise.
11115         * conform/data/fnmatch.h-data: Likewise.
11116         * conform/data/ftw.h-data: Likewise.
11117         * conform/data/glob.h-data: Likewise.
11118         * conform/data/grp.h-data: Likewise.
11119         * conform/data/iconv.h-data: Likewise.
11120         * conform/data/inttypes.h-data: Likewise.
11121         * conform/data/langinfo.h-data: Likewise.
11122         * conform/data/libgen.h-data: Likewise.
11123         * conform/data/limits.h-data: Likewise.
11124         * conform/data/locale.h-data: Likewise.
11125         * conform/data/math.h-data: Likewise.
11126         * conform/data/monetary.h-data: Likewise.
11127         * conform/data/mqueue.h-data: Likewise.
11128         * conform/data/ndbm.h-data: Likewise.
11129         * conform/data/net/if.h-data: Likewise.
11130         * conform/data/netdb.h-data: Likewise.
11131         * conform/data/netinet/in.h-data: Likewise.
11132         * conform/data/nl_types.h-data: Likewise.
11133         * conform/data/poll.h-data: Likewise.
11134         * conform/data/pthread.h-data: Likewise.
11135         * conform/data/pwd.h-data: Likewise.
11136         * conform/data/regex.h-data: Likewise.
11137         * conform/data/sched.h-data: Likewise.
11138         * conform/data/search.h-data: Likewise.
11139         * conform/data/semaphore.h-data: Likewise.
11140         * conform/data/setjmp.h-data: Likewise.
11141         * conform/data/signal.h-data: Likewise.
11142         * conform/data/spawn.h-data: Likewise.
11143         * conform/data/stdarg.h-data: Likewise.
11144         * conform/data/stdio.h-data: Likewise.
11145         * conform/data/stdlib.h-data: Likewise.
11146         * conform/data/string.h-data: Likewise.
11147         * conform/data/strings.h-data: Likewise.
11148         * conform/data/stropts.h-data: Likewise.
11149         * conform/data/sys/ipc.h-data: Likewise.
11150         * conform/data/sys/mman.h-data: Likewise.
11151         * conform/data/sys/msg.h-data: Likewise.
11152         * conform/data/sys/resource.h-data: Likewise.
11153         * conform/data/sys/select.h-data: Likewise.
11154         * conform/data/sys/sem.h-data: Likewise.
11155         * conform/data/sys/shm.h-data: Likewise.
11156         * conform/data/sys/socket.h-data: Likewise.
11157         * conform/data/sys/stat.h-data: Likewise.
11158         * conform/data/sys/statvfs.h-data: Likewise.
11159         * conform/data/sys/time.h-data: Likewise.
11160         * conform/data/sys/timeb.h-data: Likewise.
11161         * conform/data/sys/times.h-data: Likewise.
11162         * conform/data/sys/types.h-data: Likewise.
11163         * conform/data/sys/uio.h-data: Likewise.
11164         * conform/data/sys/un.h-data: Likewise.
11165         * conform/data/sys/utsname.h-data: Likewise.
11166         * conform/data/sys/wait.h-data: Likewise.
11167         * conform/data/syslog.h-data: Likewise.
11168         * conform/data/tar.h-data: Likewise.
11169         * conform/data/termios.h-data: Likewise.
11170         * conform/data/utime.h-data: Likewise.
11171         * conform/data/utmpx.h-data: Likewise.
11172         * conform/data/varargs.h-data: Likewise.
11173         * conform/data/wchar.h-data: Likewise.
11174         * conform/data/wctype.h-data: Likewise.
11175         * conform/data/wordexp.h-data: Likewise.
11177         * include/stropts.h: New file.
11178         * include/uchar.h: New file.
11179         * include/aio.h: Changes to allow conformtest.pl to use the headers.
11180         * include/assert.h: Likewise.
11181         * include/ctype.h: Likewise.
11182         * include/dirent.h: Likewise.
11183         * include/dlfcn.h: Likewise.
11184         * include/fcntl.h: Likewise.
11185         * include/fnmatch.h: Likewise.
11186         * include/glob.h: Likewise.
11187         * include/grp.h: Likewise.
11188         * include/libio.h: Likewise.
11189         * include/locale.h: Likewise.
11190         * include/math.h: Likewise.
11191         * include/net/if.h: Likewise.
11192         * include/netdb.h: Likewise.
11193         * include/netinet/in.h: Likewise.
11194         * include/pthread.h: Likewise.
11195         * include/pwd.h: Likewise.
11196         * include/regex.h: Likewise.
11197         * include/sched.h: Likewise.
11198         * include/search.h: Likewise.
11199         * include/setjmp.h: Likewise.
11200         * include/signal.h: Likewise.
11201         * include/stdio.h: Likewise.
11202         * include/stdlib.h: Likewise.
11203         * include/string.h: Likewise.
11204         * include/sys/cdefs.h: Likewise.
11205         * include/sys/mman.h: Likewise.
11206         * include/sys/msg.h: Likewise.
11207         * include/sys/resource.h: Likewise.
11208         * include/sys/select.h: Likewise.
11209         * include/sys/socket.h: Likewise.
11210         * include/sys/stat.h: Likewise.
11211         * include/sys/statvfs.h: Likewise.
11212         * include/sys/time.h: Likewise.
11213         * include/sys/times.h: Likewise.
11214         * include/sys/uio.h: Likewise.
11215         * include/sys/utsname.h: Likewise.
11216         * include/sys/wait.h: Likewise.
11217         * include/termios.h: Likewise.
11218         * include/time.h: Likewise.
11219         * include/ulimit.h: Likewise.
11220         * include/unistd.h: Likewise.
11221         * include/utime.h: Likewise.
11222         * include/wchar.h: Likewise.
11223         * include/wctype.h: Likewise.
11224         * include/wordexp.h: Likewise.
11226         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
11228         * time/time.h: TIME_UTC must be a macro.
11229         Make timespec_get available for ISO C11 only as well.
11231 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
11233         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
11234         Reported by Peng Haitao <penght@cn.fujitsu.com>.
11236 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
11238         * configure.in: Use -o not -a in test for unsupported multi-arch.
11240 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
11242         * manual/texinfo.tex: Update to version 2012-01-19.16.
11244 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
11246         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
11248 2012-02-24  Roland McGrath  <roland@hack.frob.com>
11250         [BZ #13738]
11251         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
11252         * manual/fdl-1.3.texi: New file.
11253         * manual/fdl-1.1.texi: File removed.
11255         [BZ #13738]
11256         * manual/libc.texinfo (FDL_VERSION): New @set.
11257         Use it for mention of FDL in cover text.
11258         (Documentation License): Use it in @include file name.
11260 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
11261             Roland McGrath  <roland@hack.frob.com>
11263         [BZ #5461]
11264         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
11265         not LONG_LONG_MAX and LONG_LONG_MIN.
11266         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
11267         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
11268         name.
11269         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
11271 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
11273         [BZ #2547]
11274         [BZ #11365]
11275         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
11276         manipulate bits before adding and subtracting TWO23[sx].
11277         * math/libm-test.inc (nearbyint_test): Add more tests.
11279 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
11281         [BZ #2548]
11282         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
11283         bits before adding and subtracting TWO23[sx].
11284         * math/libm-test.inc (rint_test): Add more tests.
11285         (rint_test_tonearest): Likewise.
11286         (rint_test_towardzero): Likewise.
11287         (rint_test_downward): Likewise.
11288         (rint_test_upward: Likewise.
11290 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
11292         [BZ #10110]
11293         * include/stdc-predef.h: New file.  Extracted from features.h.
11294         * include/features.h: Include stdc-predef.h.
11295         * Makefile (headers): Add stdc-predef.h.
11296         * CONFORMANCE (Compiler limitations): Update.
11298 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
11300         * manual/libc.texinfo (VERSION, UPDATED): Revert.
11302 2012-02-21  David S. Miller  <davem@davemloft.net>
11304         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
11305         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
11307 2012-02-20  David S. Miller  <davem@davemloft.net>
11309         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
11310         using a normal save/restore sequence, rather than allocating a
11311         dummy stack frame just to store a frame pointer and restore.
11312         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
11314 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
11316         * manual/install.texi: Fix stray word in line-wrapped comment.
11318 2012-02-20  David S. Miller  <davem@davemloft.net>
11320         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
11321         both binutils and gcc support GOTDATA.
11323         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
11324         "rd %pc" in the PIC register setup sequences.
11326         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
11327         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
11328         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
11329         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
11330         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
11331         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
11332         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
11333         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
11334         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
11335         (SYSCALL_ERROR_HANDLER): Likewise.
11336         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
11337         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
11338         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
11339         (SYSCALL_ERROR_HANDLER): Likewise.
11341         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
11342         (HAVE_GCC_GOTDATA): New.
11343         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
11344         relocation support in both binutils and gcc.
11345         * sysdeps/sparc/elf/configure: Regenerate.
11347         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
11348         * sysdeps/sparc/sparc32/elf/configure: Delete.
11349         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
11350         * sysdeps/sparc/sparc64/elf/configure: Delete.
11351         * sysdeps/sparc/elf/configure.in: New file.
11352         * sysdeps/sparc/elf/configure: Generate.
11354         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
11355         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
11356         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
11357         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
11358         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
11360 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
11362         * manual/install.texi: Do not mention specific glibc version
11363         numbers.
11364         * manual/libc.texinfo (VERSION, UPDATED): Update.
11365         (@copying): Use @copyright{} and range of years.
11367 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
11369         [BZ #13695]
11370         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
11371         [crti.S not in sysdirs] (generated): Do not append.
11372         [crti.S not in sysdirs] (omit-deps): Likewise.
11373         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
11374         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
11375         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
11376         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
11377         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
11378         Likewise.
11379         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
11380         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
11381         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
11382         * csu/defs.awk: Remove file.
11383         * sysdeps/generic/initfini.c: Likewise.
11384         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
11385         variable.
11386         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
11387         Likewise.
11389 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
11391         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
11392         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
11393         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
11394         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
11395         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
11396         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
11397         <bits/epoll.h>.
11398         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
11399         (__EPOLL_PACKED): Define to empty if not defined by
11400         <bits/epoll.h>.
11401         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
11402         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11403         bits/epoll.h.
11405 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
11407         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
11408         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
11409         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
11410         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
11411         <bits/timerfd.h>.
11412         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
11413         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11414         bits/timerfd.h.
11416 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
11418         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
11419         in C locale.
11420         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
11421         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
11422         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
11423         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11425 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
11427         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
11428         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
11430 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
11432         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
11433         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
11434         defined.
11435         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
11436         Likewise.
11437         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
11438         entry for 2.16.
11440 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
11442         * math/w_acos.c: Use non-signaling floating-point comparisons.
11443         * math/w_acosf.c: Likewise.
11444         * math/w_acosh.c: Likewise.
11445         * math/w_acoshf.c: Likewise.
11446         * math/w_acoshl.c: Likewise.
11447         * math/w_acosl.c: Likewise.
11448         * math/w_asin.c: Likewise.
11449         * math/w_asinf.c: Likewise.
11450         * math/w_asinl.c: Likewise.
11451         * math/w_atanh.c: Likewise.
11452         * math/w_atanhf.c: Likewise.
11453         * math/w_atanhl.c: Likewise.
11454         * math/w_exp2.c: Likewise.
11455         * math/w_exp2f.c: Likewise.
11456         * math/w_exp2l.c: Likewise.
11457         * math/w_j0.c: Likewise.
11458         * math/w_j0f.c: Likewise.
11459         * math/w_j0l.c: Likewise.
11460         * math/w_j1.c: Likewise.
11461         * math/w_j1f.c: Likewise.
11462         * math/w_j1l.c: Likewise.
11463         * math/w_jn.c: Likewise.
11464         * math/w_jnf.c: Likewise.
11465         * math/w_log.c: Likewise.
11466         * math/w_log10.c: Likewise.
11467         * math/w_log10f.c: Likewise.
11468         * math/w_log10l.c: Likewise.
11469         * math/w_log2.c: Likewise.
11470         * math/w_log2f.c: Likewise.
11471         * math/w_log2l.c: Likewise.
11472         * math/w_logf.c: Likewise.
11473         * math/w_logl.c: Likewise.
11474         * math/w_sqrt.c: Likewise.
11475         * math/w_sqrtf.c: Likewise.
11476         * math/w_sqrtl.c: Likewise.
11477         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
11478         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
11479         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
11480         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
11481         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
11483 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
11485         [BZ #9739]
11486         * manual/string.texi (strnlen): Use correct parameter name in
11487         equivalent expression.
11489 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
11491         [BZ #11174]
11492         * manual/users.texi (seteuid): Consistently use neweuid for
11493         argument name.
11495 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
11497         [BZ #13704]
11498         * manual/nss.texi (Services in the NSS configuration): Correct
11499         list of services in example configuration file.
11501 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
11503         [BZ #11322]
11504         * manual/arith.texi: Remove statements about negative zero
11505         behaving identically to zero.
11507 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
11509         [BZ #5993]
11510         * manual/install.texi: Do not document upgrading from libc5.
11512 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
11514         [BZ #4596]
11515         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
11517 2012-02-18  David S. Miller  <davem@davemloft.net>
11519         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
11520         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
11521         %o7 across the call.
11522         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
11523         instead.
11524         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
11525         SETUP_PIC_REG_LEAF.
11526         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
11527         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
11528         * sysdeps/sparc/crtn.S: Likewise.
11530 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
11532         * aout/Makefile: Remove.
11534 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
11536         [BZ #13058]
11537         * manual/examples/argp-ex1.c (main): Format definition in GNU
11538         style.
11539         * manual/examples/argp-ex2.c (main): Likewise.
11540         * manual/examples/argp-ex3.c (main): Likewise.
11541         * manual/examples/argp-ex4.c (main): Likewise.
11542         * manual/examples/longopt.c (main): Use new-style prototype
11543         definition.
11544         * manual/examples/strncat.c (main): Specify return type and use
11545         (void) for arguments.
11546         * manual/examples/subopt.c (main): Use char **argv argument.
11548 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
11550         [BZ #5077]
11551         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
11552         rounding modes.
11554 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
11556         [BZ #6907]
11557         * manual/string.texi (strchr): Change when strchrnul is
11558         recommended.
11560 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
11562         [BZ #174]
11563         * manual/locale.texi (setlocale): Document LOCPATH.
11565 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
11567         [BZ #10210]
11568         * manual/process.texi (execle): Move @dots{} before last argument.
11570 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
11572         [BZ #12047]
11573         * manual/charset.texi (Generic Charset Conversion): Fix typo
11574         (LC_TYPE -> LC_CTYPE).
11576 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
11578         [BZ #5805]
11579         * manual/arith.texi (scalbn): Use @var{} on parameter names.
11580         (scalbnf): Likewise.
11581         (scalbnl): Likewise.
11582         (scalbln): Likewise.
11583         (scalblnf): Likewise.
11584         (scalblnl): Likewise.
11585         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
11586         (vwarnx): Likewise.
11587         (verr): Likewise.
11588         (verrx): Likewise.
11589         * manual/filesys.texi (telldir): Use braces around return type.
11590         * manual/llio.texi (mmap): Add space after comma.
11591         (mmap64): Likewise.
11592         * manual/math.texi (jn): Use @var{} on parameter names.
11593         (jnf): Likewise.
11594         (jnl): Likewise.
11595         (yn): Likewise.
11596         (ynf): Likewise.
11597         (ynl): Likewise.
11598         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
11599         line.
11600         * manual/resource.texi (ulimit): Use @dots{} instead of literal
11601         "...".
11602         (sched_get_priority_min): Remove semicolon on @deftypefun line.
11603         (sched_get_priority_max): Likewise.
11604         * manual/signal.texi (sigvec): Add space after comma.
11605         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
11606         names.
11607         (if_indextoname): Likewise.
11608         (if_freenameindex): Likewise.
11609         (sendto): Use ',' instead of '.' in prototype.
11610         * manual/startup.texi (syscall): Use @dots{} instead of literal
11611         "...".
11612         * manual/stdio.texi (__fpending): Separate initial words of
11613         paragraph from @deftypefun line.
11614         * manual/syslog.texi (syslog): Use @dots{} instead of literal
11615         "...".
11616         (vsyslog): Use @var{} on parameter names.
11617         * manual/terminal.texi (stty): Use @var{} on parameter names.
11618         * manual/users.texi (getutmp): Use @var{} on parameter names.
11619         (getutmpx): Likewise.
11621 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
11623         [BZ #6884]
11624         * manual/stdio.texi (fopen): Fix typos in description of
11625         ",ccs=STRING".
11627 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
11629         [BZ #4026]
11630         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
11631         get clock_id definition.
11633 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
11635         [BZ #4822]
11636         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
11637         (madvise): Cast every argument to void on its own.
11639 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
11641         [BZ #9902]
11642         * manual/startup.texi (Exit Status): Fix typo.
11644 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
11646         [BZ #10140]
11647         * manual/examples/argp-ex1.c: Include <stdlib.h>.
11648         * manual/examples/argp-ex2.c: Likewise.
11649         * manual/examples/argp-ex3.c: Likewise.
11651 2012-02-16  Richard Henderson  <rth@redhat.com>
11653         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
11654         * sysdeps/s390/s390-32/initfini.c: Remove.
11655         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
11656         * sysdeps/s390/s390-64/initfini.c: Remove.
11658 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
11660         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
11661         compiler output for sysdeps/generic/initfini.c.
11662         * sysdeps/sh/elf/initfini.c: Remove file.
11664 2012-02-16  David S. Miller  <davem@davemloft.net>
11666         [BZ #11494]
11667         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
11669         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
11670         * sysdeps/sparc/crti.S: New file.
11671         * sysdeps/sparc/crtn.S: New file.
11672         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
11673         * sysdeps/sparc/sparc64/Makefile: Likewise.
11675 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
11677         [BZ #3335]
11678         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
11680 2012-02-15  Roland McGrath  <roland@hack.frob.com>
11682         [BZ #4822]
11683         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
11685         * mach/devstream.c (cookie_io_functions_t): Macro removed.
11686         (write, read, close): Likewise.
11687         Patch by Aurelien Jarno <aurelien@aurel32.net>.
11689 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
11691         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
11692         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
11693         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
11694         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
11695         <bits/signalfd.h>.
11696         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
11697         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11698         bits/signalfd.h.
11700 2012-02-14  Marek Polacek  <polacek@redhat.com>
11702         * sysdeps/x86_64/crti.S: New file.
11703         * sysdeps/x86_64/crtn.S: New file.
11704         * sysdeps/x86_64/elf/initfini.c: Remove file.
11706 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
11708         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
11709         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
11710         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
11711         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
11712         <bits/inotify.h>.
11713         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
11714         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11715         bits/inotify.h.
11717 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
11719         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
11720         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
11721         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
11722         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
11723         <bits/eventfd.h>.
11724         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
11725         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11726         bits/eventfd.h.
11728 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
11730         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
11731         __feraiseexcept instead of feraiseexcept.
11733         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
11734         nanosleep invocations.
11735         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
11736         strings, and add error checking for a nanosleep invocations.
11738 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
11740         Replace FSF snail mail address with URLs, as per GNU coding standards.
11741         Most of the snail mail addresses were wrong anyway, and omitting
11742         them makes the source code easier to maintain.  Almost all of the
11743         changes are to license notices and to locale LC_IDENTIFICATION
11744         addresses, except for this one:
11745         * manual/libc.texinfo: In "Published by", give the FSF's URL,
11746         not its snail mail address.
11748 2012-02-09  Richard Henderson  <rth@twiddle.net>
11750         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
11751         of kernel-features.h.
11753         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
11755 2012-02-08  Marek Polacek  <polacek@redhat.com>
11757         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
11758         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
11759         * sysdeps/gnu/_G_config.h: Likewise.
11760         * sysdeps/generic/_G_config.h: Likewise.
11762 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
11764         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
11765         tests.
11766         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11768         * sysdeps/powerpc/powerpc32/crti.S: New file.
11769         * sysdeps/powerpc/powerpc32/crtn.S: New file.
11770         * sysdeps/powerpc/powerpc64/crti.S: New file.
11771         * sysdeps/powerpc/powerpc64/crtn.S: New file.
11773         * Makeconfig (have-initfini): Don't set.
11774         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
11775         * configure.in (nopic_initfini): Don't substitute.
11776         * config.h.in (HAVE_INITFINI): Don't #undef.
11777         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
11778         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
11780 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
11782         Support crti.S and crtn.S provided directly by architectures.
11783         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
11784         [crti.S in sysdirs] (omit-deps): Likewise.
11785         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
11786         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
11787         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
11788         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
11789         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
11790         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
11791         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
11792         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
11793         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
11794         compiler output for sysdeps/generic/initfini.c.
11795         * sysdeps/i386/elf/Makefile: Remove file.
11796         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
11798 2012-02-07  Marek Polacek  <polacek@redhat.com>
11800         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
11801         * sysdeps/gnu/_G_config.h: Likewise.
11802         * sysdeps/mach/hurd/_G_config.h: Likewise.
11804 2012-02-07  Marek Polacek  <polacek@redhat.com>
11806         * math/Makefile (tests): Add tst-CMPLX2.
11807         * math/tst-CMPLX2.c: New file.
11809 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
11811         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
11813         * math/libm-test.inc (jn_test): Add missing L suffix.
11815 2012-02-06  Marek Polacek  <polacek@redhat.com>
11817         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
11818         * sysdeps/i386/fpu/e_powf.S: Likewise.
11819         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
11820         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
11821         * sysdeps/i386/fpu/e_acosh.S: Likewise.
11822         * sysdeps/i386/fpu/e_pow.S: Likewise.
11823         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
11824         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
11825         * sysdeps/i386/fpu/s_expm1.S: Likewise.
11826         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
11827         * sysdeps/i386/fpu/e_log2.S: Likewise.
11828         * sysdeps/i386/fpu/e_log2l.S: Likewise.
11829         * sysdeps/i386/fpu/e_scalb.S: Likewise.
11830         * sysdeps/i386/fpu/e_powl.S: Likewise.
11831         * sysdeps/i386/fpu/s_log1p.S: Likewise.
11832         * sysdeps/i386/fpu/e_log10f.S: Likewise.
11833         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
11834         * sysdeps/i386/fpu/e_logl.S: Likewise.
11835         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
11836         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
11837         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
11838         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
11839         * sysdeps/i386/fpu/e_log2f.S: Likewise.
11840         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
11841         * sysdeps/i386/fpu/e_log.S: Likewise.
11842         * sysdeps/i386/fpu/s_cexp.S: Likewise.
11843         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
11844         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
11845         * sysdeps/i386/fpu/e_logf.S: Likewise.
11846         * sysdeps/i386/fpu/e_log10l.S: Likewise.
11847         * sysdeps/i386/fpu/e_atanh.S: Likewise.
11848         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
11849         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
11850         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
11851         * sysdeps/i386/fpu/e_log10.S: Likewise.
11852         * sysdeps/i386/fpu/s_frexp.S: Likewise.
11853         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
11854         * sysdeps/i386/fpu/s_asinh.S: Likewise.
11855         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
11856         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
11857         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
11858         * sysdeps/i386/asm-syntax.h: Likewise.
11859         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
11860         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
11861         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
11862         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
11863         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
11864         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
11865         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
11866         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
11867         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
11868         * sysdeps/powerpc/sysdep.h: Likewise.
11869         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
11870         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
11872 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
11874         [BZ #411]
11875         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
11877 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
11879         * sysdeps/i386/sysdep.h: Include <features.h>.
11880         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
11881         version.
11883 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
11885         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
11886         Define.
11887         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
11888         LOAD_PIC_REG_STR.
11890 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
11892         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
11893         (SETUP_PIC_REG): Use GET_PC_THUNK.
11894         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
11895         macro.
11897 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
11899         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
11900         for non-PIC compilation.
11901         (SETUP_PIC_REG): Add .p2align directive.
11902         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
11903         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
11904         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
11905         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
11906         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
11907         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
11908         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
11909         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
11910         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
11911         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
11912         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
11913         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
11914         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
11915         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
11916         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
11917         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
11918         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
11919         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
11920         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
11921         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
11922         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
11923         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
11924         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
11925         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
11926         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
11927         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
11928         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
11929         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
11930         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
11931         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
11932         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
11933         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
11934         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
11935         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
11936         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
11937         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
11938         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
11939         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
11940         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
11941         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
11942         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
11944 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
11946         * math/tst-CMPLX.c: Include <stdio.h>.
11948 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
11950         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
11951         float.
11952         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
11953         * sysdeps/sparc/bits/mathdef.h: Likewise.
11955 2012-01-31  Marek Polacek  <polacek@redhat.com>
11957         * libio/libio.h: Don't define _PARAMS.
11958         * locale/programs/config.h: Don't define PARAMS.
11959         * stdlib/strtol_l.c: Likewise.
11960         (__strtol_l): Remove PARAMS from the prototype.
11962 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
11964         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
11965         names.  Just use the correct names.  Remove unnecessary wrapper
11966         functions.
11967         * malloc/arena.c: Likewise.
11968         * malloc/hooks.c: Likewise.
11970         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
11971         ARENA_TEST says not to.  Simplify test for creation of a new arena.
11972         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
11974 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
11976         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
11977         into tail calls.
11978         (update_get_addr): New function.
11979         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
11980         GET_ADDR_MODULE parameter.
11982 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
11984         * crypt/cert.c: Remove __STDC__ conditionals.
11985         * crypt/crypt-entry.c: Likewise.
11986         * crypt/crypt_util.c: Likewise.
11987         * libio/filedoalloc.c: Likewise.
11988         * libio/fileops.c: Likewise.
11989         * libio/genops.c: Likewise.
11990         * libio/iofclose.c: Likewise.
11991         * libio/iofdopen.c: Likewise.
11992         * libio/iofopen.c: Likewise.
11993         * libio/iofopen64.c: Likewise.
11994         * libio/iogetdelim.c: Likewise.
11995         * libio/iopopen.c: Likewise.
11996         * libio/obprintf.c: Likewise.
11997         * libio/oldfileops.c: Likewise.
11998         * libio/oldiofclose.c: Likewise.
11999         * libio/oldiofdopen.c: Likewise.
12000         * libio/oldiofopen.c: Likewise.
12001         * libio/oldiopopen.c: Likewise.
12002         * libio/wfiledoalloc.c: Likewise.
12003         * libio/wgenops.c: Likewise.
12004         * locale/programs/xmalloc.c: Likewise.
12005         * misc/syslog.c: Likewise.
12006         * stdio-common/xbug.c: Likewise.
12007         * string/memchr.c: Likewise.
12008         * string/memcmp.c: Likewise.
12009         * string/memrchr.c: Likewise.
12010         * string/rawmemchr.c: Likewise.
12011         * sysdeps/posix/getcwd.c: Likewise.
12012         * time/strftime_l.c: Likewise.
12014 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
12016         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
12017         * config.make.in (config-cflags-sse2avx): Define.
12018         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
12019         Fix typo.
12021 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
12023         * scripts/config.guess: Update from upstream config git repository.
12024         * scripts/config.sub: Likewise.
12026 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
12028         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
12029         (EM_NUM): Update.
12030         (R_TILEPRO_*, R_TILEGX_*): New macros.
12032         * scripts/firstversions.awk: Fix bug in version range handling.
12034         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
12036         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
12038         * include/sys/epoll.h: New file.
12039         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
12040         libc_hidden_def.
12042 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
12044         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
12045         Avoid unnecessary __WORDSIZE == 64 test.
12046         (fmaxf): Use VEX format if possible.
12047         (fmax): Likewise.
12048         (fminf): Likewise.
12049         (fmin): Likewise.
12051         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
12052         * math/math_private.h: Remove libc_fegetround* and
12053         libc_fesetround*.
12054         * sysdeps/i386/configure.in: Check for -msse2avx.
12055         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
12056         also if SSE2AVX is defined.
12057         Remove libc_fegetround* and libc_fesetround*.
12058         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
12059         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
12060         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
12061         of HAS_YMM_USABLE.
12062         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
12063         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
12064         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
12065         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
12066         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
12068         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
12070 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12072         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
12073         size is not set.
12074         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
12076 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
12078         [BZ #13618]
12079         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
12080         relocation.
12081         * Makeconfig (libm): Define.
12082         * elf/Makefile: Add rules to build and run tst-relsort1.
12083         * elf/tst-relsort1.c: New file.
12084         * elf/tst-relsort1mod1.c: New file.
12085         * elf/tst-relsort1mod2.c: New file.
12087 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
12089         * math/s_ldexp.c: Remove __STDC__ conditionals.
12090         * math/s_ldexpf.c: Likewise.
12091         * math/s_ldexpl.c: Likewise.
12092         * math/s_nextafter.c: Likewise.
12093         * math/s_nexttowardf.c: Likewise.
12094         * math/s_significand.c: Likewise.
12095         * math/s_significandf.c: Likewise.
12096         * math/s_significandl.c: Likewise.
12097         * math/w_jnl.c: Likewise.
12098         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
12099         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
12100         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
12101         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
12102         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
12103         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
12104         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
12105         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
12106         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
12107         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
12108         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
12109         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
12110         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
12111         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
12112         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
12113         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
12114         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
12115         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
12116         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
12117         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
12118         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
12119         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
12120         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
12121         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
12122         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
12123         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
12124         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
12125         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
12126         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
12127         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
12128         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
12129         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
12130         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
12131         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
12132         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
12133         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
12134         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
12135         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
12136         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
12137         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
12138         * sysdeps/ieee754/k_standard.c: Likewise.
12139         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
12140         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
12141         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
12142         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
12143         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
12144         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
12145         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
12146         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
12147         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
12148         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
12149         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
12150         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
12151         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
12152         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
12153         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
12154         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
12155         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
12156         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
12157         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
12158         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
12159         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
12160         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
12161         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
12162         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
12163         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
12164         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
12165         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
12166         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
12167         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
12168         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
12169         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
12170         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
12171         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
12172         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
12173         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
12174         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
12175         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
12176         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
12177         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
12178         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
12179         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
12180         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
12181         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
12182         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
12183         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
12184         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
12185         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
12186         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
12187         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
12188         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
12189         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
12190         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
12191         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
12192         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
12193         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
12194         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
12195         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
12196         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
12197         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
12198         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
12199         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
12200         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
12201         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
12202         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
12203         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
12204         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
12205         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
12206         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
12207         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
12208         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
12209         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
12210         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
12211         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
12212         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
12213         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
12214         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
12215         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
12216         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
12217         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
12218         * sysdeps/ieee754/s_matherr.c: Likewise.
12219         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
12220         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
12221         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
12222         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
12224 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
12226         * crypt/md5.h: Remove __STDC__ conditionals.
12227         * libio/libioP.h: Likewise.
12228         * locale/programs/config.h: Likewise.
12229         * sysdeps/generic/sysdep.h: Likewise.
12230         * sysdeps/i386/asm-syntax.h: Likewise.
12231         * sysdeps/s390/asm-syntax.h: Likewise.
12232         * sysdeps/unix/sysdep.h: Likewise.
12233         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
12234         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
12236 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
12238         * libio/libio.h: Remove __STDC__ conditionals.
12239         * malloc/obstack.h: Likewise.
12240         * math/complex.h: Likewise.
12241         * math/math.h: Likewise.
12242         * sysdeps/generic/_G_config.h: Likewise.
12243         * sysdeps/gnu/_G_config.h: Likewise.
12244         * sysdeps/mach/hurd/_G_config.h: Likewise.
12245         * sysdeps/powerpc/bits/mathdef.h: Likewise.
12246         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
12247         * sysdeps/sparc/bits/mathdef.h: Likewise.
12249 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
12251         [BZ #13583]
12252         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
12253         Clean up HAS_* macros.
12254         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
12255         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
12256         possible.
12257         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
12258         HAS_AVX.
12259         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
12260         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
12261         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
12262         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
12263         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
12265 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
12267         * elf/tst-unique3.cc (gets): Remove declaration.
12268         * elf/tst-unique3lib.cc (gets): Likewise.
12269         * elf/tst-unique3lib2.cc (gets): Likewise.
12270         * elf/tst-unique4.cc (gets): Likewise.
12272 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
12274         * include/stdio.h: Add C++ protection.  Add gets declarations and
12275         definitions.
12276         * debug/tst-chk1.c: Don't declare gets here.
12277         * stdio-common/tst-gets.c: Likewise.
12279 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
12281         * posix/glob: Remove directory.
12283 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
12285         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
12287 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
12289         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
12290         of the non-standard EPFNOSUPPORT.
12292 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12294         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
12295         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
12296         ANYWHERE set to 1 only on KERN_NO_SPACE error.
12298 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
12300         * wcsmbs/uchar.h: Test __STDC_VERSION__.
12302 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
12304         * nscd/aicache.c (addhstaiX): Do not cache negative results of
12305         transient errors.
12306         * nscd/grpcache.c (cache_addgr): Likewise.
12307         * nscd/hstcache.c (cache_addhst): Likewise.
12308         * nscd/initgrcache.c (addinitgroupsX): Likewise.
12309         * nscd/pwdcache.c (cache_addpw): Likewise.
12310         * nscd/servicescache.c (cache_addserv): Likewise.
12312 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
12314         * malloc/malloc.c: Various cleanups.
12315         * malloc/hooks.c: Likewise.
12317         * stdlib/Makefile (tests): Add bug-fmtmsg1.
12318         * stdlib/bug-fmtmsg1.c: New file.
12320         * stdlib/fmtmsg.c (init): Add missing unlock.
12321         Patch by Peng Haitao <penght@cn.fujitsu.com>.
12323 2012-01-12  Marek Polacek  <polacek@redhat.com>
12325         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
12326         and _GNU_SOURCE.
12328 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
12330         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
12331         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
12332         macro to ensure uniqueness of label name.
12333         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
12334         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
12336 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
12338         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
12340         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
12341         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
12342         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
12343         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
12345 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
12347         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
12349         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
12350         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
12351         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
12353         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
12355         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
12356         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
12357         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
12358         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
12360         * math/bits/math-finite.h: Add ldexp support.
12362 2012-01-10  Marek Polacek  <polacek@redhat.com>
12364         * locale/programs/localedef.h (show_archive_content): Add noreturn
12365         attribute.
12367 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
12369         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
12371 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
12373         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
12375         * io/Makefile (headers): Add bits/poll2.h.
12377 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
12379         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
12380         typo #include statement.
12382 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
12384         * include/sys/cdefs.h: Define __attribute_alloc_size.
12385         * catgets/gencat.c: Add alloc_size attribute and apply consistently
12386         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
12387         * elf/pldd.c: Likewise.
12388         * iconv/iconv_charmap.c: Likewise.
12389         * iconv/iconvconfig.c: Likewise.
12390         * iconv/strtab.c: Likewise.
12391         * locale/programs/locale.c: Likewise.
12392         * locale/programs/localedef.h: Likewise.
12393         * locale/programs/simple-hash.c: Likewise.
12394         * nscd/nscd.h: Likewise.
12395         * nss/makedb.c: Likewise.
12396         * sysdeps/generic/ldconfig.h: Likewise.
12397         * locale/programs/localedef.c: Remove xmalloc prototype.
12398         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
12400 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
12402         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
12403         appropriate.
12405 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
12407         * math/Makefile (tests): Add tst-CMPLX.
12408         * math/tst-CMPLX.c: New file.
12410         * math/complex.h (CMPLXL): Fix typo.
12412         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
12413         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
12414         GLIBC_2.16.
12415         * debug/tst-chk1.c: Add poll and ppoll tests.
12416         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
12417         * include/sys/poll.h: Add hidden proto for ppoll.
12418         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
12419         * sysdeps/mach/hurd/ppoll.c: Likewise.
12420         * io/ppoll.c: Likewise.
12421         * debug/poll_chk.c: New file.
12422         * debug/ppoll_chk.c: New file.
12423         * include/bits/poll2.h: New file.
12424         * io/bits/poll2.h: New file.
12426         [BZ #1350]
12427         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
12429         * configure.in: static is always set to yes.  Remove.
12430         * config.make.in: Don't set build-static.
12431         * Makeconfig: Remove use of build-static.
12432         * dlfcn/Makefile: Likewise.
12433         * elf/Makefile: Likewise.
12434         * math/Makefile: Likewise.
12435         * misc/Makefile: Likewise.
12436         * nptl/Makefile: Likewise.
12437         * sysdeps/mach/hurd/Makefile: Likewise.
12439         * configure.in: PWD_P is not used anymore.
12440         * config.make.in: Remove PWD_P entry.
12442         * configure.in: Remove last remnants of RANLIB.
12443         No need to check for signed size_t anymore.
12444         Don't set libc_commonpagesize and libc_relro_required here for Alpha
12445         and IA-64.
12446         Remove __builtin_expect test because we require at least gcc 3.4.
12447         * aclocal.m4: Likewise.
12449         * wcsmbs/mbrtoc16.c: Implement using towc function.
12450         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
12451         * wcsmbs/wcsmbsload.c: Likewise.
12452         * iconv/gconv_simple.c: Likewise.
12453         * iconv/gconv_int.h: Likewise.
12454         * iconv/gconv_builtin.h: Likewise.
12455         * iconv/iconv_prog.c: Remove CHAR16 handling.
12457         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
12459         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
12461         * configure.in: Remove --with-elf and --enable-bounded options.
12462         Dont set base_machine for ia64.  More non-ELF conditions removed.
12463         Remove testing and setting of leading underscore information.
12464         * config.make.in (build-bounded): Set to no.
12465         * config.h.in: Remove NO_UNDERSCORES entry.
12466         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
12467         them.
12468         * csu/start.c: Remove !NO_UNDERSCORE code.
12469         * locale/localeinfo.h: Likewise.
12470         * sysdeps/generic/machine-gmon.h: Likewise.
12471         * sysdeps/generic/sysdep.h: Likewise.
12472         * sysdeps/i386/sysdep.h: Likewise.
12473         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
12474         * sysdeps/mach/sysdep.h: Likewise.
12475         * sysdeps/s390/s390-32/sysdep.h: Likewise.
12476         * sysdeps/s390/s390-64/sysdep.h: Likewise.
12477         * sysdeps/sh/sysdep.h: Likewise.
12478         * sysdeps/sparc/sparc32/alloca.S: Likewise.
12479         * sysdeps/unix/i386/sysdep.S: Likewise.
12480         * sysdeps/unix/sparc/start.c: Likewise.
12481         * sysdeps/unix/sparc/sysdep.S: Likewise.
12482         * sysdeps/unix/sparc/sysdep.h: Likewise.
12483         * sysdeps/unix/start.c: Likewise.
12484         * sysdeps/unix/x86_64/sysdep.S: Likewise.
12485         * sysdeps/x86_64/sysdep.h: Likewise.
12487 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
12489         [BZ #13553]
12490         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
12491         for non-gcc.
12492         * argp/argp-fmtstream.h: Use const instead __const.
12493         * argp/argp.h: Likewise.
12494         * assert/assert.h: Likewise.
12495         * bits/fenv.h: Likewise.
12496         * bits/sched.h: Likewise.
12497         * bits/sigset.h: Likewise.
12498         * bits/sigthread.h: Likewise.
12499         * catgets/nl_types.h: Likewise.
12500         * conform/data/pthread.h-data: Likewise.
12501         * crypt/crypt-private.h: Likewise.
12502         * crypt/crypt.h: Likewise.
12503         * crypt/crypt_util.c: Likewise.
12504         * ctype/ctype.h: Likewise.
12505         * debug/execinfo.h: Likewise.
12506         * debug/mbsnrtowcs_chk.c: Likewise.
12507         * debug/mbsrtowcs_chk.c: Likewise.
12508         * debug/wcsnrtombs_chk.c: Likewise.
12509         * debug/wcsrtombs_chk.c: Likewise.
12510         * debug/wcstombs_chk.c: Likewise.
12511         * dirent/dirent.h: Likewise.
12512         * dlfcn/dlfcn.h: Likewise.
12513         * elf/neededtest4.c: Likewise.
12514         * grp/grp.h: Likewise.
12515         * gshadow/gshadow.h: Likewise.
12516         * iconv/gconv.h: Likewise.
12517         * iconv/gconv_int.h: Likewise.
12518         * iconv/gconv_simple.c: Likewise.
12519         * iconv/iconv.h: Likewise.
12520         * iconv/loop.c: Likewise.
12521         * iconv/skeleton.c: Likewise.
12522         * include/aio.h: Likewise.
12523         * include/aliases.h: Likewise.
12524         * include/argz.h: Likewise.
12525         * include/arpa/inet.h: Likewise.
12526         * include/assert.h: Likewise.
12527         * include/dirent.h: Likewise.
12528         * include/dlfcn.h: Likewise.
12529         * include/execinfo.h: Likewise.
12530         * include/fcntl.h: Likewise.
12531         * include/fenv.h: Likewise.
12532         * include/glob.h: Likewise.
12533         * include/grp.h: Likewise.
12534         * include/libintl.h: Likewise.
12535         * include/mntent.h: Likewise.
12536         * include/netdb.h: Likewise.
12537         * include/pwd.h: Likewise.
12538         * include/rpc/netdb.h: Likewise.
12539         * include/sched.h: Likewise.
12540         * include/search.h: Likewise.
12541         * include/shadow.h: Likewise.
12542         * include/signal.h: Likewise.
12543         * include/stdio.h: Likewise.
12544         * include/stdlib.h: Likewise.
12545         * include/string.h: Likewise.
12546         * include/sys/socket.h: Likewise.
12547         * include/sys/stat.h: Likewise.
12548         * include/sys/statfs.h: Likewise.
12549         * include/sys/statvfs.h: Likewise.
12550         * include/sys/syslog.h: Likewise.
12551         * include/sys/time.h: Likewise.
12552         * include/sys/uio.h: Likewise.
12553         * include/time.h: Likewise.
12554         * include/unistd.h: Likewise.
12555         * include/utmp.h: Likewise.
12556         * include/wchar.h: Likewise.
12557         * include/wctype.h: Likewise.
12558         * inet/aliases.h: Likewise.
12559         * inet/arpa/inet.h: Likewise.
12560         * inet/netinet/ether.h: Likewise.
12561         * inet/netinet/in.h: Likewise.
12562         * intl/libintl.h: Likewise.
12563         * io/bits/fcntl2.h: Likewise.
12564         * io/fcntl.h: Likewise.
12565         * io/ftw.h: Likewise.
12566         * io/sys/poll.h: Likewise.
12567         * io/sys/stat.h: Likewise.
12568         * io/sys/statfs.h: Likewise.
12569         * io/sys/statvfs.h: Likewise.
12570         * io/utime.h: Likewise.
12571         * libio/bits/stdio.h: Likewise.
12572         * libio/bits/stdio2.h: Likewise.
12573         * libio/libio.h: Likewise.
12574         * libio/libioP.h: Likewise.
12575         * libio/stdio.h: Likewise.
12576         * locale/lc-ctype.c: Likewise.
12577         * locale/locale.h: Likewise.
12578         * login/utmp.h: Likewise.
12579         * malloc/arena.c: Likewise.
12580         * malloc/malloc.c: Likewise.
12581         * malloc/malloc.h: Likewise.
12582         * malloc/mcheck.c: Likewise.
12583         * malloc/mtrace.c: Likewise.
12584         * math/bits/mathcalls.h: Likewise.
12585         * math/fenv.h: Likewise.
12586         * math/math_private.h: Likewise.
12587         * misc/bits/error.h: Likewise.
12588         * misc/bits/syslog.h: Likewise.
12589         * misc/err.h: Likewise.
12590         * misc/error.h: Likewise.
12591         * misc/fstab.h: Likewise.
12592         * misc/mntent.h: Likewise.
12593         * misc/regexp.h: Likewise.
12594         * misc/search.h: Likewise.
12595         * misc/sgtty.h: Likewise.
12596         * misc/sys/mman.h: Likewise.
12597         * misc/sys/syslog.h: Likewise.
12598         * misc/sys/uio.h: Likewise.
12599         * misc/sys/xattr.h: Likewise.
12600         * misc/ttyent.h: Likewise.
12601         * nis/rpcsvc/ypclnt.h: Likewise.
12602         * nss/nss.h: Likewise.
12603         * posix/bits/unistd.h: Likewise.
12604         * posix/fnmatch.h: Likewise.
12605         * posix/glob.h: Likewise.
12606         * posix/sched.h: Likewise.
12607         * posix/spawn.h: Likewise.
12608         * posix/sys/wait.h: Likewise.
12609         * posix/unistd.h: Likewise.
12610         * posix/wordexp.h: Likewise.
12611         * pwd/pwd.h: Likewise.
12612         * resolv/netdb.h: Likewise.
12613         * resource/sys/resource.h: Likewise.
12614         * rt/aio.h: Likewise.
12615         * rt/bits/mqueue2.h: Likewise.
12616         * rt/mqueue.h: Likewise.
12617         * shadow/shadow.h: Likewise.
12618         * signal/signal.h: Likewise.
12619         * socket/send.c: Likewise.
12620         * socket/sendto.c: Likewise.
12621         * socket/sys/socket.h: Likewise.
12622         * stdio-common/printf.h: Likewise.
12623         * stdlib/bits/stdlib.h: Likewise.
12624         * stdlib/fmtmsg.h: Likewise.
12625         * stdlib/monetary.h: Likewise.
12626         * stdlib/stdlib.h: Likewise.
12627         * stdlib/ucontext.h: Likewise.
12628         * streams/stropts.h: Likewise.
12629         * string/argz.h: Likewise.
12630         * string/bits/string2.h: Likewise.
12631         * string/string.h: Likewise.
12632         * string/strings.h: Likewise.
12633         * sunrpc/rpc/auth.h: Likewise.
12634         * sunrpc/rpc/auth_des.h: Likewise.
12635         * sunrpc/rpc/clnt.h: Likewise.
12636         * sunrpc/rpc/netdb.h: Likewise.
12637         * sunrpc/rpc/pmap_clnt.h: Likewise.
12638         * sunrpc/rpc/xdr.h: Likewise.
12639         * sysdeps/generic/inttypes.h: Likewise.
12640         * sysdeps/generic/net/if.h: Likewise.
12641         * sysdeps/generic/sys/swap.h: Likewise.
12642         * sysdeps/gnu/net/if.h: Likewise.
12643         * sysdeps/gnu/utmpx.h: Likewise.
12644         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
12645         * sysdeps/i386/i486/bits/string.h: Likewise.
12646         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
12647         * sysdeps/s390/bits/string.h: Likewise.
12648         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
12649         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
12650         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
12651         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
12652         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
12653         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
12654         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
12655         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
12656         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
12657         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
12658         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
12659         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
12660         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
12661         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
12662         * sysdeps/unix/sysv/linux/readv.c: Likewise.
12663         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
12664         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
12665         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
12666         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
12667         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
12668         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
12669         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
12670         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
12671         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
12672         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
12673         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
12674         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
12675         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
12676         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
12677         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
12678         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
12679         * sysvipc/sys/ipc.h: Likewise.
12680         * sysvipc/sys/msg.h: Likewise.
12681         * sysvipc/sys/sem.h: Likewise.
12682         * sysvipc/sys/shm.h: Likewise.
12683         * termios/termios.h: Likewise.
12684         * time/sys/time.h: Likewise.
12685         * time/time.h: Likewise.
12686         * wcsmbs/bits/wchar2.h: Likewise.
12687         * wcsmbs/uchar.h: Likewise.
12688         * wcsmbs/wchar.h: Likewise.
12689         * wctype/wctype.h: Likewise.
12691         [BZ #13551]
12692         * Makeconfig: Remove all but ELF support including AIX support.
12693         * Makerules: Likewise.
12694         * config.h.in: Likewise.
12695         * config.make.in: Likewise.
12696         * configure: Likewise.
12697         * configure.in: Likewise.
12698         * csu/Makefile: Likewise.
12699         * csu/version.c: Likewise.
12700         * debug/Makefile: Likewise.
12701         * dlfcn/Makefile: Likewise.
12702         * elf/Makefile: Likewise.
12703         * extra-lib.mk: Likewise.
12704         * iconv/Makefile: Likewise.
12705         * include/libc-symbols.h: Likewise.
12706         * include/shlib-compat.h: Likewise.
12707         * resolv/Makefile: Likewise.
12708         * resolv/res_libc.c: Likewise.
12709         * rt/Makefile: Likewise.
12710         * sysdeps/i386/asm-syntax.h: Likewise.
12711         * sysdeps/i386/sysdep.h: Likewise.
12712         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
12713         * sysdeps/mach/sysdep.h: Likewise.
12714         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
12715         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
12716         * sysdeps/s390/asm-syntax.h: Likewise.
12717         * sysdeps/s390/s390-32/sysdep.h: Likewise.
12718         * sysdeps/s390/s390-64/sysdep.h: Likewise.
12719         * sysdeps/sh/sysdep.h: Likewise.
12720         * sysdeps/unix/sparc/sysdep.h: Likewise.
12721         * sysdeps/wordsize-32/divdi3.c: Likewise.
12722         * sysdeps/x86_64/sysdep.h: Likewise.
12724         * argp/Versions: Remove _argp_unlock_xxx.
12726         [BZ #13559]
12727         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
12728         * abilist/libBrokenLocale.abilist: Likewise.
12729         * abilist/libanl.abilist: Likewise.
12730         * abilist/libc.abilist: Likewise.
12731         * abilist/libcrypt.abilist: Likewise.
12732         * abilist/libdl.abilist: Likewise.
12733         * abilist/libm.abilist: Likewise.
12734         * abilist/libnsl.abilist: Likewise.
12735         * abilist/libpthread.abilist: Likewise.
12736         * abilist/libresolv.abilist: Likewise.
12737         * abilist/librt.abilist: Likewise.
12738         * abilist/libthread_db.abilist: Likewise.
12739         * abilist/libutil.abilist: Likewise.
12740         * abilist/libnss_db.abilist: New file.
12742         * scripts/abilist.awk: Add support for indirect functions.
12744         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
12746         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
12748         * shlib-versions: Remove entries for ports architectures.
12750         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
12751         files in ports.
12752         * elf/stackguard-macros.h: Remove support for IA-64.
12753         * elf/tst-auditmod1.c: Likewise.
12754         * sysdeps/generic/ldsodefs.h: Likewise.
12756         * sysdeps/unix/sysv/linux/configure.in: Ports should define
12757         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
12758         configure files.
12760         [BZ #13552]
12761         * configure.in: Remove --enable-omitfp support.
12762         * FAQ.in: Adjust.
12763         * config.make.in: Likewise.
12764         * Makeconfig: Likewise.
12765         * manual/install.texi: Likewise.
12767         In case anyone cares, the IA-64 architecture could move to ports.
12768         * sysdeps/ia64/*: Removed.
12769         * sysdeps/unix/sysv/linux/ia64/*: Removed.
12770         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
12772         [BZ #13555]
12773         * configure.in: Remove entries for unsupported architectures.
12775         [BZ #13533]
12776         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
12777         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
12778         routines.
12779         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
12780         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
12781         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
12782         fall back to using wcrtomb.
12783         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
12784         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
12785         renaming.
12786         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
12787         * wcsmbs/tst-c16c32-1.c: New file.
12789         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
12790         local variable.
12792         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
12794         * elf/tst-unique3.cc: Add explicit declaration of gets.
12795         * elf/tst-unique3lib.cc: Likewise.
12796         * elf/tst-unique3lib2.cc: Likewise.
12797         * elf/tst-unique4.cc: Likewise.
12799         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
12801 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
12803         [BZ #13566]
12804         * assert/assert.h (static_assert): Don't define for C++.
12805         * libio/stdio.h (gets): Do declare for C++ <= C++11.
12806         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
12808 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
12810         * iconv/loop.c (single loop): Fix assertion in storing of
12811         remaining bytes.
12813         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
12815 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
12817         * posix/getconf.c: Update copyright year.
12818         * nss/getent.c: Likewise.
12819         * nss/makedb.c: Likewise.
12820         * iconv/iconvconfig.c: Likewise.
12821         * iconv/iconv_prog.c: Likewise.
12822         * elf/ldconfig.c: Likewise.
12823         * elf/pldd.c: Likewise.
12824         * elf/sotruss.ksh: Likewise.
12825         * catgets/gencat.c: Likewise.
12826         * csu/version.c: Likewise.
12827         * elf/ldd.bash.in: Likewise.
12828         * elf/sprof.c (print_version): Likewise.
12829         * locale/programs/locale.c: Likewise.
12830         * locale/programs/localedef.c: Likewise.
12831         * login/programs/pt_chown.c: Likewise.
12832         * nscd/nscd.c (print_version): Likewise.
12833         * debug/xtrace.sh: Likewise.
12834         * malloc/memusage.sh: Likewise.
12835         * malloc/mtrace.pl: Likewise.
12836         * debug/catchsegv.sh: Likewise.
12838 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
12840         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
12841         pure attribute.
12843 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
12845         [BZ #13533]
12846         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
12847         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
12848         transformations.
12849         * iconv/gconv_int.h: Likewise.
12850         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
12851         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
12852         from libc for GLIBC_2.16.
12853         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
12854         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
12855         * wcsmbs/uchar.h: Really define mbstate_t.
12856         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
12857         * wcsmbs/c16rtomb.c: New file.
12858         * wcsmbs/mbrtoc16.c: New file.
12859         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
12860         for C/POSIX locale.
12861         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
12862         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
12864         * wcsmbs/wchar.h: Add missing __restrict.
12866 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
12868         [BZ #13532]
12869         * time/Makefile (routines): Add timespec_get.
12870         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
12871         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
12872         timespec for ISO C11.
12873         * time/timespec_get.c: New file.
12874         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
12875         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
12877         [BZ #13531]
12878         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
12879         * stdlib/stdlib.h: Declare aligned_alloc.
12880         * Versions.def: Add GLIBC_2.16 for libc.
12881         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
12883         [BZ 13527]
12884         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
12885         ISO C11.
12887         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
12888         code.
12890         [BZ #13528]
12891         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
12893         [BZ #13529]
12894         * assert/assert.h (static_assert): Define.
12896         * version.h: Update for 2.16 development version.
12898         [BZ #13526]
12899         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
12900         _ISOC11_SOURCE.
12902         * version.h (RELEASE): Bump for 2.15 release.
12903         * include/features.h (__GLIBC_MINOR__): Bump to 15.
12905         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
12906         Patch by Marek Polacek <mpolacek@redhat.com>.
12908         * bits/byteswap.h: Protect long long constants with __extension__.
12909         * sysdeps/i386/bits/byteswap.h: Likewise.
12910         * sysdeps/ia64/bits/byteswap.h: Likewise.
12911         * sysdeps/s390/bits/byteswap.h: Likewise.
12912         * sysdeps/x86_64/bits/byteswap.h: Likewise.
12914 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
12916         [BZ #13540]
12917         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
12918         destination buffer.
12919         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
12921 2011-12-23  Marek Polacek  <polacek@redhat.com>
12923         * elf/dl-addr.c (determine_info): Add inline keyword.
12924         * elf/tst-auditmod4b.c (check_avx): Likewise.
12925         * elf/tst-auditmod6b.c (check_avx): Likewise.
12926         * elf/tst-auditmod6c.c (check_avx): Likewise.
12927         * elf/tst-auditmod7b.c (check_avx): Likewise.
12929 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
12931         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
12932         !__SSE_MATH__.
12934 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
12936         [BZ #13540]
12937         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
12938         processing for last bytes.
12940 2011-08-06  Bruno Haible  <bruno@clisp.org>
12942         [BZ #13061]
12943         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
12944         U+0385, not to U+1FEE.
12946         [BZ #13062]
12947         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
12948         entry for U+00A5 U+0301.
12950 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
12952         [BZ #13166]
12953         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
12954         buffer for the output is too small.
12956         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
12957         optimization.
12959         [BZ #13185]
12960         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
12961         SSE flags if possible.
12963 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
12965         [BZ #13540]
12966         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
12967         processing for last bytes.
12969 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
12971         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
12972         (syscall-list-default-options, syscall-list-default-condition)
12973         (syscall-list-includes): Define.
12974         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
12975         list of ABIs and options and #if conditions for each ABI.  Do not
12976         handle common syscalls between ABIs specially.
12977         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
12978         Remove.
12979         (syscall-list-variants, syscall-list-32bit-options)
12980         (syscall-list-32bit-condition, syscall-list-64bit-options)
12981         (syscall-list-64bit-condition): Define.
12982         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
12983         (syscall-list-variants, syscall-list-32bit-options)
12984         (syscall-list-32bit-condition, syscall-list-64bit-options)
12985         (syscall-list-64bit-condition): Define.
12986         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
12987         Remove.
12988         (syscall-list-variants, syscall-list-32bit-options)
12989         (syscall-list-32bit-condition, syscall-list-64bit-options)
12990         (syscall-list-64bit-condition): Define.
12991         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
12992         Remove.
12993         (syscall-list-variants, syscall-list-32bit-options)
12994         (syscall-list-32bit-condition, syscall-list-64bit-options)
12995         (syscall-list-64bit-condition): Define.
12997 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
12999         * locale/iso-639.def: Add brx entry.
13001         [BZ #13328]
13002         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
13003         Proposed by Mariusz_Cukr <marcukr@op.pl>.
13005         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
13006         __feraiseexcept_renamed.
13008 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
13010         [BZ #13538]
13011         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
13012         EPOLLET with unsigned values.
13013         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
13014         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
13016         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
13017         to large cancellation.
13018         * math/s_cacoshf.c: Likewise.
13019         * math/s_cacoshl.c: Likewise.
13021 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
13023         [BZ #13305]
13024         [BZ #12786]
13025         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
13026         * math/s_cacoshf.c: Likewise.
13027         * math/s_cacoshl.c: Likewise.
13029 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
13031         [BZ #13439]
13032         * iconv/gconv.h: Define __GCONV_SWAP.
13033         * iconvdata/unicode.c: The swap bit must be stored in __flags.
13034         * iconvdata/utf-16.c: Likewise.
13035         * iconvdata/utf-32.c: Likewise.
13037 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
13039         [BZ #13524]
13040         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
13041         numerator after shifting it by one limb.
13043 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
13045         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
13046         under [__USE_EXTERN_INLINES].
13048 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
13050         [BZ #13446]
13051         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
13053 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13055         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
13056         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
13057         optimized code.
13058         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
13059         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
13060         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
13061         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
13062         for strncasecmp/strncasecmp_l compilation.
13063         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
13064         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
13066 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
13068         [BZ #13484]
13069         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
13070         of __asm__.
13072 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
13074         [BZ #13506]
13075         * time/tzfile.c (__tzfile_read): Check values from file header.
13077 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
13079         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
13080         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
13081         * powerpc/powerpc32/dl-start.S: Likewise.
13082         * powerpc/powerpc32/elf/start.S: Likewise.
13083         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
13084         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
13085         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
13086         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
13087         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
13088         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
13089         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
13090         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
13091         * powerpc/powerpc32/fpu/s_round.S: Likewise.
13092         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
13093         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
13094         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
13095         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
13096         * powerpc/powerpc32/memset.S: Likewise.
13097         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
13098         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
13099         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
13100         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
13101         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
13102         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
13103         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
13104         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
13105         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
13106         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
13107         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
13108         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
13109         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
13111 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13113         * math/libm-test.inc: Added more nearbyint tests.
13114         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
13115         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
13116         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
13117         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
13119 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
13121         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
13122         FD_CLOEXEC.
13124 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
13126         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
13127         Add wcscpy-ssse3 wcscpy-c.
13128         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
13129         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
13130         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
13131         * sysdeps/x86_64/wcschr.S: New file.
13132         * sysdeps/x86_64/wcsrchr.S: New file.
13133         * string/test-strcmp.c: Remove checking of wcscmp function for
13134         wrong alignments.
13135         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
13136         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
13137         wcsrchr-sse2 wcsrchr-c.
13138         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
13139         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
13140         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
13141         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
13142         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
13143         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
13144         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
13145         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
13146         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
13147         * wcsmbc/wcschr.c (WCSCHR): New macro.
13149 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
13151         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
13152         * wcsmbs/test-wcsrchr.c: New file.
13153         * string/test-strrchr.c: Add wcsrchr support.
13154         (WIDE): New macro.
13155         * wcsmbs/test-wcscpy.c: New file.
13156         * string/test-strcpy.c: Add wcscpy support.
13157         (WIDE): New macro.
13159 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
13161         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
13162         the inner loop.
13164 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
13166         [BZ #13472]
13167         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
13169 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
13171         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
13172         Minor optimizations.
13174         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
13175         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
13176         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
13178 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
13180         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
13181         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
13182         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
13183         for gcc to avoid warnings.
13184         * inet/Makefile (tests): Add tst-checks.
13185         * inet/tst-checks.c: New file.
13187         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
13188         warning.
13190         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
13191         __wmemcmp_sse2.
13193         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
13194         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
13196         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
13198 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
13200         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
13201         problem.
13203         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
13205 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
13207         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
13208         conditional on GCC version.
13209         (__arch_compare_and_exchange_val_8_acq)
13210         (__arch_compare_and_exchange_val_16_acq)
13211         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
13212         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
13213         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
13215 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
13217         * sysdeps/sh/backtrace.c: New file.
13219 2011-12-02  Andreas Schwab  <schwab@redhat.com>
13221         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
13222         parenthesis.
13224 2011-12-01  Andreas Schwab  <schwab@redhat.com>
13226         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
13227         falling back to utime.
13229 2011-11-30  Andreas Schwab  <schwab@redhat.com>
13231         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
13232         expectations for float.
13234 2011-11-29  Andreas Schwab  <schwab@redhat.com>
13236         * locale/weight.h (findidx): Add parameter len.
13237         * locale/weightwc.h (findidx): Likewise.
13238         * posix/fnmatch_loop.c (FCT): Adjust caller.
13239         * posix/regcomp.c (build_equiv_class): Likewise.
13240         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
13241         * posix/regexec.c (check_node_accept_bytes): Likewise.
13242         * string/strcoll_l.c (STRCOLL): Likewise.
13243         * string/strxfrm_l.c (STRXFRM): Likewise.
13245 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
13247         * Makefile.in: Remove CVSOPT handling.
13248         * configure.in: Remove use of AC_REVISION.
13249         * iconvdata/Makefile (distribute): No need to filter out CVS.
13250         * scripts/list-sources.sh: Remove CVS, subversion and monotone
13251         handling.
13253 2011-11-16  Andreas Schwab  <schwab@redhat.com>
13255         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
13256         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
13257         [USE_AS_STRNCASECMP_L]: Likewise.
13258         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
13259         NO_TLS_DIRECT_SEG_REFS.
13260         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
13261         Fix argument offsets for non-PIC.
13262         [USE_AS_STRNCASECMP_L]: Likewise.
13263         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
13264         NO_TLS_DIRECT_SEG_REFS.
13266 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
13268         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
13269         O_CLOEXEC.
13270         * locale/loadlocale.c (_nl_load_locale): Likewise.
13272 2011-11-15  Andreas Schwab  <schwab@redhat.com>
13274         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
13275         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
13276         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
13277         (SYSCALL_GETTIME): Set errno on error.
13279         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
13280         count references to noai6ai_cached.
13282 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
13284         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
13286         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
13287         FD_CLOEXEC for /proc/self/maps.
13289         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
13290         FD_CLOEXEC for /proc/meminfo.
13292         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
13293         gai.conf.
13295         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
13296         FD_CLOEXEC for given file.
13298         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
13300         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
13301         FD_CLOEXEC for /etc/hosts.
13302         (_gethtent): Likewise.
13304         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
13306         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
13307         cancellation and set FD_CLOEXEC for /etc/netgroup.
13309         * nss/nss_files/files-key.c (search): Don't allow cancellation when
13310         reading /etc/publickey.
13312         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
13313         allow cancellation when reading /etc/group.
13315         * nss/nss_files/files-alias.c (internal_setent): Don't allow
13316         cancellation.
13317         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
13319         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
13320         when using data file.
13322         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
13324         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
13325         (write_nis_obj): Use "c" and "e" in fopen.
13327         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
13329         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
13331         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
13333         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
13335         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
13336         locale.alias.
13338         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
13340         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
13342         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
13344         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
13345         file parsing and set FD_CLOEXEC.
13347 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
13349         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
13351 2011-11-14  Andreas Schwab  <schwab@redhat.com>
13353         * malloc/arena.c (arena_get2): Don't call reused_arena when
13354         _int_new_arena failed.
13356 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
13358         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
13359         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
13360         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
13361         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
13362         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
13363         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
13364         to compile strcasecmp and strncasecmp.
13365         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
13366         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
13368         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
13370 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
13372         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
13373         locale-defines.sym to gen-as-const-headers.
13374         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
13375         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
13376         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
13377         to compile strcasecmp and strncasecmp.
13378         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
13379         strcasecmp_l and strncasecmp_l.
13380         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
13381         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
13382         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
13383         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
13384         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
13385         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
13386         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
13387         * sysdeps/i386/i686/multiarch/strncase.S: New file.
13388         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
13389         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
13390         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
13392 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
13394         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
13395         result of SYSDEP_GETTIME_CPU to retval.
13396         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
13397         parameter list to macro.  Remove trailing semicolon.  Adjust users.
13399         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
13400         variable.
13402         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
13403         mantissa words.
13404         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
13406         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
13407         from unused variable.
13409         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
13410         DWARF definitions.
13411         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
13412         for assembling.
13414         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
13415         over namespaces.
13417         * sunrpc/rpc_prot.c (rejected): Fix case value.
13419         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
13420         unsigned long long int to avoid warnings in shift.
13422         * posix/regex_internal.c (re_string_reconstruct): Actually use result
13423         of use of trans.
13424         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
13425         variable tmp.
13427         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
13428         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
13429         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
13431         * nis/nis_table.c (nis_list): Use variable of correct type for
13432         result of __follow_path call.
13434 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13436         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
13437         of math functions ceil, trunc, floor, round, and sqrt, when
13438         avaliable on the platform.
13439         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
13440         name clash.
13441         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
13442         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
13443         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
13445 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
13447         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
13448         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
13450 2011-11-11  Roland McGrath  <roland@hack.frob.com>
13452         * include/unistd.h: Fix __readlink return type.
13453         Reported by Chris Metcalf <cmetcalf@tilera.com>.
13455 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
13457         * stdlib/ucontext.h: Undo last change for makecontext.
13459 2011-11-11  Andreas Schwab  <schwab@redhat.com>
13461         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
13463         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
13464         * setjmp/setjmp.h: Mark functions as non-leaf.
13465         * setjmp/bits/setjmp2.h: Likewise.
13466         * stdlib/ucontext.h: Likewise.
13468 2011-11-10  Andreas Schwab  <schwab@redhat.com>
13470         * malloc/arena.c (_int_new_arena): Don't increment narenas.
13471         (reused_arena): Don't check arena limit.
13472         (arena_get2): Atomically check arena limit.
13474 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
13476         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
13477         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
13479         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
13480         instructions.
13482 2011-11-07  Andreas Schwab  <schwab@redhat.com>
13484         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
13485         handler when locking.
13487         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
13488         Fix size of allocated buffer.
13490 2011-11-04  Andreas Schwab  <schwab@redhat.com>
13492         [BZ #10103]
13493         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
13494         declarations for long double functions.
13495         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
13497         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
13499 2011-11-03  Andreas Schwab  <schwab@redhat.com>
13501         * nscd/nscd.c (main): Don't start AVC thread until credentials are
13502         installed.
13504         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
13505         is disabled.
13507 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13509         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
13511 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
13513         * include/alloca.h (stackinfo_alloca_round): Define.
13514         (extend_alloca): Use it.
13515         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
13516         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
13517         here.
13519         * scripts/check-local-headers.sh: Ignore libaudit.h.
13521         * nscd/Makefile (extra-objs): Make recursively expanded.
13523 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
13525         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
13526         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
13528         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
13529         * posix/tst-rfc3484-2.c: Likewise.
13530         * posix/tst-rfc3484-3.c: Likewise.
13532         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
13533         process_vm_writev.
13534         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
13535         process_vm_writev.
13536         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
13537         process_vm_writev from libc using GLIBC_2.15 version.
13539         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
13541 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
13543         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
13544         stack usage.
13546 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
13548         [BZ #13367]
13549         * nss/getent.c (initgroups_keys): Show error message in case no group
13550         names are given.
13552         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
13553         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
13554         __bump_nl_timestamp.
13555         * nscd/connections (nscd_init): When host database is served open
13556         netlink socket and request notification about configuration changes.
13557         (main_loop_poll): Track netlink file descriptor and bump timestamp
13558         in case data becomes available.
13559         (main_loop_epoll): Likewise.
13560         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
13561         (database_pers_head): Add extra_data fileds.
13562         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
13563         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
13564         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
13565         Adjust caller.
13566         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
13567         in6ai data, call __free_in6ai.
13568         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
13569         Add -DHAVE_NETLINK.
13570         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
13571         interface information.  Reuse previous data if netlink timestamp
13572         is not changed.
13573         (__bump_nl_timestamp): New function.
13574         (__free_in6ai): New function.
13576 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
13578         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
13579         close_not_cancel_no_status here.
13580         (__check_pf): Reorganize code a bit to not call close twice if OOM.
13582 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
13584         [BZ #13276]
13585         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
13586         return value.
13588         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
13589         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
13590         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
13592 2011-07-03  Andreas Jaeger  <aj@suse.de>
13594         [BZ #10709]
13595         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
13596         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
13597         * math/libm-test.inc (sin_test): Add test case.
13599 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
13601         [BZ #13337]
13602         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
13603         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
13605         * elf/chroot_canon.c (chroot_canon): Cleanups.
13607         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
13609         [BZ #13335]
13610         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
13611         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
13613         * string/test-strchr.c: Make usable for strchrnul testing.
13614         * string/test-strchrnul.c: New file.
13615         * string/Makefile (strop-tests): Add strchrnul.
13617         * po/it.po: Update from translation team.
13618         * po/es.po: Likewise.
13620 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
13622         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
13623         the three constants needed as parameters.  Drop the others.
13624         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
13625         __m128i_strloadu_tolower.
13626         Create and initialize variable zero and use it in all the places
13627         where _mm_setzero_si128 was used.
13629         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
13630         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
13631         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
13632         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
13633         anymore.
13634         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
13635         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
13636         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
13637         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
13638         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
13639         __mpranred, __mptan.
13640         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
13641         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
13642         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
13643         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
13644         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
13645         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
13646         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
13647         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
13648         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
13650 2011-10-28  Andreas Schwab  <schwab@redhat.com>
13652         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
13653         redefine if SHARED.
13654         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
13656         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
13657         wide char related routines to wcsmbs subdir.
13659 2011-10-27  Andreas Schwab  <schwab@redhat.com>
13661         [BZ #13344]
13662         * misc/sys/cdefs.h (__THROWNL): Define.
13663         * posix/unistd.h: Use __THREADNL instead of __THREAD
13664         for memory synchronization functions.
13666 2011-10-26  Roland McGrath  <roland@hack.frob.com>
13668         [BZ #13349]
13669         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
13670         doesn't exist.
13671         * manual/stdio.texi (Obstack Streams): Node removed.
13673 2011-10-26  Andreas Schwab  <schwab@redhat.com>
13675         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
13676         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
13677         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
13679         * math/math_private.h (math_force_eval): Allow non-addressable
13680         arguments.
13681         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
13683 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
13685         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
13686         file is not needed.
13688         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
13689         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
13690         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
13691         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
13692         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
13693         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
13694         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
13695         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
13696         Add AVX variants.
13697         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
13698         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
13699         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
13700         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
13701         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
13702         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
13703         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
13704         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
13705         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
13706         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
13707         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
13708         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
13709         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
13710         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
13711         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
13712         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
13713         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
13714         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
13715         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
13717         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
13718         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
13720         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
13721         place.  Use VEX encoding when compiling for AVX.
13723 2011-10-25  Andreas Schwab  <schwab@redhat.com>
13725         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
13726         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
13728         * string/test-strchr.c (do_test): Don't generate NUL bytes.
13730 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
13732         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
13733         useless if() expression.
13734         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
13735         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
13736         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
13737         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
13738         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
13739         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
13740         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
13741         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
13742         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
13743         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
13744         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
13745         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
13746         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
13747         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
13748         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
13749         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
13750         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
13751         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
13752         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
13754         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
13756 2011-10-25  Andreas Schwab  <schwab@redhat.com>
13758         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
13759         condition.
13760         * elf/dl-fini.c (_dl_sort_fini): Likewise.
13762 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
13764         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
13765         .text section.  Avoid duplicate constants.
13766         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
13767         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
13768         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
13769         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13770         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
13771         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13772         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13773         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
13774         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
13775         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
13776         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
13777         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
13778         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
13779         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
13780         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
13781         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
13782         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
13783         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
13784         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
13785         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
13786         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
13787         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
13788         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
13789         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
13790         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
13791         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
13792         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
13793         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
13794         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
13795         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
13796         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
13797         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
13798         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
13799         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
13800         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
13801         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
13802         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
13803         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
13804         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
13805         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
13806         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
13807         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
13808         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
13809         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
13810         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
13812 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
13814         * sysdeps/x86_64/dla.h: Move to ...
13815         * sysdeps/x86_64/fpu/dla.h: ...here.
13816         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
13817         situations.  Use __builtin_fma only for gcc 4.6 and up.
13819         * config.make.in: Add have-mfma4 entry.
13820         * configure.in: Substitute libc_cv_cc_fma4.
13821         * math/Makefile (dbl-only-routines): Add sincostab.
13822         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
13823         Use __sincostab not sincos.
13824         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
13825         name is a macro.
13826         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
13827         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13828         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13829         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
13830         using __copysign.
13831         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
13832         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
13833         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
13834         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
13835         and __inv.
13836         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
13837         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
13838         __copysign.
13839         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
13840         define aliases when function name is a macro.
13841         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
13842         sysdeps/ieee754/dbl-64/sincos.tbl.
13843         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
13844         fma4-enabled routines.
13845         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
13846         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
13847         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
13848         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
13849         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
13850         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
13851         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
13852         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
13853         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
13854         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
13855         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
13856         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
13857         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
13858         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
13859         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
13860         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
13861         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
13862         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
13863         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
13864         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
13865         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
13866         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
13867         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
13868         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
13869         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
13870         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
13871         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
13872         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
13873         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
13874         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
13876         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
13877         rename.
13878         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
13879         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
13880         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13881         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13882         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13883         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
13884         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
13885         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
13887 2011-10-24  Andreas Schwab  <schwab@redhat.com>
13889         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
13891 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
13893         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
13895         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
13896         prediction.
13897         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
13899         * string/strnlen.c: Don't define STRNLEN, reverse logic.
13900         Remove unused variable magic_bits.
13901         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
13903         * string/strnlen.c: Define and use STRNLEN macro.
13904         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
13905         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
13906         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
13907         * wcsmbs/wcslen.c: Define and use WCSLEN.
13908         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
13909         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
13910         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
13911         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
13912         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
13913         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
13914         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
13916 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
13918         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13919         strnlen-sse2-no-bsf.
13920         Rename strlen-no-bsf to strlen-sse2-no-bsf.
13921         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
13922         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
13923         Add strnlen support.
13924         (USE_AS_STRNLEN): New macro.
13925         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
13926         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
13927         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
13928         * sysdeps/x86_64/wcslen.S: New file.
13930 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
13932         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
13933         XMM-moves are used for copying on small sizes.
13935 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
13937         * wcsmbs/Makefile (strop-tests): Add wcschr.
13938         * wcsmbs/test-wcschr.c: New file.
13939         * string/test-strchr.c: Update.
13940         Add wcschr support.
13941         (WIDE): New macro.
13943 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
13945         * wcsmbs/Makefile (strop-tests): Add wcslen.
13946         * wcsmbs/test-wcslen.c: New file.
13947         * string/test-strlen.c: Update.
13948         Add wcslen support.
13949         (WIDE): New macro.
13951 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
13953         * po/it.po: Update from translation team.
13955 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
13957         * sysdeps/x86_64/wcscmp.S: Update.
13958         Fix wrong comparison semantics.
13959         wcscmp shall use signed comparison not unsigned.
13960         Don't use substraction to avoid overflow bug.
13961         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
13962         * wcsmbc/wcscmp.c: Likewise.
13963         * string/test-strcmp.c: Likewise.
13964         Add new tests to check cases with negative values.
13966 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
13968         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
13969         * sysdeps/x86_64/dla.h: ...here.  New file.
13970         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
13971         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
13972         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13973         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13974         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13975         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
13976         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
13977         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
13978         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
13980 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
13982         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
13983         __ynl_finite aliases.
13985 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
13987         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13989         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
13990         define DLA_FMA.
13991         [DLA_FMA] (EMULV): Use DLA_FMA.
13992         [DLA_FMA] (MUL12): Use EMULV.
13993         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
13994         that are not needed.
13995         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
13996         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13997         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13998         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13999         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
14000         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
14001         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
14003 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
14005         * math/s_nan.c: Undef __nan.
14006         * math/s_nanf.c: Undef __nanf.
14007         * math/s_nanl.c: Undef __nanl.
14008         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
14009         "math_private.h".
14011 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
14013         * math/s_catan.c: Add branch predictions.
14014         * math/s_catanf.c: Likewise.
14015         * math/s_catanh.c: Likewise.
14016         * math/s_catanhf.c: Likewise.
14017         * math/s_catanhl.c: Likewise.
14018         * math/s_catanl.c: Likewise.
14019         * math/s_cexp.c: Likewise.
14020         * math/s_cexpf.c: Likewise.
14021         * math/s_cexpl.c: Likewise.
14022         * math/s_clog.c: Likewise.
14023         * math/s_clog10.c: Likewise.
14024         * math/s_clog10f.c: Likewise.
14025         * math/s_clog10l.c: Likewise.
14026         * math/s_clogf.c: Likewise.
14027         * math/s_clogl.c: Likewise.
14028         * math/s_csqrt.c: Likewise.
14029         * math/s_csqrtf.c: Likewise.
14030         * math/s_csqrtl.c: Likewise.
14031         * math/s_ctanf.c: Likewise.
14032         * math/s_ctanh.c: Likewise.
14033         * math/s_ctanhf.c: Likewise.
14034         * math/s_ctanhl.c: Likewise.
14035         * math/s_ctanl.c: Likewise.
14037         * math/math_private.h: Define __nan, __nanf, __nanl.
14038         * math/s_cacosh.c: Include <math_private.h>.
14039         * math/s_cacoshl.c: Likewise.
14040         * math/s_casinh.c: Likewise.
14041         * math/s_casinhf.c: Likewise.
14042         * math/s_casinhl.c: Likewise.
14043         * math/s_ccos.c: Rely entire on ccosh.
14044         * math/s_ccosf.c: Rely entire on ccoshf.
14045         * math/s_ccosl.c: Rely entirely on ccoshl.
14046         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
14047         Remove tests for FE_INVALID.
14048         * math/s_ccoshf.c: Likewise.
14049         * math/s_ccoshl.c: Likewise.
14050         * math/s_csin.c: Likewise.
14051         * math/s_csinf.c: Likewise.
14052         * math/s_csinh.c Likewise.
14053         * math/s_csinhf.c: Likewise.
14054         * math/s_csinhl.c: Likewise.
14055         * math/s_csinl.c: Likewise.
14056         * math/s_ctan.c: Likewise.
14057         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
14058         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
14059         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
14061 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
14063         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
14064         compilation problems.
14066         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
14067         __builtin_expect.
14069 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
14071         * sysdeps/i386/configure.in: Test for -mfma4 option.
14072         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
14073         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
14074         COMMON_CPUID_INDEX_80000001.
14075         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
14076         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
14077         use it if FMA3 is not supported.
14078         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
14080         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
14081         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
14083 2011-10-20  Andreas Schwab  <schwab@redhat.com>
14085         [BZ #12892]
14086         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
14087         it would create a cycle with a link time dependency.
14089 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
14091         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
14092         instruction.
14093         * string/Makefile (strop-tests): Add rawmemchr.
14094         * string/test-rawmemchr.c: New file.
14096         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
14097         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
14098         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
14099         when compiling str{,n}casecmp and when AVX is available.  Hook up
14100         new optimized code in initializers.
14102 2011-10-19  Andreas Schwab  <schwab@redhat.com>
14104         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
14105         __feraiseexcept instead of feraiseexcept.
14107 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
14109         * math/math_private.h: Define defaults for libc_fetestexcept and
14110         libc_feupdateenv.
14111         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
14112         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
14113         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
14114         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
14115         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
14116         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
14117         libc_fetestexcept and libc_feupdateenv.
14119         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
14120         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
14121         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
14122         * sysdeps/x86_64/fpu/math_private.h: Define special version of
14123         libc_feholdexcept_setround.
14125         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
14126         Add s_nearbyint-c and s_nearbyintf-c.
14127         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
14128         nearbyintf inlines.
14129         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
14130         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
14131         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
14132         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
14134         * math/math_private.h: Define defaults for libc_fegetround,
14135         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
14136         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
14137         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
14138         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
14139         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
14140         standard functions.
14141         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
14142         Remove comments and hacks for old compiler versions.
14143         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
14144         libc_fegetround, libc_fesetround, libc_feholdexcept, and
14145         libc_feholdexceptl.
14147 2011-10-18  Andreas Schwab  <schwab@redhat.com>
14149         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
14150         (__feraiseexcept_renamed): Add __NTH.
14151         (feraiseexcept): Add __NTH.  Rename local variables to fix
14152         namespace violations.
14154 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
14156         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
14158         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
14160         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
14161         recently added interfaces.
14162         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
14164         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
14165         about macro parameter expansion.
14167         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
14168         __NO_MATH_INLINES is defined.  Cleanups.
14170         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
14171         and __floorf is target has SSE4.1.
14172         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
14173         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
14174         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
14175         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
14177         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
14178         name.
14179         (floorf): Likewise.
14181         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
14183 2011-10-17  Andreas Schwab  <schwab@redhat.com>
14185         * misc/sys/cdefs.h: Fix last change.
14187         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
14188         database lookup.
14190 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
14192         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
14194         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
14195         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
14196         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
14197         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
14198         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
14199         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
14200         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
14201         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
14202         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
14203         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
14204         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
14205         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
14206         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
14207         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
14208         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
14209         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
14210         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
14211         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
14212         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
14213         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
14214         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
14215         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
14217         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
14218         ceil, ceilf, floor, floorf.
14220         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
14221         Perform IRELATIVE relocations last.
14223         * elf/do-rel.h: Add another parameter nrelative, replacing the
14224         local variable with the same name.  Change name of the function
14225         to end in Rel or Rela (uppercase).
14226         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
14227         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
14228         elf_dynamic_do_##reloc function.
14230 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
14232         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
14233         is sufficient, at least on modern CPUs.
14235         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
14237         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
14238         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
14240         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
14241         __expl_finite.
14242         * math/bits/math-finite.h: Add entries for exp.
14243         * math/e_expl.c: Add __*_finite alias.
14244         * sysdeps/i386/fpu/e_exp.S: Likewise.
14245         * sysdeps/i386/fpu/e_expf.S: Likewise.
14246         * sysdeps/i386/fpu/e_expl.c: Likewise.
14247         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
14248         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
14249         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
14250         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
14251         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
14252         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
14253         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
14255         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
14256         is sufficient, at least on modern CPUs.
14258         * ctype/ctype-info.c (__ctype_init): Define.
14259         * include/ctype.h (__ctype_init): Declare.
14260         (__ctype_b_loc): The variable is always initialized.
14261         (__ctype_toupper_loc): Likewise.
14262         (__ctype_tolower_loc): Likewise.
14263         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
14264         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
14266 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
14268         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
14270         * configure.in: Also look in $cxxmachine/include for C++ system
14271         headers.
14273 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
14275         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
14276         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
14277         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
14278         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
14279         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
14280         (USE_AS_WMEMCMP): New macro.
14281         Fixing indents.
14282         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
14283         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
14284         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
14285         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
14286         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
14287         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
14288         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
14289         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
14290         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
14291         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
14292         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
14293         (USE_AS_WMEMCMP): New macro.
14294         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
14295         * sysdeps/string/test-memcmp.c: Update.
14296         Fix simple_wmemcmp.
14297         Add new tests.
14298         * wcsmbs/wmemcmp.c: Update.
14299         (WMEMCMP): New macro.
14300         Fix overflow bug.
14302 2011-10-12  Andreas Jaeger  <aj@suse.de>
14304         [BZ #13268]
14305         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
14307 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
14309         * libio/iofwide.c (do_length): Avoid warning.
14311         * ctype/ctype.h (__isctype_f): Add missing __THROW.
14313 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
14315         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
14317         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
14318         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
14319         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
14320         * sysdeps/i386/i686/fpu/e_log.S: New file.
14321         * sysdeps/i386/i686/fpu/e_logf.S: New file.
14322         * sysdeps/i386/i686/fpu/e_logl.S: New file.
14324         * ctype/ctype.h: Add support for inlined isXXX functions when
14325         compiling C++ code.
14327 2011-10-14  Andreas Schwab  <schwab@redhat.com>
14329         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
14331         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
14333 2011-10-13  Roland McGrath  <roland@hack.frob.com>
14335         [BZ #13291]
14336         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
14338 2011-10-13  Andreas Schwab  <schwab@redhat.com>
14340         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
14341         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
14342         feraiseexcept.
14344         * sysdeps/x86_64/memrchr.S: Check for zero size.
14346         * string/stratcliff.c: Add memrchr tests.
14348 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
14350         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
14351         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
14352         rawmemchr-sse2 rawmemchr-sse2-bsf.
14353         * sysdeps/i386/i686/multiarch/memchr.S: New file.
14354         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
14355         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
14356         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
14357         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
14358         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
14359         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
14360         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
14361         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
14362         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
14363         * string/memrchr.c (MEMRCHR): New macro.
14365 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
14367         Add integration with gcc's -ffinite-math-only and optimize wrapper
14368         functions in libm.
14369         * Versions.def: Define GLIBC_2.15 version for libm.
14370         * math/Makefile (headers): Add bits/math-finite.h.
14371         * math/bits/math-finite.h: New file.
14372         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
14373         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
14374         * math/e_acoshl.c: Add __*_finite alias.
14375         * math/e_acosl.c: Likewise.
14376         * math/e_asinl.c: Likewise.
14377         * math/e_atan2l.c: Likewise.
14378         * math/e_atanhl.c: Likewise.
14379         * math/e_coshl.c: Likewise.
14380         * math/e_exp10.c: Likewise.
14381         * math/e_exp10f.c: Likewise.
14382         * math/e_exp10l.c: Likewise.
14383         * math/e_exp2l.c: Likewise.
14384         * math/e_fmodl.c: Likewise.
14385         * math/e_gammal_r.c: Likewise.
14386         * math/e_hypotl.c: Likewise.
14387         * math/e_j0l.c: Likewise.
14388         * math/e_j1l.c: Likewise.
14389         * math/e_jnl.c: Likewise.
14390         * math/e_lgammal_r.c: Likewise.
14391         * math/e_log10l.c: Likewise.
14392         * math/e_log2l.c: Likewise.
14393         * math/e_logl.c: Likewise.
14394         * math/e_powl.c: Likewise.
14395         * math/e_sinhl.c: Likewise.
14396         * math/e_sqrtl.c: Likewise.
14397         * math/e_scalb.c: Completely rewritten and optimized.
14398         * math/e_scalbf.c: Likewise.
14399         * math/e_scalbl.c: Likewise.
14400         * math/w_acos.c: Likewise.
14401         * math/w_acosf.c: Likewise.
14402         * math/w_acosl.c: Likewise.
14403         * math/w_acosh.c: Likewise.
14404         * math/w_acoshf.c: Likewise.
14405         * math/w_acoshl.c: Likewise.
14406         * math/w_asin.c: Likewise.
14407         * math/w_asinf.c: Likewise.
14408         * math/w_asinl.c: Likewise.
14409         * math/w_atan2.c: Likewise.
14410         * math/w_atan2f.c: Likewise.
14411         * math/w_atan2l.c: Likewise.
14412         * math/w_atanh.c: Likewise.
14413         * math/w_atanhf.c: Likewise.
14414         * math/w_atanhl.c: Likewise.
14415         * math/w_exp10.c: Likewise.
14416         * math/w_exp10f.c: Likewise.
14417         * math/w_exp10l.c: Likewise.
14418         * math/w_fmod.c: Likewise.
14419         * math/w_fmodf.c: Likewise.
14420         * math/w_fmodl.c: Likewise.
14421         * math/w_j0.c: Likewise.
14422         * math/w_j0f.c: Likewise.
14423         * math/w_j0l.c: Likewise.
14424         * math/w_j1.c: Likewise.
14425         * math/w_j1f.c: Likewise.
14426         * math/w_j1l.c: Likewise.
14427         * math/w_jn.c: Likewise.
14428         * math/w_jnf.c: Likewise.
14429         * math/w_log.c: Likewise.
14430         * math/w_logf.c: Likewise.
14431         * math/w_logl.c: Likewise.
14432         * math/w_log10.c: Likewise.
14433         * math/w_log10f.c: Likewise.
14434         * math/w_log10l.c: Likewise.
14435         * math/w_log2.c: Likewise.
14436         * math/w_log2f.c: Likewise.
14437         * math/w_log2l.c: Likewise.
14438         * math/w_pow.c: Likewise.
14439         * math/w_powf.c: Likewise.
14440         * math/w_powl.c: Likewise.
14441         * math/w_remainder.c: Likewise.
14442         * math/w_remainderf.c: Likewise.
14443         * math/w_remainderl.c: Likewise.
14444         * math/w_scalb.c: Likewise.
14445         * math/w_scalbf.c: Likewise.
14446         * math/w_scalbl.c: Likewise.
14447         * math/w_sqrt.c: Likewise.
14448         * math/w_sqrtf.c: Likewise.
14449         * math/w_sqrtl.c: Likewise.
14450         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
14451         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
14452         used.
14453         * math/math_private.h: Declare __kernel_standard_f.
14454         * math/w_cosh.c: Remove cruft and optimize a bit.
14455         * math/w_coshf.c: Likewise.
14456         * math/w_coshl.c: Likewise.
14457         * math/w_exp2.c: Likewise.
14458         * math/w_exp2f.c: Likewise.
14459         * math/w_exp2l.c: Likewise.
14460         * math/w_hypot.c: Likewise.
14461         * math/w_hypotf.c: Likewise.
14462         * math/w_hypotl.c: Likewise.
14463         * math/w_lgamma.c: Likewise.
14464         * math/w_lgamma_r.c: Likewise.
14465         * math/w_lgammaf.c: Likewise.
14466         * math/w_lgammaf_r.c: Likewise.
14467         * math/w_lgammal.c: Likewise.
14468         * math/w_lgammal_r.c: Likewise.
14469         * math/w_sinh.c: Likewise.
14470         * math/w_sinhf.c: Likewise.
14471         * math/w_sinhl.c: Likewise.
14472         * math/w_tgamma.c: Likewise.
14473         * math/w_tgammaf.c: Likewise.
14474         * math/w_tgammal.c: Likewise.
14475         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
14476         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
14477         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
14478         Minor optimizations.  Pretty printing.  Remove cruft.
14479         * sysdeps/i386/fpu/e_acosf.S: Likewise.
14480         * sysdeps/i386/fpu/e_acosh.S: Likewise.
14481         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
14482         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
14483         * sysdeps/i386/fpu/e_acosl.c: Likewise.
14484         * sysdeps/i386/fpu/e_asin.S: Likewise.
14485         * sysdeps/i386/fpu/e_asinf.S: Likewise.
14486         * sysdeps/i386/fpu/e_atan2.S: Likewise.
14487         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
14488         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
14489         * sysdeps/i386/fpu/e_atanh.S: Likewise.
14490         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
14491         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
14492         * sysdeps/i386/fpu/e_exp10.S: Likewise.
14493         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
14494         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
14495         * sysdeps/i386/fpu/e_exp2.S: Likewise.
14496         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
14497         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
14498         * sysdeps/i386/fpu/e_fmod.S: Likewise.
14499         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
14500         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
14501         * sysdeps/i386/fpu/e_hypot.S: Likewise.
14502         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
14503         * sysdeps/i386/fpu/e_log.S: Likewise.
14504         * sysdeps/i386/fpu/e_log10.S: Likewise.
14505         * sysdeps/i386/fpu/e_log10f.S: Likewise.
14506         * sysdeps/i386/fpu/e_log10l.S: Likewise.
14507         * sysdeps/i386/fpu/e_log2.S: Likewise.
14508         * sysdeps/i386/fpu/e_log2f.S: Likewise.
14509         * sysdeps/i386/fpu/e_log2l.S: Likewise.
14510         * sysdeps/i386/fpu/e_logf.S: Likewise.
14511         * sysdeps/i386/fpu/e_logl.S: Likewise.
14512         * sysdeps/i386/fpu/e_pow.S: Likewise.
14513         * sysdeps/i386/fpu/e_powf.S: Likewise.
14514         * sysdeps/i386/fpu/e_powl.S: Likewise.
14515         * sysdeps/i386/fpu/e_remainder.S: Likewise.
14516         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
14517         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
14518         * sysdeps/i386/fpu/e_scalb.S: Likewise.
14519         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
14520         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
14521         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
14522         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
14523         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
14524         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
14525         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
14526         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
14527         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
14528         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
14529         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
14530         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
14531         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
14532         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
14533         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
14534         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
14535         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
14536         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
14537         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
14538         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
14539         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
14540         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
14541         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
14542         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
14543         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
14544         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
14545         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
14546         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
14547         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
14548         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
14549         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
14550         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
14551         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
14552         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
14553         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
14554         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
14555         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
14556         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
14557         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
14558         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
14559         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
14560         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
14561         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
14562         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
14563         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
14564         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
14565         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
14566         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
14567         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
14568         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
14569         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
14570         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
14571         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
14572         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
14573         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
14574         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
14575         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
14576         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
14577         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
14578         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
14579         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
14580         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
14581         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
14582         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
14583         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
14584         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
14585         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
14586         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
14587         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
14588         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
14589         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
14590         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
14591         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
14592         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
14593         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
14594         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
14595         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
14596         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
14597         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
14598         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
14599         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
14600         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
14601         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
14602         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
14603         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
14604         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
14605         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
14606         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
14607         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
14608         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
14609         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
14610         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
14611         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
14612         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
14613         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
14614         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
14615         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
14616         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
14617         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
14618         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
14619         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
14620         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
14621         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
14622         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
14623         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
14624         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
14625         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
14626         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
14627         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
14628         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
14629         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
14630         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
14631         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
14632         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
14633         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
14634         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
14635         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
14636         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
14637         (__isnanf): Likewise.
14638         (__isinf_ns): Likewise.
14639         (__isinf_nsf): Likewise.
14640         (__finite): Likewise.
14641         (__finitef): Likewise.
14642         (__ieee754_sqrt): Define as macro.
14643         (__ieee754_sqrtf): Define as macro.
14644         (__ieee754_sqrtl): Define as macro.
14645         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
14646         inlined copy.
14647         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
14648         __FINITE_MATH_ONLY__ consistent.
14649         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
14651 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
14653         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
14654         of rawmemchr.
14656         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
14658 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
14660         * po/ja.po: Update from translation team.
14662 2011-10-08  Roland McGrath  <roland@hack.frob.com>
14664         * locale/programs/locarchive.c (prepare_address_space): New function.
14665         (create_archive, enlarge_archive, open_archive): Use it.
14667         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
14668         inside [SHARED], where it is used.
14670         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
14672         * nss/getent.c (netgroup_keys): Remove unused variable.
14673         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
14675 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
14677         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
14678         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
14679         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
14680         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
14681         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
14682         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
14683         * math/Makefile (libm-calls): Add s_isinf_ns.
14684         * math/divtc3.c: Use __isinf_nsl instead of isinf.
14685         * math/multc3.c: Likewise.
14686         * math/s_casin.c: Likewise.
14687         * math/s_casinf.c: Likewise.
14688         * math/s_casinl.c: Likewise.
14689         * math/s_ccos.c: Likewise.
14690         * math/s_ccosf.c: Likewise.
14691         * math/s_ccosl.c: Likewise.
14692         * math/s_ctan.c: Likewise.
14693         * math/s_ctanf.c: Likewise.
14694         * math/s_ctanh.c: Likewise.
14695         * math/s_ctanhf.c: Likewise.
14696         * math/s_ctanhl.c: Likewise.
14697         * math/s_ctanl.c: Likewise.
14698         * math/w_fmod.c: Likewise.
14699         * math/w_fmodf.c: Likewise.
14700         * math/w_fmodl.c: Likewise.
14701         * math/w_remainder.c: Likewise.
14702         * math/w_remainderf.c: Likewise.
14703         * math/w_remainderl.c: Likewise.
14704         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
14705         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
14706         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
14707         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
14708         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
14709         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
14710         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
14711         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
14713         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
14714         of the number.
14715         * stdio-common/printf_fphex.c: Likewise.
14716         * stdio-common/printf_size.c: Likewise.
14718         * math/e_exp10.c: Include math_private.h using <...> not "...".
14719         * math/e_exp10f.c: Likewise.
14720         * math/e_exp10l.c: Likewise.
14721         * math/e_exp2l.c: Likewise.
14722         * math/e_j0l.c: Likewise.
14723         * math/e_j1l.c: Likewise.
14724         * math/e_jnl.c: Likewise.
14725         * math/e_lgammal_r.c: Likewise.
14726         * math/e_rem_pio2l.c: Likewise.
14727         * math/e_scalb.c: Likewise.
14728         * math/e_scalbf.c: Likewise.
14729         * math/e_scalbl.c: Likewise.
14730         * math/k_cosl.c: Likewise.
14731         * math/k_sinl.c: Likewise.
14732         * math/k_tanl.c: Likewise.
14733         * math/s_cacoshf.c: Likewise.
14734         * math/s_catan.c: Likewise.
14735         * math/s_catanf.c: Likewise.
14736         * math/s_catanh.c: Likewise.
14737         * math/s_catanhf.c: Likewise.
14738         * math/s_catanhl.c: Likewise.
14739         * math/s_catanl.c: Likewise.
14740         * math/s_ccosh.c: Likewise.
14741         * math/s_ccoshf.c: Likewise.
14742         * math/s_ccoshl.c: Likewise.
14743         * math/s_cexp.c: Likewise.
14744         * math/s_cexpf.c: Likewise.
14745         * math/s_cexpl.c: Likewise.
14746         * math/s_clog.c: Likewise.
14747         * math/s_clog10.c: Likewise.
14748         * math/s_clog10f.c: Likewise.
14749         * math/s_clog10l.c: Likewise.
14750         * math/s_clogf.c: Likewise.
14751         * math/s_clogl.c: Likewise.
14752         * math/s_csin.c: Likewise.
14753         * math/s_csinf.c: Likewise.
14754         * math/s_csinh.c: Likewise.
14755         * math/s_csinhf.c: Likewise.
14756         * math/s_csinhl.c: Likewise.
14757         * math/s_csinl.c: Likewise.
14758         * math/s_csqrt.c: Likewise.
14759         * math/s_csqrtf.c: Likewise.
14760         * math/s_csqrtl.c: Likewise.
14761         * math/s_ctan.c: Likewise.
14762         * math/s_ctanf.c: Likewise.
14763         * math/s_ctanh.c: Likewise.
14764         * math/s_ctanhf.c: Likewise.
14765         * math/s_ctanhl.c: Likewise.
14766         * math/s_ctanl.c: Likewise.
14767         * math/s_ldexp.c: Likewise.
14768         * math/s_ldexpf.c: Likewise.
14769         * math/s_ldexpl.c: Likewise.
14770         * math/s_significand.c: Likewise.
14771         * math/s_significandf.c: Likewise.
14772         * math/s_significandl.c: Likewise.
14773         * math/w_acos.c: Likewise.
14774         * math/w_acosf.c: Likewise.
14775         * math/w_acosh.c: Likewise.
14776         * math/w_acoshf.c: Likewise.
14777         * math/w_acoshl.c: Likewise.
14778         * math/w_acosl.c: Likewise.
14779         * math/w_asin.c: Likewise.
14780         * math/w_asinf.c: Likewise.
14781         * math/w_asinl.c: Likewise.
14782         * math/w_atan2.c: Likewise.
14783         * math/w_atan2f.c: Likewise.
14784         * math/w_atan2l.c: Likewise.
14785         * math/w_atanh.c: Likewise.
14786         * math/w_atanhf.c: Likewise.
14787         * math/w_atanhl.c: Likewise.
14788         * math/w_cosh.c: Likewise.
14789         * math/w_coshf.c: Likewise.
14790         * math/w_coshl.c: Likewise.
14791         * math/w_dremf.c: Likewise.
14792         * math/w_exp10.c: Likewise.
14793         * math/w_exp10f.c: Likewise.
14794         * math/w_exp10l.c: Likewise.
14795         * math/w_exp2.c: Likewise.
14796         * math/w_exp2f.c: Likewise.
14797         * math/w_fmod.c: Likewise.
14798         * math/w_fmodf.c: Likewise.
14799         * math/w_fmodl.c: Likewise.
14800         * math/w_hypot.c: Likewise.
14801         * math/w_hypotf.c: Likewise.
14802         * math/w_hypotl.c: Likewise.
14803         * math/w_j0.c: Likewise.
14804         * math/w_j0f.c: Likewise.
14805         * math/w_j0l.c: Likewise.
14806         * math/w_j1.c: Likewise.
14807         * math/w_j1f.c: Likewise.
14808         * math/w_j1l.c: Likewise.
14809         * math/w_jn.c: Likewise.
14810         * math/w_jnf.c: Likewise.
14811         * math/w_jnl.c: Likewise.
14812         * math/w_lgamma.c: Likewise.
14813         * math/w_lgamma_r.c: Likewise.
14814         * math/w_lgammaf.c: Likewise.
14815         * math/w_lgammaf_r.c: Likewise.
14816         * math/w_lgammal.c: Likewise.
14817         * math/w_lgammal_r.c: Likewise.
14818         * math/w_log.c: Likewise.
14819         * math/w_log10.c: Likewise.
14820         * math/w_log10f.c: Likewise.
14821         * math/w_log10l.c: Likewise.
14822         * math/w_log2.c: Likewise.
14823         * math/w_log2f.c: Likewise.
14824         * math/w_log2l.c: Likewise.
14825         * math/w_logf.c: Likewise.
14826         * math/w_logl.c: Likewise.
14827         * math/w_pow.c: Likewise.
14828         * math/w_powf.c: Likewise.
14829         * math/w_powl.c: Likewise.
14830         * math/w_remainder.c: Likewise.
14831         * math/w_remainderf.c: Likewise.
14832         * math/w_remainderl.c: Likewise.
14833         * math/w_scalb.c: Likewise.
14834         * math/w_scalbf.c: Likewise.
14835         * math/w_scalbl.c: Likewise.
14836         * math/w_sinh.c: Likewise.
14837         * math/w_sinhf.c: Likewise.
14838         * math/w_sinhl.c: Likewise.
14839         * math/w_sqrt.c: Likewise.
14840         * math/w_sqrtf.c: Likewise.
14841         * math/w_sqrtl.c: Likewise.
14842         * math/w_tgamma.c: Likewise.
14843         * math/w_tgammaf.c: Likewise.
14844         * math/w_tgammal.c: Likewise.
14846         * po/ja.po: Update from translation team.
14848 2011-09-29  Andreas Jaeger  <aj@suse.de>
14850         [BZ #13179]
14851         * sunrpc/netname.c (netname2host): Fix logic.
14853         [BZ #6779]
14854         [BZ #6783]
14855         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
14856         correctly.
14857         * math/w_remainder.c (__remainder): Likewise.
14858         * math/w_remainderf.c (__remainderf): Likewise.
14859         * math/libm-test.inc (remainder_test): Add test cases.
14861 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
14863         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
14864         sdiv_qrnnd.
14866 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
14868         * string/test-memcmp.c: Avoid unncessary #defines.
14869         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
14871 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
14873         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
14874         Use new sse2 version for core i3 - i7 as it's faster
14875         than sse42 version.
14876         (bit_Prefer_PMINUB_for_stringop): New.
14877         * sysdeps/x86_64/rawmemchr.S: Update.
14878         Replace with faster SSE2 version.
14879         * sysdeps/x86_64/memrchr.S: New file.
14880         * sysdeps/x86_64/memchr.S: Update.
14881         Replace with faster SSE2 version.
14883 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
14885         * elf/dl-load.c (lose): Add cast to avoid warning.
14887 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
14889         * po/ca.po: Update from translation team.
14891         * inet/getnetgrent_r.c: Hook up nscd.
14892         * nscd/Makefile (routines): Add nscd_netgroup.
14893         (nscd-modules): Add netgroupcache.
14894         (CFLAGS-netgroupcache.c): Define.
14895         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
14896         (cache_search): Add const to second parameter.
14897         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
14898         INNETGR.
14899         (dbs): Add netgrdb entry.
14900         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
14901         (verify_persistent_db): Handle netgrdb.
14902         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
14903         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
14904         GETFDNETGR.
14905         (netgroup_response_header): Define.
14906         (innetgroup_response_header): Define.
14907         (datahead): Add netgroup_response_header and innetgroup_response_header
14908         elements.
14909         * nscd/nscd.conf: Add entries for netgroup cache.
14910         * nscd/nscd.h (dbtype): Add netgrdb.
14911         (_PATH_NSCD_NETGROUP_DB): Define.
14912         (netgroup_iov_disabled): Declare.
14913         (xmalloc, xcalloc, xrealloc): Move declarations here.
14914         (cache_search): Adjust prototype.
14915         Add netgroup-related prototypes.
14916         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
14917         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
14918         (__nscd_innetgr): Declare.
14919         * nscd/selinux.c (perms): Use access_vector_t as element type and
14920         add netgroup-related initializers.
14921         * nscd/netgroupcache.c: New file.
14922         * nscd/nscd_netgroup.c: New file.
14923         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
14924         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
14925         For four parameters use innetgr.
14926         * nss/nss_files/files-init.c: Add definition and callback for netgr.
14927         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
14928         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
14929         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
14931         * nscd/connections.c (register_traced_file): Don't register file
14932         for disabled databases.
14934 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
14936         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
14938         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
14939         from tree and freeing node.
14941 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
14943         * nss/nsswitch.c (__nss_database_lookup): Handle
14944         nss_parse_service_list out of memory case.
14946 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
14948         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
14949         out of memory case.
14951 2011-10-04  Andreas Schwab  <schwab@redhat.com>
14953         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
14954         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
14955         pass it down.
14956         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
14957         elf_machine_rela, elf_machine_lazy_rel.
14958         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
14959         (ELF_DYNAMIC_DO_REL): Likewise.
14960         (ELF_DYNAMIC_DO_RELA): Likewise.
14961         (ELF_DYNAMIC_RELOCATE): Likewise.
14962         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
14963         to ELF_DYNAMIC_DO_REL.
14964         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
14965         (dl_main): In trace mode always set __RTLD_NOIFUNC.
14966         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
14967         elf_machine_rela.
14968         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
14969         skip_ifunc, don't call ifunc function if non-zero.
14970         (elf_machine_rela): Likewise.
14971         (elf_machine_lazy_rel): Likewise.
14972         (elf_machine_lazy_rela): Likewise.
14973         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
14974         (elf_machine_lazy_rel): Likewise.
14975         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
14976         Likewise.
14977         (elf_machine_lazy_rel): Likewise.
14978         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
14979         Likewise.
14980         (elf_machine_lazy_rel): Likewise.
14981         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
14982         (elf_machine_lazy_rel): Likewise.
14983         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
14984         (elf_machine_lazy_rel): Likewise.
14985         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
14986         (elf_machine_lazy_rel): Likewise.
14987         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
14988         (elf_machine_lazy_rel): Likewise.
14989         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
14990         (elf_machine_lazy_rel): Likewise.
14991         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
14992         (elf_machine_lazy_rel): Likewise.
14994 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
14996         * nss/nss_files/files-init.c (_nss_files_init): Use static
14997         initialization for all the *_traced_file variables.
14999 2011-09-28  Andreas Schwab  <schwab@redhat.com>
15001         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
15003 2011-09-27  Roland McGrath  <roland@hack.frob.com>
15005         [BZ #13226]
15006         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
15008 2011-09-27  Andreas Schwab  <schwab@redhat.com>
15010         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
15011         Reread the line before reparsing it.
15013 2011-09-26  Andreas Schwab  <schwab@redhat.com>
15015         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
15017 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
15018             Maxim Kuvyrkov  <maxim@codesourcery.com>
15019             Joseph Myers  <joseph@codesourcery.com>
15021         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
15022         if needed for __stack_chk_guard.
15024 2011-09-19  Roland McGrath  <roland@hack.frob.com>
15026         * sysdeps/posix/spawni.c (script_execute): Always define it.
15027         It will be optimized away if unused.
15028         (maybe_script_execute): New function.
15029         (__spawni): Call it.
15031         * Makerules: Don't include tls.make.
15032         (config-tls): Always set to thread.
15033         * tls.make.c: File removed.
15035 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
15037         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
15038         * config.make.in (CPPFLAGS-config): New substituted variable.
15040 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
15042         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
15044         [BZ #13192]
15045         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
15046         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
15048 2011-09-15  Roland McGrath  <roland@hack.frob.com>
15050         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
15051         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
15052         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
15053         (CALL_FAIL): Likewise.
15054         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
15055         (CALL_FAIL): Macro removed.
15056         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
15058 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
15060         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
15061         for __FINITE_MATH_ONLY__ == 1.
15063 2011-09-15  Andreas Schwab  <schwab@redhat.com>
15065         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
15066         __ieee754_sqrt instead of sqrt.
15067         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
15068         __ieee754_sqrtf instead of sqrtf.
15069         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
15070         __floorf instead of floorf.
15071         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
15072         __floorf, __truncf instead of floorf, truncf.
15074 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
15076         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
15078         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
15079         __extern_always_inline.
15080         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
15081         32-bit.
15083 2011-09-14  Andreas Schwab  <schwab@redhat.com>
15085         * elf/rtld.c (dl_main): Also relocate in dependency order when
15086         doing symbol dependency testing.
15088 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
15090         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
15091         Always define `refsym'.
15093 2011-09-13  Andreas Schwab  <schwab@redhat.com>
15095         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
15096         (__FD_ELT): Renamed from __FDELT.
15097         * misc/bits/select2.h (__FD_ELT): Likewise.
15098         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
15099         __FD_MASK instead of __FDELT, __FDMASK.
15100         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
15101         Likewise.
15102         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
15103         Likewise.
15105         * elf/Makefile (gen-ldd): Fix pattern.
15107         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
15108         (init_tls): Likewise.
15110 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
15112         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
15114 2011-09-12  Andreas Schwab  <schwab@redhat.com>
15116         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
15117         `struct cmsghdr *' instead of `void *'.
15118         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
15119         Likewise.
15121 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
15123         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
15124         if non-absolute.
15125         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
15126         ldd_rewrite_script.
15128 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
15130         * configure.in: Remove --with-tls option.
15131         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
15132         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
15133         out in case it is missing.
15134         * sysdeps/ia64/elf/configure.in: Likewise.
15135         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
15136         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
15137         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
15138         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
15139         * sysdeps/sh/elf/configure.in: Likewise.
15140         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
15141         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
15142         * sysdeps/x86_64/elf/configure.in: Likewise.
15143         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
15144         * sysdeps/mach/hurd/tls.h: Likewise.
15146         [BZ #13067]
15147         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
15149         [BZ #13090]
15150         * configure.in: Fix use of AC_INIT.
15152         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
15154 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
15156         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
15157         __set_errno.
15158         * malloc/hooks.c: Likewise.
15160         [BZ #11929]
15161         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
15162         variables statically.
15163         (narenas): Initialize.
15164         (list_lock): Initialize.
15165         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
15166         initializtion of main_arena and list_lock.  Small cleanups.
15167         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
15168         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
15169         Add initializers to main_arena and mp_.
15170         (malloc_state): Remove pagesize member.  Change all users to use
15171         GLRO(dl_pagesize).
15173         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
15174         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
15175         is always initialized.
15177         * malloc/malloc.c: Removed unused configurations and dead code.
15178         * malloc/arena.c: Likewise.
15179         * malloc/hooks.c: Likewise.
15180         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
15182         * include/tls.h: Removed.  USE___THREAD must always be defined.
15183         * bits/libc-tsd.h: Don't handle !USE___THREAD.
15184         * elf/dl-libc.c: Likewise.
15185         * elf/dl-tsd.c: Likewise.
15186         * include/errno.h: Likewise.
15187         * include/netdb.h: Likewise.
15188         * include/resolv.h: Likewise.
15189         * inet/herrno-loc.c: Likewise.
15190         * inet/herrno.c: Likewise.
15191         * malloc/arena.c: Likewise.
15192         * malloc/hooks.c: Likewise.
15193         * malloc/malloc.c: Likewise.
15194         * resolv/res-state.c: Likewise.
15195         * resolv/res_libc.c: Likewise.
15196         * sysdeps/i386/dl-machine.h: Likewise.
15197         * sysdeps/ia64/dl-machine.h: Likewise.
15198         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
15199         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
15200         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
15201         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
15202         * sysdeps/sh/dl-machine.h: Likewise.
15203         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
15204         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
15205         * sysdeps/unix/i386/sysdep.S: Likewise.
15206         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
15207         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
15208         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
15209         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
15210         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
15211         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
15212         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
15213         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
15214         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
15215         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
15216         * sysdeps/unix/x86_64/sysdep.S: Likewise.
15217         * sysdeps/x86_64/dl-machine.h: Likewise.
15218         * tls.make.c: Likewise.
15220         * configure.in: Remove --with-__thread option.  Make tests for
15221         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
15222         tls_model attribute fail if no support is available.  Remove
15223         USE_IN_LIBIO.
15224         * Makeconfig: Adjust for dropped configure option.  All features are
15225         now mandatory.
15226         * Makerules: Likewise.
15227         * Versions.def: Likewise.
15228         * argp/argp-fmtstream.c: Likewise.
15229         * argp/argp-fmtstream.h: Likewise.
15230         * argp/argp-help.c: Likewise.
15231         * assert/assert.c: Likewise.
15232         * config.h.in: Likewise.
15233         * config.make.in: Likewise.
15234         * configure: Likewise.
15235         * configure.in: Likewise.
15236         * csu/Versions: Likewise.
15237         * csu/init.c: Likewise.
15238         * elf/tst-audit2.c: Likewise.
15239         * elf/tst-tls10.c: Likewise.
15240         * elf/tst-tls10.h: Likewise.
15241         * elf/tst-tls11.c: Likewise.
15242         * elf/tst-tls12.c: Likewise.
15243         * elf/tst-tls14.c: Likewise.
15244         * elf/tst-tlsmod11.c: Likewise.
15245         * elf/tst-tlsmod12.c: Likewise.
15246         * elf/tst-tlsmod13.c: Likewise.
15247         * elf/tst-tlsmod13a.c: Likewise.
15248         * elf/tst-tlsmod14a.c: Likewise.
15249         * elf/tst-tlsmod15b.c: Likewise.
15250         * elf/tst-tlsmod16a.c: Likewise.
15251         * elf/tst-tlsmod16b.c: Likewise.
15252         * elf/tst-tlsmod7.c: Likewise.
15253         * elf/tst-tlsmod8.c: Likewise.
15254         * elf/tst-tlsmod9.c: Likewise.
15255         * gmon/gmon.c: Likewise.
15256         * grp/fgetgrent_r.c: Likewise.
15257         * grp/putgrent.c: Likewise.
15258         * hurd/fopenport.c: Likewise.
15259         * include/libc-symbols.h: Likewise.
15260         * include/tls.h: Likewise.
15261         * intl/gettextP.h: Likewise.
15262         * intl/loadinfo.h: Likewise.
15263         * locale/global-locale.c: Likewise.
15264         * locale/localeinfo.h: Likewise.
15265         * mach/devstream.c: Likewise.
15266         * malloc/arena.c: Likewise.
15267         * malloc/set-freeres.c: Likewise.
15268         * misc/err.c: Likewise.
15269         * misc/getttyent.c: Likewise.
15270         * misc/mntent_r.c: Likewise.
15271         * posix/getopt.c: Likewise.
15272         * posix/wordexp.c: Likewise.
15273         * pwd/fgetpwent_r.c: Likewise.
15274         * resolv/Versions: Likewise.
15275         * resolv/res_hconf.c: Likewise.
15276         * shadow/fgetspent_r.c: Likewise.
15277         * shadow/putspent.c: Likewise.
15278         * stdio-common/printf_fphex.c: Likewise.
15279         * stdio-common/tmpfile.c: Likewise.
15280         * stdlib/abort.c: Likewise.
15281         * stdlib/fmtmsg.c: Likewise.
15282         * sunrpc/auth_unix.c: Likewise.
15283         * sunrpc/clnt_perr.c: Likewise.
15284         * sunrpc/clnt_tcp.c: Likewise.
15285         * sunrpc/clnt_udp.c: Likewise.
15286         * sunrpc/clnt_unix.c: Likewise.
15287         * sunrpc/openchild.c: Likewise.
15288         * sunrpc/svc_simple.c: Likewise.
15289         * sunrpc/svc_tcp.c: Likewise.
15290         * sunrpc/svc_udp.c: Likewise.
15291         * sunrpc/svc_unix.c: Likewise.
15292         * sunrpc/xdr.c: Likewise.
15293         * sunrpc/xdr_array.c: Likewise.
15294         * sunrpc/xdr_rec.c: Likewise.
15295         * sunrpc/xdr_ref.c: Likewise.
15296         * sunrpc/xdr_stdio.c: Likewise.
15298 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
15300         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
15302 2011-07-03  Andreas Jaeger  <aj@suse.de>
15304         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
15305         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
15306         regenerate with gen-libm-tests.pl.
15308 2010-05-12  Petr Baudis  <pasky@suse.cz>
15310         [BZ #11589]
15311         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
15312         around j0() zero points by switching to j1().
15313         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
15314         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
15315         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
15316         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
15318 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
15320         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
15321         instead of 0.
15322         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
15323         instead of 0.                              .
15324         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
15325         Patch in part by Pavel Roskin <proski@gnu.org>.
15327         [BZ #13138]
15328         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
15329         realloc.
15330         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
15331         Free memory block if necessary.
15333         [BZ #12847]
15334         * libio/genops.c (INTDEF): For string streams the _lock pointer can
15335         be NULL.  Don't lock in this case.
15337 2011-09-09  Roland McGrath  <roland@hack.frob.com>
15339         * elf/elf.h (ELFOSABI_GNU): New macro.
15340         (ELFOSABI_LINUX): Define to that.
15342 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
15344         * string/strncat.c (strncat): Undef the symbol in case it has been
15345         defined in bits/string.h.
15347 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
15349         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
15351         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
15352         link map.
15354 2011-08-17  Andreas Jaeger  <aj@suse.de>
15356         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
15358 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
15359             Ian Lance Taylor  <iant@google.com>
15361         * math/libm-test.inc (lround_test): New testcase.
15362         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
15364 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
15366         * Makefile: Remove support for automatic cvs check-ins.
15367         * Makerules: Likewise.
15368         * config.make.in: Likewise.
15369         * configure.in: Likewise.
15370         * intl/Makefile: Likewise.
15371         * locale/Makefile: Likewise.
15372         * po/Makefile: Likewise.
15373         * posix/Makefile: Likewise.
15374         * sysdeps/gnu/Makefile: Likewise.
15375         * sysdeps/mach/hurd/Makefile: Likewise.
15376         * sysdeps/sparc/sparc32/Makefile: Likewise.
15378         [BZ #13118]
15379         * posix/Makefile (bug-regex32-ENV): Define.
15380         Patch by John Stanley <jpsinthemix@verizon.net>.
15382         * misc/Makefile (headers): Add bits/select2.h.
15383         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
15384         * misc/bits/select2.h: New file.
15385         * include/bits/select2.h: New file.
15386         * debug/Makefile (routines): Add fdelt_chk.
15387         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
15388         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
15389         FD_ISSET.
15390         * debug/fdelt_chk.c: New file.
15392         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
15393         * wcsmbs/test-wmemcmp.c: Likewise.
15394         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
15395         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
15397 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
15399         * string/Makefile (strop-tests): Add memcmp.
15400         * string/test-wmemcmp.c: New file.
15401         * string/test-memcmp.c: Add wmemcmp support.
15403 2011-09-08  Roland McGrath  <roland@hack.frob.com>
15405         [BZ #13153]
15406         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
15407         2011-07-19 change.
15409         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
15410         garbage value in a __mach_port_mod_refs call in the cases of the
15411         task-self and thread-self ports.
15413 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15415         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
15417 2011-09-08  Andreas Schwab  <schwab@redhat.com>
15419         * elf/dl-load.c (lose): Check for non-null L.
15421 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
15423         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
15425         * elf/dl-libc.c (dlerror_run): Pass back error code from
15426         dl_catch_error.
15428         [BZ #13123]
15429         * elf/dl-load.c (lose): Free l_origin if it is valid.
15431         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
15432         names.
15433         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
15434         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
15435         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
15436         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
15437         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
15438         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
15440 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15442         * sysdeps/powerpc/fpu/e_hypot.c: New file.
15443         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
15444         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
15445         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
15446         * sysdeps/powerpc/fpu/k_cosf.c: New file.
15447         * sysdeps/powerpc/fpu/k_sinf.c: New file.
15448         * sysdeps/powerpc/fpu/s_cosf.c: New file.
15449         * sysdeps/powerpc/fpu/s_sinf.c: New file.
15450         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
15451         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
15453 2011-08-15  Alan Modra  <amodra@gmail.com>
15455         [BZ #13092]
15456         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
15457         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
15458         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
15459         ppc_mcount to static-only-routines.
15460         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
15461         __mcount_internal.
15462         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
15463         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
15465 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
15467         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
15468         for finite and infinity parameters.
15470 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
15472         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
15473         and add nop instructions for throughput optimization.
15474         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
15476 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
15478         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
15479         aligned copy for power7 with vector-scalar instructions.
15480         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
15482 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
15484         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
15485         AVX check.
15487 2011-09-07  Andreas Schwab  <schwab@redhat.com>
15489         [BZ #13144]
15490         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
15491         last change.
15493 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
15495         * sysdeps/unix/sysv/linux/x86_64/init-first.c
15496         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
15497         syscall wrapper around clock_gettime in __vdso_clock_gettime.
15498         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
15499         clock_gettime.
15501 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
15503         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
15504         Forgot to demangle the pointer.
15506         * sysdeps/i386/sysdep.h: Define atom_text_section.
15507         * sysdeps/x86_64/sysdep.h: Likewise.
15508         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
15509         section with atom_text_section.
15510         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
15511         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
15512         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
15513         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
15514         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
15516         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
15517         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
15518         already be defined.  Change to take two parameters and don't assign
15519         result to variable.  Adjust all users.
15520         Define INTERNAL_GETTIME if not already defined.
15521         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
15522         call.
15523         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
15524         HAVE_CLOCK_GETTIME_VSYSCALL.
15525         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
15527         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
15528         gettimeofday vsyscall, just use time.
15530 2011-09-06  Andreas Schwab  <schwab@redhat.com>
15532         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
15533         <errno.h>.
15535 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
15537         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
15538         syscall on x86-64.
15539         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
15540         syscall.
15541         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
15542         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
15543         syscall if possible.
15545 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
15547         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
15548         e_ident.  Don't pass to find_mapsXX.
15549         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
15551 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
15553         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15554         strchr-sse2-no-bsf strrchr-sse2-no-bsf
15555         * sysdeps/x86_64/multiarch/strchr.S: Update.
15556         Check bit_slow_BSF bit.
15557         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
15558         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
15559         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
15561 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
15563         [BZ #13134]
15564         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
15565         before glibc 2.15.
15566         (tryshell): Define.
15567         (__spawni): Change last parameter to be flag.  Test
15568         SPAWN_XFLAGS_USE_PATH flag to use path or not.
15569         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
15570         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
15571         * posix/spawni.c: Likewise.
15572         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
15573         * posix/spawnp.c: Likewise.  Change normal version to use
15574         SPAWN_XFLAGS_USE_PATH.
15575         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
15576         SPAWN_XFLAGS_TRY_SHELL.
15578         [BZ #13150]
15579         * posix/glob.h: Remove gcc 1.x support.
15581         [BZ #13068]
15582         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
15584 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
15586         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
15587         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
15588         strrchr-sse2-bsf
15589         * sysdeps/i386/i686/multiarch/strchr.S: New file.
15590         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
15591         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
15592         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
15593         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
15594         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
15596 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
15598         * sysdeps/x86_64/wcscmp.S: New file.
15600         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
15601         wcscmp-c wcscmp-sse2
15602         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
15603         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
15604         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
15605         * wcsmbs/wcscmp.c: Allow renaming.
15607 2011-09-05  David S. Miller  <davem@davemloft.net>
15609         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
15610         stack slot, rather than the struct return pointer slot.
15611         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
15612         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
15613         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
15614         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
15616 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
15618         * po/ja.po: Update from translation team.
15620         [BZ #13144]
15621         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
15622         kernel in 64-bit binaries.
15624 2011-09-01  David S. Miller  <davem@davemloft.net>
15626         * elf/elf.h (HWCAP_SPARC_*): Move to..
15627         * sysdeps/sparc/sysdep.h: this new file and add new values.
15628         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
15629         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
15630         _DL_HWCAP_COUNT to 24.
15631         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
15632         entries.
15633         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
15634         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
15635         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
15636         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
15637         instead of magic constants.
15638         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
15640 2011-08-31  David S. Miller  <davem@davemloft.net>
15642         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
15643         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
15644         Reimplement to do errno handling inline.
15645         (SYSCALL_ERROR_HANDLER): New macro.
15646         (__SYSCALL_STRING): Do not do errno handling in asm.
15647         (__CLONE_SYSCALL_STRING): Delete.
15648         (__INTERNAL_SYSCALL_STRING): Delete.
15649         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
15650         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
15651         (PSEUDO): Reimplement to do errno handling inline.
15652         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
15653         (SYSCALL_ERROR_HANDLER): New macro.
15654         (__SYSCALL_STRING): Do not do errno handling in asm.
15655         (__CLONE_SYSCALL_STRING): Delete.
15656         (__INTERNAL_SYSCALL_STRING): Delete.
15657         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
15658         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
15659         i386.
15660         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
15661         (inline_syscall*): Add 'err' argument.
15662         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
15663         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
15664         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
15665         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
15667         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
15668         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
15670 2011-08-30  Andreas Schwab  <schwab@redhat.com>
15672         * elf/rtld.c (dl_main): Relocate objects in dependency order.
15674 2011-08-29  Jiri Olsa <jolsa@redhat.com>
15676         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
15677         directive.
15679 2011-08-24  David S. Miller  <davem@davemloft.net>
15681         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
15683 2011-08-24  Andreas Schwab  <schwab@redhat.com>
15685         * elf/Makefile: Add rules to build and run unload8 test.
15686         * elf/unload8.c: New file.
15687         * elf/unload8mod1.c: New file.
15688         * elf/unload8mod1x.c: New file.
15689         * elf/unload8mod2.c: New file.
15690         * elf/unload8mod3.c: New file.
15692         * elf/dl-close.c (_dl_close_worker): Reset private search list if
15693         it wasn't used.
15695 2011-08-23  David S. Miller  <davem@davemloft.net>
15697         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
15698         subtract stack bias.
15699         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
15700         %sp not %fp in calculations.
15701         (_JMPBUF_UNWINDS_ADJ): Likewise.
15703         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
15704         (aio_suspend): Call it to force an exception region around the
15705         AIO_MISC_WAIT() invocation.
15707 2011-08-23  Andreas Schwab  <schwab@redhat.com>
15709         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
15710         backslash.
15712 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
15714         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
15715         protection macro.
15716         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
15717         and <dl-machine.h>.
15718         (Elf64_FuncDesc): Remove.
15720 2011-08-22  David S. Miller  <davem@davemloft.net>
15722         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
15723         sigaltstack check, add missing cfi directives.
15724         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
15725         missing cfi directives, and sigaltstack handling.
15727 2011-08-16  Andreas Schwab  <schwab@redhat.com>
15729         [BZ #11724]
15730         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
15731         object is seen twice.
15732         * elf/dl-fini.c (_dl_sort_fini): Likewise.
15734         * elf/Makefile (distribute): Add tst-initorder2.c.
15735         (tests): Add tst-initorder2.
15736         (modules-names): Add tst-initorder2a tst-initorder2b
15737         tst-initorder2c tst-initorder2d.  Add rules to build them.
15738         ($(objpfx)tst-initorder2.out): New rule.
15739         * elf/tst-initorder2.c: New file.
15740         * elf/tst-initorder2.exp: New file.
15742 2011-08-22  Andreas Schwab  <schwab@redhat.com>
15744         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
15746         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
15747         dependencies back to end of function.
15749         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
15750         $(elfobjdir)/ld.so.
15752 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
15754         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
15755         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
15756         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
15757         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
15758         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
15759         of __vdso_gettimeofday.
15760         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
15761         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
15762         attribute_hidden.
15763         (_libc_vdso_platform_setup): Remove initialization of
15764         __vdso_gettimeofday and __vdso_time.
15766 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
15768         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
15769         and fgetc_unlocked.
15770         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
15771         getc_unlocked.
15773         * elf/dl-open.c (add_to_global): Report additions to the global scope
15774         for LD_DEBUG=scopes.
15775         (dl_open_worker): Also print scope of newly loaded dependencies.
15776         (_dl_show_scope): Indicate if there is no scope.
15778         [BZ #13114]
15779         * stdio-common/Makefile (tests): Add bug24.
15780         * stdio-common/bug24.c: New file.
15782 2011-08-19  Andreas Jaeger  <aj@suse.de>
15784         [BZ #13114]
15785         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
15786         non-existant file when using close-on-exec mode.
15788 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
15790         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
15791         the very first instruction.
15793         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
15794         the CFI state in the end.
15795         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
15796         inclusion of dl-trampoline.h.
15797         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
15799 2011-08-19  Andreas Schwab  <schwab@redhat.com>
15801         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
15802         expectations for long double.
15804         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
15805         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
15807 2011-08-14  David S. Miller  <davem@davemloft.net>
15809         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
15810         artificual limit depends upon the system page size.
15812 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
15814         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
15815         * resolv/Makefile: Define CFLAGS-libresolv.
15817 2011-08-17  Andreas Schwab  <schwab@redhat.com>
15819         * nss/makedb.c (compute_tables): Make variables used in nested
15820         function static.
15822 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
15824         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
15825         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
15826         if buffer was too small.
15828         * elf/pldd.c (main): Attach to all threads in the process.
15829         Rewrite /proc handling to use *at functions.
15831 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
15833         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
15834         specifies first scope to show.
15835         (dl_open_worker): Update callers.  Move printing scope of new
15836         object to before the relocation.
15837         * elf/rtld.c (dl_main): Update _dl_show_scope call.
15838         * sysdeps/generic/ldsodefs.h: Update declaration.
15840         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
15841         string for the scope number.
15843 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
15845         * nscd/servicescache.c (cache_addserv): Make sure written is always
15846         initialized.
15848 2011-08-14  Roland McGrath  <roland@hack.frob.com>
15850         * sysdeps/i386/i486/bits/atomic.h
15851         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
15852         statement expression, so as to suppress "set but not used" warning.
15853         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
15855         * string/strncat.c (STRNCAT): Use prototype definition.
15857         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
15858         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
15859         -Iprograms here.
15860         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
15861         (localedef-modules): Add localedef.
15862         (locale-modules): Add locale.
15864         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
15865         * elf/rtld.c (dl_main): Invert order of assignment in last change,
15866         to avoid a warning.
15868 2011-08-14  David S. Miller  <davem@davemloft.net>
15870         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
15871         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
15873 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
15875         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
15876         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
15877         * elf/rtld.c (dl_main): Set l_name of vDSO.
15878         Call _dl_show_scope when DL_DEBUG_SCOPES.
15879         (process_dl_debug): Recognize scopes flag and also set it for all.
15880         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
15881         Declare _dl_show_scope.
15883         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
15884         (do_dlopen): Pass caller_dlopen to dl_open.
15885         (__libc_dlopen_mode): Initialize caller_dlopen.
15887         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
15888         of libc.  Make tolower call locale-independent.  Optimize a bit by
15889         using isdigit instead of isalnum.
15890         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
15892 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
15894         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
15895         was a dependency or dynamically loaded.
15897 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
15899         * intl/l10nflist.c: Allow architecture-specific pop function.
15900         * sysdeps/x86_64/l10nflist.c: New file.
15902         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
15903         classification.
15905 2011-08-10  Andreas Schwab  <schwab@redhat.com>
15907         * include/dirent.h: Add libc_hidden_proto for scandirat and
15908         scandirat64.  Don't declare __scandirat64.
15909         * dirent/scandirat.c: Add libc_hidden_def.
15910         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
15911         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
15913 2011-08-10  David S. Miller  <davem@davemloft.net>
15915         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
15916         enum.
15917         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
15918         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
15919         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
15921 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
15923         * Versions.def [libc]: Add GLIBC_2.15.
15924         * dirent/Makefile (routines): Add scandirat and scandirat64.
15925         * dirent/Versions [libc]: Export scandirat and scandirat64 for
15926         GLIBC_2.15.
15927         * dirent/dirent.h: Declare scandirat and scandirat64.
15928         * dirent/scandirat.c: New file.
15929         * dirent/scandirat64.c: New file.
15930         * sysdeps/wordsize-64/scandirat.c: New file.
15931         * sysdeps/wordsize-64/scandirat64.c: New file.
15932         * dirent/opendir.c: Define opendirat.
15933         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
15934         using scandirat.
15935         * dirent/scandir64.c: Adjust for scandir.c change.
15936         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
15937         __scandirat64, and __scandir_cancel_handler.
15938         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
15939         additional parameter and use openat instead of open (outside of ld.so).
15940         Add new __opendir as wrapper around __opendirat.
15941         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
15942         here without requiring old scandirat implementation.
15944 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
15946         * dirent/scandir.c (cancel_handler): Renamed to
15947         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
15948         defined.  Adjust users.
15949         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
15950         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
15952 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
15954         * string/test-string.h (IMPL): Use __STRING to expand name and then
15955         stringify it.
15957         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
15958         of cleanups.
15960 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
15962         * string/Makefile: Update.
15963         (strop-tests): Append strncat.
15964         * string/test-wcscmp.c: New file.
15965         New comprehensive test for wcscmp.
15966         * string/test-strcmp.c: Update.
15967         (WIDE): New define.
15969 2011-07-22  Andreas Schwab  <schwab@redhat.com>
15971         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
15972         line.
15974 2011-07-26  Andreas Schwab  <schwab@redhat.com>
15976         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
15977         encoding to ACE if AI_IDN.
15979 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
15981         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
15982         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
15984 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
15986         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
15987         Fix overflow bug in strncat.
15988         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
15990         * string/test-strncat.c: Update.
15991         Add new tests for checking overflow bugs.
15993 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
15995         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
15996         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
15997         * sysdeps/i386/i686/multiarch/strcat.S: New file.
15998         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
15999         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
16000         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
16001         * sysdeps/i386/i686/multiarch/strncat.S: New file.
16002         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
16003         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
16005         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
16006         (USE_AS_STRCAT): Define.
16007         Add strcat and strncat support.
16008         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
16010 2011-07-25  Andreas Schwab  <schwab@redhat.com>
16012         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
16013         __n bigger than INT_MAX+1.
16014         (__strncmp_g): Likewise.
16016 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
16018         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
16019         * libio/stido.h: Likewise.
16021         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
16022         (AF_NFC): Define.
16023         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
16024         (AF_NFC): Define.
16026         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
16027         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
16028         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
16029         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
16030         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
16032         [BZ #13021]
16033         * scripts/test-installation.pl: Don't expect libnss_test1 to be
16034         installed.
16036         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
16037         typo.
16038         (_dl_x86_64_save_sse): Likewise.
16040 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
16042         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
16043         OSXSAVE.
16044         (_dl_x86_64_save_sse): Likewise.
16046         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
16048         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
16050 2011-07-21  Andreas Schwab  <schwab@redhat.com>
16052         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
16053         change.
16054         (_dl_x86_64_save_sse): Use correct AVX check.
16056 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
16058         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
16059         bug in strncpy/strncat.
16060         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
16062 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
16064         * string/tester.c (test_strcat): Add tests for different alignments
16065         of source and destination.
16066         (test_strncat): Likewise.
16068 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
16070         [BZ #12852]
16071         * posix/glob.c (glob): Check passed in values before using them in
16072         expressions to avoid some overflows.
16073         (glob_in_dir): Likewise.
16075         [BZ #13007]
16076         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
16077         check for AVX enablement so that we don't crash with old kernels and
16078         new hardware.
16079         * elf/tst-audit4.c: Add same checks here.
16080         * elf/tst-audit6.c: Likewise.
16082         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
16084 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
16086         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
16088 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
16090         * po/cs.po: Update from translation team.
16091         * po/bg.po: Likewise.
16093 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
16095         * misc/sys/cdefs.h: Add support for const attribute.
16096         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
16097         to gnu_dev_{major,minor,makedev} functions.
16099 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
16101         * intl/dcigettext.c (get_output_charset): Add missing bracket.
16103 2011-07-20  Andreas Schwab  <schwab@redhat.com>
16105         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
16106         strlen results.
16108 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
16110         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
16111         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
16112         register in order to avoid conflicts with the soft frame pointer
16113         being held in r11 when necessary.
16114         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
16115         (INTERNAL_VSYSCALL_NCS): Likewise.
16117 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
16119         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
16120         * elf/dl-fini.c (_dl_fini): Adjust caller.
16121         * elf/dl-close.c (_dl_close_worker): Likewise.
16122         * sysdeps/generic/ldsodefs.h: Adjust declaration.
16124 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
16126         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
16127         "aux_cache->nlibs < 0".
16129         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
16130         in the reload-count case.
16132 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
16134         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
16135         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
16136         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
16137         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
16138         * sysdeps/x86_64/multiarch/strcat.S: New file.
16139         * sysdeps/x86_64/multiarch/strncat.S: New file.
16140         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
16141         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
16142         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
16143         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
16144         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
16145         (USE_AS_STRCAT): Define.
16146         Add strcat and strncat support.
16147         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
16148         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
16149         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
16150         * string/strncat.c: Update.
16151         (USE_AS_STRNCAT): Define.
16152         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16153         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
16154         and i7.
16155         * sysdeps/x86_64/multiarch/init-arch.h
16156         (bit_Prefer_PMINUB_for_stringop): New.
16157         (index_Prefer_PMINUB_for_stringop): Likewise.
16158         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
16159         bit_Prefer_PMINUB_for_stringop.
16161 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
16163         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
16164         buffer64.
16165         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
16166         of casting of buffer.
16167         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
16168         buffer32 and buffer64.
16169         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
16170         writes instead of casting of buffer.
16171         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
16172         buffer32.
16173         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
16174         casting of buffer.
16176 2011-07-19  Andreas Schwab  <schwab@redhat.com>
16178         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
16180 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
16182         * nscd/nscd.c (termination_handler): Don't do anything for a database
16183         if it has not yet been initialized.
16185 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
16187         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
16189 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
16191         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
16193 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
16195         * po/nl.po: Update from translation team.
16196         * po/sv.po: Likewise.
16198 2011-07-16  Roland McGrath  <roland@hack.frob.com>
16200         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
16201         now disallowed by GCC.
16203         * configure.in (use-default-link): Default to yes if a test -shared
16204         link meets our qualifications.
16205         * configure: Regenerated.
16207         * config.make.in (output-format): New variable.
16208         * configure.in: Check for ld --print-output-format support.
16209         * configure: Regenerated.
16210         * Makerules ($(common-objpfx)format.lds)
16211         [$(output-format) != unknown]: Just use $(output-format),
16212         instead of the linker-script munging.
16214 2011-07-14  Roland McGrath  <roland@hack.frob.com>
16216         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
16217         of $(common-objpfx)shlib.lds.
16218         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
16220         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
16221         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
16223         * configure.in (-z relro check): Adjust test code to add a large
16224         writable data section after it.
16225         * configure: Regenerated.
16227 2011-07-11  Roland McGrath  <roland@hack.frob.com>
16229         * configure.in (-z relro check): Fix test code to make the variable
16230         truly const.
16231         * configure: Regenerated.
16233 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
16235         * nscd/nscd.h (struct traced_file): Define.
16236         (struct database_dyn): Remove inotify_descr, reset_res, and filename
16237         elements.  Add traced_files.
16238         (inotify_fd): Declare.
16239         (register_traced_file): Declare.
16240         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
16241         (inotify_fd): Export.
16242         (resolv_conf_descr): Remove.
16243         (nscd_init): Move inotify descriptor creation to main.
16244         Don't register files for notification here.
16245         (register_traced_file): New function.
16246         (invalidate_cache): Don't use reset_res to determine whether to call
16247         res_init, go through the list of registered files.
16248         (main_loop_poll): The inotify descriptors are now stored in the
16249         structures for the traced files.
16250         (main_loop_epoll): Likewise
16251         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
16252         to __nss_disable_nscd.
16253         * nscd/cache.c (prune_cache): There is no single inotify descriptor
16254         for a database anymore.  Check the records for all the registered
16255         files instead.
16256         * nss/Makefile (libnss_files-routines): Add files-init.
16257         (libnss_db-routines): Add db-init.
16258         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
16259         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
16260         * nss/nss_db/db-init.c: New file.
16261         * nss/nss_files/files-init.c: New file.
16262         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
16263         __nss_lookup_function.
16264         (__nss_lookup_function): Call nss_load_library.
16265         (nss_load_all_libraries): New function.
16266         (__nss_disable_nscd): Take parameter with callback function for files
16267         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
16268         used for the cached services.
16269         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
16270         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
16271         options for features to all the files in nscd.
16273         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
16275 2011-07-10  Roland McGrath  <roland@hack.frob.com>
16277         * csu/elf-init.c (__libc_csu_init): Comment typo.
16279 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
16281         * po/pl.po: Update from translation team.
16282         * po/ja.po: Likewise.
16283         * po/ru.po: Likewise.
16284         * po/ko.po: Likewise.
16285         * po/fr.po: Likewise.
16287 2011-07-09  Roland McGrath  <roland@hack.frob.com>
16289         * configure.in (.ctors/.dtors header and trailer check):
16290         Use an empirical test on a built program.
16291         * configure: Regenerated.
16293         * configure.in (-z relro check): Use an empirical test on a built DSO.
16294         Detect, but do not require, on ia64.
16295         * configure: Regenerated.
16297         * configure.in (READELF): Find it with AC_CHECK_TOOL.
16298         Update tests that use readelf to use $READELF instead.
16299         * configure: Regenerated.
16301 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
16303         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
16304         if the result is not used.
16306 2011-07-05  Andreas Jaeger  <aj@suse.de>
16308         [BZ#9696]
16309         * stdlib/tst-strtod.c: Add testcase.
16311 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
16313         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
16314         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
16315         The latter has a higher limit.  Take additional parameter to pass to
16316         the new function.
16317         (__pathconf): Pass file to __statfs_link_max.
16318         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
16319         __statfs_link_max.
16320         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
16321         __statfs_link_max.
16323         [BZ #12868]
16324         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
16325         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
16326         Handle Lustre.
16327         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
16328         (__statfs_filesize_max): Likewise.
16329         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
16331 2011-07-05  Andreas Jaeger  <aj@suse.de>
16333         * resolv/res_comp.c (dn_skipname): Remove unused variable.
16335 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
16337         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
16338         `status' variable.
16339         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
16340         Likewise.
16342 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
16344         * Makefile (strop-tests): Add strncat.
16345         * string/test-strncat.c: New file.
16347 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
16349         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
16351 2011-06-21  Andreas Jaeger  <aj@suse.de>
16353         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
16354         Copy rule from iconvdata/Makefile.
16356 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
16358         [BZ #12922]
16359         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
16360         but no long options are defined, just return 'W'.
16362 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
16364         [BZ #9696]
16365         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
16367 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
16369         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
16370         netgroups to read.
16371         (innetgr): Likewise.
16373 2011-07-05  Roland McGrath  <roland@hack.frob.com>
16375         * config.make.in (install_root): Default to $(DESTDIR).
16377 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
16379         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
16381 2011-07-02  Roland McGrath  <roland@hack.frob.com>
16383         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
16385         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
16386         containing directory rather than embedding absolute directory names.
16388         * scripts/check-local-headers.sh: Rewritten using awk.
16389         Match by word, not by line.  Print error messages for matches.
16390         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
16392         * Makerules [shlib-lds-flags empty]:
16393         ($(common-objpfx)libc_pic.opts): New target.
16394         ($(common-objpfx)libc_pic.os.clean): New target.
16395         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
16397         * config.make.in (OBJCOPY): New variable.
16398         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
16399         * configure: Regenerated.
16401         * config.make.in (use-default-link): New variable.
16402         * configure.in (use_default_link): Grok --with-default-link to set it.
16403         * configure: Regenerated.
16404         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
16405         (shlib-lds, shlib-lds-flags): Define to empty.
16407         * Makerules (shlib-lds): New variable.
16408         (shlib-lds-flags): New variable.
16409         (build-shlib, build-moduile, build-module-asneeded): Use it.
16410         ($(common-objpfx)libc.so): Use $(shlib-lds).
16411         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
16412         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
16414         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
16415         DT_FLAGS/DT_FLAGS_1 with zero flags.
16417         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
16418         linker script munging.
16420 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
16422         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
16423         as 128-bit value.
16424         * crypt/sha512.c (sha512_process_block): Perform total addition using
16425         128-bit if possible.
16426         (__sha512_finish_ctx): Likewise.
16427         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
16428         as 64-bit value.
16429         * crypt/sha256.c (SWAP64): Define.
16430         (sha256_process_block): Perform total addition using 64-bit if
16431         possible.
16432         (__sha256_finish_ctx): Likewise.
16434 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
16436         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
16437         * nscd/initgrcache.c (addinitgroupsX): Likewise.
16438         * nscd/hstcache.c (cache_addhst): Likewise.
16439         * nscd/grpcache.c (cache_addgr): Likewise.
16440         * nscd/aicache.c (addhstaiX): Likewise
16441         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
16443 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
16445         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
16446         * nscd/initgrcache.c (addinitgroupsX): Likewise.
16447         * nscd/hstcache.c (cache_addhst): Likewise.
16448         * nscd/grpcache.c (cache_addgr): Likewise.
16449         * nscd/aicache.c (addhstaiX): Likewise
16451 2011-07-01  Andreas Schwab  <schwab@redhat.com>
16453         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
16454         domain only when needed.
16456 2011-06-30  Andreas Schwab  <schwab@redhat.com>
16458         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
16459         is always restored.
16461 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
16463         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
16464         are re-adding the entry.
16465         * nscd/servicescache.c (cache_addserv): Likewise.
16467 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
16469         * sysdeps/generic/dl-irel.h: fix protection against multiple
16470         inclusions.
16471         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
16473 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
16475         [BZ #12935]
16476         * malloc/memusage.sh: Fix quoting in message.
16477         * debug/xtrace.sh: Likewise.
16479         * configure.in: Remove support for --experimental-malloc option, make
16480         it the default.
16481         * config.make.in: Likewise.
16482         * malloc/Makefile: Likewise.
16484 2011-06-27  Andreas Schwab  <schwab@redhat.com>
16486         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
16487         two-byte characters.
16489 2011-06-27  Roland McGrath  <roland@hack.frob.com>
16491         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
16492         AC_CACHE_CHECK invocation.
16493         * configure: Regenerated.
16495         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
16497 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
16499         [BZ #12350]
16500         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
16501         bit from old_res_options.
16503         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
16505         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
16506         value type for setfct.
16508 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
16510         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
16511         __gettimeofday instead of gettimeofday.
16513 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
16515         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
16517 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
16519         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
16521         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
16522         info.
16524 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
16526         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
16527         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
16528         strcpy-sse2-unaligned strncpy-sse2-unaligned
16529         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
16530         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
16531         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
16532         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
16533         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
16534         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
16535         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
16536         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
16537         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
16538         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
16539         (STRCPY): Support SSE2 and SSSE3 versions.
16541 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
16543         [BZ #12874]
16544         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
16545         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
16546         kernels which artificially limit size of requests.
16548 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
16550         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
16551         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
16552         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
16553         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
16554         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
16555         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
16556         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
16557         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
16558         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
16559         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
16560         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
16561         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
16562         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
16563         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
16564         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
16565         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16566         Enable unaligned load optimization for Intel Core i3, i5 and i7
16567         processors.
16568         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
16569         Define.
16570         (index_Fast_Unaligned_Load): Define.
16571         (HAS_FAST_UNALIGNED_LOAD): Define.
16573 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
16575         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
16577 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
16579         [BZ #12907]
16580         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
16581         until it is clear that the information is realy needed.
16582         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
16584 2011-06-22  Andreas Schwab  <schwab@redhat.com>
16586         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
16588 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
16590         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
16591         /sys/devices/system/cpu/online if it is usable.
16593         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
16594         reading the information from the /proc filesystem to once a second.
16596 2011-06-21  Andreas Jaeger  <aj@suse.de>
16598         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
16599         NULL after inclusion of kernel headers.
16601 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
16603         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
16604         calls to internal_setent.
16606         [BZ #12885]
16607         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
16608         addresses using gethostbyname4_r ignore IPv4 addresses.
16610         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
16611         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
16613         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
16615 2011-06-20  David S. Miller  <davem@davemloft.net>
16617         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
16618         inclusions.
16619         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
16621         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
16622         (elf_irel): Use it.
16623         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
16624         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
16625         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
16626         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
16627         * sysdeps/x86_64/dl-irel.h: Likewise.
16629         * elf/dl-runtime.c: Use elf_ifunc_invoke.
16630         * elf/dl-sym.c: Likewise.
16632 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
16634         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
16635         need to dereference resplen2.
16637 2011-06-14  Andreas Schwab  <schwab@redhat.com>
16639         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
16641 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
16643         * Makeconfig: Define vardbdir and inst_vardbdir.
16644         * nss/Makefile: Add rules to install db-Makefile.
16646         * nss/nss_db/db-XXX.c: Cleanup.
16648         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
16649         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
16650         GLIBC_PRIVATE.
16651         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
16652         * nss/makedb.c: Implement -g option to specify that value strings
16653         are generated and should not be added to table iterated over for
16654         get*ent calls.
16655         * nss/nss_db/db-initgroups.c: New file.
16657         * nss/getent.c: Add support for initgroups lookups through getgrouplist
16658         interface.
16660         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
16661         (internal_getgrouplist): Adjust to name change.
16662         Update use_initgroups_entry if this is not the first call.
16663         * nss/databases.def: Add initgroups entry.
16665         * nss/makedb.c (compute_tables): Check result of multiple hash table
16666         sizes to minimize maximum chain length.
16668 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
16670         * Versions.def: Add entry for libnss_db.
16671         * shlib-versions: Likewise.
16672         * nss/Makefile: Add rules to build libnss_db.
16673         * nss/Versions: Add libnss_db information.  Organize libnss_files
16674         entries better.
16675         * nss/db-Makefile: Add gshadow support.  Change rules for the new
16676         makedb progra.  Some minor improvements to generate smaller files.
16677         * nss/nss_db/nss_db.h: Move NSS database header data structures to
16678         here from...
16679         * nss/makedb.c: ...here.
16680         Improve database format to be smaller and require less memory at
16681         runtime.
16682         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
16683         db anymore.
16684         * nss/nss_db/db-netgrp.c: Likewise.
16685         * nss/nss_db/db-open.c: Likewise.
16686         * nss/nss_files/flies-XXX.x: Adjust comments.
16687         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
16688         * nss/nss_files/files-grp.c: Likewise.
16689         * nss/nss_files/files-hosts.c: Likewise.
16690         * nss/nss_files/files-network.c: Likewise.
16691         * nss/nss_files/files-proto.c: Likewise.
16692         * nss/nss_files/files-pwd.c: Likewise.
16693         * nss/nss_files/files-rpc.c: Likewise.
16694         * nss/nss_files/files-service.c: Likewise.
16695         * nss/nss_files/files-sgrp.c: Likewise.
16696         * nss/nss_files/files-spwd.c: Likewise.
16697         * nss/nss_db/db-alias.c: Removed.
16698         * nss/nss_db/dummy-db.h: Removed.
16700 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
16702         * nss/makedb.c: Rewritten to not use database library.
16703         * nss/Makefile: Update to build new makedb program.
16705 2011-06-14  Andreas Jaeger  <aj@suse.de>
16707         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
16708         memset declaration.
16710 2011-06-10  Andreas Schwab  <schwab@redhat.com>
16712         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
16713         tmpbuf.
16715 2011-06-10  Roland McGrath  <roland@hack.frob.com>
16717         * Makerules (shlib.lds): Fail if the linker script comes out empty.
16718         * elf/Makefile ($(objpfx)ld.so): Likewise.
16720         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
16721         Don't list ld.so twice in dependencies.
16723         * posix/bug-regex31.c: Include <stdlib.h>.
16725         * nscd/hstcache.c (cache_addhst): Remove unused variable.
16727         * nis/nss_compat/compat-spwd.c
16728         (getspent_next_nss_netgr): Remove unused variable.
16729         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
16731         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
16732         nonmembers" output to use the right array.
16734         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
16736         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
16738         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
16739         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
16740         * catgets/gencat.c (read_input_file): Likewise.
16741         * locale/programs/locarchive.c (enlarge_archive): Likewise.
16743         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
16744         variable definition inside #if's controlling its use.
16746         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
16748         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
16750         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
16752         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
16753         unreachable code.
16755         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
16757         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
16758         * configure: Regenerated.
16760         * Makerules: Revert last change.
16761         * elf/Makefile: Likewise.
16763 2011-06-09  Roland McGrath  <roland@hack.frob.com>
16765         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
16766         * elf/Makefile ($(objpfx)librtld.os): Likewise.
16767         (reloc-link): Likewise.
16769 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
16771         * elf/Makefile: Add rules to build pldd.
16772         * elf/pldd.c: New file.
16773         * elf/pldd-xx.c: New file.
16775 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
16777         * version.h: Update for 2.15 development version.
16779 2011-06-07  David S. Miller  <davem@davemloft.net>
16781         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
16782         ifuncs.
16783         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
16784         elf_machine_lazy_rel): Likewise.
16785         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
16786         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
16787         elf_machine_lazy_rel): Likewise.
16788         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
16789         dl_hwcap via passed in argument.
16790         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
16791         Likewise.
16793 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
16795         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
16797 2011-06-06  Roland McGrath  <roland@hack.frob.com>
16799         [BZ #12849]
16800         * manual/fdl-1.1.texi: New file, verbatim from:
16801         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
16802         * manual/lgpl-2.1.texi: New file, verbatim from:
16803         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
16804         * manual/Makefile (licenses): New variable, list those new file names.
16805         (texis): Use it.
16806         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
16808         * manual/fdl.texi: File removed.
16809         * manual/lesser.texi: File removed.
16810         * manual/libc.texinfo (Copying, Documentation License):
16811         Use new @include file names, put @appendix directive before @include.
16813 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
16815         [BZ #12841]
16816         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
16817         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
16818         (mq_open): Add __NTH.
16820 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
16822         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16823         Assume Intel Core i3/i5/i7 processor if AVX is available.
16825 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
16827         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
16828         typo.
16830 2011-05-31  Andreas Schwab  <schwab@redhat.com>
16832         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
16833         memory.  Use alloca_account.  Fix memory leak when retrying.
16835 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
16837         * version.h (RELEASE): Bump for 2.14 release.
16838         * include/features.h (__GLIBC_MINOR__): Bump to 14.
16840         * config.make.in (RANLIB): Remove entry.
16842 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
16844         * po/Makefile (po-sed-cmd): Add ksh to extensions.
16845         (libc.pot): Work around missing support for .ksh extension in xgettext.
16847         [BZ #12684]
16848         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
16849         if both request failed.
16850         (send_dg): In case of server errors clear resplen or *resplen2.
16852         [BZ #12454]
16853         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
16854         when there are multiple maps.
16855         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
16856         (_dl_fini): Remove test here.
16858         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
16860 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
16862         [BZ #12350]
16863         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
16864         bit from old_res_options.
16865         (gaih_inet): Likewise.
16867         [BZ #11099]
16868         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
16869         as signed.
16871         * resolv/res_init.c (res_setoptions): Make the code more compact.
16873         [BZ #11558]
16874         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
16875         set RES_USEVC.
16877         [BZ #11634]
16878         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
16880         * malloc/malloc.h: Mark malloc hook variables as deprecated.
16882         [BZ #11781]
16883         * malloc/malloc.h: Declare malloc hook variables as volatile.
16885         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
16886         in last patch.
16888         [BZ #11799]
16889         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
16890         raise in the comment.
16891         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
16892         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
16893         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
16895 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
16897         [BZ #12811]
16898         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
16899         grow the buffers more if it already has to be sufficient.
16900         (build_wcs_upper_buffer): Likewise.
16901         * posix/regexec.c (check_matching): Likewise.
16902         (clean_state_log_if_needed): Likewise.
16903         (extend_buffers): Don't enlarge buffers beyond size of the input
16904         buffer.
16905         Patches mostly by Emil Wojak <emil@wojak.eu>.
16906         * posix/bug-regex32.c: New file.
16907         * posix/Makefile (tests): Add bug-regex32.
16909         * locale/findlocale.c (_nl_find_locale): Return right away if
16910         _nl_explode_name failed.
16911         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
16913         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
16915         * debug/xtrace.sh: Unify messages.
16916         * malloc/memusage.sh: Likewise.
16918         [BZ #12813]
16919         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
16920         time symbol from vDSO.  Substitute with vsyscall if not available.
16921         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
16922         __vdso_time.
16924         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
16925         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
16926         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
16927         Add sendmmsg and internal_sendmmsg.
16928         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
16929         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
16930         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
16932         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
16933         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
16934         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
16936 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
16938         [BZ #12813]
16939         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
16940         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
16941         available.
16942         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
16943         __vdso_getcpu.
16945         [BZ #12814]
16946         * iconvdata/Makefile (tests): Add bug-iconv9.
16947         * iconvdata/bug-iconv9.c: New file.
16949 2011-05-27  Andreas Schwab  <schwab@redhat.com>
16951         [BZ #12814]
16952         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
16954 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
16956         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
16957         (struct user_regs_struct): Change intcs field back to cs.
16959 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
16961         * po/ja.po: Update from translation team.
16963 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
16965         [BZ #12795]
16966         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
16967         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
16969 2011-05-20  Andreas Schwab  <schwab@redhat.com>
16971         * stdlib/longlong.h: Update from GCC.
16973 2011-05-23  Andreas Schwab  <schwab@redhat.com>
16975         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
16976         parameter name.
16977         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
16978         Add parameter name.
16979         (__sysconf): Pass it down.
16981 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
16983         [BZ #12671]
16984         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
16985         some situations.
16986         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
16987         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
16988         add in in __libc_use_alloca calls.  Adjust callers.
16989         (glob): Use malloc in some situations.
16991         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
16992         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
16993         pltexit.
16995 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
16997         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
16998         and CLOCK_BOOTTIME_ALARM.
17000         [BZ #12782]
17001         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
17002         is returned.
17004         * string/_strerror.c (__strerror_r): Print negative errors as signed
17005         numbers.
17007         [BZ #12777]
17008         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
17009         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
17010         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
17012         * configure.in: Fix typo in redirection and correct removal of test
17013         files in two cases.
17015         [BZ #12788]
17016         * locale/setlocale.c (new_composite_name): Fix test to check for
17017         identical name of all categories.
17019         [BZ #12792]
17020         * libio/filedoalloc.c (local_isatty): New function.
17021         (_IO_file_doallocate): Use local_isatty.
17022         * stdio-common/perror.c (perror): In case a new stream is used
17023         forward the stream error.
17024         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
17025         error flag.
17027 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
17029         [BZ #11869]
17030         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
17031         alloca.
17032         * include/alloca.h (extend_alloca_account): Define.
17034         [BZ #11857]
17035         * posix/regex.h: Fix comments with documentation of user-accessible
17036         fields after compilation and describe correct free'ing of pattern
17037         after re_compile_pattern.
17038         Patch by Reuben Thomas <rrt@sc3d.org>.
17040 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
17042         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
17043         and -mno-altivec to prevent the compiler from using Altivec and/or
17044         VSX instructions when the corresponding registers are not available.
17046 2011-05-19  Andreas Schwab  <schwab@redhat.com>
17048         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
17050 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
17052         * libio/freopen.c (freopen): Use __dup2, not dup2.
17053         * libio/freopen64.c (freopen64): Likewise.
17055 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
17057         [BZ #12775]
17058         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
17059         * math/Makefile (tests): Add test-powl.
17060         (CFLAGS-test-powl.c): Define.
17061         * math/test-powl.c: New file.
17063 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
17065         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
17067 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
17069         [BZ #11837]
17070         * iconvdata/gb18030.c: Update to GB18020-2005.
17072 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
17074         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
17075         RE_SYNTAX_POSIX_AWK): Update to match recent development.
17076         Patch by Aharon Robbins <arnold@skeeve.com>.
17078         [BZ #11892]
17079         * stdlib/putenv.c (putenv): Don't always create copy of the variable
17080         on the stack.
17082         [BZ #11895]
17083         * misc/pselect.c (__pselect): Handle timeout value errors hidden
17084         through underflows.
17086         [BZ #12766]
17087         * misc/error.c (error_at_line): Ensure file_name and old_file_name
17088         point to strings before performing equality test for error_one_per_line
17089         mode.
17091         [BZ #11697]
17092         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
17094         [BZ #11820]
17095         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
17096         (struct user_fpregs_struct): Avoid __uint*_t types.
17098         [BZ #6420]
17099         * malloc/mtrace.c (tr_where): Add additional parameter to point to
17100         symbol info.  Use it instead of calling _dl_addr locally.
17101         (lock_and_info): New function.
17102         (tr_freehook): Call lock_and_info and pass symbol info as additional
17103         parameter to tr_where.
17104         (tr_mallochook): Likewise.
17105         (tr_reallochook): Likewise.
17106         (tr_memalignhook): Likewise.
17108         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
17109         used and couldn't be at all thread-safe.
17111 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
17113         * libio/freopen.c (freopen): Don't close old file descriptor
17114         before the new one is opened.  Instead dup the new file descriptor
17115         to the old one after the new stream is created.
17116         * libio/freopen64.c (freopen64): Likewise.
17117         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
17118         * libio/fileops.c (_IO_new_file_close_it): Handle new
17119         _IO_FLAGS2_NOCLOSE flag.
17120         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
17121         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
17122         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
17123         _IO_FLAGS2_NOCLOSE flag.
17124         * include/unistd.h: Add hidden_proto for dup3.
17125         Define __have_dup3.
17126         * io/dup3.c: Define hidden symbol.
17127         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
17129         [BZ #7101]
17130         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
17131         when an incomplete long option is used.
17132         * posix/tst-getopt_long1.c: New file.
17133         * posix/Makefile (tests): Add tst-getopt_long1.
17135         [BZ #10138]
17136         * scripts/config.guess: Update from autoconf-2.68.
17137         * scripts/config.sub: Likewise.
17139         [BZ #10157]
17140         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
17141         tests into ...
17142         (has_cpuclock): ...this.  New function.
17143         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
17144         macro here based on has_cpuclock code.
17146         [BZ #10149]
17147         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
17148         First byte (not low byte) is now always NUL.
17149         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
17151         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
17152         Use non-cancelable interfaces.
17154         [BZ #9809]
17155         * locale/iso-639.def: Add entry for Sorani.
17157         [BZ #11901]
17158         * include/stdlib.h: Move include protection to the right place.
17159         Define abort_msg_s.  Declare __abort_msg with it.
17160         * stdlib/abort.c (__abort_msg): Adjust type.
17161         * assert/assert.c (__assert_fail_base): New function.  Majority
17162         of code from __assert_fail.  Allocate memory for __abort_msg with
17163         mmap.
17164         (__assert_fail): Now call __assert_fail_base.
17165         * assert/assert-perr.c: Remove bulk of implementation.  Use
17166         __assert_fail_base.
17167         * include/assert.hL Declare __assert_fail_base.
17168         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
17169         mmap.
17170         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
17172 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
17174         [BZ #11952]
17175         [BZ #12453]
17176         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
17177         until all modules are registered in the DTV.
17178         * elf/Makefile: Add rules to build and run tst-tls19.
17179         * elf/tst-tls19.c: New file.
17180         * elf/tst-tls19mod1.c: New file.
17181         * elf/tst-tls19mod2.c: New file.
17182         * elf/tst-tls19mod3.c: New file.
17183         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
17185         [BZ #12083]
17186         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
17187         correctly.
17189         [BZ #12601]
17190         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
17191         two-byte sequence errors.
17192         * iconvdata/Makefile (tests): Add bug-iconv8.
17193         * iconvdata/bug-iconv8.c: New file.
17195         [BZ #12626]
17196         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
17197         buf2 definition.
17199         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
17201         [BZ #12432]
17202         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
17203         (dummy_getcfa): New function.
17204         (init): Get _Unwind_GetCFA address, use dummy if not found.
17205         (backtrace_helper): In recursion check, also check whether CFA changes.
17206         (__backtrace): Completely initialize arg.
17208         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
17209         storing incomplete byte sequence in state object.  Avoid testing for
17210         guaranteed too small input if we know there is enough data available.
17212 2011-05-11  Andreas Schwab  <schwab@redhat.com>
17214         * Makeconfig (+link-pie): Indent.
17215         * Rules (binaries-pie): Define if $(have-fpie) and
17216         $(build-shared).
17217         (binaries-shared): Also filter out $(binaries-pie).
17218         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
17219         * nscd/Makefile (others-pie): Add nscd.
17220         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
17221         ($(objpfx)nscd): Remove command override.
17222         * login/Makefile (others-pie): Add pt_chown.
17223         ($(objpfx)pt_chown): Remove command override.
17224         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
17225         remove command overrides.
17227 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
17229         * libio/tst_putwc.c: Fix error messages.
17231         [BZ #12724]
17232         * libio/fileops.c (_IO_new_file_close_it): Always flush when
17233         currently writing and seek to current position when not.
17234         * libio/Makefile (tests): Add bug-fclose1.
17235         * libio/bug-fclose1.c: New file.
17237 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
17239         [BZ #12511]
17240         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
17241         don't set DF_1_NODELETE here.
17242         (do_lookup_x): When entering new entry test for copy relocation
17243         and if necessary set DF_1_NODELETE flag.
17244         * elf/tst-unique4.cc: New file.
17245         * elf/tst-unique4.h: New file.
17246         * elf/tst-unique4lib.cc: New file.
17247         * elf/Makefile: Add rules to build and run tst-unique4.
17248         Patch by Piotr Bury <pbury@goahead.com>.
17250 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
17252         [BZ #12052]
17253         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
17255         [BZ #12625]
17256         * misc/mntent_r.c (addmntent): Flush the stream after the output
17258         [BZ #12393]
17259         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
17260         (is_trusted_path_normalize): Skip initial colon.  Append slash
17261         to empty buffer.  Duplicate is_trusted_path code but allow
17262         constructed patch to be prefix.
17263         (is_dst): Allow $ORIGIN followed by /.
17264         (_dl_dst_substitute): Correct clearing of check_for_trusted.
17265         Correct testing of result of is_trusted_path_normalize
17266         (decompose_rpath): Fix warning.
17268 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
17270         [BZ #11257]
17271         * grp/initgroups.c (internal_getgrouplist): When we found the service
17272         list through the initgroups entry in nsswitch.conf do not always
17273         continue on a successful lookup.  Don't always use the
17274         __nss_group_database value if it is set.
17275         * nss/nsswitch.conf (initgroups): Change action for successful db
17276         lookup to continue for compatibility.
17278 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
17280         [BZ #11532]
17281         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
17282         and CP774 modules.
17283         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
17284         and CP774 modules.
17285         * iconvdata/tst-tables.sh: Likewise.
17286         * iconvdata/cp770.c: New file.
17287         * iconvdata/cp771.c: New file.
17288         * iconvdata/cp772.c: New file.
17289         * iconvdata/cp773.c: New file.
17290         * iconvdata/cp774.c: New file.
17291         * iconvdata/testdata/CP770: New file.
17292         * iconvdata/testdata/CP770..UTF8: New file.
17293         * iconvdata/testdata/CP771: New file.
17294         * iconvdata/testdata/CP771..UTF8: New file.
17295         * iconvdata/testdata/CP772: New file.
17296         * iconvdata/testdata/CP772..UTF8: New file.
17297         * iconvdata/testdata/CP773: New file.
17298         * iconvdata/testdata/CP773..UTF8: New file.
17299         * iconvdata/testdata/CP774: New file.
17300         * iconvdata/testdata/CP774..UTF8: New file.
17302         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
17303         END CHARMAP line.
17304         * iconvdata/gen-8bit-gap.sh: Likewise.
17305         * iconvdata/gen-8bit.sh: Likewise.
17307         * locale/iso-639.def: Add ary entry.
17309         [BZ #11258]
17310         * locale/C-translit.h.in: Add U20A1 transliteration.
17312         [BZ #12178]
17313         * locale/iso-639.def: Add wae entry.
17314         Patch by Kevin Bortis <bortis@translate-wae.ch>.
17316         [BZ #12545]
17317         * locale/programs/localedef.c (construct_output_path): Use ssize_t
17318         for n.
17320         [BZ #12711]
17321         * locale/C-translit.h.in: Add entry for U20B9.
17322         Patch by pravin.d.s@gmail.com.
17324 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
17326         [BZ #12713]
17327         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
17328         ENAMETOOLONG use generic getcwd.
17329         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
17330         in rtld.  Use *stat64.
17331         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
17332         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
17333         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
17334         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
17335         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
17336         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
17337         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
17338         __fstatat64 macros.
17339         * include/dirent.h: Add libc_hidden_proto for rewinddir.
17340         * dirent/rewinddir.c: Add libc_hidden_def.
17341         * sysdeps/mach/hurd/rewinddir.c: Likewise.
17342         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
17344         * include/dirent.h (__alloc_dir): Add flags parameter.
17345         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
17346         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
17347         __alloc_dir.
17348         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
17349         from fdopendir if O_CLOEXEC is already set.
17351 2011-03-15  Alan Modra  <amodra@gmail.com>
17353         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
17354         l_tls_firstbyte_offset non-zero.  Save padding offset in
17355         l_tls_firstbyte_offset for later use.
17356         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
17357         freeing static tls block.
17359 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
17361         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
17362         where #ifdef was intended.  The intent is to prevent ARG_MAX from
17363         being defined by the kernel headers.
17365 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
17367         [BZ #12734]
17368         * resolv/resolv.h: Define RES_NOTLDQUERY.
17369         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
17370         no-tld-query and set RES_NOTLDQUERY.
17371         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
17372         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
17373         modern BIND to search name as TLD unless forbidden.
17375 2011-05-07  Petr Baudis  <pasky@suse.cz>
17376             Ulrich Drepper  <drepper@gmail.com>
17378         [BZ #12393]
17379         * elf/dl-load.c (fillin_rpath): Move trusted path check...
17380         (is_trusted_path): ...to here.
17381         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
17382         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
17383         using is_trusted_path_normalize() in setuid scripts.
17385 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
17387         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
17388         __BEGIN/__END_DECLS.
17390 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
17392         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
17393         NSS_STATUS_NOTFOUND if no record was found.
17395 2011-05-05  Andreas Schwab  <schwab@redhat.com>
17397         * sunrpc/Makefile (headers): Add rpc/netdb.h.
17398         (headers-not-in-tirpc): Remove rpc/netdb.h
17399         * resolv/netdb.h: Revert last change.
17401 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
17403         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
17404         circular dependency between libgcc.a and libc.a.
17406 2011-05-05  Andreas Schwab  <schwab@redhat.com>
17408         * resolv/netdb.h: Don't include <rpc/netdb.h>.
17409         * nis/Makefile: Don't install rpcsvc/*.
17410         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
17411         instead of <rpc/types.h>.
17412         (MAXHOSTNAMELEN): Define.
17414 2011-05-03  Andreas Schwab  <schwab@redhat.com>
17416         * elf/ldconfig.c (add_dir): Don't crash on empty path.
17418 2011-04-28  Maciej Babinski  <mbabinski@google.com>
17420         [BZ #12714]
17421         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
17422         gethostbyname4_r when IPv6 results are possible.
17424 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
17426         [BZ #12723]
17427         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
17428         _PC_PIPE_BUF handling.
17430 2011-04-30  Bruno Haible  <bruno@clisp.org>
17432         [BZ #12717]
17433         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
17434         * resolv/netdb.h (getnameinfo): Change type of flags parameter
17435         to 'int'.
17436         * inet/getnameinfo.c (getnameinfo): Likewise.
17438 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
17440         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
17441         to groups setting in database lookup.
17442         * nss/nsswitch.conf: Add initgroups entry.
17444 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
17446         [BZ #12685]
17447         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
17448         mode string.
17449         Patch by Eric Blake <eblake@redhat.com>.
17451 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
17453         * sunrpc/Makefile (need-export-routines): Add svc_run.
17454         (routines): Remove svc_run.
17455         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
17456         * sunrpc/clnt_perr.c (clnt_perrno): Export.
17457         * sunrpc/svc_run.c (svc_run): Likewise.
17458         * sunrpc/svc_udp.c (svcudp_create): Likewise.
17460 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
17462         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
17463         problem in reallocation in last patch.
17465 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
17467         * sunrpc/Makefile: Move inclusion of Rules.
17469 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
17471         * nss/nss_files/files-initgroups.c: New file.
17472         * nss/Makefile (libnss_files-routines): Add files-initgroups.
17473         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
17474         _nss_files_initgroups_dyn.
17476 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
17478         * elf/elf.h (R_ARM_IRELATIVE): Define.
17480 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
17482         * po/ru.po: Update from translation team.
17484 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
17486         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
17487         dependencies.
17489 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
17491         [BZ #12653]
17492         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
17493         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
17494         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
17495         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
17496         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
17498 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
17500         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
17501         differing bytes.
17502         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
17503         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
17504         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
17506 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
17508         [BZ #12420]
17509         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
17510         storing it.
17511         * stdlib/bug-getcontext.c: New file.
17512         * stdlib/Makefile: Add rules to build and run bug-getcontext.
17514 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
17516         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
17517         instructions into .machine "z9-109".
17518         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
17519         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
17521 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
17523         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
17524         between environment variables and auxiliary vector.
17526 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
17528         * Makefile: Add rules to build linkobj/libc.so.
17529         * include/libc-symbols.h: Define libc_hidden_nolink.
17530         * include/rpc/auth.h: Mark functions which are to be hidden.
17531         * include/rpc/auth_des.h: Likewise.
17532         * include/rpc/auth_unix.h: Likewise.
17533         * include/rpc/clnt.h: Likewise.
17534         * include/rpc/des_crypt.h: Likewise.
17535         * include/rpc/key_prot.h: Likewise.
17536         * include/rpc/pmap_clnt.h: Likewise.
17537         * include/rpc/pmap_prot.h: Likewise.
17538         * include/rpc/pmap_rmt.h: Likewise.
17539         * include/rpc/rpc_msg.h: Likewise.
17540         * include/rpc/svc.h: Likewise.
17541         * include/rpc/svc_auth.h: Likewise.
17542         * include/rpc/xdr.h: Likewise.
17543         * nis/Makefile: Link all DSOs against linkobj/libc.so.
17544         * nss/Makefile: Likewise.
17545         * sunrpc/Makefile: Don't install headers.  Build library with normal
17546         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
17547         * sunrpc/auth_des.c: Hide exported symbols by default, export some
17548         for the compat linking library.  Remove use of INTDEF/INTUSE.
17549         * sunrpc/auth_none.c: Likewise.
17550         * sunrpc/auth_unix.c: Likewise.
17551         * sunrpc/authdes_prot.c: Likewise.
17552         * sunrpc/authuxprot.c: Likewise.
17553         * sunrpc/clnt_gen.c: Likewise.
17554         * sunrpc/clnt_perr.c: Likewise.
17555         * sunrpc/clnt_raw.c: Likewise.
17556         * sunrpc/clnt_simp.c: Likewise.
17557         * sunrpc/clnt_tcp.c: Likewise.
17558         * sunrpc/clnt_udp.c: Likewise.
17559         * sunrpc/clnt_unix.c: Likewise.
17560         * sunrpc/des_crypt.c: Likewise.
17561         * sunrpc/des_soft.c: Likewise.
17562         * sunrpc/get_myaddr.c: Likewise.
17563         * sunrpc/key_call.c: Likewise.
17564         * sunrpc/key_prot.c: Likewise.
17565         * sunrpc/netname.c: Likewise.
17566         * sunrpc/pm_getmaps.c: Likewise.
17567         * sunrpc/pm_getport.c: Likewise.
17568         * sunrpc/pmap_clnt.c: Likewise.
17569         * sunrpc/pmap_prot.c: Likewise.
17570         * sunrpc/pmap_prot2.c: Likewise.
17571         * sunrpc/pmap_rmt.c: Likewise.
17572         * sunrpc/publickey.c: Likewise.
17573         * sunrpc/rpc_cmsg.c: Likewise.
17574         * sunrpc/rpc_common.c: Likewise.
17575         * sunrpc/rpc_dtable.c: Likewise.
17576         * sunrpc/rpc_prot.c: Likewise.
17577         * sunrpc/rpc_thread.c: Likewise.
17578         * sunrpc/rtime.c: Likewise.
17579         * sunrpc/svc.c: Likewise.
17580         * sunrpc/svc_auth.c: Likewise.
17581         * sunrpc/svc_authux.c: Likewise.
17582         * sunrpc/svc_raw.c: Likewise.
17583         * sunrpc/svc_run.c: Likewise.
17584         * sunrpc/svc_simple.c: Likewise.
17585         * sunrpc/svc_tcp.c: Likewise.
17586         * sunrpc/svc_udp.c: Likewise.
17587         * sunrpc/svc_unix.c: Likewise.
17588         * sunrpc/svcauth_des.c: Likewise.
17589         * sunrpc/xcrypt.c: Likewise.
17590         * sunrpc/xdr.c: Likewise.
17591         * sunrpc/xdr_array.c: Likewise.
17592         * sunrpc/xdr_float.c: Likewise.
17593         * sunrpc/xdr_intXX_t.c: Likewise.
17594         * sunrpc/xdr_mem.c: Likewise.
17595         * sunrpc/xdr_rec.c: Likewise.
17596         * sunrpc/xdr_ref.c: Likewise.
17597         * sunrpc/xdr_sizeof.c: Likewise.
17598         * sunrpc/xdr_stdio.c: Likewise.
17600 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
17602         [BZ #12650]
17603         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
17604         * sysdeps/ia64/dl-tls.h: Likewise.
17605         * sysdeps/powerpc/dl-tls.h: Likewise.
17606         * sysdeps/s390/dl-tls.h: Likewise.
17607         * sysdeps/sh/dl-tls.h: Likewise.
17608         * sysdeps/sparc/dl-tls.h: Likewise.
17609         * sysdeps/x86_64/dl-tls.h: Likewise.
17610         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
17612 2011-03-14  Andreas Schwab  <schwab@redhat.com>
17614         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
17615         rpath element also skip the following colon.
17616         (expand_dynamic_string_token): Add is_path parameter and pass
17617         down to DL_DST_REQUIRED and _dl_dst_substitute.
17618         (decompose_rpath): Call expand_dynamic_string_token with
17619         non-zero is_path.  Ignore empty rpaths.
17620         (_dl_map_object_from_fd): Call expand_dynamic_string_token
17621         with zero is_path.
17623 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
17625         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
17626         Make cancelable.
17628 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
17630         [BZ #12655]
17631         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
17632         Patch by Filipe David Manana <fdmanana@apache.org>.
17634 2011-04-07  Andreas Schwab  <schwab@redhat.com>
17636         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
17637         Maintain aligned stack.
17638         (CHECK_RSP): Remove unused macro.
17640 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
17642         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
17643         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
17645 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
17647         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
17649         * include/features.h: Mention __USE_XOPEN2K8 in comment.
17651 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
17653         [BZ #12518]
17654         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
17655         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
17656         * sysdeps/x86_64/memmove.c: New file.
17657         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
17658         (memcpy): Renamed to ...
17659         (__new_memcpy): This.
17660         (memcpy): Provide GLIBC_2_14 memcpy.
17661         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
17662         (memcpy): Provide GLIBC_2_2_5 memcpy.
17664 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
17666         [BZ #12631]
17667         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
17669 2011-03-30  Andreas Schwab  <schwab@redhat.com>
17671         * misc/syncfs.c: New file.
17672         * misc/Makefile (routines): Add syncfs.
17673         * posix/unistd.h: Declare syncfs.
17674         * sysdeps/unix/syscalls.list: Add syncfs.
17676 2011-04-01  Andreas Schwab  <schwab@redhat.com>
17678         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
17679         open_by_handle_at.
17680         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
17681         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
17682         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
17683         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
17684         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
17685         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
17686         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
17688 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
17690         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
17691         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
17692         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
17693         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
17694         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
17695         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
17696         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
17698         * io/Makefile: Compile fallocate.c, fallocate64.c, and
17699         sync_file_range.c with -fexceptions.
17700         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
17701         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
17702         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
17703         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
17704         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
17705         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
17706         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
17707         sync_file_range as cancellation point
17708         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
17709         now a wrapper around __call_sync_file_range with cancellation handling.
17710         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
17711         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
17712         function name to __call_sync_file_range.
17713         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
17714         Add call_sync_file_range.
17716 2011-04-01  Andreas Schwab  <schwab@redhat.com>
17718         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17719         bits/timex.h.
17721 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
17723         * iconv/iconv.h: Fix typo in comment.
17724         * io/fcntl.h: Likewise.
17725         * libio/stdio.h: Likewise.
17726         * posix/spawn.h: Likewise.
17727         * posix/unistd.h: Likewise.
17728         * stdlib/stdlib.h: Likewise.
17729         * time/time.h: Likewise.
17730         * wcsmbs/wchar.h: Likewise.
17732         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
17733         open_by_handle): Add.
17734         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
17735         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
17736         Augment a few comments.
17737         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
17738         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
17739         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
17740         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
17741         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
17742         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
17743         open_by_handle.
17745         * io/fcntl.h (AT_EMPTY_PATH): Define.
17747 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
17749         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
17750         * sysdeps/unix/sysv/linux/bits/time.h: New file.
17751         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
17752         to...
17753         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
17754         * Versions.def: Add GLIBC_2.14.
17755         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
17756         Export.
17758 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
17760         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
17761         round counter.
17762         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
17764 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
17766         [BZ #12597]
17767         * string/test-strncmp.c (do_page_test): New function.
17768         (check2): Likewise.
17769         (test_main): Call check2.
17770         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
17772 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
17774         [BZ #12587]
17775         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
17776         Handle cache information in CPU leaf 4.
17777         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
17779 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
17781         [BZ #12583]
17782         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
17783         character representation.
17784         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
17786 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
17788         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
17789         END(__isnan) to END(__isnanf) to match function entry point/label
17790         EALIGN(__isnanf,...).
17792 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
17794         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
17796 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
17798         [BZ #12510]
17799         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
17800         copy from the symbol referenced in the relocation to initialize the
17801         used variable.
17802         Patch by Piotr Bury <pbury@goahead.com>.
17803         * elf/Makefile: Add rules to build and tst-unique3.
17804         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
17805         * elf/tst-unique3.cc: New file.
17806         * elf/tst-unique3.h: New file.
17807         * elf/tst-unique3lib.cc: New file.
17808         * elf/tst-unique3lib2.cc: New file.
17810         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
17812 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
17814         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
17815         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
17816         to _start.
17818 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
17820         * elf/dl-load.c (_dl_map_object): If we are looking for the first
17821         to-be-loaded object along a path to loader is ld.so.
17823 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
17824             Ulrich Drepper  <drepper@gmail.com>
17826         * sysdeps/x86_64/memset.S: After aligning destination, code
17827         branches to different locations depending on the value of
17828         misalignment, when multiarch is enabled. Fix this.
17830 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
17832         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
17833         Set _x86_64_preferred_memory_instruction for AMD processsors.
17834         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17835         Set bit_Prefer_SSE_for_memop for AMD processors.
17837 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
17839         * libio/fmemopen.c (fmemopen): Optimize a bit.
17841 2011-03-03  Andreas Schwab  <schwab@redhat.com>
17843         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
17845 2011-03-03  Roland McGrath  <roland@redhat.com>
17847         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
17849 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
17851         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
17852         __bzero_ultra1 instead of __memset_ultra1.
17854 2011-02-23  Andreas Schwab  <schwab@redhat.com>
17855             Ulrich Drepper  <drepper@gmail.com>
17857         [BZ #12509]
17858         * include/link.h (struct link_map): Add l_orig_initfini.
17859         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
17860         returning unsuccessfully.
17861         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
17862         close of a file loaded at startup, restore the original l_initfini
17863         list.
17864         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
17865         list, store the pointer.
17866         * elf/Makefile ($(objpfx)noload-mem): New rule.
17867         (noload-ENV): Define.
17868         (tests): Add $(objpfx)noload-mem.
17869         * elf/noload.c: Include <memcheck.h>.
17870         (main): Call mtrace.  Close all opened handles.
17872 2011-02-17  Andreas Schwab  <schwab@redhat.com>
17874         [BZ #12454]
17875         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
17876         dependencies are missing.
17878 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17880         Fix __if_freereq crash: Unlike the generic version which uses free,
17881         Hurd needs munmap.
17882         * sysdeps/mach/hurd/ifreq.h: New file.
17884 2011-01-27  Petr Baudis  <pasky@suse.cz>
17885             Ulrich Drepper  <drepper@gmail.com>
17887         [BZ 12445]#
17888         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
17889         to extend_alloca().
17890         * stdio-common/bug23.c: New file.
17891         * stdio-common/Makefile (tests): Add bug23.
17893 2010-09-28  Andreas Schwab  <schwab@redhat.com>
17894             Ulrich Drepper  <drepper@gmail.com>
17896         [BZ #12489]
17897         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
17898         before performing relro protection.  At old place add assertion
17899         to make sure nothing changed.
17901 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
17902             Glauber de Oliveira Costa  <glommer@gmail.com>
17904         * elf/elf.h: Add new ARM TLS relocs.
17906 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
17908         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
17909         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
17910         cast from r3.
17911         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
17912         'tests' variable.
17913         * sysdeps/wordsize-64/tst-writev.c: New file.
17915 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
17917         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
17918         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
17919         insns in _dl_start to prevent a TOC reference before relocs are
17920         resolved.
17922 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
17924         [BZ #12469]
17925         * Makeconfig: Remove RANLIB definition.
17926         * Makerules: Don't use RANLIB.
17927         * aclocal.m4: Remove ranlib test.
17928         * configure.in: No need to check for ranlib.
17929         * elf/rtld-Rules: Don't use RANLIB.
17931 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17933         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
17934         protection macro.
17935         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
17936         inclusion protection macro.
17938         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
17939         SIGRTMIN and SIGRTMAX and print information in that case only when
17940         SIGRTMIN is defined.
17942 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
17944         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
17945         arginfo fn returning -1.
17947         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
17948         and thousands string is zero terminated.
17950 2011-02-03  Andreas Schwab  <schwab@redhat.com>
17952         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
17953         sysdeps/unix/sysv/linux/bits/socket.h.
17955 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17957         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
17958         (__CPU_COUNT): Remove old macros.
17959         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
17960         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
17961         (__CPU_ALLOC, __CPU_FREE): Add macros.
17962         (__sched_cpualloc, __sched_cpufree): Add declarations.
17964 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
17966         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
17967         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
17968         * nscd/aicache.c (addhstaiX): Return timeout of added value.
17969         (readdhstai): Return value of addhstaiX call.
17970         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
17971         (addgrbyX): Return value returned by cache_addgr.
17972         (readdgrbyname): Return value returned by addgrbyX.
17973         (readdgrbygid): Likewise.
17974         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
17975         (addpwbyX): Return value returned by cache_addpw.
17976         (readdpwbyname): Return value returned by addhstbyX.
17977         (readdpwbyuid): Likewise.
17978         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
17979         (addservbyX): Return value returned by cache_addserv.
17980         (readdservbyname): Return value returned by addservbyX:
17981         (readdservbyport): Likewise.
17982         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
17983         (addhstbyX): Return value returned by cache_addhst.
17984         (readdhstbyname): Return value returned by addhstbyX.
17985         (readdhstbyaddr): Likewise.
17986         (readdhstbynamev6): Likewise.
17987         (readdhstbyaddrv6): Likewise.
17988         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
17989         (readdinitgroups): Return value returned by addinitgroupsX.
17990         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
17991         (prune_cache): Keep track of timeout value of re-added entries.
17992         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
17993         * nscd/nscd.h: Adjust prototypes of readd* functions.
17995 2011-02-04  Roland McGrath  <roland@redhat.com>
17997         * nis/nis_server.c (nis_servstate): Use the right name for 0.
17998         (nis_stats): Likewise.
17999         * nis/nis_modify.c (nis_modify): Likewise.
18000         * nis/nis_remove.c (nis_remove): Likewise.
18001         * nis/nis_add.c (nis_add): Likewise.
18003         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
18005         * posix/fnmatch_loop.c: Add some consts.
18007         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
18009 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
18011         [BZ #12460]
18012         * config.make.in (config-cflags-novzeroupper): Define.
18013         * configure.in: Substitute libc_cv_cc_novzeroupper.
18014         * elf/Makefile (AVX-CFLAGS): Define.
18015         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
18016         (CFLAGS-tst-auditmod4a.c): Likewise.
18017         (CFLAGS-tst-auditmod4b.c): Likewise.
18018         (CFLAGS-tst-auditmod6b.c): Likewise.
18019         (CFLAGS-tst-auditmod6c.c): Likewise.
18020         (CFLAGS-tst-auditmod7b.c): Likewise.
18021         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
18023 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
18025         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
18026         function to the callback.
18027         Patch partly by Jiri Olsa <jolsa@redhat.com>.
18029 2011-02-02  Andreas Schwab  <schwab@redhat.com>
18031         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
18032         of errno.
18034 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
18036         [BZ #11724]
18037         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
18038         of constructors.
18039         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
18040         of destructors.
18041         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
18043         [BZ #11724]
18044         * elf/Makefile: Add rules to build and run new test.
18045         * elf/tst-initorder.c: New file.
18046         * elf/tst-initorder.exp: New file.
18047         * elf/tst-initordera1.c: New file.
18048         * elf/tst-initordera2.c: New file.
18049         * elf/tst-initordera3.c: New file.
18050         * elf/tst-initordera4.c: New file.
18051         * elf/tst-initorderb1.c: New file.
18052         * elf/tst-initorderb2.c: New file.
18053         * elf/tst-order-a1.c: New file.
18054         * elf/tst-order-a2.c: New file.
18055         * elf/tst-order-a3.c: New file.
18056         * elf/tst-order-a4.c: New file.
18057         * elf/tst-order-b1.c: New file.
18058         * elf/tst-order-b2.c: New file.
18059         * elf/tst-order-main.c: New file.
18060         New test case by George Gensure <werkt0@gmail.com>.
18062 2010-10-01  Andreas Schwab  <schwab@redhat.com>
18064         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
18065         decoding ACE if AI_CANONIDN.
18067 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
18069         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
18071 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
18073         * version.h (RELEASE): Bump for 2.13 release.
18074         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
18076         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
18078         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
18079         MADV_NOHUGEPAGE.
18080         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
18081         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
18082         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
18083         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
18084         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
18085         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
18087         * posix/getconf.c: Update copyright year.
18088         * catgets/gencat.c: Likewise.
18089         * csu/version.c: Likewise.
18090         * debug/catchsegv.sh: Likewise.
18091         * debug/xtrace.sh: Likewise.
18092         * elf/ldconfig.c: Likewise.
18093         * elf/ldd.bash.in: Likewise.
18094         * elf/sprof.c (print_version): Likewise.
18095         * iconv/iconv_prog.c: Likewise.
18096         * iconv/iconvconfig.c: Likewise.
18097         * locale/programs/locale.c: Likewise.
18098         * locale/programs/localedef.c: Likewise.
18099         * malloc/memusage.sh: Likewise.
18100         * malloc/mtrace.pl: Likewise.
18101         * nscd/nscd.c (print_version): Likewise.
18102         * nss/getent.c: Likewise.
18104         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
18105         PF_CAIF, and PF_ALG.
18106         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
18108 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
18110         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
18111         (modules-names): Use them.
18112         (ifunc-test-modules, ifunc-pie-tests): Define.
18113         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
18114         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
18115         (test-extras): Likewise.
18116         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
18117         $(compile-command.c).
18118         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
18119         (all-built-dso): Define.
18120         (check-textrel.out, check-execstack.out): Depend on it.
18122         * configure.in: Don't override --enable-multi-arch.
18124 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
18126         [BZ #6812]
18127         * nscd/hstcache.c (tryagain): Define.
18128         (cache_addhst): Return tryagain not notfound for temporary errors.
18129         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
18130         failed.
18132 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
18134         [BZ #10563]
18135         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
18136         to make the syscall.
18137         * sysdeps/unix/sysv/linux/setgroups.c: New file.
18139         [BZ #12378]
18140         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
18141         and fall back to matching as normal character if the string ends before
18142         the matching ']' is found.  This is what POSIX requires.
18143         * posix/testfnm.c: Adjust test result.
18144         * posix/globtest.sh: Adjust test result.  Add new test.
18145         * posix/tst-fnmatch.input: Likewise.
18146         * posix/tst-fnmatch2.c: Add new test.
18148 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
18150         * elf/Makefile (check-execstack): Revert last change.  Depend on
18151         check-execstack.h.
18152         (check-execstack.h): New target.
18153         (generated): Add check-execstack.h.
18154         * elf/check-execstack.c: Include "check-execstack.h".
18155         (main): Revert last change.
18156         (handle_file): Return zero if GNU_STACK is absent and
18157         DEFAULT_STACK_PERMS doesn't include PF_X.
18159 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
18161         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
18162         in child fails because the descriptor is already closed.
18163         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
18164         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
18165         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
18167         [BZ #12397]
18168         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
18169         syscall.
18171         [BZ #10484]
18172         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
18173         temporary buffer used to handle multi lookups locally.
18174         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
18176 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
18178         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
18179         loader is ld.so.
18181 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
18183         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
18184         alignment for SSE2.
18186 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
18188         [BZ #12394]
18189         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
18190         characters.  When rounding increased number of integer digits recompute
18191         number of groups.
18192         * stdio-common/tst-grouping.c: New file.
18193         * stdio-common/Makefile: Add rules to build and run tst-grouping.
18195 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
18197         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
18198         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
18200         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
18201         void.
18202         * bits/select.h: Likewise.
18204 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
18206         * po/ja.po: Update from translation team.
18208 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
18210         [BZ #11155]
18211         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
18212         implementation just like for lxstat, fxstatat, et al.
18214 2010-12-27  Jim Meyering  <meyering@redhat.com>
18216         [BZ #12348]
18217         * posix/regexec.c (build_trtable): Return failure indication upon
18218         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
18220 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
18222         [BZ #12201]
18223         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
18224         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
18225         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
18226         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
18228         [BZ #12207]
18229         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
18231         [BZ #12204]
18232         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
18233         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
18235 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
18237         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
18238         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
18239         script has SORT_BY_INIT_PRIORITY.
18240         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
18241         NO_CTORS_DTORS_SECTIONS is defined.
18242         * elf/soinit.c: Likewise.
18243         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
18244         NO_CTORS_DTORS_SECTIONS is defined.
18245         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
18246         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
18247         * sysdeps/sh/init-first.c: Likewise.
18248         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
18250 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
18252         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
18253         always use the slow path.
18255 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
18257         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
18258         similar rule which adds the sysdep directories to the header search in
18259         order to pick up the correct platform stackinfo.h.
18260         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
18261         perform test if it is, otherwise return successfully without testing.
18262         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
18263         DEFAULT_STACK_PERMS define in stackinfo.h.
18264         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
18265         defined in stackinfo.h.
18266         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
18267         DEFAULT_STACK_PERMS defined in stackinfo.h.
18268         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
18269         * sysdeps/ia64/stackinfo.h: Likewise.
18270         * sysdeps/s390/stackinfo.h: Likewise.
18271         * sysdeps/sh/stackinfo.h: Likewise.
18272         * sysdeps/sparc/stackinfo.h: Likewise.
18273         * sysdeps/x86_64/stackinfo.h: Likewise.
18274         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
18275         PF_X for powerpc64.  Retain PF_X for powerpc32.
18277 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
18279         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
18280         accurately.
18281         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
18282         GETDENTS_64BIT_ALIGNED.
18284 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
18286         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
18288 2010-12-10  Andreas Schwab  <schwab@redhat.com>
18290         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
18291         _GNU_SOURCE.
18293         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
18294         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
18295         Remove __restrict.
18296         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
18297         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
18299 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
18301         [BZ #11655]
18302         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
18303         are initialized.
18305 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
18307         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
18309 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
18311         * po/it.po: Update from translation team.
18313 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
18315         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
18316         unused codes.
18318 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
18320         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
18322 2010-11-24  Andreas Schwab  <schwab@redhat.com>
18324         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
18325         specially.
18326         (gaih_getanswer_slice): Likewise.
18328 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
18330         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
18332 2010-05-31  Petr Baudis  <pasky@suse.cz>
18334         [BZ #11149]
18335         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
18336         silently even in the chroot mode.
18338 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
18340         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
18341         last patch a bit.  Pretty printing
18343 2010-05-31  Petr Baudis <pasky@suse.cz>
18345         [BZ #10085]
18346         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
18347         initialization of skip_initgroups_dyn.
18349 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
18351         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
18352         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
18354 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
18356         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
18358 2010-11-11  Andreas Schwab  <schwab@redhat.com>
18360         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
18361         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
18362         (tst-fnmatch-ENV): Set MALLOC_TRACE.
18363         ($(objpfx)tst-fnmatch-mem): New rule.
18364         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
18365         * posix/tst-fnmatch.c (main): Call mtrace.
18367 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
18369         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18370         Support Intel processor model 6 and model 0x2c.
18372 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
18374         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
18375           signed comparison.
18377 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
18379         [BZ #12205]
18380         * string/test-strncasecmp.c (check_result): New function.
18381         (do_one_test): Use it.
18382         (check1): New function.
18383         (test_main): Use it.
18384         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
18385         Support strcasecmp and strncasecmp.
18387 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
18389         [BZ #12194]
18390         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
18391         * sysdeps/x86_64/bits/byteswap.h: Likewise.
18393 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
18395         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
18396         IFUNC support.
18397         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
18398         memset-x86-64.
18399         * sysdeps/x86_64/multiarch/bzero.S: New file.
18400         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
18401         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
18402         * sysdeps/x86_64/multiarch/memset.S: New file.
18403         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
18404         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18405         Set bit_Prefer_SSE_for_memop for Intel processors.
18406         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
18407         Define.
18408         (index_Prefer_SSE_for_memop): Define.
18409         (HAS_PREFER_SSE_FOR_MEMOP): Define.
18411 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
18413         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
18414         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
18416 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
18418         [BZ #12191]
18419         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
18420         (__x86_64_raw_data_cache_size_half): Likewise.
18421         (__x86_64_raw_shared_cache_size): Likewise.
18422         (__x86_64_raw_shared_cache_size_half): Likewise.
18424         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
18425         (__x86_64_raw_data_cache_size_half): Likewise.
18426         (__x86_64_raw_shared_cache_size): Likewise.
18427         (__x86_64_raw_shared_cache_size_half): Likewise.
18428         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
18429         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
18430         and __x86_64_raw_shared_cache_size_half.  Round
18431         __x86_64_data_cache_size_half, __x86_64_data_cache_size
18432         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
18433         to multiple of 256 bytes.
18435 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
18437         [BZ #12167]
18438         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
18439         of inacessible symlinks.  Verify result of symlink before returning it.
18440         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
18441         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
18443 2010-10-28  Erich Ritz  <erichritz@gmail.com>
18445         * math/math.h (isinf): Fix typo in comment.
18447 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
18449         * po/da.po: Update from translation team.
18451 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
18453         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
18454         is added to the list.
18456 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
18457             Ulrich Drepper  <drepper@gmail.com>
18459         * elf/dl-object.c (_dl_new_object): Don't append the new object to
18460         the global list here.  Move code to...
18461         (_dl_add_to_namespace_list): ...here.  New function.
18462         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
18463         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
18464         * elf/dl-load.c (lose): Don't remove the element from the list.
18465         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
18466         (_dl_map_object): Likewise.
18468 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
18470         [BZ #12159]
18471         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
18472         into all bytes of SSE register.
18473         Patch by Richard Li <richardpku@gmail.com>.
18475 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
18477         [BZ #12140]
18478         * malloc/malloc.c (_int_free): Fill correct number of bytes when
18479         perturbing.
18481 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
18483         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
18484         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
18485         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
18486         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
18487         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
18488         submachine.
18489         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
18491 2010-10-22  Andreas Schwab  <schwab@redhat.com>
18493         * include/dlfcn.h (__RTLD_SECURE): Define.
18494         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
18495         mode & __RTLD_SECURE instead.
18496         (open_path): Rename preloaded parameter to secure.
18497         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
18498         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
18499         * elf/dl-deps.c (openaux): Likewise.
18500         * elf/rtld.c (struct map_args): Remove is_preloaded.
18501         (map_doit): Don't use it.
18502         (dl_main): Likewise.
18503         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
18504         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
18506 2010-09-09  Andreas Schwab  <schwab@redhat.com>
18508         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
18509         (sysd-rules-targets): Remove duplicates.
18510         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
18511         rtld-%.$o dependency.
18513 2010-10-18  Andreas Schwab  <schwab@redhat.com>
18515         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
18516         _dl_map_object do it.
18518 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
18520         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
18521         fast fma builtins, define the macros in the C99 standard.
18522         (FP_FAST_FMAF): Likewise.
18523         (FP_FAST_FMAL): Likewise.
18524         * sysdeps/x86_64/bits/mathdef.h: Likewise.
18526         * bits/mathdef.h: Update copyright year.
18527         * sysdeps/powerpc/bits/mathdef.h: Likewise.
18529 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
18531         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
18532         builtins, define the macros in the C99 standard.
18533         (FP_FAST_FMAF): Likewise.
18534         (FP_FAST_FMAL): Likewise.
18535         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
18536         multiply/add.
18537         (FP_FAST_FMAF): Likewise.
18539 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
18541         [BZ #3268]
18542         * math/libm-test.inc (fma_test): Some new testcases.
18543         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
18544         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
18545         y and infinite z.  Do multiplication by C already in long double.
18546         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
18547         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
18548         y and infinite z.  Do bitwise or of inexact bit into u.d.
18549         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
18550         * sysdeps/i386/fpu/s_fmaf.S: Removed.
18551         * sysdeps/i386/fpu/s_fma.S: Removed.
18552         * sysdeps/i386/fpu/s_fmal.S: Removed.
18554 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
18556         [BZ #3268]
18557         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
18558         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
18559         computation is not scheduled after fetestexcept.  Fix value
18560         of minimum denormal long double.
18562 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
18564         [BZ #3268]
18565         * math/libm-test.inc (fma_test): Add some more tests.
18566         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
18567         correctly.
18569 2010-10-15  Andreas Schwab  <schwab@redhat.com>
18571         * scripts/data/localplt-s390-linux-gnu.data: New file.
18572         * scripts/data/localplt-s390x-linux-gnu.data: New file.
18574 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
18576         [BZ #3268]
18577         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
18578         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
18579         instead of dbl-64.
18580         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
18581         inlines.
18582         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
18583         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
18584         if one of x and y is very large and the other is subnormal.
18585         * sysdeps/s390/fpu/s_fmaf.c: New file.
18586         * sysdeps/s390/fpu/s_fma.c: New file.
18587         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
18588         * sysdeps/powerpc/fpu/s_fma.S: New file.
18589         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
18590         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
18591         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
18593 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
18595         [BZ #3268]
18596         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
18597         fma tests.
18598         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
18599         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
18600         * sysdeps/i386/i686/multiarch/s_fma.c: Include
18601         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
18602         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
18603         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
18604         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
18606 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
18608         [BZ #12078]
18609         * posix/regcomp.c (parse_branch): One more memory leak plugged.
18610         * posix/bug-regex31.input: Add test case.
18612 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
18614         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
18615         * posix/bug-regex31.input: New file.
18617         [BZ #12078]
18618         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
18619         (parse_sub_exp): Fix last change, use postorder.
18621         * posix/bug-regex31.c: New file.
18622         * posix/Makefile: Add rules to build and run bug-regex31.
18624         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
18626         [BZ #12078]
18627         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
18629         [BZ #12108]
18630         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
18631         to have entries in sys_siglist.
18633         [BZ #12093]
18634         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
18635         be NULL.
18637 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
18639         [BZ #3268]
18640         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
18641         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
18642         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
18643         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
18644         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
18645         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
18646         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
18647         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
18648         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
18649         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
18650         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
18651         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
18652         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
18653         * math/ftestexcept.c (fetestexcept): Likewise.
18654         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
18655         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
18656         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
18657         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
18658         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
18659         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
18660         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
18662 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
18664         [BZ #12107]
18665         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
18666         newline.
18668 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
18670         * string/bug-strstr1.c: New file.
18671         * string/Makefile: Add rules to build and run bug-strstr1.
18673 2010-10-05  Eric Blake  <eblake@redhat.com>
18675         [BZ #12092]
18676         * string/str-two-way.h (two_way_long_needle): Always clear memory
18677         when skipping input due to the shift table.
18679 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
18681         [BZ #12005]
18682         * malloc/mcheck.c: Handle large requests.
18684         [BZ #12077]
18685         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
18686         for strncmp and strncasecmp.
18687         * string/stratcliff.c: Add tests for strcmp and strncmp.
18688         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
18690 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
18692         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
18693         __set_fpscr.
18695 2010-09-30  Andreas Jaeger  <aj@suse.de>
18697         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
18698         (CGROUP_SUPER_MAGIC): Define.
18699         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
18700         Handle btrfs and cgroup file systems.
18701         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
18702         Likewise.
18704 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
18706         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
18707         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
18709 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
18711         [BZ #12067]
18712         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
18713         trying to locate the ELF header.
18715 2010-09-27  Andreas Schwab  <schwab@redhat.com>
18717         [BZ #11611]
18718         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
18719         Mask out sign-bit copies when constructing f_fsid.
18721 2010-09-24  Petr Baudis <pasky@suse.cz>
18723         * debug/stack_chk_fail_local.c: Add missing licence exception.
18724         * debug/warning-nop.c: Likewise.
18726 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
18728         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
18729         implementing getdents64 using getdents syscall, set d_type if
18730         __ASSUME_GETDENTS32_D_TYPE.
18732 2010-09-16  Andreas Schwab  <schwab@redhat.com>
18734         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
18735         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
18737 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
18739         [BZ #12037]
18740         * posix/unistd.h: Undo change of feature selection for ftruncate from
18741         2010-01-11.
18743 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
18745         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
18746         detection.
18748 2010-09-20  Andreas Schwab  <schwab@redhat.com>
18750         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
18751         fanotify_mark.
18752         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
18754 2010-09-14  Andreas Schwab  <schwab@redhat.com>
18756         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
18757         variables after CHECK_SP call.
18758         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
18760 2010-09-13  Andreas Schwab  <schwab@redhat.com>
18761             Ulrich Drepper  <drepper@redhat.com>
18763         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
18764         re-relocationg ld.so.
18765         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
18766         _dl_init_paths call.
18767         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
18768         here anymore.
18770 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
18772         * resolv/res_init.c (__res_vinit): Count the default server we added.
18774 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
18775             Ulrich Drepper  <drepper@redhat.com>
18777         [BZ #11968]
18778         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
18779         (____longjmp_chk): Use %ebx for saving value across system call.
18780         Add unwind info.
18782 2010-09-06  Andreas Schwab  <schwab@redhat.com>
18784         * manual/Makefile: Don't mix pattern rules with normal rules.
18786 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
18788         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
18789         operation.
18790         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
18791         * libio/iofopncook.c (_IO_cookie_init): Likewise.
18792         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
18793         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
18794         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
18795         Likewise.
18797 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
18799         [BZ #11979]
18800         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
18801         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
18803 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
18805         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
18806         * sysdeps/x86_64/addmul_1.S: Likewise.
18807         * sysdeps/x86_64/lshift.S: Likewise.
18808         * sysdeps/x86_64/mul_1.S: Likewise.
18809         * sysdeps/x86_64/rshift.S: Likewise.
18810         * sysdeps/x86_64/sub_n.S: Likewise.
18811         * sysdeps/x86_64/submul_1.S: Likewise.
18813 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18815         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
18816         Define __sched_param instead of SCHED_* and sched_param when
18817         <bits/sched.h> is included with __need_schedparam defined.
18818         * bits/sched.h [__need_schedparam]
18819         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
18820         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
18821         (__defined_schedparam): Define to 1.
18822         (__sched_param): New structure, identical to sched_param.
18823         (__need_schedparam): Undefine.
18825 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
18827         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
18828         (epoll_create1): Declare.
18830         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
18832 2010-08-31  Andreas Schwab  <schwab@redhat.com>
18834         [BZ #7066]
18835         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
18836         shifting retval into place.
18838 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
18840         * nis/rpcsvc/nis.h: Update copyright notice.
18841         * nis/rpcsvc/nis.x: Likewise.
18842         * nis/rpcsvc/nis_callback.h: Likewise.
18843         * nis/rpcsvc/nis_callback.x: Likewise.
18844         * nis/rpcsvc/nis_object.x: Likewise.
18845         * nis/rpcsvc/nis_tags.h: Likewise.
18846         * nis/rpcsvc/yp.h: Likewise.
18847         * nis/rpcsvc/yp.x: Likewise.
18848         * nis/rpcsvc/ypupd.h: Likewise.
18849         * nis/yp_xdr.c: Likewise.
18850         * nis/ypupdate_xdr.c: Likewise.
18852         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
18853         mainly the body of pmap_getport.  Add parameters to specify timeouts.
18854         (pmap_getport): Use __libc_rpc_getport.
18855         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
18856         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
18857         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
18859 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
18861         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
18862         fanotify_mark.
18864 2010-08-27  Roland McGrath  <roland@redhat.com>
18866         * sysdeps/i386/i686/multiarch/Makefile
18867         (CFLAGS-varshift.c): New variable.
18869 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
18871         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
18872         * sysdeps/i386/i686/multiarch/varshift.c: New file.
18874         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
18876         * sysdeps/x86_64/strlen.S: Minimal code improvement.
18878 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
18880         * sysdeps/x86_64/strlen.S: Unroll the loop.
18881         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
18882         strlen-sse2 strlen-sse2-bsf.
18883         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
18884         __strlen_no_bsf if bit_Slow_BSF is set.
18885         (__strlen_sse42): Removed.
18886         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
18887         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
18889 2010-08-25  Roland McGrath  <roland@redhat.com>
18891         * sysdeps/x86_64/multiarch/varshift.S: File removed.
18892         * sysdeps/x86_64/multiarch/varshift.c: New file.
18893         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
18894         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
18895         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
18896         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
18898 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
18900         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
18901         strlen-sse2 strlen-sse2-bsf.
18902         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
18903         __strlen_sse2_bsf if bit_Slow_BSF is unset.
18904         (__strlen_sse2): Removed.
18905         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
18906         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
18907         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
18908         bit_Slow_BSF for Atom.
18909         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
18910         (index_Slow_BSF): Define.
18911         (HAS_SLOW_BSF): Define.
18913 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
18915         [BZ #10851]
18916         * resolv/res_init.c (__res_vinit): When no server address at all
18917         is given default to loopback.
18919 2010-08-24  Roland McGrath  <roland@redhat.com>
18921         * configure.in: Remove config-name.h generation.
18922         * configure: Regenerated.
18923         * config-name.in: File removed.
18924         * scripts/config-uname.sh: New file.
18925         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
18926         ($(objdir)config-name.h): New target.
18928         * sunrpc/rpc_parse.h: Avoid nested comment.
18930 2010-08-24  Richard Henderson  <rth@redhat.com>
18931             Ulrich Drepper  <drepper@redhat.com>
18932             H.J. Lu  <hongjiu.lu@intel.com>
18934         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
18935         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
18936         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
18937         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
18938         _mm_alignr_epi8 with _mm_loadu_si128.
18939         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
18940         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
18941         (__m128i_shift_right): Removed.
18942         * sysdeps/i386/i686/multiarch/varshift.h: New file.
18943         * sysdeps/i386/i686/multiarch/varshift.S: New file.
18944         * sysdeps/x86_64/multiarch/varshift.h: New file.
18945         * sysdeps/x86_64/multiarch/varshift.S: New file.
18947 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
18949         * configure.in: Move assembler checks to before sysdep dir checking.
18951 2010-08-20  Petr Baudis  <pasky@suse.cz>
18953         * LICENSES: Sync the sunrpc license.
18955 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
18957         * sunrpc/auth_des.c: Update copyright notice once again.
18958         * sunrpc/auth_none.c: Likewise.
18959         * sunrpc/auth_unix.c: Likewise.
18960         * sunrpc/authdes_prot.c: Likewise.
18961         * sunrpc/authuxprot.c: Likewise.
18962         * sunrpc/bindrsvprt.c: Likewise.
18963         * sunrpc/clnt_gen.c: Likewise.
18964         * sunrpc/clnt_perr.c: Likewise.
18965         * sunrpc/clnt_raw.c: Likewise.
18966         * sunrpc/clnt_simp.c: Likewise.
18967         * sunrpc/clnt_tcp.c: Likewise.
18968         * sunrpc/clnt_udp.c: Likewise.
18969         * sunrpc/clnt_unix.c: Likewise.
18970         * sunrpc/des_crypt.c: Likewise.
18971         * sunrpc/des_soft.c: Likewise.
18972         * sunrpc/get_myaddr.c: Likewise.
18973         * sunrpc/getrpcport.c: Likewise.
18974         * sunrpc/key_call.c: Likewise.
18975         * sunrpc/key_prot.c: Likewise.
18976         * sunrpc/openchild.c: Likewise.
18977         * sunrpc/pm_getmaps.c: Likewise.
18978         * sunrpc/pm_getport.c: Likewise.
18979         * sunrpc/pmap_clnt.c: Likewise.
18980         * sunrpc/pmap_prot.c: Likewise.
18981         * sunrpc/pmap_prot2.c: Likewise.
18982         * sunrpc/pmap_rmt.c: Likewise.
18983         * sunrpc/rpc/auth.h: Likewise.
18984         * sunrpc/rpc/auth_unix.h: Likewise.
18985         * sunrpc/rpc/clnt.h: Likewise.
18986         * sunrpc/rpc/des_crypt.h: Likewise.
18987         * sunrpc/rpc/key_prot.h: Likewise.
18988         * sunrpc/rpc/netdb.h: Likewise.
18989         * sunrpc/rpc/pmap_clnt.h: Likewise.
18990         * sunrpc/rpc/pmap_prot.h: Likewise.
18991         * sunrpc/rpc/pmap_rmt.h: Likewise.
18992         * sunrpc/rpc/rpc.h: Likewise.
18993         * sunrpc/rpc/rpc_des.h: Likewise.
18994         * sunrpc/rpc/rpc_msg.h: Likewise.
18995         * sunrpc/rpc/svc.h: Likewise.
18996         * sunrpc/rpc/svc_auth.h: Likewise.
18997         * sunrpc/rpc/types.h: Likewise.
18998         * sunrpc/rpc/xdr.h: Likewise.
18999         * sunrpc/rpc_clntout.c: Likewise.
19000         * sunrpc/rpc_cmsg.c: Likewise.
19001         * sunrpc/rpc_common.c: Likewise.
19002         * sunrpc/rpc_cout.c: Likewise.
19003         * sunrpc/rpc_dtable.c: Likewise.
19004         * sunrpc/rpc_hout.c: Likewise.
19005         * sunrpc/rpc_main.c: Likewise.
19006         * sunrpc/rpc_parse.c: Likewise.
19007         * sunrpc/rpc_parse.h: Likewise.
19008         * sunrpc/rpc_prot.c: Likewise.
19009         * sunrpc/rpc_sample.c: Likewise.
19010         * sunrpc/rpc_scan.c: Likewise.
19011         * sunrpc/rpc_scan.h: Likewise.
19012         * sunrpc/rpc_svcout.c: Likewise.
19013         * sunrpc/rpc_tblout.c: Likewise.
19014         * sunrpc/rpc_util.c: Likewise.
19015         * sunrpc/rpc_util.h: Likewise.
19016         * sunrpc/rpcinfo.c: Likewise.
19017         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
19018         * sunrpc/rpcsvc/key_prot.x: Likewise.
19019         * sunrpc/rpcsvc/klm_prot.x: Likewise.
19020         * sunrpc/rpcsvc/mount.x: Likewise.
19021         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
19022         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
19023         * sunrpc/rpcsvc/rex.x: Likewise.
19024         * sunrpc/rpcsvc/rstat.x: Likewise.
19025         * sunrpc/rpcsvc/rusers.x: Likewise.
19026         * sunrpc/rpcsvc/sm_inter.x: Likewise.
19027         * sunrpc/rpcsvc/spray.x: Likewise.
19028         * sunrpc/rpcsvc/yppasswd.x: Likewise.
19029         * sunrpc/rtime.c: Likewise.
19030         * sunrpc/svc.c: Likewise.
19031         * sunrpc/svc_auth.c: Likewise.
19032         * sunrpc/svc_authux.c: Likewise.
19033         * sunrpc/svc_raw.c: Likewise.
19034         * sunrpc/svc_run.c: Likewise.
19035         * sunrpc/svc_simple.c: Likewise.
19036         * sunrpc/svc_tcp.c: Likewise.
19037         * sunrpc/svc_udp.c: Likewise.
19038         * sunrpc/svc_unix.c: Likewise.
19039         * sunrpc/svcauth_des.c: Likewise.
19040         * sunrpc/xcrypt.c: Likewise.
19041         * sunrpc/xdr.c: Likewise.
19042         * sunrpc/xdr_array.c: Likewise.
19043         * sunrpc/xdr_float.c: Likewise.
19044         * sunrpc/xdr_mem.c: Likewise.
19045         * sunrpc/xdr_rec.c: Likewise.
19046         * sunrpc/xdr_ref.c: Likewise.
19047         * sunrpc/xdr_sizeof.c: Likewise.
19048         * sunrpc/xdr_stdio.c: Likewise.
19050         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
19051         handling.
19053 2010-08-19  Andreas Schwab  <schwab@redhat.com>
19055         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
19057 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
19059         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
19060         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
19061         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
19062         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
19063         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
19064         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
19065         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
19066         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
19067         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
19068         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
19069         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
19070         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
19071         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
19072         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
19074 2010-07-26  Anton Blanchard  <anton@samba.org>
19076         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
19077         * malloc/arena.c (heap_trim): Likewise.
19079 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
19081         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
19082         here.  Not...
19083         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
19084         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
19086 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
19088         * sysdeps/i386/elf/Makefile: New file.
19090 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
19092         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
19093         from fanotify_init.
19094         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
19095         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
19097 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
19099         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
19100         of strncasecmp_l.
19101         * sysdeps/multiarch/strcmp.S: Likewise.
19103 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
19105         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
19106         strncase_l-nonascii.
19107         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
19108         Add strncase_l-ssse3.
19109         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
19110         * sysdeps/x86_64/strcmp.S: Likewise.
19111         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
19112         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
19113         * sysdeps/x86_64/strncase.S: New file.
19114         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
19115         * sysdeps/x86_64/strncase_l.S: New file.
19116         * string/Makefile (strop-tests): Add strncasecmp.
19117         * string/test-strncasecmp.c: New file.
19119         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
19120         warning.
19122         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
19123         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
19125 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
19127         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
19129 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
19131         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
19132         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
19133         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
19135 2010-05-01  Alan Modra  <amodra@gmail.com>
19137         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
19138         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
19139         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
19140         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
19141         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
19142         tidying.  Don't tail-call __sigjmp_save for static lib.
19143         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
19144         save location.
19145         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
19146         (CALL_MCOUNT): Add eh info, and nop after bl.
19147         (TAIL_CALL_SYSCALL_ERROR): New macro.
19148         (PSEUDO_RET): Use it.
19149         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
19150         Correct save location of integer regs and cr.
19151         (_dl_profile_resolve): Correct cr save location.  Delete nops
19152         after bl when SHARED.  Reduce cfi size a little by better
19153         placement of cfi directives.
19154         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
19155         make a stack frame.  Instead use parm save area as a temp.
19156         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
19157         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
19158         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
19159         Don't make a stack frame for parent, use parm save area.
19160         Increase child stack frame to 112 bytes.  Don't save unused reg,
19161         and adjust reg usage.  Set up cfi on error recovery and
19162         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
19163         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
19164         (__makecontext): Add dummy nop after jump to exit.
19165         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
19166         Use correct parm save area and cr save, reduce stack frame.
19167         Correct cfi for possible PSEUDO_RET frame setup.
19168         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
19169         Branch to local label emitted by PSEUDO_RET rather than
19170         __syscall_error.
19172 2010-08-12  Andreas Schwab  <schwab@redhat.com>
19174         [BZ #11904]
19175         * locale/programs/locale.c (print_assignment): New function.
19176         (show_locale_vars): Use it.
19178 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
19180         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
19181         field.
19182         (struct statfs64): Likewise.
19183         (_STATFS_F_FLAGS): Define.
19184         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
19185         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
19186         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
19187         (ST_VALID): Define locally.
19188         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
19189         __statvfs_getflags, use the provided value.
19190         * sysdeps/unix/sysv/linux/kernel-features.h: Define
19191         __ASSUME_STATFS_F_FLAGS.
19193         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
19195         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
19196         Add sys/fanotify.h.
19197         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
19198         fanotify_mask for GLIBC_2.13.
19199         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
19200         fanotify_init and fanotify_mark.
19201         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
19202         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
19204         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
19205         Add prlimit.
19206         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
19207         prlimit64 for GLIBC_2.13.
19208         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
19209         prlimit64.
19210         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
19211         syscall.
19212         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
19213         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
19214         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
19215         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
19216         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
19217         add prlimit alias.
19218         * sysdeps/unix/sysv/linux/prlimit.c: New file.
19220         [BZ #11903]
19221         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
19222         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
19224         * nss/Makefile: Add rules to build and run tst-nss-test1.
19225         * shlib-versions: Add entry for libnss_test1.
19226         * nss/nss_test1.c: New file.
19227         * nss/tst-nss-test1.c: New file.
19229         * nss/nsswitch.c (__nss_database_custom): Define new variable.
19230         (__nss_configure_lookup): Set appropriate entry in
19231         __nss_configure_lookup to true.
19232         * nss/nsswitch.h: Define enum with indeces of databases in
19233         databases and __nss_database_custom arrays.  Declare
19234         __nss_database_custom.
19235         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
19236         to avoid using nscd when custom rules are installed.
19237         * nss/getXXbyYY_r.c: Likewise.
19238         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
19240         * nss/nss_files/files-parse.c: Whitespace fixes.
19242 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
19244         [BZ #11883]
19245         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
19246         * posix/fnmatch_loop.c: Likewise.
19248 2010-07-17  Andi Kleen  <ak@linux.intel.com>
19250         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
19251         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
19252         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
19253         * Versions.def [GLIBC_2.13]: Add.
19255 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
19257         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
19258         Also fail if tpwd after pwuid call is NULL.
19260 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19262         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
19263         when converting to ms.
19265 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19267         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
19268         EOPNOTSUPP errors with ENOTTY.
19269         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
19270         EOPNOTSUPP errors with ENOTTY.
19272 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
19274         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
19275         Add strcasecmp_l-ssse3.
19276         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
19277         strcasecmp.
19278         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
19279         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
19280         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
19282 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
19284         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
19286         * string/Makefile (strop-tests): Add strcasecmp.
19287         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
19288         strcasecmp_l-nonascii.
19289         (gen-as-const-headers): Add locale-defines.sym.
19290         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
19291         * sysdeps/x86_64/strcasecmp.S: New file.
19292         * sysdeps/x86_64/strcasecmp_l.S: New file.
19293         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
19294         * sysdeps/x86_64/locale-defines.sym: New file.
19295         * string/test-strcasecmp.c: New file.
19297         * string/test-strcasestr.c: Test both ends of the range of characters.
19298         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
19300 2010-07-29  Roland McGrath  <roland@redhat.com>
19302         [BZ #11856]
19303         * manual/locale.texi (Yes-or-No Questions): Fix example code.
19305 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
19307         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
19308         for ld.so.
19310 2010-07-27  Andreas Schwab  <schwab@redhat.com>
19312         * manual/memory.texi (Malloc Tunable Parameters): Document
19313         M_PERTURB.
19315 2010-07-26  Roland McGrath  <roland@redhat.com>
19317         [BZ #11840]
19318         * configure.in (-fgnu89-inline check): Set and substitute
19319         gnu89_inline, not libc_cv_gnu89_inline.
19320         * configure: Regenerated.
19321         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
19323 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
19325         * string/test-strnlen.c: New file.
19326         * string/Makefile (strop-tests): Add strnlen.
19327         * string/tester.c (test_strnlen): Add a few more test cases.
19328         * string/tst-strlen.c: Better error reporting.
19330         * sysdeps/x86_64/strnlen.S: New file.
19332 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
19334         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
19335         lower-latency instructions.
19337 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
19339         * string/test-strcasestr.c: New file.
19340         * string/test-strstr.c: New file.
19341         * string/Makefile (strop-tests): Add strstr and strcasestr.
19342         * string/str-two-way.h: Don't undefine MAX.
19343         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
19345 2010-07-21  Andreas Schwab  <schwab@redhat.com>
19347         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
19348         strcasestr-nonascii.
19349         (CFLAGS-strcasestr-nonascii.c): Define.
19350         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
19351         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
19352         Remove unused attribute.
19354 2010-07-20  Roland McGrath  <roland@redhat.com>
19356         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
19357         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
19358         ld.so.cache was broken.  With it, there is no way to disable dsocaps
19359         like LD_HWCAP_MASK can disable hwcaps.
19361 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
19363         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
19365 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
19367         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
19368         call in strcasestr.
19369         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
19370         __strcasestr_sse42_nonascii.
19371         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
19372         strcasestr-nonascii.c.
19373         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
19375 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
19377         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
19378         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
19379         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
19380         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
19382 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
19384         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
19385         fcntl.
19387 2010-07-06  Andreas Schwab  <schwab@redhat.com>
19389         [BZ #11577]
19390         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
19391         dl_signal_cerror.
19393 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
19395         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
19396         _PC_PIPE_BUF using F_GETPIPE_SZ.
19398 2010-07-05  Roland McGrath  <roland@redhat.com>
19400         * manual/arith.texi (Rounding Functions): Fix rint description
19401         implicit in round description.
19403 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
19405         * elf/Makefile: Fix linking for a few tests to make recent linker
19406         happy.
19408 2010-06-30  Andreas Schwab  <schwab@redhat.com>
19410         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
19411         $(common-objpfx)libc_nonshared.a.
19413 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
19415         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
19416         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
19417         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
19418         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
19419         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
19420         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
19421         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
19422         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
19423         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
19424         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
19425         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
19426         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
19427         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
19428         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
19429         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
19430         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
19431         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
19432         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
19433         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
19434         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
19435         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
19436         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
19437         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
19438         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
19439         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
19440         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
19441         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
19442         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
19443         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
19444         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
19445         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
19446         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
19447         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
19448         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
19449         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
19450         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
19451         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
19452         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
19453         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
19454         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
19455         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
19456         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
19457         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
19458         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
19459         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
19460         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
19461         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
19462         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
19464 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
19466         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
19467         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
19468         * string/memmove.c (memmove): Renamed to ...
19469         (MEMMOVE): ...this.  Default to memmove.
19470         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
19471         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
19472         (END_CHK): Define.
19473         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
19474         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
19475         mempcpy-ssse3-back memmove-ssse3-back.
19476         * sysdeps/x86_64/multiarch/bcopy.S: New file .
19477         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
19478         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
19479         * sysdeps/x86_64/multiarch/memcpy.S: New file.
19480         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
19481         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
19482         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
19483         * sysdeps/x86_64/multiarch/memmove.c: New file.
19484         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
19485         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
19486         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
19487         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
19488         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
19489         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
19490         Define.
19491         (index_Fast_Copy_Backward): Define.
19492         (HAS_ARCH_FEATURE): Define.
19493         (HAS_FAST_REP_STRING): Define.
19494         (HAS_FAST_COPY_BACKWARD): Define.
19496 2010-06-21  Andreas Schwab  <schwab@redhat.com>
19498         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
19499         Restore proper fallback handling.
19501 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
19503         [BZ #11701]
19504         * posix/group_member.c (__group_member): Correct checking loop.
19506         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
19507         OOM in getpwuid_r correctly.  Return error number when the caller
19508         should return, otherwise -1.
19509         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
19510         call returning > 0 value.
19511         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
19513 2010-06-07  Andreas Schwab  <schwab@redhat.com>
19515         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
19516         libc_nonshared.a from targets in modules-names.
19518 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
19520         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
19521         requires it.
19523 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
19525         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
19526         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
19527         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
19528         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
19530 2010-06-02  Andreas Schwab  <schwab@redhat.com>
19532         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
19534 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
19536         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
19537         and F_GETPIPE_SZ.
19538         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
19539         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
19540         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
19541         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
19542         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
19543         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
19545 2010-06-14  Roland McGrath  <roland@redhat.com>
19547         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
19549 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
19551         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
19552         __REDIRECT followed by __THROW.
19553         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
19554         * posix/getopt.h (getopt): Likewise.
19556 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
19558         * hurd/lookup-at.c (__file_name_lookup_at): Accept
19559         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
19560         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
19561         in AT_FLAGS.
19562         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
19563         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
19565 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
19567         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
19569 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
19571         [BZ #11640]
19572         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19573         Properly check family and model.
19575 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
19577         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
19579 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
19581         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
19583 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
19585         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
19586         symbol reference.
19588 2010-05-19  Andreas Schwab  <schwab@redhat.com>
19590         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
19591         symbol reference.
19593 2010-05-21  Andreas Schwab  <schwab@redhat.com>
19595         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
19596         and internal_recvmmsg.
19597         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
19598         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
19599         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
19600         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
19602         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
19603         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
19604         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
19606 2010-05-20  Andreas Schwab  <schwab@redhat.com>
19608         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
19610 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
19612         POWER7 optimizations.
19613         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
19614         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
19616 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
19618         * version.h: Update for 2.13 development version.
19620 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
19622         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
19623         exceptions.  Return 0.
19625 2010-05-07  Roland McGrath  <roland@redhat.com>
19627         * elf/ldconfig.c (main): Add a const.
19629 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
19631         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
19632         (args_options): Add no-idn option.
19633         (ahosts_keys_int): Add idn_flags to ai_flags.
19634         (parse_option): Handle 'i' option to clear idn_flags.
19636         * malloc/malloc.c (_int_free): Possible race in the most recently
19637         added check.  Only act on the data if no current modification
19638         happened.
19640 See ChangeLog.17 for earlier changes.