Don't define x86-64 __strncmp_ssse3 in libc.a
[glibc.git] / ChangeLog
blobff8710b301af698e96cc61e30a7457a538c4c540
1 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
3         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Empty if not in
4         libc.a.
6 2012-09-26  Marek Polacek  <polacek@redhat.com>
8         [BZ #14530]
9         [BZ #13741]
10         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
11         for C++ and GCC <4.3 as well as for non GCC compilers.
13 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
15         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17 2012-09-25  Roland McGrath  <roland@hack.frob.com>
19         * Makefile.in (all, install): Declare with .PHONY.
20         Reported by Michael Hope <michael.hope@linaro.org>.
22 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
24         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
25         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
26         system header.
27         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
28         Likewise.
29         (sydep_routines): Add the new and the internal functions.
30         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
31         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
32         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
33         (GLIBC_2.17): Add the new function.
34         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
35         (GLIBC_2.17): Likewise.
36         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
37         (GLIBC_2.17): Likewise.
38         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
39         (GLIBC_2.17): Likewise.
40         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
42 2012-09-25  Alan Modra  <amodra@gmail.com>
44         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
45         Add release barrier before setting once_control to say
46         initialisation is done.  Add hints on lwarx.  Use macro in
47         place of isync.
48         (clear_once_control): Add release barrier.
50 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
52         [BZ #13629]
53         * math/s_clog.c (__clog): Handle more values close to |z| = 1
54         specially.
55         * math/s_clog10.c (__clog10): Likewise.
56         * math/s_clog10f.c (__clog10f): Likewise.
57         * math/s_clog10l.c (__clog10l): Likewise.
58         * math/s_clogf.c (__clogf): Likewise.
59         * math/s_clogl.c (__clogl): Likewise.
60         * math/Makefile (libm-calls): Add x2y2m1.
61         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
62         (__x2y2m1): Likewise.
63         (__x2y2m1l): Likewise.
64         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
65         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
66         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
67         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
68         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
69         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
70         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
71         * sysdeps/i386/fpu/libm-test-ulps: Update.
72         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
74         [BZ #14621]
75         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
76         int as type of variable DEPTH.
77         (glob): Use size_t instead of int as type of variables NEWCOUNT
78         and OLD_PATHC.
80 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
82         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
83         Add s_sincosf-sse2.
84         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
85         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
86         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
87         macros for using routine as __sincosf_ia32.
88         Use macro for function declaration and weak_alias.
89         * sysdeps/i386/fpu/libm-test-ulps: Update.
91         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
92         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
94         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
95         subnormal argument.
96         * math/s_cexpf.c (__cexpf): Likewise.
97         * math/s_csinf.c (__csinf): Likewise.
98         * math/s_csinhf.c (__csinhf): Likewise.
99         * math/s_ctanf.c (__ctanf): Likewise.
100         * math/s_ctanhf.c (__ctanhf): Likewise.
101         * math/s_ccosh.c (__ccoshf): Likewise.
102         * math/s_cexp.c (__cexpl): Likewise.
103         * math/s_csin.c (__csin): Likewise.
104         * math/s_csinh.c (__csinh): Likewise.
105         * math/s_ctan.c (__ctan): Likewise.
106         * math/s_ctanh.c (ctanh): Likewise.
107         * math/s_ccoshl.c (__ccoshl): Likewise.
108         * math/s_cexpl.c (__cexpl): Likewise.
109         * math/s_csinl.c (__csinl): Likewise.
110         * math/s_csinhl.c (__csinhl): Likewise.
111         * math/s_ctanl.c (__ctanl): Likewise.
112         * math/s_ctanhl.c (__ctanhl): Likewise.
114 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
116         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
117         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
118         (_IO_off_t): Define to __off_t, not _G_off_t.
119         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
120         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
121         (_IO_wint_t): Define to wint_t, not _G_wint_t.
122         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
123         type of __dummy and __dummy2 fields.
124         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
125         (_G_ssize_t): Likewise.
126         (_G_off_t): Likewise.
127         (_G_pid_t): Likewise.
128         (_G_uid_t): Likewise.
129         (_G_wchar_t): Likewise.
130         (_G_wint_t): Likewise.
131         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
132         (_G_ssize_t): Likewise.
133         (_G_off_t): Likewise.
134         (_G_pid_t): Likewise.
135         (_G_uid_t): Likewise.
136         (_G_wchar_t): Likewise.
137         (_G_wint_t): Likewise.
138         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
139         (_G_ssize_t): Likewise.
140         (_G_off_t): Likewise.
141         (_G_pid_t): Likewise.
142         (_G_uid_t): Likewise.
143         (_G_wchar_t): Likewise.
144         (_G_wint_t): Likewise.
146 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
148         * malloc/arena.c: Include malloc-sysdep.h.
149         (shrink_heap): Use check_may_shrink_heap to decide if madvise
150         is sufficient to shrink the heap or an unmap is needed.
151         * sysdeps/generic/malloc-sysdep.h: New file.  Define
152         new function check_may_shrink_heap.
153         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
154         new function check_may_shrink_heap.
156 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
158         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
159         comments.
161 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
163         * catgets/test-gencat.sh: Add "set -e".
164         * elf/tst-pathopt.sh: Likewise.
165         * grp/tst_fgetgrent.sh: Likewise.
166         * iconvdata/run-iconv-test.sh: Likewise.
167         * intl/tst-gettext.sh: Likewise.
168         * intl/tst-gettext2.sh: Likewise.
169         * intl/tst-gettext4.sh: Likewise.
170         * intl/tst-gettext6.sh: Likewise.
171         * intl/tst-translit.sh: Likewise.
172         * io/ftwtest-sh: Likewise.
173         * libio/test-freopen.sh: Likewise.
174         * malloc/tst-mtrace.sh: Likewise.
175         * posix/globtest.sh: Likewise.
176         * posix/tst-getconf.sh: Likewise.
177         * posix/wordexp-tst.sh: Likewise.
178         * stdio-common/tst-printf.sh: Likewise.
179         * stdio-common/tst-unbputc.sh: Likewise.
180         * stdlib/tst-fmtmsg.sh: Likewise.
181         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
182         * catgets/Makefile: Do not specify -e option when running
183         testsuite shell scripts.
184         * elf/Makefile: Likewise.
185         * grp/Makefile: Likewise.
186         * iconvdata/Makefile: Likewise.
187         * intl/Makefile: Likewise.
188         * io/Makefile: Likewise.
189         * libio/Makefile: Likewise.
190         * malloc/Makefile: Likewise.
191         * posix/Makefile: Likewise.
192         * stdio-common/Makefile: Likewise.
193         * stdlib/Makefile: Likewise.
194         * sysdeps/x86_64/Makefile: Likewise.
196         * io/ftwtest-sh: Add copyright header.
197         * posix/globtest.sh: Likewise.
198         * posix/tst-getconf.sh: Likewise.
199         * posix/wordexp-tst.sh: Likewise.
200         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
202 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
204         [BZ #13679]
205         * Makeconfig (+link): Defined as $(+link-static) if
206         $(build-shared) isn't yes.
207         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
208         isn't yes.
209         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
211         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
213         [BZ #14562]
214         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
215         new chunk size with MALLOC_ALIGN_MASK.
217 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
219         [BZ #5044]
220         * stdio-common/printf_fphex.c: Include <stdbool.h> and
221         <rounding-mode.h>.
222         (__printf_fphex): Determine rounding using get_rounding_mode and
223         round_away.
224         * stdio-common/tst-printf-round.c (struct hex_test): New
225         structure.
226         (hex_tests): New variable.
227         (test_hex_in_one_mode): New function.
228         (do_test): Also run tests for hex float output.
230 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
232         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
233         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
234         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
235         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
236         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
237         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
238         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
239         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
241 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
243         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
244         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
245         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
246         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
248 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
250         [BZ #14579]
251         * elf/rtld.c (dl_main): Limit the check for self loading to normal
252         mode only.
253         * elf/tst-rtld-load-self.sh: New test.
254         * elf/Makefile: Run it.
256 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
258         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
259         (tst-writev-ENV): Remove.
260         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
262 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
264         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
266 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
268         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
269         unconditional.
270         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
271         Likewise.
272         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
273         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
274         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
275         Likewise.
277 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
279         [BZ #14587]
280         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
281         * config.make.in (have-cpp-asm-debuginfo): Removed.
282         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
283         * configure: Regenerated.
285 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
287         [BZ #5044]
288         * stdio-common/printf_fp.c: Include <stdbool.h> and
289         <rounding-mode.h>.
290         (___printf_fp): Determine rounding using get_rounding_mode and
291         round_away.
292         * stdio-common/tst-printf-round.c: New file.
293         * stdio-common/Makefile (tests): Add tst-printf-round.
294         (link-libm): New variable.
295         ($(objpfx)tst-printf-round): Depend in $(link-libm).
297 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
299         [BZ #14576]
300         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
301         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
302         Likewise.
303         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
304         Likewise.
306 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
308         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
309         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
310         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
311         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
313 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
315         [BZ #14518]
316         * include/rounding-mode.h: New file.
317         * sysdeps/generic/get-rounding-mode.h: Likewise.
318         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
319         * stdlib/strtod_l.c: Include <rounding-mode.h>.
320         (MAX_VALUE): New macro.
321         (MIN_VALUE): Likewise.
322         (overflow_value): New function.
323         (underflow_value): Likewise.
324         (round_and_return): Use overflow_value and underflow_value to
325         determine return values in overflow and underflow cases.  Use
326         round_away to determine rounding depending on rounding mode.
327         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
328         determine return values in overflow and underflow cases.
329         * stdlib/tst-strtod-round.c: Include <fenv.h>.
330         (struct test_results): New structure.
331         (struct test): Use struct test_results to store expected results
332         for all rounding modes.
333         (TEST): Include expected results for all rounding modes.
334         (test_in_one_mode): New function.
335         (do_test): Use test_in_one_mode to compute and check results.
336         Check results for all rounding modes.
337         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
338         $(link-libm).
340 2012-12-09  Allan McRae  <allan@archlinux.org>
342         * sysdeps/i386/fpu/libm-test-ulps: Update
344 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
346         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
347         (_G_int32_t): Likewise.
348         (_G_uint16_t): Likewise.
349         (_G_uint32_t): Likewise.
350         (_G_HAVE_BOOL): Likewise.
351         (_G_HAVE_ATEXIT): Likewise.
352         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
353         (_G_HAVE_IO_FILE_OPEN): Likewise.
354         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
355         (_G_int32_t): Likewise.
356         (_G_uint16_t): Likewise.
357         (_G_uint32_t): Likewise.
358         (_G_HAVE_BOOL): Likewise.
359         (_G_HAVE_ATEXIT): Likewise.
360         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
361         (_G_HAVE_IO_FILE_OPEN): Likewise.
362         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
363         (_G_int32_t): Likewise.
364         (_G_uint16_t): Likewise.
365         (_G_uint32_t): Likewise.
366         (_G_HAVE_BOOL): Likewise.
367         (_G_HAVE_ATEXIT): Likewise.
368         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
369         (_G_HAVE_IO_FILE_OPEN): Likewise.
371 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
373         * csu/libc-tls.c: Update copyright years.
375 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
377         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
378         [!_G_USING_THUNKS]: Remove conditional code.
379         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
380         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
382         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
383         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
384         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
385         (_G_VTABLE_LABEL_PREFIX): Likewise.
386         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
387         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
388         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
389         (_G_VTABLE_LABEL_PREFIX): Likewise.
390         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
391         * sysdeps/mach/hurd/_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.
396 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
398         * libio/Makefile: Include ../Makeconfig before tests.
399         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
400         only if $(build-shared) is yes.
402         * iconv/gconv_db.c: Update copyright years.
404 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
406         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
407         unwind info if defined PIC. Fix special cases description.
408         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
410         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
411         DP_HI_MASK entry.
412         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
414 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
416         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
418         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
419         is NULL.
421         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
422         (LDLIBS-tst-chk4): This.
423         (LDFLAGS-tst-chk5): Renamed to ...
424         (LDLIBS-tst-chk5): This.
425         (LDFLAGS-tst-chk6): Renamed to ...
426         (LDLIBS-tst-chk6): This.
427         (LDFLAGS-tst-lfschk4): Renamed to ...
428         (LDLIBS-tst-lfschk4): This.
429         (LDFLAGS-tst-lfschk5): Renamed to ...
430         (LDLIBS-tst-lfschk5): This.
431         (LDFLAGS-tst-lfschk6): Renamed to ...
432         (LDLIBS-tst-lfschk6): This.
434         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
435         on $(common-objpfx)soversions.mk.
437 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
439         [BZ #10014]
440         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
441         example host name.
443 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
445         * malloc/arena.c (arena_get_retry): New function that gets
446         another arena for the caller to try its request on.
447         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
448         current arena cannot fulfill the request.
449         (__libc_memalign): Likewise.
450         (__libc_memalign): Likewise.
451         (__libc_pvalloc): Likewise.
452         (__libc_calloc): Likewise.
454 2012-09-05  John Tobey  <john.tobey@gmail.com>
456         [BZ #13542]
457         * manual/arith.texi (Operations on Complex): Fix description
458         of carg branch cut.
460 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
462         [BZ #10014]
463         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
464         host name.
466         [BZ #10038]
467         * manual/memory.texi (Memory): Make order of menu items match
468         order of sections.
470 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
472         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
473         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
474         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
476 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
478         * csu/libc-tls.c (static_dtv): Renamed to ...
479         (_dl_static_dtv): This.  Make it global.
480         (_dl_initial_dtv): Removed.
481         (__libc_setup_tls): Updated.
482         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
483         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
484         DL_INITIAL_DTV.
486 2012-09-06  Petr Machata  <pmachata@redhat.com>
488         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
489         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
490         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
491         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
493 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
495         [BZ #14545]
496         * csu/libc-tls.c (_dl_initial_dtv): New variable.
497         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
498         freeing dtv[-1].
500 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
502         [BZ #14544]
503         * Makeconfig (link-static-before-libc): Replace $(+prector)
504         with $(+prectorT).
505         (link-static-after-libc): Replace $(+postctor) with
506         $(+postctorT).
507         (link-bounded): Replace $(+prector)/$(+postctor) with
508         $(+prectorT)/$(+postctorT).
509         (+prectorT): New macro.
510         (+postctorT): Likewise.
512 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
514         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
515         (round_str): Handle values above the maximum for IBM long double
516         as inexact.
517         * stdlib/tst-strtod-round.c (tests): Regenerated.
519 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
521         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
522         assembler flag.
523         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
524         zarch_nohighgprs around the zarch optimized routines.
525         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
526         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
527         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
528         for zarch.
530 2012-09-05  David S. Miller  <davem@davemloft.net>
532         * sysdeps/sparc/fpu/libm-test-ulps: Update.
534         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
535         HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
536         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
537         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
538         entries.
540 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
542         * malloc/arena.c: Fold copyright years.
543         * malloc/mcheck.c, malloc/memusage.c: Likewise.
545 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
547         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
549 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
551         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
553 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
555         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
556         change internal state upon failure.
558 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
560         * malloc/mcheck.c (mcheck_check_all): Fix typo.
561         * malloc/memusage.c (mmap): Likewise.
562         (mmap64, mremap): Likewise.  Adjust name in comment.
564 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
566         * libio/fileops.c: Fix typos in comments.
567         * libio/oldfileops.c: Likewise.
568         * libio/wfileops.c: Likewise.
570 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
572         [BZ #1349]
573         * malloc/Makefile (tests): Add tst-malloc-usable test case.
574         (tst-malloc-usable-ENV): Set environment for test case.
575         * malloc/hooks.c (malloc_check_get_size): New function to get
576         requested size.
577         * malloc/malloc.c (musable): Use malloc_check_get_size.
578         * malloc/tst-malloc-usable.c: New test case.
580 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
582         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
584 2012-09-05  Allan McRae  <allan@archlinux.org>
586         [BZ #13966]
587         * configure.in (CXX_SYSINCLUDES): Use compiler output to
588         determine header location.
589         * configure: Regenerated.
591 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
593         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
594         float format.
595         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
596         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
597         format.
598         (test): Regenerate.
600 2012-09-04  David S. Miller  <davem@davemloft.net>
602         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
603         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
604         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
606 2012-09-04  Florian Weimer  <fweimer@redhat.com>
608         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
609         failures.
611         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
613 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
615         [BZ #9914]
616         * libio/iogetdelim.c: Include <limits.h>.
617         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
618         + len + 1 would overflow.
620 2012-09-03  Andreas Jaeger  <aj@suse.de>
622         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
623         * sysdeps/i386/fpu/libm-test-ulps: Update.
625 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
627         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
628         Add s_sinf-sse2, s_conf-sse2.
630         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
631         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
632         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
633         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
635         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
636         for using routine as __sinf_ia32.
637         Use macro for function declaration and weak_alias.
638         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
639         for using routine as __cosf_ia32.
640         Use macro for function declaration and weak_alias.
642         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
643         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
645         * sysdeps/x86_64/fpu/s_sinf.S: New file.
646         * sysdeps/x86_64/fpu/s_cosf.S: New file.
647         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
649         * math/libm-test.inc (cos_test): Add more test cases.
650         (sin_test): Likewise.
651         (sincos_test): Likewise.
653 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
655         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
656         (IFUNC_RESOLVE): Make pointers to the specialized implementations
657         hidden.
658         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
660 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
662         [BZ #14538]
663         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
664         first element of the GOT.
665         (elf_machine_load_address): Return the difference between
666         the runtime address of _DYNAMIC and elf_machine_dynamic ().
668 2012-09-01  Allan McRae  <allan@archlinux.org>
670         [BZ #13412]
671         * configure.in (AWK): Require gawk version 3.0 or later.
672         * configure: Regenerated.
674 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
676         * sysdeps/unix/sysv/linux/kernel-features.h
677         (__ASSUME_POSIX_CPU_TIMERS): Remove.
678         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
679         [__NR_clock_getres]: Make code unconditional.
680         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
681         (clock_getcpuclockid): Remove code left unreachable by removal of
682         conditionals.
683         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
684         code unconditional.
685         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
686         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
687         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
688         Make code unconditional.
689         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
690         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
691         * sysdeps/unix/sysv/linux/clock_settime.c
692         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
693         conditional code.
694         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
695         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
697 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
699         [BZ #14476]
700         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
701         scripts/test-installation.pl.
703         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
704         and $ld_so_version if it is set.
706 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
708         [BZ #14516]
709         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
710         failure if reading from procfs failed.
711         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
713 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
715         * sysdeps/unix/sysv/linux/kernel-features.h
716         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
717         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
718         Remove conditional code.
719         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
720         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
721         Remove conditional code.
722         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
723         * sysdeps/unix/sysv/linux/i386/fxstat.c
724         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
725         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
726         * sysdeps/unix/sysv/linux/i386/fxstatat.c
727         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
728         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
729         * sysdeps/unix/sysv/linux/i386/lxstat.c
730         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
731         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
732         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
733         Remove conditional code.
734         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
735         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
736         Remove conditional code.
737         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
738         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
739         <kernel-features.h>.
740         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
741         Remove.
742         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
743         Remove conditional code.
744         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
745         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
746         Remove conditional.
748 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
750         [BZ #5400]
751         * NEWS: Add fixed bug number.
753 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
755         [BZ #14519]
756         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
757         underflowing exponent in case of negative sign.
758         * stdlib/tst-strtod-round-data: Add more tests.
759         * stdlib/tst-strtod-round.c (tests): Regenerated.
761         [BZ #3479]
762         * stdlib/strtod_l.c (NDIG): Remove.
763         (HEXNDIG): Likewise.
764         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
765         smallest representable value.
766         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
767         lie within an exact representation of 1/2 ulp of the result.
768         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
769         unconditionally.
770         (TENS_P9_IDX): Define unconditionally.
771         (TENS_P9_SIZE): Likewise.
772         (TENS_P10_IDX): Likewise.
773         (TENS_P10_SIZE): Likewise.
774         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
775         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
776         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
777         entries for 10^2^13 and 10^2^14.
778         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
779         (TENS_P13_IDX): Define.
780         (TENS_P13_SIZE): Likewise.
781         (TENS_P14_IDX): Likewise.
782         (TENS_P14_SIZE): Likewise.
783         (_fpioconst_pow10): Change array size to
784         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
785         unconditional.
786         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
787         1024]: Add entries for 10^2^13 and 10^2^14.
788         [LAST_POW10 > _LAST_POW10]: Remove #error.
789         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
790         (_fpioconst_pow10): Change array size to
791         FPIOCONST_POW10_ARRAY_SIZE.
792         * stdlib/gen-fpioconst.c: New file.
793         * stdlib/gen-tst-strtod-round.c: Likewise.
794         * stdlib/tst-strtod-round-data: Likewise.
795         * stdlib/tst-strtod-round.c: Likewise.
796         * stdlib/Makefile (tests): Add tst-strtod-round.
798         [BZ #14459]
799         * stdlib/strtod_l.c: Include <stdint.h>.
800         (NDEBUG): Do not define.
801         (round_and_return): Change EXPONENT parameter to type intmax_t.
802         Rearrange calculations to avoid internal overflow possibilities.
803         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
804         Rearrange calculations to avoid internal overflow possibilities.
805         Assert that number fits inside MPNSIZE limbs.
806         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
807         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
808         calculations and add assertions to avoid internal overflow
809         possibilities.  Add casts to avoid signed/unsigned operations.
810         * stdlib/tst-strtod-overflow.c: New file.
811         * stdlib/Makefile (tests): Add tst-strtod-overflow.
813 2012-08-25  Marek Polacek  <polacek@redhat.com>
815         * time/time.h: Fix some typos in comments.
817 2012-08-23  Roland McGrath  <roland@hack.frob.com>
819         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
820         * posix/tst-rfc3484-2.c: Likewise.
821         * posix/tst-rfc3484-3.c: Likewise.
823 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
825         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
826         (EF_ARM_ABI_FLOAT_HARD): Likewise.
828 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
830         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
831         #include of fxstatat64.c.
833 2012-08-22  Roland McGrath  <roland@hack.frob.com>
835         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
836         * shadow/getspent_r.c: Likewise.
837         * shadow/getspnam.c: Likewise.
838         * shadow/getspnam_r.c: Likewise.
839         * gshadow/getsgent.c: Likewise.
840         * gshadow/getsgent_r.c: Likewise.
841         * gshadow/getsgnam.c: Likewise.
842         * gshadow/getsgnam_r.c: Likewise.
843         * inet/getnetbyad.c: Likewise.
844         * inet/getnetbyad_r.c: Likewise.
845         * inet/getnetbynm.c: Likewise.
846         * inet/getnetbynm_r.c: Likewise.
847         * inet/getnetent.c: Likewise.
848         * inet/getnetent_r.c: Likewise.
849         * inet/getproto.c: Likewise.
850         * inet/getproto_r.c: Likewise.
851         * inet/getprtent.c: Likewise.
852         * inet/getprtent_r.c: Likewise.
853         * inet/getprtname.c: Likewise.
854         * inet/getprtname_r.c: Likewise.
855         * inet/getrpcbyname.c: Likewise.
856         * inet/getrpcbyname_r.c: Likewise.
857         * inet/getrpcbynumber.c: Likewise.
858         * inet/getrpcbynumber_r.c: Likewise.
859         * inet/getrpcent.c: Likewise.
860         * inet/getrpcent_r.c: Likewise.
861         * inet/getaliasent.c: Likewise.
862         * inet/getaliasent_r.c: Likewise.
863         * inet/getaliasname.c: Likewise.
864         * inet/getaliasname_r.c: Likewise.
865         * nscd/getgrgid_r.c: Likewise.
866         * nscd/getgrnam_r.c: Likewise.
867         * nscd/gethstbyad_r.c: Likewise.
868         * nscd/gethstbynm3_r.c: Likewise.
869         * nscd/getpwnam_r.c: Likewise.
870         * nscd/getpwuid_r.c: Likewise.
871         * nscd/getsrvbynm_r.c: Likewise.
872         * nscd/getsrvbypt_r.c: Likewise.
873         * nscd/gai.c: Likewise.
875         * configure.in (build_nscd): New substituted variable, set
876         by --disable-build-nscd and defaults to $use_nscd.
877         * configure: Regenerated.
878         * config.make.in (build-nscd): New substituted variable.
879         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
880         Change conditional to require [$(build-nscd) = yes] as well.
881         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
883         [BZ# 13696]
884         * configure.in (use_nscd): New substituted variable, set by
885         --disable-nscd.  If enabled, define USE_NSCD.
886         * configure: Regenerated.
887         * config.h.in: Add USE_NSCD.
888         * config.make.in (use-nscd): New substituted variable.
889         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
890         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
891         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
892         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
893         (CFLAGS-getgrnam_r.c): Likewise.
894         (CFLAGS-initgroups.c): Likewise.
895         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
896         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
897         Variables removed.
898         * inet/getnetgrent_r.c
899         (nscd_setnetgrent): New function, broken out of ...
900         (setnetgrent): ... here.  Call it.
901         (innetgr): Conditionalize nscd bits on [USE_NSCD].
902         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
903         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
904         * nscd/Makefile (routines, aux): Move definitions after include of
905         Makeconfig.  Conditionalize on [$(use-nscd) != no].
906         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
907         Conditionalize on [USE_NSCD].
908         (is_nscd, nscd_init_cb): Likewise.
909         (nss_load_library): Conditionalize init callback on [USE_NSCD].
910         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
911         * nss/nss_db/db-init.c: Likewise.
912         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
913         [USE_NSCD].
914         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
915         (make_request): Use it.
916         (cache_valid_p): New function.
917         (__check_pf): Use it.
918         * NEWS: Add item for --disable-nscd.
920 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
922         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
923         to support sed >= 4.2.1-20-ga9bf076.
924         * configure: Regenerated.
926 2012-08-22  Roland McGrath  <roland@hack.frob.com>
928         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
929         Conditionalize whole body on [IREL].
931 2012-08-22  Jeff Law <law@redhat.com>
933         [BZ #14505]
934         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
935         if the family is PF_UNSPEC.
937 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
939         * Makerules (lib-version): Rename from V.
940         (install-lib-nosubdir): Change V to lib-version.
942 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
944         [BZ #14252]
945         * powerpc32/power6/wcschr.c: New file.
946         * powerpc32/power6/wcscpy.c: New file.
947         * powerpc32/power6/wcsrchr.c: New file.
948         * powerpc64/power6/wcschr.c: New file.
949         * powerpc64/power6/wcscpy.c: New file.
950         * powerpc64/power6/wcsrchr.c: New file.
952 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
954         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
955         (two_way_short_needle): Use it.
956         * string/strstr.c (AVAILABLE1_USES_J): Define.
957         * string/strcasestr.c: Likewise.
959         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
960         array references.
961         * string/strcasestr.c (TOLOWER): Make side-effect safe.
963         [BZ #11607]
964         * NEWS: Add an entry.
965         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
966         define their defaults.
967         (two_way_short_needle): Detect end-of-string on-the-fly.
968         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
969         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
970         * string/bug-strcasestr1.c: New test.
971         * string/Makefile: Run it.
973 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
975         [BZ #11607]
976         * string/str-two-way.h (two_way_short_needle): Optimize matching of
977         the first character.
979 2012-08-21  Roland McGrath  <roland@hack.frob.com>
981         * csu/elf-init.c (__libc_csu_irel): Function removed.
982         * csu/libc-start.c (apply_irel): New function.
983         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
985 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
987         * sysdeps/unix/sysv/linux/kernel-features.h
988         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
989         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
990         <kernel-features.h>.
991         [__NR_fadvise64_64]: Make code unconditional.
992         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
993         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
994         !__NR_fadvise64_64)]: Likewise.
995         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
996         !__NR_fadvise64_64))]: Likewise.
997         [__NR_fadvise64]: Make code unconditional.
998         [!__NR_fadvise64]: Remove conditional code.
999         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
1000         <kernel-features.h>.
1001         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
1002         unconditional.
1003         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
1004         conditional code.
1005         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
1006         not include <kernel-features.h>.
1007         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
1008         unconditional.
1009         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
1010         conditional code.
1011         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
1012         include <kernel-features.h>.
1013         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
1014         unconditional.
1015         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
1016         conditional code.
1018 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
1020         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
1021         slight instruction rearrangements per scrollpipe analysis.
1022         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
1024 2012-08-20  Roland McGrath  <roland@hack.frob.com>
1026         * manual/syslog.texi (syslog; vsyslog, closelog):
1027         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
1028         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
1030         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
1031         DSOCAPS to match condition on defining it.
1033 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
1035         * sysdeps/unix/sysv/linux/kernel-features.h
1036         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
1037         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
1038         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
1039         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
1040         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
1041         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
1042         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
1043         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
1044         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
1045         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
1047         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
1048         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
1050         * sysdeps/unix/sysv/linux/kernel-features.h
1051         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
1052         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
1053         unconditional.
1054         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
1055         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
1056         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
1057         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
1058         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
1059         Make code unconditional.
1060         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
1061         (__mmap64) [!__NR_mmap2]: Likewise.
1062         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
1063         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
1064         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
1065         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
1066         [__NR_mmap2]: Make code unconditional.
1067         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
1068         (__mmap64) [!__NR_mmap2]: Likewise.
1070 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
1072         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
1074 2012-08-18  Andreas Jaeger  <aj@suse.de>
1076         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
1078 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
1080         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
1081         * include/unistd.h (__have_sock_cloexec): Likewise.
1082         (__have_pipe2): Likewise.
1083         (__have_dup3): Likewise.
1085 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
1087         [BZ #9685]
1088         * include/unistd.h (__have_pipe2): Change define into an extern int.
1089         (__have_dup3): Likewise.
1090         * socket/have_sock_cloexec.c: Include fcntl.h.
1091         (__have_pipe2): New variable.
1092         (__have_dup3): Likewise.
1094 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
1096         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
1098 2012-08-17  Marek Polacek  <polacek@redhat.com>
1100         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
1101         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
1103 2012-08-17  Roland McGrath  <roland@hack.frob.com>
1105         * configure.in: Add AC_SUBST for sysheaders.
1106         * configure: Regenerated.
1107         * config.make.in (sysheaders): New substituted variable.
1109         * sysdeps/unix/mkfifo.c: Moved ...
1110         * sysdeps/posix/mkfifo.c: ... here.
1111         * sysdeps/unix/mkfifoat.c: Moved ...
1112         * sysdeps/posix/mkfifoat.c: ... here.
1114         * sysdeps/unix/utime.c: Moved ...
1115         * sysdeps/posix/utime.c: ... here.
1117         * sysdeps/unix/time.c: Moved ...
1118         * sysdeps/posix/time.c: ... here.
1119         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
1120         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
1122         * sysdeps/unix/nice.c: Moved ...
1123         * sysdeps/posix/nice.c: ... here.
1125         * sysdeps/unix/alarm.c: Moved ...
1126         * sysdeps/posix/alarm.c: ... here.
1128         * intl/Makefile ($(codeset_mo)): Depend on the input file.
1130 2012-08-17  Jeff Law <law@redhat.com>
1132         * intl/Makefile (codeset_mo): New variable.
1133         ($(codeset_mo)): New target.
1134         (tst-codeset.out): Depend on that.  Remove explicit rule.
1135         (tst-gettext3.out, tst-gettext5.out): Likewise.
1136         (LOCPATH-ENV, tst-codeset-ENV): New variables.
1137         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
1138         * intl/tst-codeset.sh: Remove.
1139         * intl/tst-gettext3.sh: Likewise.
1140         * intl/tst-gettext5.sh: Likewise.
1142 2012-08-17  Roland McGrath  <roland@hack.frob.com>
1144         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
1145         * sysdeps/unix/syscalls.list: ... here.
1147         * sysdeps/posix/getaddrinfo.c
1148         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
1149         (gaiconf_init, gaiconf_reload): Use them.
1150         [!_STATBUF_ST_NSEC]
1151         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
1152         Define using time_t rather than struct timespec.
1154         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
1155         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
1156         Macros removed.
1157         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
1158         [!NO_THREADS].
1159         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
1160         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
1161         Likewise.
1163         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
1164         __libc_cleanup_push argument.
1166         * bits/param.h: New file.
1167         * misc/sys/param.h: New file.
1168         * include/sys/param.h: New file.
1169         * misc/Makefile (headers): Add bits/param.h.
1170         * sysdeps/generic/sys/param.h: File removed.
1171         * sysdeps/unix/sysv/linux/bits/param.h: New file.
1172         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
1173         * sysdeps/mach/hurd/bits/param.h: New file.
1174         * sysdeps/mach/hurd/sys/param.h: New file.
1176         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
1177         last change.
1179         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
1180         [_IO_MTSAFE_IO].
1181         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
1182         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
1183         New macros.
1185         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
1186         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
1187         rather than -D_IO_MTSAFE_IO conditionally.
1188         * stdio-common/Makefile (CPPFLAGS): Likewise.
1189         * wcsmbs/Makefile (CPPFLAGS): Likewise.
1190         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
1191         Use $(libio-mtsafe).
1192         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
1193         of -D_IO_MTSAFE_IO.
1194         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
1195         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
1196         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
1197         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
1198         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
1199         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
1200         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
1201         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
1202         (CFLAGS-fread_u_chk.c): Likewise.
1203         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
1204         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
1205         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
1206         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
1207         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
1208         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
1209         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
1210         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
1211         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
1213         * libio/Makefile: Test [$(libc-reentrant) = yes]
1214         instead of [$(filter %REENTRANT, $(defines)) nonempty].
1216         * Makeconfig
1217         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
1218         * sysdeps/pthread/configure: File removed.
1219         * sysdeps/pthread/Makeconfig: New file.
1220         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
1221         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
1223 2012-08-16  Gary Benson  <gbenson@redhat.com>
1225         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
1226         unmapping the first object in a namespace.
1228 2012-08-16  Roland McGrath  <roland@hack.frob.com>
1230         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
1231         (__internal_setnetgrent): ... this.  Add internal_function to
1232         definition.  Add libc_hidden_def.
1233         (setnetgrent): Update caller.
1234         (internal_endnetgrent): Renamed to ...
1235         (__internal_endnetgrent): ... this.  Add internal_function to
1236         definition.  Add libc_hidden_def.
1237         (endnetgrent): Update caller.
1238         (internal_getnetgrent_r): Renamed to ...
1239         (__internal_getnetgrent_r): ... this.  Add internal_function to
1240         definition.  Add libc_hidden_def.
1241         (__getnetgrent_r): Update caller.
1242         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
1244 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
1246         * stdlib/longlong.h: Update from GCC.
1248 2012-08-16  Roland McGrath  <roland@hack.frob.com>
1250         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
1251         on _QL, which is set by umul_ppmm but never used.
1252         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
1253         variables, which are set by GMP macros but never used.
1254         * stdio-common/_itowa.c (_itowa): Likewise.
1255         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
1256         * stdlib/mod_1.c (mpn_mod_1): Likewise.
1258 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
1260         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
1261         struct La_sh_regs is not constant.
1262         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
1263         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
1264         and struct La_sparc64_regs are not constant.
1266 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
1268         * sysdeps/unix/sysv/linux/kernel-features.h
1269         (__ASSUME_POSIX_TIMERS): Remove.
1270         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
1271         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
1272         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
1273         Make code unconditional.
1274         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
1275         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
1276         Make code unconditional.
1277         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
1278         * sysdeps/unix/sysv/linux/clock_nanosleep.c
1279         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
1280         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
1281         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
1282         Make code unconditional.
1283         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
1284         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
1285         (__libc_missing_posix_timers): Remove.
1287 2012-08-15  Roland McGrath  <roland@hack.frob.com>
1289         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
1290         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
1292         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
1294         * elf/dl-sym.c: Include <stdlib.h>.
1296         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
1297         constants, which avoids warnings in 32-bit builds.
1299         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
1300         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
1302         * misc/lseek.c: File moved to ...
1303         * io/lseek.c: ... here.
1305         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
1307         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
1308         shifting LEN more than 31 bits at once.
1310 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
1312         [BZ #14195]
1313         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
1314         segmentation fault for a case of two empty input strings.
1315         * string/test-strncasecmp.c (check1): Renamed to...
1316         (bz12205): ...this.
1317         (bz14195): Add new testcase for two empty input strings and N > 0.
1318         (test_main): Call new testcase, adapt for renamed function.
1320 2012-08-15  Andreas Jaeger  <aj@suse.de>
1322         [BZ #14090]
1323         * crypt/md5test2.c: New test, based on test supplied by Serge
1324         Belyshev <belyshev@depni.sinp.msu.ru>.
1325         * crypt/Makefile (xtests): Add md5test-giant..
1326         * crypt/Makefile ($(objpfx)md5test-giant): Add.
1328 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
1330         [BZ #14090]
1331         * crypt/md5.c (md5_process_block): Don't assume the buffer
1332         length is less than 2**32.
1333         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
1334         length is less than 2**64.
1336 2012-08-15  Roland McGrath  <roland@hack.frob.com>
1338         * string/str-two-way.h: Include <sys/param.h>.
1339         (MAX): Macro removed.
1341         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
1342         Move #define and #undef of memmove to just before and after
1343         including <string.h>.
1345         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
1346         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
1347         and after including <string.h>.  Move declarations of
1348         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
1349         to before #include "string/memmove.c".
1351         * include/dirent.h: Declare __getdirentries.
1353         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
1354         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
1356 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
1358         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
1359         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
1360         * sysdeps/i386/configure: Regenerated.
1361         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
1362         STABS_CURRENT_FILE, and STABS_FUN.
1363         (END): Remove call to STABS_FUN_END.
1364         (STABS_CURRENT_FILE1): Delete.
1365         (STABS_CURRENT_FILE): Likewise.
1366         (STABS_FUN): Likewise.
1367         (STABS_FUN_END): Likewise.
1368         (STABS_FUN2): Likewise.
1369         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
1370         * sysdeps/x86_64/configure: Regenerated.
1372 2012-08-14  Roland McGrath  <roland@hack.frob.com>
1374         * elf/dl-open.c: Include <atomic.h>.
1375         * elf/dl-lookup.c: Likewise.
1377 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
1379         * sysdeps/unix/sysv/linux/kernel-features.h
1380         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
1381         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
1382         unconditionally.
1383         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
1384         unconditionally.
1385         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
1386         condition on __ASSUME_CLONE_THREAD_FLAGS.
1388 2012-08-14  Andreas Jaeger  <aj@suse.de>
1390         * sysdeps/i386/fpu/libm-test-ulps: Update.
1392 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
1394         * include/atomic.h (atomic_exchange_and_add): Split into ...
1395         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
1396         New atomic macros.
1398 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
1400         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1402 2012-08-13  Jeff Law <law@redhat.com>
1404         * manual/stdio.texi (snprintf): Clarify handling of the trailing
1405         null byte in the output string.
1407 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
1409         * sysdeps/unix/sysv/linux/kernel-features.h
1410         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
1411         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
1412         (__ASSUME_ARG_MAX_STACK_BASED): Define.
1413         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
1414         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
1415         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
1416         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
1418 2012-08-09  Jeff Law <law@redhat.com>
1420         [BZ #13939]
1421         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
1422         When avoid_arena is set, don't retry in the that arena.  Pick the
1423         next one, whatever it might be.
1424         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
1425         (arena_lock): Pass in new parameter to arena_get2.
1426         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
1427         arena_get2.
1428         (__libc_malloc): Unify retrying after main arena failure with
1429         __libc_memalign version.
1430         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
1432 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
1434         [BZ #14166]
1435         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
1436         to __redirect_strstr.
1437         (__strstr_sse42): Use typeof __redirect_strstr.
1438         (__strstr_ia32): Likewise.
1439         (__libc_strstr): New prototype.
1440         (strstr): Renamed to ...
1441         (__libc_strstr): This.
1442         (strstr): New strong alias of __libc_strstr.
1443         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
1444         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
1445         __redirect_time.
1446         Include <time.h>.
1447         (__libc_time): New prototype.
1448         (time_ifunc): Replace time with __libc_time.
1449         (time): New strong alias and hidden definition of __libc_time.
1450         (__GI_time): Remove strong alias.
1451         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
1452         Include <stddef.h>.
1453         (memmove): Redefined to __redirect_memmove.
1454         (__memmove_sse2): Use typeof __redirect_memmove.
1455         (__memmove_ssse3): Likewise.
1456         (__memmove_ssse3_back): Likewise.
1457         (__libc_memmove): New prototype.
1458         (memmove): Renamed to ...
1459         (__libc_memmove): This.
1460         (memmove): New strong alias of __libc_memmove.
1462 2012-08-08  Mark Salter  <msalter@redhat.com>
1464         * elf/elf.h
1465         (R_MN10300_TLS_GD): Define.
1466         (R_MN10300_TLS_LD): Likewise.
1467         (R_MN10300_TLS_LDO): Likewise.
1468         (R_MN10300_TLS_GOTIE): Likewise.
1469         (R_MN10300_TLS_IE): Likewise.
1470         (R_MN10300_TLS_LE): Likewise.
1471         (R_MN10300_TLS_DTPMOD): Likewise.
1472         (R_MN10300_TLS_DTPOFF): Likewise.
1473         (R_MN10300_TLS_TPOFF): Likewise.
1474         (R_MN10300_SYM_DIFF): Likewise.
1475         (R_MN10300_ALIGN): Likewise.
1476         (R_MN10300_NUM): Update.
1478 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
1480         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
1481         Remove.
1483 2012-08-08  Roland McGrath  <roland@hack.frob.com>
1485         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
1487         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
1488         sysdeps/unix -> sysdeps/posix move.
1489         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
1491 2012-08-07      Allan McRae     <allan@archlinux.org>
1493         [BZ #14303]
1494         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
1495         (SUNOS_CPP): Likewise.
1496         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
1497         not found.
1498         (open_input): Call CPP using execvp.
1500 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
1502         * sysdeps/unix/sysv/linux/kernel-features.h
1503         (__ASSUME_PROT_GROWSUPDOWN): Remove.
1504         (__ASSUME_NO_CLONE_DETACHED): Likewise.
1505         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
1506         (__ASSUME_WAITID_SYSCALL): Likewise.
1507         * sysdeps/unix/sysv/linux/dl-execstack.c
1508         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
1509         code unconditional.
1510         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
1511         conditional code.
1512         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
1513         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
1514         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
1515         code.
1516         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
1517         unconditional.
1518         [__ASSUME_WAITID_SYSCALL]: Likewise.
1519         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
1521 2012-08-07  Roland McGrath  <roland@hack.frob.com>
1523         * sysdeps/unix/closedir.c: Renamed to ...
1524         * sysdeps/posix/closedir.c: ... here.
1525         * sysdeps/unix/dirfd.c: Renamed to ...
1526         * sysdeps/posix/dirfd.c: ... here.
1527         * sysdeps/unix/dirstream.h: Renamed to ...
1528         * sysdeps/posix/dirstream.h: ... here.
1529         * sysdeps/unix/fdopendir.c: Renamed to ...
1530         * sysdeps/posix/fdopendir.c: ... here.
1531         * sysdeps/unix/opendir.c: Renamed to ...
1532         * sysdeps/posix/opendir.c: ... here.
1533         * sysdeps/unix/readdir.c: Renamed to ...
1534         * sysdeps/posix/readdir.c: ... here.
1535         * sysdeps/unix/readdir_r.c: Renamed to ...
1536         * sysdeps/posix/readdir_r.c: ... here.
1537         * sysdeps/unix/rewinddir.c: Renamed to ...
1538         * sysdeps/posix/rewinddir.c: ... here.
1539         * sysdeps/unix/seekdir.c: Renamed to ...
1540         * sysdeps/posix/seekdir.c: ... here.
1541         * sysdeps/unix/telldir.c: Renamed to ...
1542         * sysdeps/posix/telldir.c: ... here.
1543         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
1544         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
1545         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
1546         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
1548         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
1549         * bits/fcntl.h: ... here.
1551         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
1552         not 0.
1553         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
1554         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
1555         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
1556         (struct flock): Move l_start, l_len to the beginning.
1557         Use __pid_t for l_pid.
1558         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
1559         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
1560         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
1561         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
1562         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
1563         [__USE_LARGEFILE64] (struct flock64): New type.
1564         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
1566         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
1567         * bits/dirent.h: ... here.
1569         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
1570         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
1572 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
1574         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
1575         Change from 2.6.0 to 2.6.16.
1576         * sysdeps/unix/sysv/linux/configure: Regenerated.
1577         * sysdeps/unix/sysv/linux/kernel-features.h
1578         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
1579         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
1580         version.
1581         (__ASSUME_UTIMES): Likewise.
1582         (__ASSUME_CLONE_STOPPED): Remove.
1583         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
1584         architectures, not kernel version.
1585         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
1586         (__ASSUME_NO_CLONE_DETACHED): Likewise.
1587         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
1588         (__ASSUME_WAITID_SYSCALL): Likewise.
1589         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
1590         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
1591         * README: State 2.6.16 as minimum Linux kernel version.  Do not
1592         refer to older versions.
1594 2012-08-06  Roland McGrath  <roland@hack.frob.com>
1596         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
1597         Define alphasort64 as an alias.
1598         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
1599         Define versionsort64 as an alias.
1600         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
1601         Define scandir64 as an alias.
1602         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
1603         Define scandirat64 as an alias.
1604         * dirent/alphasort64.c (alphasort64):
1605         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
1606         * dirent/versionsort64.c: Likewise.
1607         * dirent/scandir64.c: Likewise.
1608         * dirent/scandirat64.c: Likewise.
1609         * sysdeps/wordsize-64/alphasort.c: File removed.
1610         * sysdeps/wordsize-64/alphasort64.c: File removed.
1611         * sysdeps/wordsize-64/scandir.c: File removed.
1612         * sysdeps/wordsize-64/scandir64.c: File removed.
1613         * sysdeps/wordsize-64/scandirat.c: File removed.
1614         * sysdeps/wordsize-64/scandirat64.c: File removed.
1615         * sysdeps/wordsize-64/versionsort.c: File removed.
1616         * sysdeps/wordsize-64/versionsort64.c: File removed.
1617         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
1618         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
1619         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
1620         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
1621         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
1622         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
1623         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
1624         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
1626         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
1627         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
1628         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
1629         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
1630         [defined __arch64__ || defined __sparcv9]
1631         (__INO_T_MATCHES_INO64_T): New macro.
1632         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
1633         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
1634         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
1635         * sysdeps/unix/sysv/linux/bits/dirent.h
1636         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
1637         (_DIRENT_MATCHES_DIRENT64): New macro.
1639         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
1640         Define lockf64 as an alias.
1641         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
1642         Define fseeko64 as an alias.
1643         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
1644         Define ftello64 as an alias.
1645         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
1646         Define _IO_fgetpos64 and fgetpos64 as aliases.
1647         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
1648         Define _IO_fsetpos64 and fsetpos64 as aliases.
1649         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
1650         Conditionalize body on this.
1651         * libio/fseeko64.c: Likewise.
1652         * libio/ftello64.c: Likewise.
1653         * libio/iofgetpos64.c: Likewise.
1654         * libio/iofsetpos64.c: Likewise.
1655         * sysdeps/wordsize-64/lockf.c: File removed.
1656         * sysdeps/wordsize-64/lockf64.c: File removed.
1657         * sysdeps/wordsize-64/fseeko.c: File removed.
1658         * sysdeps/wordsize-64/fseeko64.c: File removed.
1659         * sysdeps/wordsize-64/ftello.c: File removed.
1660         * sysdeps/wordsize-64/ftello64.c: File removed.
1661         * sysdeps/wordsize-64/iofgetpos.c: File removed.
1662         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
1663         * sysdeps/wordsize-64/iofsetpos.c: File removed.
1664         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
1665         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
1666         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
1667         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
1668         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
1669         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
1670         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
1671         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
1672         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
1673         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
1674         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
1676         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
1677         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
1678         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
1679         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
1680         [defined __arch64__ || defined __sparcv9]
1681         (__OFF_T_MATCHES_OFF64_T): New macro.
1682         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
1683         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
1684         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
1685         (__OFF_T_MATCHES_OFF64_T): New macro.
1687 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
1689         * stdlib/secure-getenv.c (__secure_getenv): Replace
1690         GLIBC_2_16 with GLIBC_2_17.
1692 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
1694         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
1695         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
1697 2012-08-03  David S. Miller  <davem@davemloft.net>
1699         * sysdeps/sparc/fpu/libm-test-ulps: Update.
1701 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
1703         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
1704         Remove.
1705         (__ASSUME_CORRECT_SI_PID): Likewise.
1706         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
1707         (__ASSUME_TMPFS_NAME): Likewise.
1708         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
1709         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
1710         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
1711         (HAVE_AUX_SECURE): Make definition unconditional.
1712         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
1713         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
1715 2012-08-03  Roland McGrath  <roland@hack.frob.com>
1717         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
1718         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
1719         * sysdeps/mach/hurd/eloop-threshold.h: New file.
1720         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
1721         __eloop_threshold instead of SYMLOOP_MAX.
1723         * sysdeps/generic/eloop-threshold.h: New file.
1724         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
1725         of MAXSYMLINKS.
1726         * elf/chroot_canon.c (chroot_canon): Likewise.
1728 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
1730         [BZ #13717]
1731         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
1732         Change to 2.6.0 everywhere.
1733         * sysdeps/unix/sysv/linux/configure: Regenerated.
1734         * sysdeps/unix/sysv/linux/kernel-features.h
1735         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
1736         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
1737         kernel versions.
1738         (__ASSUME_POSIX_TIMERS): Define unconditionally.
1739         (__ASSUME_FUTEX_REQUEUE): Remove.
1740         (__ASSUME_STATFS64): Define unconditionally.
1741         (__ASSUME_AT_SECURE): Likewise.
1742         (__ASSUME_CORRECT_SI_PID): Likewise.
1743         (__ASSUME_TGKILL): Define without depending on kernel version for
1744         i386.
1745         (__ASSUME_UTIMES): Likewise.
1746         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
1747         kernel version.
1748         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
1749         (__ASSUME_TMPFS_NAME): Likewise.
1750         * README: Update reference to Linux kernel versions.
1752 2012-08-02  Marek Polacek  <polacek@redhat.com>
1754         [BZ# 14150]
1755         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
1756         libc_cv_asm_type_prefix with %.
1757         * configure: Regenerated.
1758         * include/libc-symbols.h: Remove comment about
1759         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
1760         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
1761         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
1762         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
1763         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
1764         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
1765         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
1766         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
1767         * elf/tst-unique2mod1.c: Likewise.
1768         * elf/tst-unique1mod2.c: Likewise.
1769         * elf/tst-unique1mod1.c: Likewise.
1770         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
1771         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
1772         Replace ASM_TYPE_DIRECTIVE with .type.
1773         * sysdeps/s390/s390-64/sysdep.h: Likewise.
1774         * sysdeps/i386/sysdep.h: Likewise.
1775         * sysdeps/x86_64/sysdep.h: Likewise.
1776         * sysdeps/sh/sysdep.h: Likewise.
1777         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
1778         Do not define ASM_TYPE_DIRECTIVE.
1779         * sysdeps/powerpc/sysdep.h: Likewise.
1780         * sysdeps/powerpc/powerpc32/sysdep.h:
1781         Replace ASM_TYPE_DIRECTIVE with .type.
1782         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
1783         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
1784         * sysdeps/i386/fpu/e_powf.S: Likewise.
1785         * sysdeps/i386/fpu/e_expl.S: Likewise.
1786         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
1787         * sysdeps/i386/fpu/e_acosh.S: Likewise.
1788         * sysdeps/i386/fpu/e_pow.S: Likewise.
1789         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
1790         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
1791         * sysdeps/i386/fpu/s_expm1.S: Likewise.
1792         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
1793         * sysdeps/i386/fpu/e_log2.S: Likewise.
1794         * sysdeps/i386/fpu/e_log2l.S: Likewise.
1795         * sysdeps/i386/fpu/e_scalb.S: Likewise.
1796         * sysdeps/i386/fpu/e_powl.S: Likewise.
1797         * sysdeps/i386/fpu/e_log10f.S: Likewise.
1798         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
1799         * sysdeps/i386/fpu/e_logl.S: Likewise.
1800         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
1801         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
1802         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
1803         * sysdeps/i386/fpu/e_log2f.S: Likewise.
1804         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
1805         * sysdeps/i386/fpu/e_log.S: Likewise.
1806         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
1807         * sysdeps/i386/fpu/e_logf.S: Likewise.
1808         * sysdeps/i386/fpu/e_log10l.S: Likewise.
1809         * sysdeps/i386/fpu/e_atanh.S: Likewise.
1810         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
1811         * sysdeps/i386/fpu/e_log10.S: Likewise.
1812         * sysdeps/i386/fpu/s_frexp.S: Likewise.
1813         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
1814         * sysdeps/i386/fpu/s_asinh.S: Likewise.
1815         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
1816         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
1817         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
1818         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
1819         * sysdeps/i386/i686/strtok.S: Likewise.
1820         * sysdeps/i386/i386-mcount.S: Likewise.
1821         * sysdeps/i386/strtok.S: Likewise.
1822         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
1823         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
1824         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
1825         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
1826         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
1827         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
1828         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
1829         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
1830         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
1831         * sysdeps/x86_64/_mcount.S: Likewise.
1832         * sysdeps/x86_64/strtok.S: Likewise.
1833         * sysdeps/sh/_mcount.S: Likewise.
1835 2012-08-01  Roland McGrath  <roland@hack.frob.com>
1837         * libio/iofopen.c: Include <fcntl.h>.
1838         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
1839         (_IO_fopen64, fopen64): Define as aliases.
1840         * libio/iofopen64.c: Include <fcntl.h>.
1841         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
1842         Conditionalize body on this.
1843         * sysdeps/wordsize-64/iofopen.c: File removed.
1844         * sysdeps/wordsize-64/iofopen64.c: File removed.
1846 2012-08-01  Marek Polacek  <polacek@redhat.com>
1848         * libc/Makeconfig: Use elf in place of binfmt-subdir.
1849         Use dlfcn directly instead of a variable.
1850         (binfmt-subdir): Do not define.
1851         (dlfcn): Likewise.
1853 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
1855         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
1856         Remove all definitions.
1857         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
1858         <kernel-features.h>.
1859         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
1860         (miss_F_GETOWN_EX): Remove all definitions.
1861         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
1862         macro definition.
1863         [!__ASSUME_FCNTL64]: Remove conditional code.
1864         [__ASSUME_FCNTL64]: Make code unconditional.
1865         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
1866         <kernel-features.h>.
1867         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
1868         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
1869         (lockf64) [__NR_fcntl64]: Make code unconditional.
1870         (lockf64) [__ASSUME_FCNTL64]: Likewise.
1872         * sysdeps/unix/sysv/linux/kernel-features.h
1873         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
1874         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
1875         Make code unconditional.
1876         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
1877         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
1878         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
1879         [__NR_vfork]: Make code unconditional.
1880         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
1881         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
1882         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
1883         [__NR_vfork]: Make code unconditional.
1884         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
1885         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
1887 2012-08-01  Roland McGrath  <roland@hack.frob.com>
1889         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
1890         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
1892         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
1893         Define mkstemp64 as an alias.
1894         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
1895         Define mkstemps64 as an alias.
1896         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
1897         Define mkostemp64 as an alias.
1898         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
1899         Define mkostemps64 as an alias.
1900         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
1901         Conditionalize body on this.
1902         * misc/mkostemp64.c: Likewise.
1903         * misc/mkostemps64.c: Likewise.
1904         * misc/mkstemps64.c: Likewise.
1905         * sysdeps/wordsize-64/mkstemp64.c: File removed.
1906         * sysdeps/wordsize-64/mkostemp64.c: File removed.
1907         * sysdeps/wordsize-64/mkostemp.c: File removed.
1908         * sysdeps/wordsize-64/mkstemp.c: File removed.
1909         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
1910         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
1911         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
1912         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
1914         [BZ #14138]
1915         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
1916         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
1917         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
1918         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
1920         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
1921         compat_symbol macros from <shlib-compat.h> rather than the underlying
1922         default_symbol_version and symbol_version macros, so that DEFAULT
1923         lines in shlib-versions are respected.
1924         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
1926 2012-08-01  Florian Weimer  <fweimer@redhat.com>
1928         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
1929         Declare with warn_unused_result.
1930         (setgid, setregid, setegid, setresgid): Likewise.
1931         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
1932         Likewise.
1933         * WUR-REPORT: Remove set*id functions.
1935 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
1937         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
1939 2012-07-31  Roland McGrath  <roland@hack.frob.com>
1941         * include/sys/socket.h (__libc_accept, __libc_accept4):
1942         Add attribute_hidden.
1943         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
1945         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
1946         use of PTR_MANGLE.
1947         * inet/getnetgrent_r.c (setup): Likewise.
1949         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
1951 2012-07-31  David S. Miller  <davem@davemloft.net>
1953         * sysdeps/sparc/fpu/libm-test-ulps: Update.
1955 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
1957         [BZ #13629]
1958         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
1959         value between 1.0 and 2.0 and smaller part has absolute value less
1960         than 1.0.
1961         * math/s_clog10.c (__clog10): Likewise.
1962         * math/s_clog10f.c (__clog10f): Likewise.
1963         * math/s_clog10l.c (__clog10l): Likewise.
1964         * math/s_clogf.c (__clogf): Likewise.
1965         * math/s_clogl.c (__clogl): Likewise.
1966         * math/libm-test.inc (clog_test): Add more tests.
1967         (clog10_test): Likewise.
1968         * sysdeps/i386/fpu/libm-test-ulps: Update.
1969         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1971 2012-07-31  Florian Weimer  <fweimer@redhat.com>
1973         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
1974         Exit with zero in case no suitable GID is found, and write a
1975         message to standard error.
1977 2012-07-30  Roland McGrath  <roland@hack.frob.com>
1979         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
1980         rather than to 1.
1981         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
1982         (MAXPATHLEN): Removed.
1983         (NOGROUP, NODEV): New macros.
1984         (setbit, clrbit, isset, isclr): New macros.
1985         (howmany, roundup, powerof2): New macros.
1986         (DEV_BSIZE): New macro.
1988         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
1989         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
1991         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
1992         definition on [!__NO_LONG_DOUBLE_MATH].
1994         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
1995         PTR_MANGLE and PTR_DEMANGLE.
1997         * socket/accept4.c (accept4): Rename to __libc_accept4.
1998         Define accept4 as a weak alias.
2000         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
2001         on [_DIRENT_HAVE_D_TYPE].
2002         * io/ftw.c (ftw_dir): Likewise.
2004         * io/xmknod.c (__xmknod): Don't check PATH for being null.
2006         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
2008         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
2009         Use the BSD numbers rather than the arbitrary ones we had.
2010         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
2011         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
2012         (SIGXCPU, SIGXFSZ): New macros.
2013         (_NSIG): Now 32.
2015         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
2016         initializer on [_LIBC_REENTRANT].
2018         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
2019         definitions inside [_POSIX_MAPPED_FILES].
2021         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
2023         * dirent/opendir.c: Include <fcntl.h>.
2025         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
2026         (__libc_getspecific): Likewise.
2027         (__libc_key_create): Likewise.
2029         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
2030         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
2031         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
2032         (tmpfile64): Define as alias.
2033         * sysdeps/wordsize-64/tmpfile.c: File removed.
2034         * sysdeps/wordsize-64/tmpfile64.c: File removed.
2035         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
2036         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
2038         * stdio-common/vfscanf.c: Include <stdbool.h>.
2039         * nss/makedb.c: Likewise.
2040         * stdio-common/_i18n_number.h: Likewise.
2041         * argp/argp-help.c: Likewise.
2042         * posix/wordexp.c: Likewise.
2043         * sysdeps/posix/spawni.c: Likewise.
2044         * nss/nss_files/files-initgroups.c: Likewise.
2045         * stdio-common/reg-modifier.c: Include <stdlib.h>.
2046         * nss/nss_files/files-initgroups.c: Likewise.
2047         * nss/nss_db/db-netgrp.c: Likewise.
2048         * nss/nss_db/db-initgroups.c: Likewise.
2049         * io/fchmodat.c: Include <sys/stat.h>.
2051         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
2052         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
2054         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
2055         [HAVE_MMAP].
2057         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
2058         Add multiple inclusion protection.
2060 2012-07-27  David S. Miller  <davem@davemloft.net>
2062         * sysdeps/sparc/fpu/libm-test-ulps: Update.
2064 2012-07-27  Gary Benson  <gbenson@redhat.com>
2066         [BZ #14298]
2067         * elf/rtld.c: Include <stap-probe.h>.
2068         (dl_main): Added static probes "init_start" and "init_complete".
2069         * elf/dl-load.c: Include <stap-probe.h>.
2070         (lose): Take new parameter "nsid".
2071         Added static probe "map_failed".
2072         (_dl_map_object_from_fd): Pass namespace id to lose.
2073         Added static probe "map_start".
2074         (open_verify): Pass namespace id to lose.
2075         * elf/dl-open.c: Include <stap-probe.h>.
2076         (dl_open_worker) Added static probes "map_complete", "reloc_start"
2077         and "reloc_complete".
2078         * elf/dl-close.c: Include <stap-probe.h>.
2079         (_dl_close_worker): Added static probes "unmap_start" and
2080         "unmap_complete".
2081         * elf/rtld-debugger-interface.txt: New file documenting the above.
2083 2012-07-26  Roland McGrath  <roland@hack.frob.com>
2085         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
2086         rather than a string variable.
2087         * sunrpc/rpc_main.c (h_output): Likewise.
2088         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
2090 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
2092         * inet/check_native.c: New file.
2094 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
2096         [BZ #13629]
2097         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
2098         if larger part has absolute value 1.0.
2099         * math/s_clog10.c (__clog10): Likewise.
2100         * math/s_clog10f.c (__clog10f): Likewise.
2101         * math/s_clog10l.c (__clog10l): Likewise.
2102         * math/s_clogf.c (__clogf): Likewise.
2103         * math/s_clogl.c (__clogl): Likewise.
2104         * math/libm-test.inc (clog_test): Add more tests.
2105         (clog10_test): Likewise.
2106         * sysdeps/i386/fpu/libm-test-ulps: Update.
2107         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2109         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
2110         (pltexit): Likewise.
2111         (La_regs): Likewise.
2112         (La_retval): Likewise.
2113         (int_retval): Likewise.
2114         Update #error for removed macros to refer only to definitions in
2115         tst-audit.h.
2116         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
2117         macro.
2118         (pltexit): Likewise.
2119         (La_regs): Likewise.
2120         (La_retval): Likewise.
2121         (int_retval): Likewise.
2122         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
2123         macro.
2124         (pltexit): Likewise.
2125         (La_regs): Likewise.
2126         (La_retval): Likewise.
2127         (int_retval): Likewise.
2128         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
2129         macro.
2130         (pltexit): Likewise.
2131         (La_regs): Likewise.
2132         (La_retval): Likewise.
2133         (int_retval): Likewise.
2134         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
2135         macro.
2136         (pltexit): Likewise.
2137         (La_regs): Likewise.
2138         (La_retval): Likewise.
2139         (int_retval): Likewise.
2140         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
2141         macro.
2142         (pltexit): Likewise.
2143         (La_regs): Likewise.
2144         (La_retval): Likewise.
2145         (int_retval): Likewise.
2146         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
2147         macro.
2148         (pltexit): Likewise.
2149         (La_regs): Likewise.
2150         (La_retval): Likewise.
2151         (int_retval): Likewise.
2152         * sysdeps/generic/tst-audit.h: Update comment to refer only to
2153         macro definitions in tst-audit.h.
2154         * sysdeps/i386/tst-audit.h: New file.
2155         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
2156         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
2157         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
2158         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
2159         * sysdeps/sh/tst-audit.h: Likewise.
2160         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
2161         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
2162         * sysdeps/x86_64/tst-audit.h: Likewise.
2164 2012-07-26  Andreas Jaeger  <aj@suse.de>
2166         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
2167         ptrace.
2169         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
2170         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
2171         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
2172         PTRACE_O_MASK.
2173         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
2174         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
2175         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
2177         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
2178         value.
2180         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
2181         _sigsys.
2182         (si_call_addr, si_syscall, si_arch): Define new macro.
2183         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
2184         _sigsys.
2185         (si_call_addr, si_syscall, si_arch): Define new marcro.
2186         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
2187         _sigsys.
2188         (si_call_addr, si_syscall, si_arch): Define new macro.
2189         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
2190         _sigsys.
2191         (si_call_addr, si_syscall, si_arch): Define new macro.
2193 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
2195         [BZ #13717]
2196         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
2197         Change to 2.4.21 where previously 2.4.1.
2198         * sysdeps/unix/sysv/linux/configure: Regenerated.
2199         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
2200         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
2201         Linux kernel version.
2202         (__ASSUME_STD_AUXV): Remove.
2203         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
2204         kernel version.
2205         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
2206         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
2207         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
2208         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
2209         (__ASSUME_NETLINK_SUPPORT): Likewise.
2210         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
2211         (__no_netlink_support): Remove conditional definition.
2212         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
2213         Remove.
2214         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
2215         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
2216         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
2217         (if_nameindex_ioctl): Remove.
2218         (if_nameindex_netlink): Do not handle __no_netlink_support.
2219         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
2220         code.
2221         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
2222         Remove conditional code.
2223         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
2224         code.
2225         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
2226         unconditional.
2227         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
2228         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
2229         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
2230         Remove.
2231         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
2232         [!__ASSUME_STD_AUXV]: Remove conditional code.
2233         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
2234         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
2235         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
2236         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
2237         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
2238         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
2239         code.
2240         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
2241         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
2242         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
2243         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
2244         conditional code.
2245         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
2246         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
2247         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
2248         code.
2249         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
2250         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
2251         conditional code.
2252         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
2253         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
2254         code unconditional.
2255         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
2256         conditional code.
2257         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
2258         unconditional.
2259         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
2260         conditional code.
2261         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
2262         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
2263         unconditional.
2264         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
2265         conditional code.
2266         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
2267         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
2268         code unconditional.
2269         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
2270         conditional code.
2271         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
2272         unconditional.
2273         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
2274         conditional code.
2275         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
2276         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
2277         code unconditional.
2278         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
2279         conditional code.
2280         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
2281         unconditional.
2282         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
2283         conditional code.
2285 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
2287         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
2288         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
2289         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
2290         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
2291         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
2292         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
2293         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
2294         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
2295         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
2296         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
2297         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
2298         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
2299         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
2300         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
2301         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
2302         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
2303         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
2304         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
2305         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
2306         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
2307         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
2308         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
2309         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
2311 2012-07-25  Florian Weimer  <fweimer@redhat.com>
2313         * Versions.def: Add GLIBC_2.17.
2314         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
2315         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
2316         Introduce __libc_secure_getenv.
2317         * stdlib/Versions (2.17): Add secure_getenv
2318         (GLIBC_PRIVATE): Add __libc_secure_getenv.
2319         * stdlib/secure-getenv.c: Rename __secure_getenv to
2320         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
2321         symbol __secure_getenv for GLIBC_2.0.
2322         * stdlib/tst-secure-getenv.c: New.
2323         * stdlib/Makefile (tests): Add testcase.
2324         * manual/startup.texi (Environment Access): Document
2325         secure_getenv.
2326         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
2327         __libc_secure_getenv.
2328         * inet/ruserpass.c (ruserpass): Likewise.
2329         * malloc/mtrace.c (mtrace): Likewise.
2330         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
2331         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
2332         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
2333         * sysdeps/posix/tempname.c: Likewise.  Evaluate
2334         HAVE_SECURE_GETENV.
2335         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
2336         __secure_getenv to __libc_secure_getenv.
2337         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
2338         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
2339         Likewise.
2340         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
2341         Likewise.
2342         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
2343         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
2344         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
2345         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
2346         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
2347         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
2348         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
2350 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
2352         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
2353         (struct La_i86_retval): Likewise.
2354         (struct La_x86_64_regs): Likewise.
2355         (struct La_x86_64_retval): Likewise.
2356         (struct La_x32_regs): Likewise.
2357         (struct La_x32_retval): Likewise.
2358         (struct La_ppc32_regs): Likewise.
2359         (struct La_ppc32_retval): Likewise.
2360         (struct La_ppc64_regs): Likewise.
2361         (struct La_ppc64_retval): Likewise.
2362         (struct La_sh_regs): Likewise.
2363         (struct La_sh_retval): Likewise.
2364         (struct La_s390_32_regs): Likewise.
2365         (struct La_s390_32_retval): Likewise.
2366         (struct La_s390_64_regs): Likewise.
2367         (struct La_s390_64_retval): Likewise.
2368         (struct La_sparc32_regs): Likewise.
2369         (struct La_sparc32_retval): Likewise.
2370         (struct La_sparc64_regs): Likewise.
2371         (struct La_sparc64_retval): Likewise.
2372         (struct audit_ifaces): Remove architecture-specific pltenter and
2373         pltexit members.
2374         * sysdeps/i386/ldsodefs.h: New file.
2375         * sysdeps/powerpc/ldsodefs.h: Likewise.
2376         * sysdeps/s390/ldsodefs.h: Likewise.
2377         * sysdeps/sh/ldsodefs.h: Likewise.
2378         * sysdeps/sparc/ldsodefs.h: Likewise.
2379         * sysdeps/x86_64/ldsodefs.h: Likewise.
2381 2012-07-25  Marek Polacek  <polacek@redhat.com>
2383         [BZ #6808]
2384         * math/libm-test.inc (yn_test): Add another test.
2385         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
2386         to ERANGE when the result is +-Inf.
2387         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
2388         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
2389         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
2390         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
2392 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
2394         * conform/data/time.h-data (NULL): Use macro-constant.  Require
2395         equal to 0.
2396         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
2397         clock_t.
2398         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
2400 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
2402         * configure.in <sysdeps resolving>: Correct printing
2403         Implies_before.
2404         * configure: Regenerate.
2406 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
2408         * math/w_ilogb.c: Include <limits.h>.
2409         * math/w_ilogbl.c: Likewise.
2411 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
2413         * manual/lang.texi (__va_copy): Document primarily as ISO C99
2414         va_copy.  Document allowing for unavailable va_copy only as
2415         pre-C99 compatibility.
2416         * manual/string.texi (Copying and Concatenation): Use va_copy
2417         instead of __va_copy in concat example.
2419 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
2421         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
2422         (__sendto): Use create_address_port.  Initialize APORT and deallocate
2423         it if not null.
2425         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
2426         with O_NOLINK passed to __file_name_lookup.
2428         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
2429         with O_NOLINK passed to __file_name_lookup.
2431         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
2432         negative N or less than NGIDS.
2434         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
2435         type to string_t.  Set ERANGE as errno and return it if NAME is not big
2436         enough.  Use memcpy instead of strncpy.
2438 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
2440         * elf/Makefile (check-data): Remove.
2441         (localplt.data): New vpath directive.
2442         ($(objpfx)check-localplt.out): Use localplt.data from vpath
2443         instead of $(check-data).
2444         * scripts/data/localplt-generic.data: Move to ...
2445         * sysdeps/generic/localplt.data: ... here.
2446         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
2447         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
2448         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
2449         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
2450         ... here.
2451         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
2452         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
2453         ... here.
2454         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
2455         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
2456         ... here.
2457         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
2458         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
2459         ... here.
2460         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
2461         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
2462         ... here.
2463         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
2464         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
2465         ... here.
2467 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2469         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
2470         PPC32 and PPC64 files.
2471         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
2472         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
2474 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
2476         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
2477         __makecontext_ret to ...
2478         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
2479         ... here and call exit if uc_link is NULL.  New file.
2480         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
2481         __makecontext_ret.S.
2482         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
2483         __makecontext_ret to ...
2484         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
2485         ... here and call exit if uc_link is NULL.  New file.
2486         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
2487         __makecontext_ret.S.
2489 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
2491         * elf/elf.h (R_390_IRELATIVE): New definition.
2492         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
2493         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
2494         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
2495         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
2496         (elf_machine_lazy_rel): Likewise.
2497         * sysdeps/s390/dl-irel.h: New file.
2498         * sysdeps/s390/s390-64/memcpy.S: New asm code.
2499         * sysdeps/s390/s390-64/memset.S: New asm code.
2500         * sysdeps/s390/s390-64/memcmp.S: New asm code.
2501         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
2502         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
2503         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
2504         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
2505         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
2506         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
2507         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
2508         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
2509         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
2510         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
2511         * sysdeps/s390/s390-32/memcpy.S: New asm code.
2512         * sysdeps/s390/s390-32/memset.S: New asm code.
2513         * sysdeps/s390/s390-32/memcmp.S: New asm code.
2515 2012-07-17  Marek Polacek  <polacek@redhat.com>
2517         [BZ #14349]
2518         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
2519         * sysdeps/s390/s390-64/configure.in: Likewise.
2520         * sysdeps/sparc/configure.in: Likewise.
2521         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
2522         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
2523         * sysdeps/i386/configure.in: Likewise.
2524         * sysdeps/x86_64/configure.in: Likewise.
2525         * sysdeps/sh/configure.in: Likewise.
2526         * sysdeps/s390/s390-32/configure: Regenerated.
2527         * sysdeps/s390/s390-64/configure: Likewise.
2528         * sysdeps/x86_64/configure: Likewise.
2529         * sysdeps/sh/configure: Likewise.
2530         * sysdeps/powerpc/powerpc64/configure: Likewise.
2531         * sysdeps/powerpc/powerpc32/configure: Likewise.
2532         * sysdeps/sparc/configure: Likwise.
2533         * sysdeps/i386/configure: Likewise.
2535         * elf/dl-open.c: Comment fixes.
2537 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
2539         * Makefile [CXX] (check-data): Remove.
2540         [CXX] (c++-types.data): New vpath directive.
2541         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
2542         vpath.  Do not allow for C++ type data being missing.
2543         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
2544         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
2545         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
2546         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
2547         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
2548         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
2549         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
2550         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
2551         ... here.
2552         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
2553         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
2554         ... here.
2555         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
2556         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
2557         ... here.
2558         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
2559         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
2560         ... here.
2561         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
2562         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
2563         ... here.
2564         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
2565         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
2566         ... here.
2567         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
2568         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
2569         ... here.
2570         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
2571         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
2573         * elf/tls-macros.h (TLS_LE): Move architecture-specific
2574         definitions to architecture-specific files.
2575         (TLS_IE): Likewise.
2576         (TLS_LD): Likewise.
2577         (TLS_GD): Likewise.
2578         * sysdeps/i386/tls-macros.h: New file.
2579         * sysdeps/powerpc/tls-macros.h: Likewise.
2580         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
2581         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
2582         * sysdeps/sh/tls-macros.h: Likewise.
2583         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
2584         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
2585         * sysdeps/x86_64/tls-macros.h: Likewise.
2587 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
2589         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
2590         zero value for regular exit case.
2592         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
2593         (__start_context): Preserve zero value for regular exit case.
2595 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
2596             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
2598         * manual/setjmp.texi (setcontext): Clarify normal process
2599         termination when uc_link is the null pointer.
2600         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
2601         exit call.
2603 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
2605         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
2606         preprocessor.  Test for each exception mask separately.
2608 2012-07-16  Andreas Jaeger  <aj@suse.de>
2610         * po/ru.po: Update from translation team.
2612 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
2614         * conform/data/string.h-data (NULL): Use macro-constant.  Require
2615         equal to 0.
2616         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
2617         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
2618         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
2619         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
2620         [ISO || ISO99 || ISO11] (*_t): Do not allow.
2622 2012-07-13  Andreas Jaeger  <aj@suse.de>
2624         * po/fr.po: Update from translation team.
2626 2012-07-12  Marek Polacek  <polacek@redhat.com>
2628         [BZ #14173]
2629         * math/libm-test.inc (yn_test): Add test for BZ #14173.
2630         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
2631         loop condition.
2633 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
2635         [BZ #13717]
2636         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
2637         Change to 2.4.1 where previously 2.4.0.
2638         * sysdeps/unix/sysv/linux/configure: Regenerated.
2639         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
2640         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
2641         version.
2642         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
2643         (__ASSUME_AT_CLKTCK): Remove.
2644         (__ASSUME_AT_PAGESIZE): Likewise.
2645         (__ASSUME_AT_XID): Likewise.
2646         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
2647         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
2648         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
2649         unconditionally.
2650         (HAVE_AUX_PAGESIZE): Likewise.
2651         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
2652         [__ASSUME_AT_CLKTCK]: Make code unconditional.
2653         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
2655 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
2657         [BZ #14307]
2658         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
2659         the temporary buffer used to invoke __gethostbyname2_r,
2660         __gethostbyaddr_r and gethostbyname4_r to make room for struct
2661         host_data / struct gaih_addrtuple.
2662         * resolv/nss_dns/dns-host.c (global scope): Move definition of
2663         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
2664         header file nss/nsswitch.h.
2665         * nss/nsswitch.h (global scope): Add definition of implementation
2666         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
2667         resolv/nss_dns/dns-host.c).
2669 2012-07-11  Andreas Jaeger  <aj@suse.de>
2671         * po/fr.po: Update from translation team.
2673         * po/sv.po: Update from translation team
2674         * po/fr.po: Another update from translation team.
2676 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2678         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
2679         for subnormals or multiply small sinh result by itself.
2680         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
2681         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2683 2012-07-11  David S. Miller  <davem@davemloft.net>
2685         * sysdeps/sparc/fpu/libm-test-ulps: Update.
2687 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
2689         [BZ #14347]
2690         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
2691         (INTERNAL_MARK): Shift it here.
2693 2012-07-10  Marek Polacek  <polacek@redhat.com>
2695         [BZ #14151]
2696         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
2697         libc_cv_asm_global_directive with .globl.
2698         * configure: Regenerated.
2699         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
2700         with .globl.
2701         * sysdeps/i386/configure: Regenerated.
2702         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
2703         with .globl.
2704         * sysdeps/x86_64/configure: Regenerated.
2705         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
2706         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
2707         * elf/tst-unique2mod2.c: Likewise.
2708         * elf/tst-unique2mod1.c: Likewise.
2709         * elf/tst-unique1mod2.c: Likewise.
2710         * elf/tst-unique1mod1.c: Likewise.
2711         * sysdeps/s390/s390-32/sysdep.h: Likewise.
2712         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
2713         * sysdeps/s390/s390-64/sysdep.h: Likewise.
2714         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
2715         * sysdeps/mach/sysdep.h: Likewise.
2716         * sysdeps/i386/sysdep.h: Likewise.
2717         * sysdeps/i386/i386-mcount.S: Likewise.
2718         * sysdeps/x86_64/_mcount.S: Likewise.
2719         * sysdeps/x86_64/sysdep.h: Likewise.
2720         * sysdeps/sh/_mcount.S: Likewise.
2721         * sysdeps/sh/sysdep.h: Likewise.
2722         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
2723         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
2724         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
2725         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
2726         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
2727         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
2728         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
2729         * locale/localeinfo.h: Likewise.
2730         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
2731         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
2733 2012-07-09  Roland McGrath  <roland@hack.frob.com>
2735         [BZ #14336]
2736         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
2737         system".
2738         * manual/message.texi (The Uniforum approach): Likewise.
2739         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
2740         (glibc iconv Implementation): Likewise.
2742 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
2744         [BZ #14337]
2745         * math/s_clog.c (__clog): Avoid scaling a value down where that
2746         could result in underflow.
2747         * math/s_clog10.c (__clog10): Likewise.
2748         * math/s_clog10f.c (__clog10f): Likewise.
2749         * math/s_clog10l.c (__clog10l): Likewise.
2750         * math/s_clogf.c (__clogf): Likewise.
2751         * math/s_clogl.c (__clogl): Likewise.
2752         * math/libm-test.inc (clog_test): Add more tests.
2753         (clog10_test): Likewise.
2754         * sysdeps/i386/fpu/libm-test-ulps: Update.
2755         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2757 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
2759         [BZ #14283]
2760         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
2761         by 7 not 8 to examine high bit of fractional part.
2763         [BZ #14042]
2764         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
2765         for call to __mcount_internal.
2766         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
2767         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
2768         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
2770 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
2772         [BZ #14154]
2773         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
2774         approximation for values within 0x1p-13f of an odd multiple of
2775         pi/4.
2776         * math/libm-test.inc (tan_test): Do not allow spurious underflow
2777         exception.  Add more tests.
2778         * sysdeps/i386/fpu/libm-test-ulps: Update.
2780         [BZ #6778]
2781         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
2782         inputs and return -1 for them.  Do not check for +Inf in case not
2783         reachable for +Inf.
2784         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
2785         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
2786         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
2787         and return -1 for them.  Do not check for +Inf in case not
2788         reachable for +Inf.
2789         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
2790         define.
2791         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
2792         and return -1 for them.  Do not check for +Inf in case not
2793         reachable for +Inf.
2794         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
2795         spurious underflow.
2796         * sysdeps/i386/fpu/libm-test-ulps: Update.
2797         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2799 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
2801         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
2803 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
2805         [BZ #14157]
2806         [BZ #14331]
2807         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
2808         could result in spurious underflow.  Scale down values above
2809         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
2810         * math/s_csqrtf.c (__csqrtf): Likewise.
2811         * math/s_csqrtl.c (__csqrtl): Likewise.
2812         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
2813         spurious underflow.
2814         * sysdeps/i386/fpu/libm-test-ulps: Update.
2815         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2817 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
2819         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
2820         xopen-msg.sed.
2821         * catgets/xopen-msg.awk: New file.
2822         * catgets/xopen-msg.sed: Removed.
2824         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
2825         po2text.sed.
2826         * intl/po2test.awk: New file.
2827         * intl/po2test.sed: Removed.
2829 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
2831         [BZ #14328]
2832         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
2833         or multiply small sinh result by itself.
2834         * math/s_ctanf.c (__ctanf): Likewise.
2835         * math/s_ctanh.c (__ctanh): Likewise.
2836         * math/s_ctanhf.c (__ctanhf): Likewise.
2837         * math/s_ctanhl.c (__ctanhl): Likewise.
2838         * math/s_ctanl.c (__ctanl): Likewise.
2839         * math/libm-test.inc (ctan_test_tonearest): New function.
2840         (ctan_test_towardzero): Likewise.
2841         (ctan_test_downward): Likewise.
2842         (ctan_test_upward): Likewise.
2843         (ctanh_test_tonearest): Likewise.
2844         (ctanh_test_towardzero): Likewise.
2845         (ctanh_test_downward): Likewise.
2846         (ctanh_test_upward): Likewise.
2847         (main): Call these new functions.
2848         * sysdeps/i386/fpu/libm-test-ulps: Update.
2849         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2851 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
2853         * .gitignore: Delete /ports entry.
2855 2012-07-03  Andreas Jaeger  <aj@suse.de>
2857         * po/bg.po: Update from translation team.
2858         * po/cs.po: Likewise.
2859         * po/de.po: Likewise.
2860         * po/hr.po: Likewise.
2861         * po/nl.pl: Likewise.
2862         * po/pl.po: Likewise.
2863         * po/vi.po: Likewise.
2865 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
2867         * Makeconfig [!+link] (+link-before-libc): New variable.
2868         [!+link] (+link-after-libc): Likewise.
2869         [!+link] (+link-tests): Likewise.
2870         [!+link] (+link): Define in terms of $(+link-before-libc) and
2871         $(+link-after-libc).
2872         [!+link-static] (+link-static-before-libc): New variable.
2873         [!+link-static] (+link-static-after-libc): Likewise.
2874         [!+link-static] (+link-static-tests): Likewise.
2875         [!+link-static] (+link-static): Define in terms of
2876         $(+link-static-before-libc) and $(+link-static-after-libc).
2877         [build-shared] (link-libc-before-gnulib): New variable.
2878         [build-shared] (link-libc-tests): Likewise.
2879         [build-shared] (link-libc): Define in terms of
2880         $(link-libc-before-gnulib).
2881         [!build-shared] (link-libc-tests): New variable.
2882         (link-libc-static-tests): New variable.
2883         [!gnulib] (gnulib-arch): New variable.
2884         [!gnulib] (gnulib-tests): Likewise.
2885         [!gnulib] (static-gnulib-arch): Likewise.
2886         [!gnulib] (static-gnulib-tests): Likewise.
2887         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
2888         Define with "=" instead of ":=".
2889         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
2890         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
2891         * Rules (binaries-all-notests): New variable.
2892         (binaries-all-tests): Likewise.
2893         (binaries-static-notests): Likewise.
2894         (binaries-static-tests): Likewise.
2895         (binaries-all): Define using $(binaries-all-notests) and
2896         $(binaries-all-tests).
2897         (binaries-static): Define using $(binaries-static-notests) and
2898         $(binaries-static-tests).
2899         (binaries-shared-tests): New variable.
2900         (binaries-shared-notests): Likewise.
2901         (binaries-shared): Remove variable.
2902         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
2903         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
2904         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
2905         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
2906         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
2907         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
2908         * elf/Makefile (sln-modules): New variable.
2909         (extra-objs): Add $(sln-modules:=.o).
2910         (ldconfig-modules): Add static-stubs.
2911         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
2912         * elf/static-stubs.c: New file.
2914         [BZ #14283]
2915         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
2916         by 7 not 8 to examine high bit of fractional part.  Use volatile
2917         variables when splitting into final array of floats if
2918         __FLT_EVAL_METHOD__ != 0.
2919         * math/libm-test.inc (cos_test): Add another test.
2920         (sin_test): Likewise.
2921         * sysdeps/i386/fpu/libm-test-ulps: Update.
2923         [BZ #14273]
2924         * math/libm-test.inc (cosh_test): Add more tests.
2926         * version.h (RELEASE): Set to "development".
2927         (VERSION): Set to "2.16.90".
2929 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
2931         * NEWS: Update copyright. Remove last-updated date.
2932         Mention math library bug fixes and timezone data changes.
2933         * README: Mention GNU/Hurd, x32, and HPPA support status.
2935 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
2937         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
2939 2012-06-27  Andreas Jaeger  <aj@suse.de>
2941         * manual/contrib.texi (Contributors): Add Samuel Thibault.
2943 2012-06-25  Andreas Jaeger  <aj@suse.de>
2945         * sysdeps/s390/fpu/libm-test-ulps: Update.
2947 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
2948             Thomas Schwinge  <thomas@codesourcery.com>
2950         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
2951         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
2952         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
2953         fanotify_mark.
2955 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
2957         * sysdeps/mach/start.c: Remove file.
2958         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
2959         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
2960         * sysdeps/sh/init-first.c: Likewise.
2962         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
2963         registers for frame unwinding purposes, add CFI directives.
2964         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
2965         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
2966         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
2967         Likewise.
2969         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
2970         __fortify_fail returning.
2971         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
2973         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
2974         sysdeps/sh/____longjmp_chk.S.
2975         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
2976         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
2977         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
2978         (gen-as-const-headers): Append sigaltstack-offsets.sym.
2980         * sysdeps/sh/abort-instr.h: New file.
2981         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
2982         process in case exit returns.
2984         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
2985         initialize the GOT register before use.
2987         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
2988         calculation of ARGC > 4.
2990         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
2991         meaningful names to some local labels.
2993 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
2994             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
2996         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
2997         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
2998         (__arch_compare_and_exchange_val_16_acq): Likewise.
2999         (__arch_compare_and_exchange_val_32_acq): Likewise.
3000         (atomic_exchange_and_add): Fix gUSA sequence.
3001         (atomic_add): Likewise.
3002         (atomic_add_negative): Likewise.
3003         (atomic_add_zero): Likewise.
3004         (atomic_bit_test_set): Likewise.
3006 2012-06-22  Andreas Schwab  <schwab@redhat.com>
3008         [BZ #13579]
3009         * include/link.h (struct link_map): Add l_free_initfini.
3010         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
3011         l_initfini.
3012         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
3013         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
3014         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
3015         set.
3017 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
3019         * configure.in: Use AC_LANG_SOURCE.
3020         * configure: Regenerate.
3022 2012-06-22  Roland McGrath  <roland@hack.frob.com>
3024         * configure.in (libc_cv_localstatedir): New substituted variable.
3025         * configure: Regenerated.
3026         * config.make.in (localstatedir): New variable, substituted from
3027         libc_cv_localstatedir.
3028         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
3029         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
3030         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
3031         * sysdeps/gnu/configure: Regenerated.
3033 2012-06-21  Jeff Law  <law@redhat.com>
3035         [BZ #14277]
3036         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
3037         free.  Simplify list management for _LIBC case.
3039 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
3041         [BZ #14273]
3042         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
3043         Clear sign bit of 64-bit integer value before comparing against
3044         overflow value.
3046         * sysdeps/mach/configure: Regenerated.
3048 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
3050         [BZ #14278]
3051         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
3053 2012-06-21  Jeff Law  <law@redhat.com>
3055         [BZ #13882]
3056         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
3057         uint16_t for elements in the "seen" array to avoid char overflows.
3058         * elf/dl-fini.c (_dl_sort_fini): Likewise.
3059         * elf/dl-open.c (dl_open_worker): Likewise.
3061 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
3063         * scripts/list-sources.sh: Scan PORTS for translations.
3064         * po/libc.pot: Regenerated.
3066 2012-06-21  Andreas Jaeger  <aj@suse.de>
3068         [BZ #12194]
3069         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
3070         warning.
3071         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
3072         * bits/byteswap-16.h (__bswap_16): Likewise.
3073         * bits/byteswap.h (__bswap_constant_16): Likewise.
3075 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
3077         [BZ #14117]
3078         * sysdeps/i386/fpu_control.h: Removed.
3079         * sysdeps/x86_64/fpu_control.h: Moved to ...
3080         * sysdeps/x86/fpu_control.h: Here.
3082         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
3083         (_FPU_SETCW): Likewise.
3085 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
3087         [BZ #14117]
3088         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
3089         * sysdeps/x86/fpu/bits/mathinline.h: This.
3090         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
3092         [BZ #14050]
3093         [BZ #14117]
3094         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
3095         functions if __x86_64__ is defined.
3097 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
3099         * string/endian.h: Add !__ASSEMBLER__ condition for including
3100         conversion interfaces.
3102 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
3104         [BZ #14241]
3105         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
3106         of ABS(x) in calculating zero to negative powers other than odd
3107         integers.
3108         * math/libm-test.inc (pow_test): Add more tests.
3110 2012-06-15  Andreas Jaeger  <aj@suse.de>
3112         * manual/contrib.texi (Contributors): Update entry of Liubov
3113         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
3114         Machado Filho.
3116 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
3118         * string/string.h: Add __wur to GNU version of strerror_r.
3120 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
3122         [BZ #14229]
3123         * string/Makefile (tests): Add tst-strtok_r.
3124         * string/tst-strtok_r.c: New file.
3125         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
3126         RAX_LP/RDX_LP on SAVE_PTR.
3128 2012-06-14  Roland McGrath  <roland@hack.frob.com>
3130         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
3132 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
3134         * libm_test.inc (csqrt_test): Allow more spurious underflow
3135         exceptions.
3136         (j0_test): Likewise.
3137         (j1_test): Likewise.
3138         (y0_test): Likewise.
3139         (y1_test): Likewise.
3141 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
3143         * po/Makefile (libc.pot): Use UTF-8 charset.
3145 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
3147         [BZ #14210]
3148         Suppress sign-conversion warning from FD_SET.
3149         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
3150         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
3151         not unsigned long int.
3152         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
3154 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
3156         [BZ #14050]
3157         [BZ #14117]
3158         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
3159         __extern_always_inline instead of __extern_inline.
3160         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
3161         (__signbit): Likewise.
3162         (__signbitl): Support C++ namespace.
3163         (lrintf): New inline function.
3164         (lrint): Likewise.
3165         (llrintf): Likewise.
3166         (llrint): Likewise.
3167         (fmaxf): Likewise.
3168         (fmax): Likewise.
3169         (fminf): Likewise.
3170         (fmin): Likewise.
3171         (rint): Likewise.
3172         (rintf): Likewise.
3173         (ceil): Likewise.
3174         (ceilf): Likewise.
3175         (floor): Likewise.
3176         (floorf): Likewise.
3177         (nearbyint): Likewise.
3178         (nearbyintf): Likewise.
3180 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
3182         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
3183         non-default versions.
3185 2012-06-11  Roland McGrath  <roland@hack.frob.com>
3187         [BZ #14218]
3188         * manual/argp.texi (Argp): Reword argp_parse description slightly.
3190 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
3192         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
3193         (FE_UPWARD, FE_DOWNWARD): Don't define.
3194         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
3195         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
3197         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
3198         reading it.
3199         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
3200         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
3202 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
3204         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
3205         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
3206         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
3207         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
3209 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
3211         [BZ #14117]
3212         * sysdeps/i386/fpu/bits/fenv.h: Removed.
3213         * sysdeps/i386/fpu/Implies: New file.
3214         * sysdeps/x86_64/fpu/Implies: Likewise.
3215         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
3216         * sysdeps/x86/fpu/bits/fenv.h: This.
3218         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
3219         __SSE_MATH__.
3221 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
3223         [BZ #14134]
3224         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
3225         character 0xffff that matches the last element of the
3226         conversion table.
3228 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3230         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
3231         fmodl commit.
3233 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3235         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
3236         values higher than 25.6283.
3238 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3240         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
3241         subnormal exponent extraction and add some __builtin_expect.
3242         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
3243         Fix for subnormal mantissa calculation.
3245 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
3247         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
3248         cpu2 is -1 and errno is not ENOSYS.
3250 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
3252         [BZ #14117]
3253         * sysdeps/i386/i486/bits/string.h: Renamed to ...
3254         * sysdeps/x86/bits/string.h: This.
3255         * sysdeps/x86_64/bits/string.h: Removed.
3257         * sysdeps/i386/i486/bits/string.h: Define inline functions only
3258         if not compiling for x86-64, but compiling for >= i486.
3260         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
3261         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
3263         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
3264         New macro from Linux kernel 3.4.0.
3265         (FP_XSTATE_MAGIC2): Likewise.
3266         (FP_XSTATE_MAGIC2_SIZE): Likewise.
3267         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
3268         (struct _fpx_sw_bytes): New struct.
3269         (struct _xsave_hdr): Likewise.
3270         (struct _ymmh_state): Likewise.
3271         (struct _xstate): Likewise.
3273         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
3274         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
3275         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
3276         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
3277         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
3278         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
3280         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
3281         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
3282         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
3283         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
3284         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
3285         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
3287 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
3289         [BZ #13743]
3290         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
3291         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
3292         (sysdep_headers): Include sys/platform/ppc.h.
3293         * sysdeps/powerpc/test-gettimebase.c: Test for
3294         __ppc_get_timebase() to catch future ISA opcode/insn changes.
3295         * manual/Makefile (appendices): Include platform.texi.
3296         * manual/contrib.texi (Contributors): Update @node pointers.
3297         * manual/maint.texi (Maintenance): Likewise.
3298         (Platform): New node.
3299         * manual/platform.texi: New file.  Document the new features.
3301 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
3302             Jakub Jelinek  <jakub@redhat.com>
3304         [BZ #14188]
3305         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
3306         where __builtin_expect is unavailable.
3308 2012-06-03  David S. Miller  <davem@davemloft.net>
3310         * stdlib/longlong.h: Updated from GCC.
3312 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
3314         [BZ #14042]
3315         * sysdeps/powerpc/powerpc32/mcount.c: New file.
3316         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
3317         __mcount_internal.
3318         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
3319         (GLIBC_2.16): Likewise.
3321 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
3323         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
3325 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
3327         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
3328         (default-abi): New variable.
3329         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
3330         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
3331         variable.
3332         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
3333         Likewise.
3334         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
3335         Likewise.
3336         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
3337         Likewise.
3339         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
3340         definition.  Document in comment.
3342 2012-06-01  David S. Miller  <davem@davemloft.net>
3344         * stdlib/longlong.h: Updated from GCC.
3346 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
3348         [BZ #14117]
3349         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
3350         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
3351         sys/debugreg.h sys/io.h here.
3352         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
3353         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
3354         sys/io.h.
3355         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
3356         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
3357         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
3358         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
3359         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
3360         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
3362         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
3363         Define only if __x86_64__ is defined.
3365 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
3367         [BZ #14048]
3368         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
3369         Use int64_t for variable i.
3370         * math/libm-test.inc (fmod_test): Add more tests.
3372         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
3373         z computation is not scheduled after fetestexcept.
3374         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
3375         Use math_force_eval instead of asm to ensure calculation scheduled
3376         before exception test.
3377         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
3378         Ensure a1 + u.d computation is not scheduled after fetestexcept.
3380 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
3382         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
3383         computation is not scheduled after fetestexcept.
3385 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
3387         [BZ #14117]
3388         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
3389         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
3391 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3393         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
3394         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
3396 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
3398         [BZ #14117]
3399         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
3400         <bits/wordsize.h>.
3401         (__WCHAR_MIN): Support __WORDSIZE == 64.
3402         (__WCHAR_MAX): Likewise.
3404         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
3405         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
3407         [BZ #14183]
3408         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
3409         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
3411         [BZ #14117]
3412         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
3413         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
3415         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
3416         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
3418         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
3419         Defined to 1 if __x86_64__ isn't defined.
3420         (_STAT_VER_LINUX_OLD): New.
3421         (st_atime): Remove duplicate.
3422         (st_mtime): Likewise.
3423         (st_ctime): Likewise.
3425 2012-05-31  David S. Miller  <davem@davemloft.net>
3427         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
3428         entries.
3430 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
3432         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
3433         gen-libm-test.pl.
3435         [BZ #14132]
3436         * elf/dl-reloc.c: Include <_itoa.h>.
3437         (_dl_reloc_bad_type): Remove use of INTUSE.
3438         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
3439         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
3440         * stdio-common/psiginfo.c (psiginfo): Likewise.
3441         * stdio-common/psignal.c (psignal): Likewise.
3442         * string/strsignal.c (strsignal): Likewise.
3443         * include/signal.h (_sys_siglist): Declare hidden proto.
3444         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
3445         INTVARDEF with libc_hidden_data_def.
3446         * stdio-common/itoa-udigits.c: Likewise.
3447         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
3448         (_itoa_lower_digits_internal): Remove declaration.
3449         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
3450         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
3451         (_sys_sigabbrev_internal): Remove aliases.
3452         (_sys_siglist): Define hidden alias.
3454 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
3456         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3457         bits/sysctl.h.
3459 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
3461         [BZ #14117]
3462         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
3463         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
3465         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
3466         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
3467         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
3468         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
3469         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
3470         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
3472         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
3473         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
3474         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
3476         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
3477         with __addr.
3478         (insw): Likewise.
3479         (insl): Likewise.
3480         (outsb): Likewise.
3481         (outsw): Likewise.
3482         (outsl): Likewise.
3484         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
3485         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
3486         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
3488         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
3489         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
3490         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
3491         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
3492         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
3493         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
3495         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
3496         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
3498         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
3499         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
3501         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
3502         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
3503         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
3505         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
3506         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
3507         to ...
3508         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
3510         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
3511         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
3512         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
3514         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
3515         for x86-64.
3516         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
3518 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
3520         * math/math.h (M_El): Use two more decimal places.
3521         (M_LOG2El): Likewise.
3522         (M_LOG10El): Likewise.
3523         (M_LN2l): Likewise.
3524         (M_LN10l): Likewise.
3525         (M_PIl): Likewise.
3526         (M_PI_2l): Likewise.
3527         (M_PI_4l): Likewise.
3528         (M_1_PIl): Likewise.
3529         (M_2_PIl): Likewise.
3530         (M_2_SQRTPIl): Likewise.
3531         (M_SQRT2l): Likewise.
3532         (M_SQRT1_2l): Likewise.
3534 2012-05-31  David S. Miller  <davem@davemloft.net>
3536         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
3537         values between float registers.
3538         * sysdeps/sparc/sparc64/memset.S: Likewise.
3539         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
3541 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
3543         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
3544         -D_FORTIFY_SOURCE=1.
3545         (CPPFLAGS-tst-longjmp_chk.c): Define.
3546         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
3547         (CPPFLAGS-tst-longjmp_chk2.c): Define.
3548         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
3549         CFLAGS-tst-wchar-h.c.
3551 2012-05-31  Marek Polacek  <polacek@redhat.com>
3553         [BZ #14132]
3554         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
3555         __endmntent_internal): Remove declaration.
3556         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
3557         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
3558         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
3560 2012-05-30  David S. Miller  <davem@davemloft.net>
3562         * sysdeps/sparc/sparc32/soft-fp/q_util.c
3563         (___Q_simulate_exceptions): Use real FP ops rather than writing
3564         into the %fsr.
3565         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
3566         Likewise.
3568 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
3570         [BZ #14117]
3571         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
3572         * sysdeps/x86/bits/xtitypes.h: This.
3574         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
3575         * sysdeps/x86/bits/wordsize.h: This.
3577         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
3578         * sysdeps/x86/bits/huge_vall.h: This.
3580         * sysdeps/i386/bits/select.h: Removed.
3581         * sysdeps/x86_64/bits/select.h: Renamed to ...
3582         * sysdeps/x86/bits/select.h: This.
3584         * sysdeps/i386/bits/setjmp.h: Removed.
3585         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
3586         * sysdeps/x86/bits/setjmp.h: This.
3588         * sysdeps/i386/bits/mathdef.h: Removed.
3589         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
3590         * sysdeps/x86/bits/mathdef.h: This.
3592 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
3594         [BZ #14132]
3595         * include/sys/socket.h (__connect_internal)
3596         (__libc_sa_len_internal): Remove declaration.
3597         (__connect, __libc_sa_len): Declare hidden_proto.
3598         (SA_LEN): Remove use of INTUSE.
3599         * socket/connect.c: Add libc_hidden_def.
3600         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
3601         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
3602         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
3603         alias.
3604         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
3605         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
3606         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
3607         of adding _internal alias.
3609 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
3611         [BZ #14117]
3612         * sysdeps/i386/bits/link.h: Removed.
3613         * sysdeps/i386/bits/linkmap.h: Likewise.
3614         * sysdeps/x86_64/bits/link.h: Renamed to ...
3615         * sysdeps/x86/bits/link.h: This.
3616         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
3617         * sysdeps/x86/bits/linkmap.h: This.
3619         * sysdeps/i386/bits/endian.h: Removed.
3620         * sysdeps/x86_64/bits/endian.h: Renamed to ...
3621         * sysdeps/x86/bits/endian.h: This.
3623         * sysdeps/i386/bits/byteswap.h: Removed.
3624         * sysdeps/i386/bits/byteswap-16.h: Likewise.
3625         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
3626         * sysdeps/x86/bits/byteswap.h: This.
3627         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
3628         * sysdeps/x86/bits/byteswap-16.h: This.
3629         * sysdeps/i386/Implies: Add x86.
3630         * sysdeps/x86_64/Implies: Likewise.
3632 2012-05-30  David S. Miller  <davem@davemloft.net>
3634         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
3635         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
3636         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
3637         (FP_TRAPPING_EXCEPTIONS): Define.
3638         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
3639         (FP_TRAPPING_EXCEPTIONS): Define.
3640         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
3641         subnormals only when inexact has been signalled or underflow
3642         exceptions are enabled.
3643         (_FP_PACK_CANONICAL): Likewise.
3645 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
3647         [BZ #14183]
3648         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
3649         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
3651 2012-05-30  Richard Henderson  <rth@twiddle.net>
3653         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
3654         with #ifndef NOT_IN_libc.
3656         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
3657         marked to avoid plt entry.
3659 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
3661         [BZ #14112]
3662         * Makeconfig (default-abi): New macro.
3663         (abi-includes): Likewise.
3664         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
3665         $(abi-$(default-abi)-lib-soname) for soname if defined.
3666         ($(common-objpfx)gnu/lib-names.stmp): Generate from
3667         abi-variants.
3668         * Makefile (installed-stubs): Likewise.
3669         * include/stubs-biarch.h: Removed.
3670         * scripts/lib-names.awk: Only handle one library at a time.
3671         * scripts/soversions.awk: Remove WORDSIZE support.
3672         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
3673         entries.
3674         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
3675         Removed.
3676         (syscall-list-default-condition): Likewise.
3677         (syscall-list-default-condition): Likewise.
3678         (syscall-list-includes): Likewise.
3679         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
3680         syscall-list-* with abi-*.  Handle undefined abi-variants.
3681         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
3682         * sysdeps/unix/sysv/linux/i386/Implies: New file.
3683         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
3684         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
3685         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
3686         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
3687         Removed.
3688         (syscall-list-32-options): Likewise.
3689         (syscall-list-32-condition): Likewise.
3690         (syscall-list-64-options): Likewise.
3691         (syscall-list-64-condition): Likewise.
3692         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
3693         macro.
3694         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
3695         Renamed to ...
3696         (abi-*): This.
3697         (abi-64-ld-soname): New macro.
3698         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
3699         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
3700         Renamed to ...
3701         (abi-*): This.
3702         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
3703         * sysdeps/x86_64/x32/shlib-versions: Likewise.
3705 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
3707         * sysdeps/unix/sysv/linux/kernel-features.h
3708         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
3709         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
3710         include <kernel-features.h>.
3711         [!__NR_ftruncate64]: Remove conditional code.
3712         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3713         [__NR_ftruncate64]: Make code unconditional.
3714         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3715         * sysdeps/unix/sysv/linux/truncate64.c: Do not
3716         include <kernel-features.h>.
3717         [!__NR_ftruncate64]: Remove conditional code.
3718         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3719         [__NR_ftruncate64]: Make code unconditional.
3720         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3721         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
3722         include <kernel-features.h>.
3723         [!__NR_ftruncate64]: Remove conditional code.
3724         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3725         [__NR_ftruncate64]: Make code unconditional.
3726         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3727         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
3728         include <kernel-features.h>.
3729         [!__NR_ftruncate64]: Remove conditional code.
3730         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3731         [__NR_ftruncate64]: Make code unconditional.
3732         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3734         * configure.in (libc_cv_fpie): Weaken to a compile test using
3735         LIBC_TRY_CC_OPTION.
3736         * configure: Regenerated.
3738 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
3740         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
3741         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
3742         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
3743         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
3744         Refreshed.
3745         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
3746         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
3747         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
3748         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
3749         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
3750         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
3751         Refreshed.
3753 2012-05-27  David S. Miller  <davem@davemloft.net>
3755         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
3756         (___Q_zero): New.
3757         (__Q_simulate_exceptions): Return void.  Change to simulate
3758         exceptions by writing into the %fsr.
3759         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
3760         (__Qp_handle_exceptions): Likewise.
3761         (numbers): Delete.
3762         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
3763         __Qp_handle_exceptions.
3764         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
3765         __Qp_handle_exceptions.
3766         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
3767         as unused and give dummy FP_RND_NEAREST initializer.
3768         (FP_INHIBIT_RESULTS): Define.
3769         (___Q_simulate_exceptions): Update declaration.
3770         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
3771         formatting.
3772         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
3773         as unused and give dummy FP_RND_NEAREST initializer.
3774         (__Qp_handle_exceptions): Update declaration.
3775         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
3776         formatting.
3778 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
3780         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
3781         the temporary FPU control word.
3782         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
3783         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
3784         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
3785         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
3786         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
3787         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
3788         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
3789         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
3790         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
3791         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
3792         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
3794 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
3796         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
3797         fields.
3799 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
3801         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
3802         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
3803         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
3804         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
3805         Likewise.
3806         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
3807         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
3808         Likewise.
3810 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
3812         * po/h.po: Update from translation team.
3814 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
3816         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
3818         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
3819         handling of denormals.
3820         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
3821         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
3822         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
3823         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
3824         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
3825         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
3826         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
3827         Likewise.
3829 2012-05-26  Marek Polacek  <polacek@redhat.com>
3831         [BZ #14152]
3832         * math/libm-test.inc (fma_test): Don't always expect underflow
3833         exception.
3835 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
3837         [BZ #12416]
3838         * elf/tst-execstack.c: Include stackinfo.h.
3839         (do_test): Adjust test case to ensure that pthread_getattr_np
3840         behaviour remains the same after marking stack executable.
3842 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
3844         * sysdeps/unix/sysv/linux/kernel-features.h
3845         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
3846         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
3847         kernel-features.h.
3848         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
3849         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
3850         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
3851         kernel-features.h.
3852         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
3853         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
3855 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
3857         * configure.in: Define the default includes to being none.
3858         * configure: Regenerated.
3860 2012-05-25  Roland McGrath  <roland@hack.frob.com>
3862         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
3863         * sysdeps/x86_64/setjmp.S: Likewise.
3864         * sysdeps/i386/bsd-setjmp.S: Likewise.
3865         * sysdeps/i386/bsd-_setjmp.S: Likewise.
3866         * sysdeps/i386/setjmp.S: Likewise.
3867         * sysdeps/i386/__longjmp.S: Likewise.
3868         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
3869         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
3871         * include/stap-probe.h: New file.
3872         * configure.in: Handle --enable-systemtap.
3873         * configure: Regenerated.
3874         * config.h.in (USE_STAP_PROBE): New #undef.
3875         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
3876         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
3877         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
3879 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
3881         [BZ #13717]
3882         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
3883         to 2.4.0 where earlier.
3884         * sysdeps/unix/sysv/linux/configure: Regenerated.
3885         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
3886         <kernel-features.h>.
3887         [__ASSUME_32BITUIDS]: Make code unconditional.
3888         [!__ASSUME_32BITUIDS]: Remove conditional code.
3889         * sysdeps/unix/sysv/linux/i386/fchown.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/fchownat.c (fchownat)
3894         [__ASSUME_32BITUIDS]: Make code unconditional.
3895         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
3896         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
3897         <kernel-features.h>.
3898         [__ASSUME_32BITUIDS]: Make code unconditional.
3899         [!__ASSUME_32BITUIDS]: Remove conditional code.
3900         * sysdeps/unix/sysv/linux/i386/geteuid.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/getgid.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/getgroups.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/getresgid.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/getresuid.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/getuid.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/lchown.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/msgctl.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/semctl.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/setegid.c: Do not include
3937         <kernel-features.h>.
3938         [__NR_setresgid] (__setresgid): Do not declare.
3939         [__ASSUME_32BITUIDS]: Make code unconditional.
3940         [!__ASSUME_32BITUIDS]: Remove conditional code.
3941         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
3942         <kernel-features.h>.
3943         [__NR_setresuid] (__setresuid): Do not declare.
3944         [__ASSUME_32BITUIDS]: Make code unconditional.
3945         [!__ASSUME_32BITUIDS]: Remove conditional code.
3946         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
3947         <kernel-features.h>.
3948         [__ASSUME_32BITUIDS]: Make code unconditional.
3949         [!__ASSUME_32BITUIDS]: Remove conditional code.
3950         * sysdeps/unix/sysv/linux/i386/setfsuid.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/setgid.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/setgroups.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/setregid.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/setresgid.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/setresuid.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/setreuid.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/setuid.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/shmctl.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/kernel-features.h
3987         (__ASSUME_SETRESUID_SYSCALL): Remove.
3988         (__ASSUME_SETRESGID_SYSCALL): Likewise.
3989         (__ASSUME_32BITUIDS): Likewise.
3990         (__ASSUME_LDT_WORKS): Likewise.
3991         (__ASSUME_O_DIRECTORY): Likewise.
3992         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
3993         architecture but not kernel version.
3994         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
3995         (__ASSUME_MMAP2_SYSCALL): Likewise.
3996         (__ASSUME_STAT64_SYSCALL): Likewise.
3997         (__ASSUME_IPC64): Likewise.
3998         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
3999         <kernel-features.h>.
4000         [__ASSUME_32BITUIDS]: Make code unconditional.
4001         [!__ASSUME_32BITUIDS]: Remove conditional code.
4002         * sysdeps/unix/sysv/linux/opendir.c: Do not include
4003         <kernel-features.h>.
4004         [__ASSUME_O_DIRECTORY]: Make code unconditional.
4005         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
4006         132096]: Remove conditional code.
4007         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
4008         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
4009         <kernel-features.h>.
4010         [__ASSUME_32BITUIDS]: Make code unconditional.
4011         [!__ASSUME_32BITUIDS]: Remove conditional code.
4012         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.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/setegid.c: Do not include
4017         <kernel-features.h>.
4018         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
4019         unconditional.
4020         (__setresgid): Do not declare.
4021         [__ASSUME_32BITUIDS]: Make code unconditional.
4022         [!__ASSUME_32BITUIDS]: Remove conditional code.
4023         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
4024         <kernel-features.h>.
4025         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
4026         unconditional.
4027         (__setresuid): Do not declare.
4028         [__ASSUME_32BITUIDS]: Make code unconditional.
4029         [!__ASSUME_32BITUIDS]: Remove conditional code.
4030         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
4031         <kernel-features.h>.
4032         [__ASSUME_32BITUIDS]: Make code unconditional.
4033         [!__ASSUME_32BITUIDS]: Remove conditional code.
4034         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
4035         <kernel-features.h>.
4036         [__ASSUME_32BITUIDS]: Make code unconditional.
4037         [!__ASSUME_32BITUIDS]: Remove conditional code.
4039 2012-05-25  Richard Henderson  <rth@twiddle.net>
4041         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
4042         dl_hwcap to ifunc resolver.
4043         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
4044         elf_ifunc_invoke.
4045         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
4046         dl_hwcap to ifunc resolver.
4047         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
4049 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
4051         [BZ #14153]
4052         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
4053         for |x| <= 2**-26, not 2**-57.
4054         * math/libm-test.inc (acos_test): Do not allow spurious underflow
4055         exception.
4057 2012-05-24  Jeff Law  <law@redhat.com>
4059         * stdio-common/Makefile (tests): Add bug25.
4060         * stdio-common/bug25.c: New test.
4062 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
4064         [BZ #13576]
4065         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
4066         multiple of MALLOC_ALIGNMENT in size.
4067         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
4069 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
4071         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
4072         Require >= 256.
4073         (FILENAME_MAX): Use macro-int-constant.
4074         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
4075         (_IOFBF): Use macro-int-constant.
4076         (_IOLBF): Likewise.
4077         (_IONBF): Likewise.
4078         (SEEK_CUR): Likewise.
4079         (SEEK_END): Likewise.
4080         (SEEK_SET): Likewise.
4081         (TMP_MAX): Likewise.
4082         (EOF): Use macro-int-constant.  Require < 0.
4083         (NULL): Use macro-constant.  Require == 0.
4084         (stdin): Require type to be FILE *.
4085         (stdout): Likewise.
4086         (stderr): Likewise.
4087         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
4088         macro-int-constant.
4089         (EXIT_SUCCESS): Likewise.
4090         (NULL): Use macro-constant.  Require == 0.
4091         (RAND_MAX): Use macro-int-constant.
4092         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
4093         [C99-based standards] (strtof): Require function.
4094         [C99-based standards] (strtold): Likewise.
4095         [C99-based standards] (strtoll): Likewise.
4096         [C99-based standards] (strtoull): Likewise.
4097         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
4098         [ISO || ISO99 || ISO11] (limits.h): Likewise.
4099         [ISO || ISO99 || ISO11] (math.h): Likewise.
4100         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
4101         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
4102         [ISO || ISO99 || ISO11] (*_t): Do not allow.
4104 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
4106         [BZ #14132]
4107         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
4108         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
4109         * intl/dgettext.c (DCGETTEXT): Likewise.
4110         * intl/gettext.c (DCGETTEXT): Likewise.
4111         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
4112         * posix/regex_internal.h (gettext): Likewise.
4113         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
4114         Remove declaration.
4115         * include/argz.h (__argz_count_internal)
4116         (__argz_stringify_internal): Remove declaration.
4117         (__argz_count, __argz_stringify): Declare hidden proto.
4118         * intl/dcgettext.c: Remove use of INTDEF.
4119         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
4120         * string/argz-stringify.c: Likewise.
4121         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
4122         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
4123         Declare hidden proto.
4124         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
4125         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
4126         Declare hidden proto.
4127         * include/stdio.h (__asprintf_internal): Don't declare.
4128         (__asprintf): Don't define as macro.  Declare hidden proto.
4129         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
4130         (__fsetlocking): Declare hidden proto.
4131         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
4132         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
4133         hidden proto.
4134         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
4135         (_IO_setlinebuf): Remove use of INTUSE.
4136         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
4137         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
4138         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
4139         Remove declaration.
4140         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
4141         (_IO_do_flush): Remove use of INTUSE.
4142         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
4143         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
4144         (_IO_adjust_column, _IO_least_wmarker)
4145         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
4146         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
4147         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
4148         (_IO_default_doallocate, _IO_wdefault_doallocate)
4149         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
4150         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
4151         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
4152         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
4153         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
4154         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
4155         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
4156         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
4157         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
4158         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
4159         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
4160         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
4161         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
4162         proto.
4163         (_IO_flush_all_internal, _IO_adjust_column_internal)
4164         (_IO_default_uflow_internal, _IO_default_finish_internal)
4165         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
4166         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
4167         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
4168         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
4169         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
4170         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
4171         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
4172         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
4173         (_IO_file_close_internal, _IO_file_close_it_internal)
4174         (_IO_file_underflow_internal, _IO_file_overflow_internal)
4175         (_IO_file_init_internal, _IO_file_attach_internal)
4176         (_IO_file_fopen_internal, _IO_file_read_internal)
4177         (_IO_file_sync_internal, _IO_file_seek_internal)
4178         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
4179         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
4180         (_IO_str_underflow_internal, _IO_str_overflow_internal)
4181         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
4182         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
4183         (_IO_list_all_internal, _IO_link_in_internal)
4184         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
4185         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
4186         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
4187         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
4188         (_IO_do_write_internal, _IO_padn_internal)
4189         (_IO_getline_info_internal, _IO_getline_internal)
4190         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
4191         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
4192         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
4193         (_IO_vfscanf_internal, _IO_vfprintf_internal)
4194         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
4195         (_IO_init_internal, _IO_un_link_internal): Don't declare.
4196         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
4197         with libc_hidden_ver, remove use of INTUSE.
4198         * libio/genops.c: Likewise.
4199         * libio/freopen.c: Likewise.
4200         * libio/freopen64.c: Likewise.
4201         * libio/iofclose.c: Likewise.
4202         * libio/iofdopen.c: Likewise.
4203         * libio/iofflush.c: Likewise.
4204         * libio/iofflush_u.c: Likewise.
4205         * libio/iofgets.c: Likewise.
4206         * libio/iofgets_u.c: Likewise.
4207         * libio/iofopen.c: Likewise.
4208         * libio/iofopncook.c: Likewise.
4209         * libio/iofread.c: Likewise.
4210         * libio/iofread_u.c: Likewise.
4211         * libio/ioftell.c: Likewise.
4212         * libio/iofwrite.c: Likewise.
4213         * libio/iogetline.c: Likewise.
4214         * libio/iogets.c: Likewise.
4215         * libio/iogetwline.c: Likewise.
4216         * libio/iopadn.c: Likewise.
4217         * libio/iopopen.c: Likewise.
4218         * libio/ioseekoff.c: Likewise.
4219         * libio/ioseekpos.c: Likewise.
4220         * libio/iosetbuffer.c: Likewise.
4221         * libio/iosetvbuf.c: Likewise.
4222         * libio/ioungetc.c: Likewise.
4223         * libio/ioungetwc.c: Likewise.
4224         * libio/iovdprintf.c: Likewise.
4225         * libio/iovsprintf.c: Likewise.
4226         * libio/iovsscanf.c: Likewise.
4227         * libio/memstream.c: Likewise.
4228         * libio/obprintf.c: Likewise.
4229         * libio/oldfileops.c: Likewise.
4230         * libio/oldiofclose.c: Likewise.
4231         * libio/oldiofdopen.c: Likewise.
4232         * libio/oldiofopen.c: Likewise.
4233         * libio/oldiopopen.c: Likewise.
4234         * libio/oldstdfiles.c: Likewise.
4235         * libio/putc.c: Likewise.
4236         * libio/setbuf.c: Likewise.
4237         * libio/setlinebuf.c: Likewise.
4238         * libio/stdfiles.c: Likewise.
4239         * libio/strops.c: Likewise.
4240         * libio/vasprintf.c: Likewise.
4241         * libio/vscanf.c: Likewise.
4242         * libio/vsnprintf.c: Likewise.
4243         * libio/vswprintf.c: Likewise.
4244         * libio/wfiledoalloc.c: Likewise.
4245         * libio/wfileops.c: Likewise.
4246         * libio/wgenops.c: Likewise.
4247         * libio/wmemstream.c: Likewise.
4248         * libio/wstrops.c: Likewise.
4249         * libio/__fpurge.c: Likewise.
4250         * libio/__fsetlocking.c: Likewise.
4251         * assert/assert.c: Likewise.
4252         * debug/fgets_chk.c: Likewise.
4253         * debug/fgets_u_chk.c: Likewise.
4254         * debug/fread_chk.c: Likewise.
4255         * debug/fread_u_chk.c: Likewise.
4256         * debug/gets_chk.c: Likewise.
4257         * debug/obprintf_chk.c: Likewise.
4258         * debug/vasprintf_chk.c: Likewise.
4259         * debug/vdprintf_chk.c: Likewise.
4260         * debug/vsnprintf_chk.c: Likewise.
4261         * debug/vsprintf_chk.c: Likewise.
4262         * malloc/mtrace.c: Likewise.
4263         * misc/error.c: Likewise.
4264         * misc/syslog.c: Likewise.
4265         * stdio-common/asprintf.c: Likewise.
4266         * stdio-common/fxprintf.c: Likewise.
4267         * stdio-common/getw.c: Likewise.
4268         * stdio-common/isoc99_fscanf.c: Likewise.
4269         * stdio-common/isoc99_scanf.c: Likewise.
4270         * stdio-common/isoc99_vfscanf.c: Likewise.
4271         * stdio-common/isoc99_vscanf.c: Likewise.
4272         * stdio-common/isoc99_vsscanf.c: Likewise.
4273         * stdio-common/printf-prs.c: Likewise.
4274         * stdio-common/printf_fp.c: Likewise.
4275         * stdio-common/printf_fphex.c: Likewise.
4276         * stdio-common/printf_size.c: Likewise.
4277         * stdio-common/putw.c: Likewise.
4278         * stdio-common/scanf.c: Likewise.
4279         * stdio-common/sprintf.c: Likewise.
4280         * stdio-common/tmpfile.c: Likewise.
4281         * stdio-common/vfprintf.c: Likewise.
4282         * stdio-common/vfscanf.c: Likewise.
4283         * stdlib/strfmon_l.c: Likewise.
4284         * sunrpc/openchild.c: Likewise.
4285         * sunrpc/xdr_stdio.c: Likewise.
4286         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
4287         * sysdeps/mach/hurd/tmpfile.c: Likewise.
4289 2012-05-24  Roland McGrath  <roland@hack.frob.com>
4291         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
4293         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
4294         in the third column, to generate for the shared library an IFUNC
4295         that uses _dl_vdso_vsym.
4296         * Makerules (COMPILE.c, compile-stdin.c): New variables.
4297         * Makeconfig (object-suffixes-noshared): New variable.
4299         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
4300         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
4301         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
4302         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
4304         [BZ #14132]
4305         * include/sys/time.h (__gettimeofday): Remove macro.
4306         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
4307         * time/gettimeofday.c (__gettimeofday): Remove #undef.
4308         Remove INTDEF.
4309         (__gettimeofday): Add libc_hidden_def.
4310         (gettimeofday): Add libc_hidden_weak.
4311         * sysdeps/mach/gettimeofday.c: Likewise.
4312         * sysdeps/posix/gettimeofday.c: Likewise.
4313         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
4314         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
4315         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
4316         (__gettimeofday_internal): Remove strong_alias.
4317         (__gettimeofday): Add libc_hidden_def.
4318         (gettimeofday): Add libc_hidden_weak.
4319         * sysdeps/unix/syscalls.list (gettimeofday):
4320         Remove __gettimeofday_internal alias.
4322 2012-05-24  Daniel Jacobowitz  <drow@false.org>
4323             H.J. Lu  <hongjiu.lu@intel.com>
4325         [BZ #12495]
4326         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
4327         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
4328         (largebin_index_32_big): New.
4329         (largebin_index): Use it for 16-byte alignment.
4330         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
4331         correction with front_misalign.
4333 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
4335         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
4336         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
4337         Likewise.
4338         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
4339         Likewise.
4340         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
4341         Likewise.
4342         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
4343         Likewise.
4344         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
4345         Likewise.
4346         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
4347         Likewise.
4348         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
4349         Likewise.
4350         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
4351         Likewise.
4352         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
4353         Likewise.
4354         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
4355         Likewise.
4356         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
4357         Likewise.
4358         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
4359         Likewise.
4361         * scripts/data/c++-types-x32-linux-gnu.data: New file.
4362         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
4364 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
4366         [BZ #10846]
4367         [BZ #14036]
4368         * math/libm-test.inc (exp_test): Add test from bug 14036.
4369         (pow_test): Add test from bug 10846.
4371         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
4372         and other flags.
4373         (special_function): Do not include flags in test name.
4374         (parse_args): Likewise.
4375         * sysdeps/i386/fpu/libm-test-ulps: Update.
4376         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
4377         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
4378         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
4379         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4381         * math/gen-libm-test.pl (%beautify): Add entries for underflow
4382         exceptions.
4383         * math/libm-test.inc ("Philosophy"): Update comment about
4384         exception testing.
4385         (UNDERFLOW_EXCEPTION): New macro.
4386         (UNDERFLOW_EXCEPTION_OK): Likewise.
4387         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
4388         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
4389         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
4390         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
4391         (INVALID_EXCEPTION_OK): Update value.
4392         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
4393         (OVERFLOW_EXCEPTION_OK): Likewise.
4394         (IGNORE_ZERO_INF_SIGN): Likewise.
4395         (test_exceptions): Handle underflow exceptions.
4396         (acos_test): Update for underflow exception expectations.
4397         (cexp_test): Likewise.
4398         (clog_test): Likewise.
4399         (clog10_test): Likewise.
4400         (csqrt_test): Likewise.
4401         (ctan_test): Likewise.
4402         (ctanh_test): Likewise.
4403         (exp_test): Likewise.
4404         (exp10_test): Likewise.
4405         (exp2_test): Likewise.
4406         (expm1_test): Likewise.
4407         (fma_test): Likewise.
4408         (j0_test): Likewise.
4409         (jn_test): Likewise.
4410         (nexttoward_test): Likewise.
4411         (pow_test): Likewise.
4412         (scalbn_test): Likewise.
4413         (scalbln_test): Likewise.
4414         (tan_test): Likewise.
4415         (y1_test): Likewise.
4416         * sysdeps/i386/fpu/libm-test-ulps: Update.
4417         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4419 2012-05-23  David S. Miller  <davem@davemloft.net>
4421         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
4422         (__libc_sigaction): Remove unused local variables.
4424 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
4426         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
4428 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
4430         mktime: avoid signed integer overflow
4431         * time/mktime.c (__mktime_internal): Do not mishandle the case
4432         where diff == INT_MIN.
4434         mktime: simplify computation of average
4435         * time/mktime.c (ranged_convert): Use new time_t_avg function
4436         instead of rolling our own (probably-slower) code.
4438         mktime: do not assume signed right shift propagates sign bit
4439         * time/mktime.c (isdst_differ): New static function.
4440         (__mktime_internal): No need to normalize tm_isdst now.
4441         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
4442         tm_isdst values.
4444         mktime: merge another wrapv change from gnulib
4445         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
4446         from some compilers.
4448         mktime: remove incorrect attempt at unusual arithmetics
4449         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
4450         The code didn't really work on such machines anyway.
4451         (TYPE_MINIMUM): Assume two's complement.
4452         (twos_complement_arithmetic): Verify that long_int and time_t
4453         are two's complement (or unsigned, in the latter case).
4455         mktime: check signed shifts on long_int and time_t, too
4456         * time/mktime.c (SHR): Check that shifts work as desired
4457         on the types long_int and time_t too, as SHR is used on
4458         such types.
4460         mktime: do not assume 'long' is wide enough
4461         * time/mktime.c (verify): Move decl up.
4462         (long_int): New type.
4463         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
4464         to remove assumption in the code that 'long' is wide enough to
4465         store year values.  This assumption is not true on x32 and on
4466         some non-glibc platforms.
4468         mktime: merge wrapv change from gnulib
4469         * time/mktime.c (WRAPV): New macro.
4470         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
4471         (guess_time_tm, __mktime_internal): Do not assume that signed
4472         integer overflow wraps around; modern compilers generate code
4473         where this assumption is no longer valid.
4475 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
4477         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
4478         Replace "jmp L(pseudo_end)" with "ret".
4479         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
4480         Likewise.
4482 2012-05-23  Andreas Jaeger  <aj@suse.de>
4484         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
4485         * sysdeps/unix/sysv/linux/poll.c: Remove file.
4487 2012-05-23  Andreas Jaeger  <aj@suse.de>
4488             Maximilian Attems  <max@stro.at>
4490         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
4491         New macros.
4493 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
4495         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
4496         code so that pseudo_end is just ret and the stack pointer is
4497         correct also for static library in error case.
4499 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
4501         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
4502         move to syscalls.list.
4503         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
4504         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
4505         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
4506         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
4508         * manual/install.texi (Running make install): Do not mention Linux
4509         kernel version for which pt_chown is not needed.
4510         (Linux): Do not mention problems with nscd with 2.0 kernels.
4511         * INSTALL: Regenerated.
4513 2012-05-23  Andreas Jaeger  <aj@suse.de>
4515         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
4516         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
4517         macro.
4518         * sysdeps/unix/sysv/linux/s390/bits/mman.h
4519         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
4520         * sysdeps/unix/sysv/linux/sh/bits/mman.h
4521         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
4522         * sysdeps/unix/sysv/linux/i386/bits/mman.h
4523         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
4524         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
4525         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
4526         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
4527         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
4528         * sysdeps/unix/sysv/linux/bits/in.h
4529         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
4531 2012-05-22  Roland McGrath  <roland@hack.frob.com>
4533         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
4534         (PREPARE_VERSION): Just use assert instead, it will be elided
4535         under [NDEBUG] anyway.
4537 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
4539         * sysdeps/unix/sysv/linux/Makefile: Include
4540         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
4541         (sysdep_routines): Remove sysctl.
4542         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
4543         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
4544         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
4545         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
4546         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
4548 2012-05-22  Andreas Jaeger  <aj@suse.de>
4550         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
4551         that pseudo_end is just ret and the stack pointer is correct also
4552         for static library in error case.
4554 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
4556         [BZ #14122]
4557         * nss/nsswitch.c (defconfig_entries): New variable.
4558         (__nss_database_lookup): Don't leak defconfig entries.
4559         (nss_parse_service_list): Don't leak on error paths.
4560         (free_database_entries): New function.
4561         (free_defconfig): New function.
4562         (free_mem): Move common code to free_database_entries.
4564 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
4566         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
4567         Add arch_prctl.
4568         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
4570         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
4571         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
4572         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
4573         New macro.
4574         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
4575         (INTERNAL_SYSCALL_TYPES): Likewise.
4576         (LOAD_ARGS_TYPES_[1-6]): Likewise.
4577         (LOAD_REGS_TYPES_[1-6]): Likewise.
4578         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
4579         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
4581 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4583         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
4584         copysignl for GLIBC_2_0.
4585         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
4586         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
4587         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
4588         logbl for GLIBC_2_0.
4589         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
4590         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
4592 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
4594         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
4595         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
4597         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
4598         Use "neg %eax".
4600         * time/mktime.c: Update copyright years.
4602 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
4604         mktime: merge comment-quoting-style change from gnulib
4605         * time/mktime.c: Quote 'like this' in comments.
4606         The GNU coding standards suggest that we no longer quote `like this',
4607         as "`" and "'" are typically rendered asymmetrically nowadays.
4608         The typical gnulib style is to quote 'like this' when quoting
4609         code, and "like this" when quoting English.
4611         * time/mktime.c (compile-command): Add "-I.".
4613         mktime: merge mktime-internal.h change from gnulib
4614         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
4616         mktime: merge time_r change from gnulib
4617         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
4619         mktime: merge DEBUG change from gnulib
4620         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
4621         case system <time.h> has a #define.
4623         mktime: merge <sys/types.h> change from gnulib
4624         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
4625         since <time.t> is now guaranteed to define time_t.
4627         mktime: merge HAVE_CONFIG_H change from gnulib
4628         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
4630 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
4632         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
4633         Use "neg %eax".
4635         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
4636         __rlim_t cast.
4637         (struct rusage): Use anonymous union to pad each field to
4638         __syscall_slong_t.
4640 2012-05-21  David S. Miller  <davem@davemloft.net>
4642         * Makefules (o-iterator): Remove .s cases.
4643         (compile-command.s): Delete.
4644         (COMPILE.s): Delete.
4645         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
4647 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
4649         * configure.in (libc_cv_predef_stack_protector): Only consider
4650         "foobar" and "__stack_chk_fail" lines in libc_undefs.
4651         * configure: Regenerated.
4653 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
4655         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
4656         New macro.  Use R*LP on int and pointer.
4657         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
4658         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
4659         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
4660         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
4662         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
4663         [__WORDSIZE_TIME64_COMPAT32] instead of
4664         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
4665         (struct utmp): Likewise.
4666         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
4667         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
4668         Renamed to ...
4669         (__WORDSIZE_TIME64_COMPAT32): This.
4670         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
4671         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
4672         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
4673         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
4674         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
4675         (__WORDSIZE_TIME64_COMPAT32): New macro.
4677 2012-05-21  Andreas Jaeger  <aj@suse.de>
4679         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
4680         only if [SHARED]. Add prototype for __wcschr_ia32.
4682 2012-05-21  Roland McGrath  <roland@hack.frob.com>
4684         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
4685         of %rbp unmolested in the jmp_buf while mangling the low bits.
4686         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
4687         unmolested high bits of %rbp while demangling the low bits.
4688         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
4690 2012-05-21  Andreas Jaeger  <aj@suse.de>
4692         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
4693         * sunrpc/svc_simple.c: Use it for registerrpc.
4694         * sunrpc/xcrypt.c: Use it for passwd2des.
4696         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
4698 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
4700         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
4701         Don't define if [__SYSCALL_WORDSIZE != 32].
4702         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
4703         New macro.
4705 2012-05-21  Bruno Haible  <bruno@clisp.org>
4706             Andreas Jaeger  <aj@suse.de>
4708         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
4709         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
4710         inptr and inend for must_buffer_ch.
4711         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
4712         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
4713         * stdio-common/Makefile (tests): Remove bug15.
4714         (bug15-ENV): Remove macro.
4715         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
4716         anymore.
4718 2012-05-19  Andreas Jaeger  <aj@suse.de>
4719             Roland McGrath  <roland@hack.frob.com>
4721         * manual/contrib.texi: Completely rewritten. It contains now an
4722         alphabetical list of contributors and their contributions.
4724 2012-05-21  Richard Henderson  <rth@twiddle.net>
4726         * misc/getauxval.c (__getauxval): Use unsigned long int.
4727         * misc/sys/auxv.h: Include <sys/cdefs.h>.
4728         (getauxval): Use unsigned long int.
4730 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
4732         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
4734 2012-05-21  Roland McGrath  <roland@hack.frob.com>
4736         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
4737         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
4738         __alignof__ (long double).
4740 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4742         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4744 2012-05-20  Richard Henderson  <rth@twiddle.net>
4746         * misc/getauxval.c: New file.
4747         * misc/sys/auxv.h: New file.
4748         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
4749         (routines): Add getauxval.
4750         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
4751         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
4752         * elf/dl-sysdep.c (_dl_auxv): Remove.
4753         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
4754         * elf/dl-support.c (_dl_auxv): New variable.
4755         (_dl_aux_init): Initialize it.
4756         * manual/startup.texi (Auxiliary Vector): New node.
4757         * sysdeps/generic/bits/hwcap.h: New file.
4758         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
4759         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
4760         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
4761         * sysdeps/sparc/sysdep.h: ... here.  Include it.
4762         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
4763         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
4764         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
4765         Update.
4766         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
4767         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
4768         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
4769         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
4770         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
4771         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
4772         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
4773         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
4775 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4777         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4779 2012-05-19  David S. Miller  <davem@davemloft.net>
4781         * sysdeps/sparc/fpu/libm-test-ulps: Update.
4783 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
4785         [BZ #14123]
4786         * math/s_ccosh.c: Include <float.h>
4787         (__ccosh): Avoid internal overflow calculating sinh and cosh
4788         values before multiplying by sin and cos values.
4789         * math/s_ccoshf.c: Likewise.
4790         * math/s_ccoshl.c: Likewise.
4791         * math/s_csin.c: Likewise.
4792         * math/s_csinf.c: Likewise.
4793         * math/s_csinl.c: Likewise.
4794         * math/s_csinh.c: Likewise.
4795         * math/s_csinhf.c: Likewise.
4796         * math/s_csinhl.c: Likewise.
4797         * math/libm-test.inc (ccos_test): Add more tests.
4798         (ccosh_test): Likewise.
4799         (csin_test): Likewise.
4800         (csinh_test): Likewise.
4801         * sysdeps/i386/fpu/libm-test-ulps: Update.
4802         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4804 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
4806         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
4807         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
4809         * sysdeps/x86_64/x32/_itoa.h: Add comment.
4811 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
4813         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
4814         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
4815         * sysdeps/powerpc/soft-fp/Versions: Likewise.
4816         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
4817         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
4818         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
4819         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
4820         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
4821         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
4822         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
4823         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
4824         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
4825         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
4826         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
4827         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
4828         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
4829         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
4830         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
4831         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
4832         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
4833         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
4834         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
4835         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
4836         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
4837         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
4838         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
4839         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
4840         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
4841         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
4842         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
4843         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
4845 2012-05-18  Andreas Jaeger  <aj@suse.de>
4847         * csu/.gitignore: Delete.
4849 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
4851         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
4852         (timex): Use __syscall_slong_t.
4854 2012-05-18  Andreas Jaeger  <aj@suse.de>
4855             Carlos O'Donell  <carlos_odonell@mentor.com>
4857         * manual/install.texi (Configuring and compiling): Update
4858         description about files modified in the source directory.
4859         * INSTALL: Regenerated.
4861 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
4863         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
4864         value.  Use "or" to set return value to -1.
4865         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
4866         negate return value.
4868 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
4870         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
4871         CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
4872         failure if the compiler has Graphite support disabled.
4873         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
4874         Likewise.
4875         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
4876         CFLAGS-memmove.c): Likewise.
4877         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
4878         Likewise.
4880 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
4882         * sysdeps/x86_64/x32/_itoa.h: New file.
4884         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
4885         getdents system call only if kernel and user dirents have the
4886         same d_ino and d_off.
4888         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
4889         LLONG_MAX != LONG_MAX.
4890         (_itoa_word): Use _ITOA_WORD_TYPE on value.
4891         (_fitoa_word): Likewise.
4893         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
4894         years.
4895         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
4896         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
4897         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
4899         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
4900         include <bits/wordsize.h>.  Check __x86_64__ instead of
4901         __WORDSIZE.
4902         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
4903         if __x86_64__ is defined.  Use anonymous union on fpstate.
4905         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
4906         anonymous union.
4908 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
4910         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
4911         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
4912         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
4913         Refer to _rtld_local_ro instead of _rtld_global_ro.
4914         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
4915         Likewise.
4916         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
4917         Likewise.
4918         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
4919         Likewise.
4920         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
4921         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
4922         of _rtld_global, and rtld_progname instead of _dl_argv[0].
4924         * sysdeps/powerpc/powerpc32/dl-machine.c
4925         (__elf_machine_runtime_setup) [PROF]: Don't reference
4926         _dl_prof_resolve.
4928 2012-05-18  Andreas Jaeger  <aj@suse.de>
4930         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
4931         function only available for GCCs before 3.4 since GCC 3.4
4932         introduced a builtin.
4933         (lrint): Likewise.
4934         (llrintf): Likewise.
4935         (llrint): Likewise.
4936         (fmaxf): Likewise.
4937         (fmax): Likewise.
4938         (fminf): Likewise.
4939         (fmin): Likewise.
4940         (rint): Likewise.
4941         (rintf): Likewise.
4942         (nearbyint): Likewise.
4943         (nearbyintf): Likewise.
4944         (ceil): Likewise.
4945         (ceilf): Likewise.
4946         (floor): Likewise.
4947         (floorf): Likewise.
4949 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
4951         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
4952         on both fields and cast pointer to __syscall_ulong_t.
4954         * bits/types.h (__fsword_t): New type.
4955         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
4956         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
4957         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
4958         (__FSWORD_T_TYPE): Likewise.
4959         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
4960         (__FSWORD_T_TYPE): Likewise.
4961         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
4962         (__FSWORD_T_TYPE): Likewise.
4963         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
4964         (__FSWORD_T_TYPE): Likewise.
4965         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
4966         __SWORD_TYPE with __fsword_t.
4967         (statfs64): Likewise.
4969 2012-05-17  David S. Miller  <davem@davemloft.net>
4971         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
4973 2012-05-17  Andreas Jaeger  <aj@suse.de>
4975         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
4976         warning.
4978 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
4980         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
4982 2012-05-17  Andreas Jaeger  <aj@suse.de>
4984         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
4985         when it is used.
4987 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
4989         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
4991 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
4993         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
4994         * sysdeps/x86_64/tst-mallocalign1.c: New file.
4996 2012-05-17  Andreas Jaeger  <aj@suse.de>
4997             Carlos O'Donell  <carlos_odonell@mentor.com>
4999         [BZ #14059]
5000         * sysdeps/x86_64/multiarch/init-arch.h
5001         (bit_YMM_Usable): Rename to...
5002         (bit_AVX_Usable): ... this.
5003         (bit_FMA4_Usable): New macro.
5004         (bit_XMM_state): New macro.
5005         (bit_YMM_state): New macro.
5006         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
5007         [__ASSEMBLER__] (index_AVX_Usable): ... this.
5008         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
5009         (CPUID_OSXSAVE): New macro.
5010         (CPUID_AVX): New macro.
5011         (CPUID_FMA4): New macro.
5012         (index_YMM_Usable): Rename to...
5013         (index_AVX_Usable): ... this.
5014         (HAS_AVX): Use HAS_ARCH_FEATURE.
5015         (HAS_FMA4): Likewise.
5016         (HAS_YMM_USABLE): Remove.
5017         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
5018         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
5019         are present.
5020         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
5021         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
5022         * sysdeps/x86_64/multiarch/Makefile: Likewise.
5023         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
5024         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
5026 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
5028         * math/libm-test.c: Support platforms without multiple rounding modes.
5029         * math/bug-nextafter.c: Support platforms without FP exceptions.
5030         * math/bug-nexttoward.c: Likewise.
5031         * math/test-fenv.c: Likewise.
5032         * math/test-misc.c: Likewise.
5033         * stdlib/bug-getcontext.c: Likewise.
5035 2012-05-17  Andreas Jaeger  <aj@suse.de>
5037         * manual/examples/search.c (critter_cmp): Change signature to
5038         avoid warnings.
5039         * manual/string.texi (Collation Functions): Likewise.
5041 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
5043         * bits/types.h: Fold copyright years.
5044         * bits/typesizes.h: Likewise.
5045         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
5046         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
5047         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
5048         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
5049         * time/time.h: Likewise.
5051 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
5053         [BZ #208]
5054         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
5055         in instead of returning them.  Return void.
5056         (__libc_mallinfo): Accumulate over all arenas.
5057         (__malloc_stats): Adjust for change in int_mallinfo interface.
5059 2012-05-16  Roland McGrath  <roland@hack.frob.com>
5061         [BZ #10375]
5062         * configure.in (NM): Add AC_CHECK_TOOL for it.
5063         (libc_extra_cflags): New substituted variable.
5064         Check for -fstack-protector being used implicitly.
5065         * configure: Regenerated.
5066         * config.make.in (config-extra-cflags): New variable,
5067         gets @libc_extra_cflags@.
5068         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
5070         [BZ #10375]
5071         * configure.in: Check for _FORTIFY_SOURCE being predefined.
5072         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
5073         * configure: Regenerated.
5074         * config.make.in (CPPUNDEFS): New substituted variable.
5075         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
5076         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
5077         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
5079 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
5081         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
5082         (mq_attr): Use __syscall_slong_t.
5084 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
5086         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
5087         Check __x86_64__ instead of __WORDSIZE.
5088         (_STAT_VER_LINUX): Likewise.
5089         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
5090         __syscall_ulong_t and __syscall_slong_t.
5091         (stat64): Likewise.
5093 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
5095         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
5097 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
5099         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
5101 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
5103         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
5104         __syscall_ulong_t.
5106         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
5107         include <bits/wordsize.h>.  Check __x86_64__ instead of
5108         __WORDSIZE.
5109         (greg_t): Use "__extension__ long long int" if __x86_64__ is
5110         defined.
5111         (mcontext_t): Replace "unsigned long" with "unsigned long long".
5113         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
5114         include <bits/wordsize.h>.  Check __x86_64__ instead of
5115         __WORDSIZE.
5116         (user_regs_struct): Use "__extension__ unsigned long long"
5117         instead of "unsigned long" if __x86_64__ is defined.
5118         (user): Likewise.  Pad after pointer field if __ILP32__ is
5119         defined.
5121 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
5123         * configure.in (makeinfo): Require version 4.5 or later.  Allow
5124         versions 5 to 9.
5125         * configure: Regenerated.
5126         * manual/install.texi (texinfo): Increase version requirement to
5127         4.5 or later.
5128         * INSTALL: Regenerated.
5130         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
5132 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
5134         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
5136         * sysdeps/x86_64/x32/ffs.c: New file.
5138         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
5139         __syscall_ulong_t.
5140         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
5141         defined.  Use __syscall_ulong_t.
5142         (shminfo): Use __syscall_ulong_t.
5143         (shm_info): Likewise.
5145         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
5146         __syscall_ulong_t.
5148         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
5149         <bits/wordsize.h>.
5150         (msgqnum_t): Use __syscall_ulong_t.
5151         (msglen_t): Likewise.
5152         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
5153         __syscall_ulong_t.
5155         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
5156         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
5158         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
5160         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
5161         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
5163         * sysvipc/sys/msg.h (msgbuf): Replace long int with
5164         __syscall_slong_t.
5166         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
5167         include <bits/wordsize.h>.  Check __x86_64__ instead of
5168         __WORDSIZE.
5170         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
5171         "unsigned long long int" if __x86_64__ is defined.
5172         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
5174         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
5175         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
5176         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
5178         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
5179         <stdint.h>.
5180         (GET_PC): Cast to uintptr_t first.
5181         (GET_FRAME): Likewise.
5182         (GET_STACK): Likewise.
5184         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
5185         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
5186         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
5187         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
5188         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
5189         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
5190         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
5191         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
5192         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
5193         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
5194         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
5195         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
5196         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
5197         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
5198         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
5199         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
5200         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
5201         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
5202         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
5203         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
5204         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
5205         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
5206         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
5207         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
5208         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
5209         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
5210         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
5211         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
5212         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
5214 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
5216         * Makerules (+depfiles): Also collect depfiles from .oS in
5217         $(extra-objs).
5218         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
5219         .oS, $(libnldbl-routines)).
5221         * Makerules (native-compile-mkdep-flags): Define.
5222         * sunrpc/Makefile (extra-objs): Add $(addprefix
5223         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
5224         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
5225         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
5226         calling $(make-target-directory).
5228 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
5230         * bits/types.h (__snseconds_t): Removed.
5231         * time/time.h (struct timespec): Replace __snseconds_t with
5232         __syscall_slong_t.
5233         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
5234         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
5235         Likewise.
5236         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
5237         (__SNSECONDS_T_TYPE): Likewise.
5238         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
5239         (__SNSECONDS_T_TYPE): Likewise.
5240         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
5241         (__SNSECONDS_T_TYPE): Likewise.
5243 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
5245         * sysdeps/mach/hurd/bits/typesizes.h
5246         (__SYSCALL_SLONG_TYPE): New macro.
5247         (__SYSCALL_ULONG_TYPE): Likewise.
5249 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
5251         * bits/types.h (__syscall_slong_t): New type.
5252         (__syscall_ulong_t): Likewise.
5254         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
5255         (__SYSCALL_ULONG_TYPE): Likewise.
5256         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
5257         (__SYSCALL_SLONG_TYPE): Likewise.
5258         (__SYSCALL_ULONG_TYPE): Likewise.
5259         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
5260         (__SYSCALL_SLONG_TYPE): Likewise.
5261         (__SYSCALL_ULONG_TYPE): Likewise.
5262         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
5263         (__SYSCALL_SLONG_TYPE): Likewise.
5264         (__SYSCALL_ULONG_TYPE): Likewise.
5266 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
5268         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
5269         Add sigaltstack-offsets.sym.
5270         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
5271         <sigaltstack-offsets.h>.
5272         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
5273         longjmp_msg pointer.
5274         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
5275         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
5276         signal stack.
5277         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
5279 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
5281         * elf/stackguard-macros.h: Remove file.
5282         * sysdeps/generic/stackguard-macros.h: New file.
5283         * sysdeps/i386/stackguard-macros.h: Likewise.
5284         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
5285         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
5286         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
5287         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
5288         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
5289         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
5290         * sysdeps/x86_64/stackguard-macros.h: Likewise.
5291         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
5292         <elf/stackguard-macros.h>.
5294         [BZ #14109]
5295         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
5296         __aligned__ in attribute.
5297         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
5298         (gregset_t): Likewise.
5300 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
5302         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
5303         * sysdeps/x86_64/64/Implies-after: Here.  New file.
5304         * sysdeps/x86_64/x32/Implies-after: New file.
5306 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
5308         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
5309         and access return value for _dl_profile_fixup.  Use R10_LP to
5310         load frame size.
5312 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
5314         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
5316 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
5318         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
5319         * sysdeps/x86_64/x32/sysdep.h: New file.
5321 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
5323         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
5324         * sysdeps/x86_64/setjmp.S: Likewise.
5326 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5328         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
5329         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
5330         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
5331         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
5332         remove unused global constant.
5334 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
5336         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
5337         include of <not-cancel.h>.
5339 2012-05-15  Roland McGrath  <roland@hack.frob.com>
5341         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
5343 2012-05-15  Jeff Law  <law@redhat.com>
5344             Andreas Jaeger  <aj@suse.de>
5346         [BZ #13594]
5347         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
5348         out from...
5349         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
5350         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
5351         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
5352         code changing __hst_map_handle.map.
5354 2012-05-15  Roland McGrath  <roland@hack.frob.com>
5356         * configure.in (sysnames): Look for Implies-before and Implies-after
5357         files.
5358         * configure: Regenerated.
5360 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
5362         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
5363         8-byte data alignment with LP_SIZE alignment.
5365 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
5367         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
5368         into R10_LP.
5370 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
5372         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
5374 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
5376         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
5377         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
5378         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
5379         Likewise.
5380         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
5382 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
5384         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
5385         (stackinfo_sub_sp): Likewise.
5387 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
5389         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
5390         RAX_LP.
5392 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
5394         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
5395         into R*_LP.
5397 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
5399         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
5400         sizes into R*_LP.
5402 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
5404         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
5406 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
5408         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
5409         into R11_LP and load __x86_64_shared_cache_size_half into
5410         R8_LP.
5412 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
5414         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
5415         R8_LP.
5417 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5419         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
5420         logb for POWER7.
5421         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
5422         logbf for POWER7.
5423         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
5424         logbl for POWER7.
5425         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
5426         powerpc32/power7/fpu/s_logb.c via #include.
5427         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
5428         powerpc32/power7/fpu/s_logbf.c via #include.
5429         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
5430         powerpc32/power7/fpu/s_logbl.c via #include.
5432 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
5434         * README.libm: Remove file.
5436 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
5438         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
5439         count for x32.  Use R*_LP and omit operand-size suffix.
5441 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
5443         * shlib-versions: Move x86_64-.*-linux.* entries to ...
5444         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
5445         * sysdeps/x86_64/x32/shlib-versions: New file.
5447 2012-05-14  Roland McGrath  <roland@hack.frob.com>
5449         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
5450         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
5451         Use _dl_fatal_printf instead.
5453 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
5455         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
5456         set if not set by the user.  Do not allow for being unset.
5457         * sysdeps/unix/sysv/linux/configure: Regenerated.
5459 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
5461         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
5462         the `q' suffix from lea and replace .quad with ASM_ADDR.
5464 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
5466         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
5467         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
5468         instead of $17.
5469         (PTR_DEMANGLE): Likewise.
5471 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
5473         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
5474         (LP_OP): Likewise.
5475         (ASM_ADDR): Likewise.
5476         (RAX_LP): Likewise.
5477         (RBP_LP): Likewise.
5478         (RBX_LP): Likewise.
5479         (RCX_LP): Likewise.
5480         (RDI_LP): Likewise.
5481         (RSI_LP): Likewise.
5482         (RSP_LP): Likewise.
5483         (R8_LP): Likewise.
5484         (R9_LP): Likewise.
5485         (R10_LP): Likewise.
5486         (R10_LP): Likewise.
5487         (R11_LP): Likewise.
5488         (R12_LP): Likewise.
5489         (R13_LP): Likewise.
5490         (R14_LP): Likewise.
5491         (R15_LP): Likewise.
5493 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
5495         * sysdeps/x86_64/x32/dl-machine.h: New file.
5497 2012-05-14  Andreas Jaeger  <aj@suse.de>
5499         * manual/Makefile (subdir): Remove export of subdir.
5500         (all): Remove target.
5501         (.PHONY): Remove all from list.
5502         (mkinstalldirs): Remove.
5503         (.PHONY): Remove installdirs from list.
5504         ($(inst_infodir)/libc.info): Use make-target-directory.
5505         (installdirs): Remove.
5506         (subdir_%): Remove.
5507         (glibc-targets): Remove.
5508         (lib): Remove.
5509         (stubs): Remove.
5510         ($(objpfx)stubs ../po/manual.pot): Remove.
5511         ($(objpfx)stamp%): Remove.
5512         (make-target-directory): Remove.
5513         (subdir_install): Remove.
5514         (routines): Remove.
5515         (aux): Remove.
5516         (sources): Remove.
5517         (objects): Remove.
5518         (headers): Remove.
5520         [BZ #13750]
5521         * manual/.gitignore: Remove, it's not needed anymore.
5522         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
5523         all files in it.
5524         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
5525         directory.
5526         (texis): Renamed to $(objpfx)texis.
5527         (texis-path): New, contains path to generated files.
5528         (chapters.%): Use texis-path for complete path, add extra argument
5529         libc-texinfo.sh.
5530         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
5531         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
5532         (summary,texi, stamp-summary): Use complete path of
5533         files. Generate files in build dir.
5534         (dir-add.texi): Build in build dir.
5535         (libm-err.texi,stamp-libm-err): Likewise.
5536         (version.texi, stamp-version): Likewise.
5537         (.%c.texi): Likewise.
5538         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
5539         (mostlyclean): Remove target.
5540         (realclean): Remove target.
5541         (generated): Add new variable with contents from mostlyclean and
5542         realclean, remove entries duplicated in common-mostlyclean, add
5543         stamp-libm-err and stamp-version.
5544         (generated-dirs): Add libc directory.
5545         ($(inst_infodir)/libc.info): Install files from build dir.
5547         * manual/install.texi (Configuring and compiling): Adjust since
5548         the info files are not part of the tar ball anymore.
5550 2012-05-14  Andreas Jaeger  <aj@suse.de>
5552         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
5553         variable.
5555 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
5557         [BZ #13717]
5558         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
5559         to 2.2.0 where earlier.
5560         * sysdeps/unix/sysv/linux/configure: Regenerated.
5561         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
5562         Remove conditional code.
5563         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
5564         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
5565         Remove conditional code.
5566         [!__NR_lchown]: Likewise.
5567         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
5568         [__NR_lchown]: Likewise.
5569         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
5570         comment referencing __ASSUME_LCHOWN_SYSCALL.
5571         * sysdeps/unix/sysv/linux/i386/sigaction.c
5572         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
5573         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
5574         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
5575         Remove conditional code.
5576         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
5577         (__protocol_available): Remove #if 0 code.
5578         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
5579         conditional code.
5580         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
5581         * sysdeps/unix/sysv/linux/kernel-features.h
5582         (__ASSUME_GETCWD_SYSCALL): Don't define.
5583         (__ASSUME_REALTIME_SIGNALS): Likewise.
5584         (__ASSUME_PREAD_SYSCALL): Likewise.
5585         (__ASSUME_PWRITE_SYSCALL): Likewise.
5586         (__ASSUME_POLL_SYSCALL): Likewise.
5587         (__ASSUME_LCHOWN_SYSCALL): Likewise.
5588         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
5589         non-SPARC.
5590         (__ASSUME_SIOCGIFNAME): Don't define.
5591         (__ASSUME_MSG_NOSIGNAL): Likewise.
5592         (__ASSUME_SENDFILE): Define unconditionally.
5593         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
5594         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
5595         conditional code.
5596         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
5597         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
5598         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
5599         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
5600         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
5601         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
5602         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
5603         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
5604         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
5605         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5606         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
5607         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
5608         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5609         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
5610         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
5611         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5612         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
5613         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
5614         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5615         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
5616         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
5617         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5618         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
5619         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
5620         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5621         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
5622         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
5623         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5624         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
5625         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
5626         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5627         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
5628         Remove conditional code.
5629         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5630         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
5631         Remove conditional code.
5632         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5633         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
5634         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
5635         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
5636         Remove conditional code.
5637         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5638         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
5639         Remove conditional code.
5640         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5641         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
5642         Remove conditional code.
5643         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5644         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
5645         Remove conditional code.
5646         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5647         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
5648         Remove conditional code.
5649         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5650         * sysdeps/unix/sysv/linux/sh/pwrite64.c
5651         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
5652         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5653         * sysdeps/unix/sysv/linux/sigaction.c
5654         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
5655         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
5656         * sysdeps/unix/sysv/linux/sigpending.c
5657         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
5658         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
5659         * sysdeps/unix/sysv/linux/sigprocmask.c
5660         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
5661         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
5662         * sysdeps/unix/sysv/linux/sigsuspend.c
5663         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
5664         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
5665         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
5666         (__libc_missing_rt_sigs): Remove.
5667         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
5668         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
5669         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
5670         Remove conditional code.
5671         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
5672         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
5673         return 1.
5674         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
5675         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
5676         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
5677         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
5679 2012-05-14  Andreas Jaeger  <aj@suse.de>
5681         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
5682         it's not used in glibc.
5683         (__coshm1): Likewise.
5684         (__acosh1p): Likewise.
5685         (__sgn): Likewise.
5687         * manual/string.texi (Copying and Concatenation): Add missing
5688         variable in concat example.
5689         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
5691 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
5693         [BZ #14103]
5694         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
5695         __builtin_clzl with __builtin_clzll.
5697 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
5699         [BZ #14104]
5700         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
5701         libc_freeres_ptr.
5703 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
5705         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
5706         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
5707         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
5708         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
5710 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
5712         * NEWS: Update ia64 info.
5714 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
5716         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
5717         used as bcopy.
5719 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
5721         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
5722         * sysdeps/unix/syscalls.list (dup3): Likewise.
5723         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
5724         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
5726 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
5728         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
5729         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
5731 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
5733         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
5734         thread pointer.
5735         (TLS_IE): Use mov/add instead of movq/addq to load thread
5736         pointer.
5737         (TLS_GD_PREFIX): New.
5738         (TLS_GD): Use it.
5740 2012-05-11  David S. Miller  <davem@davemloft.net>
5742         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
5743         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
5744         (_FPU_SETCW): Likewise.
5746 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
5748         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
5749         is 32-byte aligned.
5751 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
5753         [BZ #11837]
5754         * iconvdata/gb18030.c: Update tables.
5755         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
5756         characters specially.
5757         (BODY for TO_LOOP): Add encoding of missing ranges.
5759 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
5761         [BZ #13673]
5762         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
5763         * sysdeps/mach/hurd/dup3.c: Likewise.
5764         * sysdeps/mach/hurd/readlinkat.c: Likewise.
5765         * sysdeps/powerpc/memmove.c:: Likewise.
5767 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
5769         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
5770         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
5772 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
5774         * elf/elf.h (R_X86_64_RELATIVE64): New.
5775         (R_X86_64_NUM): Updated.
5776         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
5777         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
5778         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
5779         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
5780         tst-quad1pie tst-quad2pie
5781         (modules-names): Add tst-quadmod1 tst-quadmod2.
5782         ($(objpfx)tst-quad1): New dependency.
5783         ($(objpfx)tst-quad2): Likewise.
5784         ($(objpfx)tst-quad1pie): Likewise.
5785         ($(objpfx)tst-quad2pie): Likewise.
5786         * sysdeps/x86_64/tst-quad1.c: New file.
5787         * sysdeps/x86_64/tst-quad1pie.c: New file.
5788         * sysdeps/x86_64/tst-quad2.c: Likewise.
5789         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
5790         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
5791         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
5792         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
5793         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
5795 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5797         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
5798         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
5799         * streams/stropts.h (t_scalar_t): Define type.
5801         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
5802         (_PATH_PRESERVE): Set to "/var/lib".
5803         (_PATH_RWHODIR): Set to "/var/spool/rwho".
5805         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
5806         instead of int.
5808         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
5809         if __dir_mkfile succeeded.
5811         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
5812         checking for _hurd_dtablesize.  Unlock it right after having
5813         finished _hurd_dtable allocation.
5815 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
5817         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
5818         * sysdeps/mach/hurd/configure: Regenerated.
5819         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
5820         special-casing to...
5821         * sysdeps/gnu/configure.in: ... this new file.
5822         * sysdeps/unix/sysv/linux/configure: Regenerated.
5823         * sysdeps/gnu/configure: New generated file.
5825         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
5826         for Linux: use nsec instead of usec, as well as:
5827         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
5828         members of type struct timespec.
5829         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
5830         New macros.
5831         (struct stat64): Likewise.
5832         (_STATBUF_ST_NSEC): New macro.
5833         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
5835         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
5836         __strtoul_internal rather than strtoul.
5838 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
5840         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
5841         and reject them.
5843 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5845         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
5846         which preserves existing values.
5847         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
5849 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
5851         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
5852         TIMEOUT values.  Return EINVAL for NFDS values either negative or
5853         greater than FD_SETSIZE.
5855 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5857         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
5858         allocated, call __vm_protect to finish enabling the existing space, and
5859         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
5860         allocate the remainder.
5862 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
5864         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
5865         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
5867 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5869         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
5870         sysdeps/mach/hurd/readlink.c.
5872         * posix/tst-sysconf.c (posix_options): Only use
5873         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
5874         _POSIX_SYNCHRONIZED_IO when they are defined
5875         * sysdeps/mach/hurd/bits/posix_opt.h:
5876         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
5877         (_XOPEN_REALTIME): Undefine macro.
5878         (_XOPEN_REALTIME_THREADS): Undefine macro.
5879         (_XOPEN_SHM): Undefine macro.
5880         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
5881         macro to -1.
5882         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
5883         macro to -1.
5884         (_POSIX_ASYNC_IO): Undefine macro.
5885         (_POSIX_PRIORITIZED_IO): Undefine macro.
5886         (_POSIX_SPIN_LOCKS): Define macro to -1.
5888         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
5889         SA_NODEFER, SA_RESETHAND.
5890         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
5891         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
5892         F_DUPFD_CLOEXEC.
5894 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
5896         * elf/Makefile (pldd-modules): Define unconditionally.
5898 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
5900         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
5902 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5904         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
5905         Return ENOENT when name is empty.
5906         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
5908 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
5910         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
5912         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
5914 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5916         Fix mlock in all cases except non-readable pages.
5917         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
5918         instead of VM_PROT_ALL as parameter to __vm_wire function.
5920         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
5921         (__mkdir): When path is `/', just fail with EEXIST.
5922         * sysdeps/mach/hurd/mkdirat.c: Likewise.
5924 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
5926         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
5927         <sys/uio.h> (for writev).
5928         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
5929         and <sys/param.h> (for MIN).
5931 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
5933         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
5934         REQUESTED_TIME.  Properly set the remaining time and return EINTR
5935         if interrupted.
5937 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
5939         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
5940         Depend on against $(link-rpcuserlibs).
5942 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5944         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
5945         (__libc_stack_end): Do not use attribute_relro.
5946         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
5947         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5948         to libthread-provided value.
5949         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
5950         attribute_relro.
5952 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
5954         [BZ #3748]
5955         * bits/libc-lock.h (__libc_once_get): New macro.
5956         * sysdeps/mach/bits/libc-lock.h: Likewise.
5957         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
5958         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
5959         instead of using implementation details.
5961         * libio/fileops.c: Unconditionally include <kernel-features.h>.
5962         * libio/freopen.c: Likewise.
5963         * libio/freopen64.c: Likewise.
5964         * misc/syslog.c: Likewise.
5965         * nscd/connections.c: Likewise.
5966         * nscd/netgroupcache.c: Likewise.
5967         * sysdeps/posix/getcwd.c: Likewise.
5969 2012-05-10  Roland McGrath  <roland@hack.frob.com>
5971         * math/w_ilogbf.c: Add #include <limits.h>.
5973 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5975         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
5976         path instead of returning without unlocking.
5978         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
5979         immediate-write ioctls.
5980         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
5982 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
5984         * sysdeps/mach/hurd/i386/init-first.c (init): Use
5985         __builtin_frame_address instead of making assumptions about the
5986         location of the return address relative to DATA.  Force early load of
5987         the return address.
5988         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
5989         __builtin_frame_address.
5991         dup3 for GNU Hurd.
5992         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
5993         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
5994         implement dup3 and do some further code clean-ups.
5995         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
5996         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
5998 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6000         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
6002         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
6003         HURD_CRITICAL_END around holding _hurd_dtable_lock.
6004         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
6005         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
6006         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
6007         d->port.lock.
6009         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
6010         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
6011         when handler == SIG_ERR, not when handler != SIG_ERR.
6013 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
6015         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
6016         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
6017         definitions.
6019         accept4 for GNU Hurd.
6020         * include/sys/socket.h (__libc_accept4): New prototype.
6021         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
6022         to implement __libc_accept4.
6023         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
6024         __libc_accept4.
6025         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
6027         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
6028         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
6029         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
6030         signal-defines.sym.
6032 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6034         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6036 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
6038         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
6039         assertion on O_CLOEXEC flag.
6040         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
6041         * hurd/intern-fd.c: Likewise.
6042         * hurd/port2fd.c: Likewise.
6044 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6046         [BZ #3906]
6047         * bits/in.h (IPV6_PKTINFO): Define new macro.
6048         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
6050 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6052         [BZ #13954]
6053         [BZ #13955]
6054         [BZ #13956]
6055         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
6056         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
6057         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
6058         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
6059         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
6060         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
6061         * math/libm-test.inc (logb_test) : Additional logb tests.
6063 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
6064             Andreas Jaeger  <aj@suse.de>
6066         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
6067         * configure: Regenerated.
6068         * config.h.in (LINK_OBSOLETE_RPC): New macro.
6069         * config.make.in (link-obsolete-rpc): New substituted variable.
6070         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
6071         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
6072         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
6073         (shared-only-routines): Don't set it under [link-obsolete-rpc],
6074         so that libc.a contains the symbols.
6075         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
6076         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
6077         * sunrpc/auth_none.c: Likewise.
6078         * sunrpc/auth_unix.c: Likewise.
6079         * sunrpc/authdes_prot.c: Likewise.
6080         * sunrpc/authuxprot.c: Likewise.
6081         * sunrpc/clnt_gen.c: Likewise.
6082         * sunrpc/clnt_perr.c: Likewise.
6083         * sunrpc/clnt_raw.c: Likewise.
6084         * sunrpc/clnt_simp.c: Likewise.
6085         * sunrpc/clnt_tcp.c: Likewise.
6086         * sunrpc/clnt_udp.c: Likewise.
6087         * sunrpc/clnt_unix.c: Likewise.
6088         * sunrpc/des_crypt.c: Likewise.
6089         * sunrpc/des_soft.c: Likewise.
6090         * sunrpc/get_myaddr.c: Likewise.
6091         * sunrpc/key_call.c: Likewise.
6092         * sunrpc/key_prot.c: Likewise.
6093         * sunrpc/netname.c: Likewise.
6094         * sunrpc/pm_getmaps.c: Likewise.
6095         * sunrpc/pm_getport.c: Likewise.
6096         * sunrpc/pmap_clnt.c: Likewise.
6097         * sunrpc/pmap_prot.c: Likewise.
6098         * sunrpc/pmap_prot2.c: Likewise.
6099         * sunrpc/pmap_rmt.c: Likewise.
6100         * sunrpc/publickey.c: Likewise.
6101         * sunrpc/rpc_cmsg.c: Likewise.
6102         * sunrpc/rpc_common.c: Likewise.
6103         * sunrpc/rpc_dtable.c: Likewise.
6104         * sunrpc/rpc_prot.c: Likewise.
6105         * sunrpc/rpc_thread.c: Likewise.
6106         * sunrpc/rtime.c: Likewise.
6107         * sunrpc/svc.c: Likewise.
6108         * sunrpc/svc_auth.c: Likewise.
6109         * sunrpc/svc_raw.c: Likewise.
6110         * sunrpc/svc_run.c: Likewise.
6111         * sunrpc/svc_tcp.c: Likewise.
6112         * sunrpc/svc_udp.c: Likewise.
6113         * sunrpc/svc_unix.c: Likewise.
6114         * sunrpc/svcauth_des.c: Likewise.
6115         * sunrpc/xcrypt.c: Likewise.
6116         * sunrpc/xdr.c: Likewise.
6117         * sunrpc/xdr_array.c: Likewise.
6118         * sunrpc/xdr_float.c: Likewise.
6119         * sunrpc/xdr_intXX_t.c: Likewise.
6120         * sunrpc/xdr_mem.c: Likewise.
6121         * sunrpc/xdr_rec.c: Likewise.
6122         * sunrpc/xdr_ref.c: Likewise.
6123         * sunrpc/xdr_sizeof.c: Likewise.
6124         * sunrpc/xdr_stdio.c: Likewise.
6126 2012-05-10  Roland McGrath  <roland@hack.frob.com>
6128         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
6129         change.  Update copyright years.
6131 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
6133         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
6135 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
6136             Joseph Myers  <joseph@codesourcery.com>
6137             Paul Pluzhnikov  <ppluzhnikov@google.com>
6139         [BZ #14012]
6140         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
6141         requiring rpcgen.
6142         [cross-compiling] (extra-libs): Likewise.
6143         [cross-compiling] (extra-libs-others): Likewise.
6144         [cross-compiling] (librpcsvc-routines): Likewise.
6145         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
6146         [cross-compiling] (omit-deps): Likewise.
6147         (sunrpc-CPPFLAGS): New variable.
6148         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
6149         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
6150         (cross-rpcgen-objs): New variable.
6151         (extra-objs): Append $(cross-rpcgen-objs).
6152         ($(cross-rpcgen-objs)): New rule.
6153         ($(objpfx)cross-rpcgen): Likewise.
6154         (rpcgen-cmd): Define to use $(built-program-file).  Expand
6155         comment.
6156         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
6157         ($(objpfx)x%.stmp): Likewise.
6158         * sunrpc/proto.h [IS_IN_build] (_): Define.
6159         [IS_IN_build] (_libc_intl_domainname): Likewise.
6161 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
6163         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
6164         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
6165         and R_X86_64_TPOFF64.
6167 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
6169         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
6170         sysdeps/unix/sysv/syscalls.list.
6171         (stime): Likewise.
6172         (utime): Likewise.
6173         * sysdeps/unix/sysv/syscalls.list: Remove file.
6175 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
6177         [BZ #3440]
6178         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
6179         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
6180         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
6181         (__LC_IDENTIFICATION): Make these macros useful in #if
6182         expressions, as required by C99.
6184 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
6186         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
6187         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
6188         after this.
6190 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
6192         * stdlib/longlong.h: Updated from GCC.
6194 2012-05-09  Andreas Jaeger  <aj@suse.de>
6196         * nscd/nscd.c (run_modes): Make named enum, reorder so that
6197         default is first entry.
6198         (run_mode): Set type.
6199         (main): Remove informal message about syslog.
6200         (options): Fix typo.
6202         [BZ #14053]
6203         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
6204         to asm.
6205         (lrint): Likewise.
6206         (llrintf): Likewise.
6207         (llrint): Likewise.
6208         (rint): Likewise.
6209         (rintf): Likewise.
6210         (nearbyint): Likewise.
6211         (nearbyintf): Likewise.
6213 2012-05-09  Andreas Jaeger  <aj@suse.de>
6214             Pedro Alves  <palves@redhat.com>
6216         * nscd/nscd.c (run_mode): Use enum.
6217         (main): Cleanup coding style issue.
6219 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
6220             Andreas Jaeger  <aj@suse.de>
6222         * nscd/nscd.c (go_background): Replaced with...
6223         (run_mode): ... this.
6224         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
6225         (options): Add -F --foreground.
6226         (main): Implement it.
6227         (parse_opt): Parse it.
6229 2012-05-09  Andreas Jaeger  <aj@suse.de>
6231         [BZ #14083]
6232         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
6233         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
6234         -Wconversion warning.
6235         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
6236         Likewise.
6238 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
6240         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
6241         == 0.
6242         (LC_ALL): Use macro-int-constant.
6243         (LC_COLLATE): Likewise.
6244         (LC_CTYPE): Likewise.
6245         (LC_MESSAGES): Likewise.
6246         (LC_MONETARY): Likewise.
6247         (LC_NUMERIC): Likewise.
6248         (LC_TIME): Likewise.
6249         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
6250         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
6251         [ISO || ISO99 || ISO11] (*_t): Do not allow.
6252         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
6253         Specify type.
6254         [C99-based standards] (float_t): Expect type.
6255         [C99-based standards] (double_t): Expect type.
6256         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
6257         type.
6258         [C99-based standards] (HUGE_VALL): Likewise.
6259         [C99-based standards] (INFINITY): Likewise.
6260         [C99-based standards] (NAN): Likewise.
6261         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
6262         [C99-based standards] (FP_NAN): Likewise.
6263         [C99-based standards] (FP_NORMAL): Likewise.
6264         [C99-based standards] (FP_SUBNORMAL): Likewise.
6265         [C99-based standards] (FP_ZERO): Likewise.
6266         [C99-based standards] (FP_FAST_FMA): Use
6267         optional-macro-int-constant.  Specify type.  Require == 1.
6268         [C99-based standards] (FP_FAST_FMAF): Likewise.
6269         [C99-based standards] (FP_FAST_FMAL): Likewise.
6270         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
6271         [C99-based standards] (FP_ILOGBNAN): Likewise.
6272         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
6273         Specify type.
6274         [C99-based standards] (MATH_ERREXCEPT): Likewise.
6275         [C99-based standards] (math_errhandling): Specify type.
6276         [ISO99 || ISO11] (signgam): Do not allow.
6277         [non-C99-based standards] (copysignf): Do not allow.
6278         [non-C99-based standards] (exp2f): Likewise.
6279         [non-C99-based standards] (log2f): Likewise.
6280         [non-C99-based standards] (modff): Allow.
6281         [non-C99-based standards] (erff): Do not allow.
6282         [non-C99-based standards] (erfcf): Likewise.
6283         [non-C99-based standards] (gammaf): Likewise.
6284         [non-C99-based standards] (hypotf): Likewise.
6285         [non-C99-based standards] (j0f): Likewise.
6286         [non-C99-based standards] (j1f): Likewise.
6287         [non-C99-based standards] (jnf): Likewise.
6288         [non-C99-based standards] (lgammaf): Likewise.
6289         [non-C99-based standards] (tgammaf): Likewise.
6290         [non-C99-based standards] (y0f): Likewise.
6291         [non-C99-based standards] (y1f): Likewise.
6292         [non-C99-based standards] (ynf): Likewise.
6293         [non-C99-based standards] (isnanf): Likewise.
6294         [non-C99-based standards] (acoshf): Likewise.
6295         [non-C99-based standards] (asinhf): Likewise.
6296         [non-C99-based standards] (atanhf): Likewise.
6297         [non-C99-based standards] (cbrtf): Likewise.
6298         [non-C99-based standards] (expm1f): Likewise.
6299         [non-C99-based standards] (ilogbf): Likewise.
6300         [non-C99-based standards] (log1pf): Likewise.
6301         [non-C99-based standards] (logbf): Likewise.
6302         [non-C99-based standards] (nextafterf): Likewise.
6303         [non-C99-based standards] (remainderf): Likewise.
6304         [non-C99-based standards] (rintf): Likewise.
6305         [non-C99-based standards] (scalbf): Likewise.
6306         [non-C99-based standards] (copysignl): Likewise.
6307         [non-C99-based standards] (exp2l): Likewise.
6308         [non-C99-based standards] (log2l): Likewise.
6309         [non-C99-based standards] (modfl): Allow.
6310         [non-C99-based standards] (erfl): Do not allow.
6311         [non-C99-based standards] (erfcl): Likewise.
6312         [non-C99-based standards] (gammal): Likewise.
6313         [non-C99-based standards] (hypotl): Likewise.
6314         [non-C99-based standards] (j0l): Likewise.
6315         [non-C99-based standards] (j1l): Likewise.
6316         [non-C99-based standards] (jnl): Likewise.
6317         [non-C99-based standards] (lgammal): Likewise.
6318         [non-C99-based standards] (tgammal): Likewise.
6319         [non-C99-based standards] (y0l): Likewise.
6320         [non-C99-based standards] (y1l): Likewise.
6321         [non-C99-based standards] (ynl): Likewise.
6322         [non-C99-based standards] (isnanl): Likewise.
6323         [non-C99-based standards] (acoshl): Likewise.
6324         [non-C99-based standards] (asinhl): Likewise.
6325         [non-C99-based standards] (atanhl): Likewise.
6326         [non-C99-based standards] (cbrtl): Likewise.
6327         [non-C99-based standards] (expm1l): Likewise.
6328         [non-C99-based standards] (ilogbl): Likewise.
6329         [non-C99-based standards] (log1pl): Likewise.
6330         [non-C99-based standards] (logbl): Likewise.
6331         [non-C99-based standards] (nextafterl): Likewise.
6332         [non-C99-based standards] (remainderl): Likewise.
6333         [non-C99-based standards] (rintl): Likewise.
6334         [non-C99-based standards] (scalbl): Likewise.
6335         [ISO || ISO99 || ISO11] (*_t): Do not allow.
6336         [non-C99-based standards] (FP_*): Do not allow.
6337         [C99-based standards] (FP_*): Change to
6338         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
6339         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
6340         allow.
6341         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
6342         (SIG_ERR): Likewise.
6343         [X/Open-based standards] (SIG_HOLD): Likewise.
6344         (SIG_IGN): Likewise.
6345         (SIGABRT): Use macro-int-constant.  Specify type.  Require
6346         positive value.
6347         (SIGFPE): Likewise.
6348         (SIGILL): Likewise.
6349         (SIGINT): Likewise.
6350         (SIGSEGV): Likewise.
6351         (SIGTER): Likewise.
6352         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
6353         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
6354         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
6355         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
6356         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
6357         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
6358         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
6359         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
6360         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
6361         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
6362         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
6363         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
6364         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
6365         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
6366         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
6367         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
6368         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
6369         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
6370         [X/Open-based standards] (SIGTRAP): Likewise.
6371         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
6372         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
6373         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
6374         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
6375         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
6376         allow.
6378 2012-05-08  Ian Wienand  <ianw@vmware.com>
6380         [BZ #14080]
6381         * time/tzset.c (__tzset_parse_tz): Update default rules for
6382         daylight time changes in the Energy Policy Act of 2005.
6384 2012-05-09  Andreas Jaeger  <aj@suse.de>
6386         [BZ #13983]
6387         * elf/ldconfig.c (parse_conf): Change string to make clear that
6388         ldconfig only issued a warning if ld.so.conf does not exist.
6390 2012-05-08  David S. Miller  <davem@davemloft.net>
6392         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
6393         movxtod instead of popping the value on the stack.
6395         * sysdeps/sparc/fpu/libm-test-ulps: Update.
6397 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
6399         * config.h.in: Add HAVE_ARM_PCS_VFP.
6401 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
6403         [BZ #13979]
6404         * include/features.h: Warn if user requests __FORTIFY_SOURCE
6405         checking but the checks are disabled for any reason.
6407 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
6409         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
6410         and ELF64_R_TYPE with ELFW(R_TYPE).
6412 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
6414         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
6415         (ulimit): Likewise.
6417         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
6418         (settimeofday): Likewise.
6420 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
6422         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
6423         a struct th_u2 inside the union, and move tu_block/tu_code into
6424         a new th_u3 union of tu_block/tu_code inside of that.  Move
6425         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
6426         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
6427         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
6428         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
6429         (th_stuff): Change to th_u1.tu_stuff.
6430         (th_data): Define.
6431         (th_msg): Change to th_u1.th_u2.tu_data.
6433 2012-05-07  David S. Miller  <davem@davemloft.net>
6435         * sysdeps/sparc/fpu/libm-test-ulps: Update.
6437         [BZ #14074]
6438         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
6439         (SETUP_PIC_REG): Use it.
6440         (SETUP_PIC_REG_LEAF): Use it.
6442 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
6444         [BZ #13885]
6445         [BZ #13923]
6446         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
6447         USE_AS_EXPM1L.
6448         (EXPL_FINITE): Likewise.
6449         (FLDLOG): Likewise.
6450         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
6451         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
6452         e_expl.S.
6453         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
6454         USE_AS_EXPM1L.
6455         (EXPL_FINITE): Likewise.
6456         (FLDLOG): Likewise.
6457         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
6458         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
6459         e_expl.S.
6460         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
6461         test of -max_value argument for long double.
6462         * sysdeps/i386/fpu/libm-test-ulps: Update.
6463         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6465 2012-05-06  David S. Miller  <davem@davemloft.net>
6467         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
6468         quad soft-float symbols whose references which are compiler
6469         generated.
6470         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
6472 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
6474         [BZ #13884]
6475         [BZ #13914]
6476         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
6477         USE_AS_EXP10L.
6478         (EXPL_FINITE): Likewise.
6479         (FLDLOG): Likewise.
6480         (c0): Likewise.
6481         (c1): Likewise.
6482         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
6483         Adjust comments for base varying.
6484         (__expl_finite): Change alias to EXPL_FINITE.
6485         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
6486         e_expl.S.
6487         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
6488         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
6489         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
6490         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
6491         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
6492         USE_AS_EXP10L.
6493         (EXPL_FINITE): Likewise.
6494         (FLDLOG): Likewise.
6495         (c0): Likewise.
6496         (c1): Likewise.
6497         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
6498         Adjust comments for base varying.
6499         (__expl_finite): Change alias to EXPL_FINITE.
6500         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
6501         tests for bugs.
6502         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6504         [BZ #14064]
6505         * math/libm-test.inc (check_float_internal): Correct ulp
6506         calculation for subnormal expected results.
6508 2012-05-06  Andreas Jaeger  <aj@suse.de>
6510         * Makeconfig (+math-flags): New, set to -frounding-math.
6511         (+cflags): Add +math-flags so that all of glibc gets compiled with
6512         it.
6514         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
6516 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
6518         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
6519         Disable one test.
6521         [BZ #13787]
6522         [BZ #13922]
6523         [BZ #14036]
6524         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
6525         (__ieee754_expl): Allow for and saturate large arguments.
6526         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
6527         (u_threshold): Likewise.
6528         (__exp): Call __ieee754_exp before checking for overflow and
6529         underflow.
6530         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
6531         (u_threshold): Likewise.
6532         (__expf): Call __ieee754_expf before checking for overflow and
6533         underflow.
6534         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
6535         (u_threshold): Likewise.
6536         (__expl): Call __ieee754_expl before checking for overflow and
6537         underflow.
6538         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
6539         (__ieee754_expl): Allow for and saturate large arguments.
6540         * math/libm-test.inc (exp_test): Add another test.  Do not allow
6541         missing overflow exception on overflow.
6542         (expm1_test): Do not allow missing overflow exception on overflow.
6544         * sysdeps/i386/fpu/e_expl.c: Move to ...
6545         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
6546         rather than using inline asm.
6547         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
6548         * sysdeps/x86_64/fpu/e_expl.S: Copy from
6549         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
6551         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
6552         (nice): Likewise.
6553         (poll): Likewise.
6554         (signal): Likewise.
6555         (time): Likewise.
6556         (times): Likewise.
6558 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
6560         * sysdeps/unix/syscalls.list (adjtime): Add entry from
6561         sysdeps/unix/common/syscalls.list.
6562         (fchmod): Likewise.
6563         (fchown): Likewise.
6564         (ftruncate): Likewise.
6565         (getrusage): Likewise.
6566         (gettimeofday): Likewise.
6567         (setpgid): Likewise.
6568         (setregid): Likewise.
6569         (setreuid): Likewise.
6570         (sigaction): Likewise.
6571         (truncate): Likewise.
6572         (vhangup): Likewise.
6573         * sysdeps/unix/common/syscalls.list: Remove file.
6574         * sysdeps/unix/bsd/Implies: Don't include unix/common.
6575         * sysdeps/unix/sysv/linux/Implies: Likewise.
6577 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
6579         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
6580         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
6581         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
6582         Moved to ...
6583         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
6584         Here.
6585         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
6586         to ...
6587         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
6588         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
6589         to ...
6590         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
6591         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
6592         to ...
6593         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
6594         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
6595         to ...
6596         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
6597         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
6598         to ...
6599         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
6600         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
6601         to ...
6602         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
6603         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
6604         to ...
6605         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
6606         Here.
6607         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
6608         to ...
6609         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
6610         Here.
6611         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
6612         to ...
6613         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
6614         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
6615         Moved to ...
6616         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
6617         Here.
6618         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
6619         to ...
6620         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
6622 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
6624         * sysdeps/unix/common/bits/dirent.h: Remove file.
6625         * sysdeps/unix/common/bits/fcntl.h: Likewise.
6627         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
6628         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
6629         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
6630         * sysdeps/unix/bsd/isatty.c: Likewise.
6631         * sysdeps/unix/bsd/tcdrain.c: Likewise.
6632         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
6633         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
6635 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6637         [BZ #13563]
6638         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
6639         long double comparison inaccuracies.
6640         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
6641         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6643 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
6645         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
6646         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
6648 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
6650         [BZ #14049]
6651         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
6652         nonzero digits before rounding a hex value.
6653         * stdlib/tst-strtod.c (tests): Add another test.
6655 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
6657         * sysdeps/s390/fpu/libm-test-ulps: Update.
6659 2012-05-03  Andreas Jaeger  <aj@suse.de>
6661         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
6662         does not get optimized out.
6663         (malloc_opt_barrier): New.
6665 2012-05-03  Andreas Jaeger  <aj@suse.de>
6666             Roland McGrath  <roland@hack.frob.com>
6668         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
6669         intermediate file deletion.
6670         (generated): Add .symlist files.
6672 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
6674         [BZ #13775]
6675         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
6676         Redirect under this condition.
6677         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
6678         [__USE_GNU] (__dprintf_chk): Not under this condition.
6679         [__USE_GNU] (__vdprintf_chk): Likewise.
6680         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
6681         under this condition.
6682         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
6683         [__USE_XOPEN2K8] (dprintf): Define under this condition.
6684         [__USE_XOPEN2K8] (vdprintf): Likewise.
6685         [__USE_GNU] (__dprintf_chk): Not under this condition.
6686         [__USE_GNU] (__vdprintf_chk): Likewise.
6687         [__USE_GNU] (dprintf): Likewise.
6688         [__USE_GNU] (vdprintf): Likewise.
6690 2012-05-03  Roland McGrath  <roland@hack.frob.com>
6692         * elf/Makefile (common-generated): Set this instead of generated for
6693         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
6694         $(all-built-dso)-derived lists.
6696 2012-05-03  Andreas Jaeger  <aj@suse.de>
6698         * sysdeps/i386/fpu/libm-test-ulps: Update.
6700         * FAQ: Removed.
6701         * FAQ.in: Likewise.
6702         * scripts/gen-FAQ.pl: Likewise.
6703         * manual/install.texi (Installation): Point to online location of
6704         FAQ.
6705         * Makefile (files-for-dist): Remove FAQ.
6706         (FAQ): Remove.
6708 2012-05-02  Allan McRae  <allan@archlinux.org>
6710         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
6711         (LDFLAGS-reldepmod5.so): Likewise.
6712         (LDFLAGS-reldep6mod1.so): Likewise.
6713         (LDFLAGS-reldep6mod4.so): Likewise.
6714         (LDFLAGS-reldep8mod3.so): Likewise.
6715         (LDFLAGS-unload4mod1.so): Likewise.
6716         (LDFLAGS-unload4mod2.so): Likewise.
6717         (LDFLAGS-tst-initorder): Likewise.
6718         (LDFLAGS-tst-initordera2.so): Likewise.
6719         (LDFLAGS-tst-initordera3.so): Likewise.
6720         (LDFLAGS-tst-initordera4.so): Likewise.
6721         (LDFLAGS-tst-initorderb2.so): Likewise.
6722         (LDFLAGS-noload): Likewise.
6723         (LDFLAGS-next): Likewise.
6724         (LDFLAGS-order2mod1.so): Likewise.
6725         (LDFLAGS-order2mod2.so): Likewise.
6726         (LDFLAGS-tst-initorder2): Likewise.
6727         (LDFLAGS-tst-initorder2a.so): Likewise.
6728         (LDFLAGS-tst-initorder2b.so): Likewise.
6729         (LDFLAGS-tst-initorder2c.so): Likewise.
6730         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
6732 2012-05-02  David S. Miller  <davem@davemloft.net>
6734         * sysdeps/sparc/fpu/libm-test-ulps: Update.
6736 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
6738         [BZ #14055]
6739         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
6741 2012-05-02  Andreas Jaeger  <aj@suse.de>
6743         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
6744         since we manipulate rounding mode.
6745         (CPPFLAGS-test-idouble.c): Likewise.
6746         (CPPFLAGS-test-ifloat.c): Likewise.
6747         (CFLAGS-test-ldouble.c): Likewise.
6748         (CFLAGS-test-double.c): Likewise.
6749         (CFLAGS-test-float.c): Likewise.
6750         (CFLAGS-test-misc.c): Likewise.
6751         (CFLAGS-test-test-fenv.c): Likewise.
6753 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6755         [BZ #2550]
6756         [BZ #2570]
6757         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
6758         comparisons to determine direction to adjust input.
6760 2012-05-01  Roland McGrath  <roland@hack.frob.com>
6762         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
6763         output to the target.
6765         * scripts/localplt.awk: New file.
6766         * elf/Makefile ($(objpfx)check-localplt): Target removed.
6767         (check-localplt-CFLAGS): Variable removed.
6768         ($(all-built-dso:=.jmprel)): New static pattern rule.
6769         (generated): Add those targets.
6770         (localplt-built-dso): New variable.
6771         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
6773         * elf/check-localplt.c: File removed.
6775         * scripts/check-execstack.awk: New file.
6776         * elf/Makefile ($(objpfx)check-execstack): Target removed.
6777         (check-execstack-CFLAGS): Variable removed.
6778         ($(objpfx)check-execstack.h): Target removed.
6779         ($(objpfx)execstack-default): New target.
6780         (generated): Add that instead of check-execstack.h.
6781         ($(all-built-dso:=.phdr)): New static pattern rule.
6782         (generated): Add those targets.
6783         * elf/check-execstack.c: File removed.
6785         * scripts/check-textrel.awk: New file.
6786         * elf/Makefile ($(objpfx)check-textrel): Target removed.
6787         (check-textrel-CFLAGS): Variable removed.
6788         (all-built-dso): Use := to define.o
6789         ($(all-built-dso:=.dyn)): New static pattern rule.
6790         (generated): Add those targets.
6791         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
6792         * config.make.in (READELF): New substituted variable.
6793         * elf/check-textrel.c: File removed.
6795 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
6797         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
6798         allow.
6799         * conform/data/ctype.h-data [C99-based standards] (isblank):
6800         Expect function.
6801         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
6802         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
6803         [ISO || ISO99 || ISO11] (*_t): Do not allow.
6804         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
6805         Specify type.  Require positive value.
6806         (EILSEQ): Likewise.
6807         (ERANGE): Likewise.
6808         [ISO || POSIX] (EILSEQ): Do not expect.
6809         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
6810         Specify type.  Require positive value.
6811         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
6812         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
6813         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
6814         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
6815         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
6816         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
6817         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
6818         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
6819         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
6820         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
6821         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
6822         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
6823         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
6824         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
6825         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
6826         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
6827         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
6828         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
6829         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
6830         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
6831         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
6832         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
6833         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
6834         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
6835         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
6836         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
6837         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
6838         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
6839         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
6840         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
6841         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
6842         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
6843         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
6844         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
6845         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
6846         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
6847         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
6848         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
6849         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
6850         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
6851         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
6852         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
6853         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
6854         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
6855         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
6856         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
6857         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
6858         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
6859         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
6860         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
6861         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
6862         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
6863         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
6864         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
6865         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
6866         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
6867         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
6868         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
6869         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
6870         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
6871         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
6872         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
6873         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
6874         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
6875         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
6876         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
6877         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
6878         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
6879         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
6880         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
6881         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
6882         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
6883         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
6884         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
6885         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
6886         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
6887         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
6888         Require >= 2.
6889         (FLT_ROUNDS): Expect as macro, not constant.
6890         (FLT_MANT_DIG): Use macro-int-constant.
6891         (DBL_MANT_DIG): Likewise.
6892         (LDBL_MANT_DIG): Likewise.
6893         (FLT_DIG): Likewise.
6894         (DBL_DIG): Likewise.
6895         (LDBL_DIG): Likewise.
6896         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
6897         (DBL_MIN_EXP): Likewise.
6898         (LDBL_MIN_EXP): Likewise.
6899         (FLT_MAX_EXP): Use macro-int-constant.
6900         (DBL_MAX_EXP): Likewise.
6901         (LDBL_MAX_EXP): Likewise.
6902         (FLT_MAX_10_EXP): Likewise.
6903         (DBL_MAX_10_EXP): Likewise.
6904         (LDBL_MAX_10_EXP): Likewise.
6905         (FLT_MAX): Use macro-constant.
6906         (DBL_MAX): Likewise.
6907         (LDBL_MAX): Likewise.
6908         (FLT_EPSILON): Use macro-constant.  Give upper bound.
6909         (DBL_EPSILON): Likewise.
6910         (LDBL_EPSILON): Likewise.
6911         (FLT_MIN): Likewise.
6912         (DBL_MIN): Likewise.
6913         (LDBL_MIN): Likewise.
6914         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
6915         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
6916         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
6917         [ISO11] (FLT_HAS_SUBNORM): Likewise.
6918         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
6919         [ISO11] (DBL_DECIMAL_DIG): Likewise.
6920         [ISO11] (FLT_DECIMAL_DIG): Likewise.
6921         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
6922         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
6923         [ISO11] (FLT_TRUE_MIN): Likewise.
6924         [ISO11] (LDBL_TRUE_MIN): Likewise.
6925         [ISO || ISO99 || ISO11] (*_t): Do not allow.
6926         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
6927         (SCHAR_MIN): Use macro-int-constant.  Specify type.
6928         (SCHAR_MAX): Likewise.
6929         (UCHAR_MAX): Likewise.
6930         (CHAR_MIN): Likewise.
6931         (CHAR_MAX): Likewise.
6932         (MB_LEN_MAX): Use macro-int-constant.
6933         (SHRT_MIN): Use macro-int-constant.  Specify type.
6934         (SHRT_MAX): Likewise.
6935         (USHRT_MAX): Likewise.
6936         (INT_MAX): Likewise.
6937         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
6938         bound negative.
6939         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
6940         bound with "U".
6941         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
6942         bound with "L".
6943         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
6944         bound negative.  Suffix upper bound with "L".
6945         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
6946         bound with "UL".
6947         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
6948         Specify type.
6949         [C99-based standards] (LLONG_MAX): Likewise.
6950         [C99-based standards] (ULLONG_MAX): Likewise.
6951         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
6952         == 0.
6953         [ISO11] (max_align_t): Require type.
6954         [ISO || ISO99 || ISO11] (*_t): Do not allow.
6956         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
6957         from $CFLAGS, without defining away __attribute__ calls.
6958         (checknamespace): Use $CFLAGS_namespace.
6960         * conform/conformtest.pl (@keywords): Only include C99 keywords
6961         for standards based on C99 or C11.
6963         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
6964         Disable tests.
6965         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
6966         UNIX98]: Likewise.
6968         * conform/conformtest.pl: Handle "macro-int-constant" and test for
6969         usability of symbols in #if.
6971         * conform/conformtest.pl: If macro or constant types start
6972         "promoted:", expect the symbol to be of the following type
6973         promoted by the integer promotions.
6975         * conform/conformtest.pl: Parse all "constant" and "macro" lines
6976         in one place.  Also handle "macro-constant".
6978         * conform/conformtest.pl: Only accept expected macro values with
6979         "==".  Parse all "macro" lines in one place.
6980         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
6982         * conform/conformtest.pl: Handle braced types on "constant" lines
6983         instead of handling "typed-constant".
6984         * conform/data/signal.h-data: Use "constant" instead of
6985         "typed-constant".
6987         * conform/conformtest.pl: Handle "optional-" at start of lines in
6988         one place rather than duplicating several cases.  Handle each
6989         format of "macro" line with initial "optional-".
6991         * conform/conformtest.pl: Only accept expected constant or
6992         optional-constant values with "==".  Parse all "constant" lines in
6993         one place.  Parse all "optional-constant" lines in one place.
6994         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
6995         * conform/data/fmtmsg.h-data: Likewise.
6996         * conform/data/netinet/in.h-data: Likewise.
6997         * conform/data/tar.h-data: Likewise.
6998         * conform/data/limits.h-data: Use "==" form on "constant" and
6999         "optional-constant" lines.
7001         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
7002         Use -std=c99 for XOPEN2K.
7003         (@knownproblems): Remove.
7004         (newtoken): Don't check %isknown.
7006         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
7007         Do not expect macro.
7008         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
7009         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
7010         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
7011         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
7012         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
7013         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
7014         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
7015         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
7016         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
7017         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
7018         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
7019         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
7020         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
7021         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
7022         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
7023         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
7024         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
7025         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
7026         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
7027         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
7028         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
7029         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
7030         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
7031         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
7032         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
7033         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
7034         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
7035         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
7036         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
7037         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
7038         [XPG3] (acosh): Likewise.
7039         [XPG3] (asinh): Likewise.
7040         [XPG3] (atanh): Likewise.
7041         [XPG3] (cbrt): Likewise.
7042         [XPG3] (expm1): Likewise.
7043         [XPG3] (ilogb): Likewise.
7044         [XPG3] (log1p): Likewise.
7045         [XPG3] (logb): Likewise.
7046         [XPG3] (nextafter): Likewise.
7047         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
7048         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
7049         [XPG3] (remainder): Likewise.
7050         [XPG3] (rint): Likewise.
7051         [XPG3 || XPG4 || UNIX98] (round): Likewise.
7052         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
7053         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
7054         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
7055         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
7056         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
7057         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
7058         [UNIX98 || XOPEN2K] (scalb): Expect.
7059         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
7060         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
7061         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
7062         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
7063         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
7064         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
7065         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
7066         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
7067         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
7068         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
7069         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
7070         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
7071         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
7072         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
7073         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
7074         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
7075         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
7076         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
7077         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
7078         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
7079         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
7080         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
7081         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
7082         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
7083         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
7084         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
7085         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
7086         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
7087         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
7088         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
7089         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
7090         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
7091         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
7092         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
7093         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
7094         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
7095         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
7096         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
7097         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
7098         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
7099         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
7100         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
7101         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
7102         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
7103         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
7104         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
7105         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
7106         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
7107         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
7108         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
7109         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
7110         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
7111         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
7112         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
7113         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
7114         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
7115         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
7116         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
7117         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
7118         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
7119         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
7120         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
7121         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
7122         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
7123         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
7124         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
7125         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
7126         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
7127         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
7128         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
7129         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
7130         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
7131         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
7132         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
7133         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
7134         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
7135         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
7136         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
7137         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
7138         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
7139         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
7140         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
7141         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
7142         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
7143         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
7144         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
7145         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
7146         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
7147         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
7148         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
7149         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
7150         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
7151         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
7152         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
7153         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
7154         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
7155         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
7156         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
7157         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
7158         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
7159         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
7160         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
7161         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
7162         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
7163         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
7164         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
7165         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
7166         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
7167         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
7168         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
7169         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
7170         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
7171         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
7172         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
7173         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
7174         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
7175         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
7176         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
7177         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
7178         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
7179         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
7180         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
7181         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
7182         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
7183         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
7184         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
7185         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
7186         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
7187         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
7188         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
7189         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
7190         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
7191         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
7192         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
7193         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
7194         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
7195         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
7197         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
7198         _XOPEN_SOURCE_EXTENDED for XPG4.
7200         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
7202         * Makeconfig (localtime): Remove variable.
7203         (inst_localtime-file): Likewise.
7205 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
7207         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
7208         Update.
7209         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
7210         Update.
7211         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
7212         Update.
7213         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
7214         Update.
7215         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
7216         Update.
7217         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
7218         Update.
7219         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
7220         Update.
7221         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
7222         Update.
7223         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
7224         Update.
7226 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
7228         [BZ #2550]
7229         [BZ #2570]
7230         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
7231         comparisons to determine direction to adjust input.
7232         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
7233         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
7234         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
7235         Likewise.
7236         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
7237         Likewise.
7238         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
7239         Likewise.
7240         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
7241         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
7242         Likewise.
7243         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
7244         Likewise.
7245         * math/libm-test.inc (nexttoward_test): Add more tests.
7247 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
7249         [BZ #14040]
7250         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
7251         in version GLIBC_2.1, not GLIBC_2.0.
7252         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
7253         Likewise.
7255 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
7257         [BZ #13942]
7258         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
7259         (1 - x) * (1 + x).
7260         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
7261         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
7262         * math/libm-test.inc (acos_test): Add more tests.
7263         (asin_test): Likewise.
7264         * sysdeps/i386/fpu/libm-test-ulps: Update.
7265         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7267         [BZ #14034]
7268         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
7269         of square root.
7270         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
7271         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
7272         * math/libm-test.inc (acos_test_tonearest): New function.
7273         (acos_test_towardzero): Likewise.
7274         (acos_test_downward): Likewise.
7275         (acos_test_upward): Likewise.
7276         (asin_test_tonearest): Likewise.
7277         (asin_test_towardzero): Likewise.
7278         (asin_test_downward): Likewise.
7279         (asin_test_upward): Likewise.
7280         (main): Call the new functions.
7281         * sysdeps/i386/fpu/libm-test-ulps: Update.
7282         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7284         [BZ #13884]
7285         [BZ #13924]
7286         * math/e_exp10.c: Include <float.h>.
7287         (__ieee754_exp10): Handle underflow here rather than multiplying
7288         large negative argument by M_LN10.
7289         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
7290         of __ieee754_expf.
7291         * math/e_exp10l.c: Include <float.h>.
7292         (__ieee754_exp10l): Handle underflow here rather than multiplying
7293         large negative argument by M_LN10l.
7294         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
7295         spurious overflow exception on underflow.
7297 2012-04-29  Marek Polacek  <polacek@redhat.com>
7299         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
7300         (__fortify_function): New macro.
7301         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
7302         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
7303         __extern_always_inline.
7304         * libio/bits/stdio2.h: Likewise.
7305         * libio/bits/stdio.h: Likewise.
7306         * string/string.h: Likewise.
7307         * string/bits/string3.h: Likewise.
7308         * include/stdio.h: Likewise.
7309         * stdlib/bits/stdlib.h: Likewise.
7310         * stdlib/stdlib.h: Likewise.
7311         * rt/bits/mqueue2.h: Likewise.
7312         * rt/mqueue.h: Likewise.
7313         * posix/bits/unistd.h: Likewise.
7314         * posix/unistd.h: Likewise.
7315         * io/bits/poll2.h: Likewise.
7316         * io/bits/fcntl2.h: Likewise.
7317         * io/fcntl.h: Likewise.
7318         * io/sys/poll.h: Likewise.
7319         * misc/bits/syslog.h: Likewise.
7320         * misc/bits/syslog-ldbl.h: Likewise.
7321         * misc/sys/syslog.h: Likewise.
7322         * socket/bits/socket2.h: Likewise.
7323         * socket/sys/socket.h: Likewise.
7324         * debug/tst-chk1.c: Likewise.
7325         * wcsmbs/bits/wchar2.h: Likewise.
7326         * wcsmbs/bits/wchar-ldbl.h: Likewise.
7327         * wcsmbs/wchar.h: Likewise.
7329 2012-04-29  Andreas Jaeger  <aj@suse.de>
7331         * Makerules (tests): Remove enable-check-abi protection.
7332         (check-abi-warn): Remove.
7333         (check-abi-%): Remove check-abi-warn usage.
7335         * configure.in: Remove check-abi configure option.
7336         * configure: Regenerated.
7337         * config.make.in (enable-check-abi): Remove.
7339 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
7341         [BZ #14033]
7342         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
7343         double functions to double *_finite functions.
7345         [BZ #13941]
7346         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
7347         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
7348         LDBL_MIN_EXP.
7349         * stdio-common/Makefile (tests): Add tst-sprintf3.
7350         * stdio-common/tst-sprintf3.c: New file.
7352         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
7353         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
7355 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
7357         * conform/conformtest.pl: Remove duplicate typed-constant
7358         handling.
7360 2012-04-28  David S. Miller  <davem@davemloft.net>
7362         * Makerules (%.abilist): Add vpath on sysdep_dirs.
7363         (check-abi-%): Remove AWK script prerequisite and explicit
7364         abilist directory.
7365         (check-abi): Rewrite to just diff the symlist with the abilist.
7366         (config-tls, config-abi-config): Delete, no longer used.
7367         (update-abi-%): Remove AWK script and explicit abilist directory.
7368         (update-abi): Rewrite to simply compare and conditionally copy the
7369         symlist and the sysdep abilist file.  Remove update-abi-config
7370         checks.
7371         * abilist/ld.abilist: Remove.
7372         * abilist/libBrokenLocale.abilist: Remove.
7373         * abilist/libanl.abilist: Remove.
7374         * abilist/libcrypt.abilist: Remove.
7375         * abilist/libdl.abilist: Remove.
7376         * abilist/librt.abilist: Remove.
7377         * abilist/libthread_db.abilist: Remove.
7378         * abilist/libutil.abilist: Remove.
7379         * scripts/extract-abilist.awk: Remove.
7380         * scripts/merge-abilist.awk: Remove.
7381         * sysdeps/generic/libcidn.abilist: New file.
7382         * sysdeps/generic/libnss_compat.abilist: New file.
7383         * sysdeps/generic/libnss_db.abilist: New file.
7384         * sysdeps/generic/libnss_dns.abilist: New file.
7385         * sysdeps/generic/libnss_files.abilist: New file.
7386         * sysdeps/generic/libnss_hesiod.abilist: New file.
7387         * sysdeps/generic/libnss_nis.abilist: New file.
7388         * sysdeps/generic/libnss_nisplus.abilist: New file.
7389         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
7390         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
7391         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
7392         file.
7393         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
7394         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
7395         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
7396         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
7397         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
7398         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
7399         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
7400         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
7401         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
7402         file.
7403         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
7404         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
7405         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
7406         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
7407         file.
7408         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
7409         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
7410         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
7411         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
7412         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
7413         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
7414         file.
7415         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
7416         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
7417         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
7418         file.
7419         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
7420         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
7421         New file.
7422         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
7423         New file.
7424         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
7425         New file.
7426         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
7427         New file.
7428         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
7429         New file.
7430         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
7431         New file.
7432         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
7433         New file.
7434         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
7435         New file.
7436         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
7437         New file.
7438         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
7439         New file.
7440         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
7441         New file.
7442         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
7443         New file.
7444         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
7445         New file.
7446         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
7447         file.
7448         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
7449         New file.
7450         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
7451         New file.
7452         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
7453         file.
7454         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
7455         New file.
7456         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
7457         New file.
7458         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
7459         file.
7460         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
7461         New file.
7462         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
7463         New file.
7464         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
7465         New file.
7466         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
7467         New file.
7468         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
7469         New file.
7470         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
7471         New file.
7472         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
7473         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
7474         file.
7475         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
7476         New file.
7477         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
7478         file.
7479         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
7480         file.
7481         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
7482         file.
7483         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
7484         file.
7485         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
7486         file.
7487         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
7488         New file.
7489         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
7490         file.
7491         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
7492         file.
7493         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
7494         New file.
7495         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
7496         file.
7497         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
7498         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
7499         file.
7500         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
7501         New file.
7502         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
7503         file.
7504         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
7505         file.
7506         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
7507         file.
7508         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
7509         file.
7510         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
7511         file.
7512         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
7513         New file.
7514         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
7515         file.
7516         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
7517         file.
7518         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
7519         New file.
7520         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
7521         file.
7522         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
7523         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
7524         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
7525         file.
7526         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
7527         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
7528         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
7529         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
7530         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
7531         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
7532         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
7533         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
7534         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
7535         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
7536         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
7537         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
7538         file.
7539         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
7540         New file.
7541         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
7542         file.
7543         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
7544         file.
7545         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
7546         file.
7547         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
7548         file.
7549         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
7550         file.
7551         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
7552         New file.
7553         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
7554         New file.
7555         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
7556         file.
7557         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
7558         New file.
7559         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
7560         file.
7561         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
7562         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
7563         file.
7564         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
7565         New file.
7566         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
7567         file.
7568         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
7569         file.
7570         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
7571         file.
7572         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
7573         file.
7574         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
7575         file.
7576         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
7577         New file.
7578         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
7579         New file.
7580         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
7581         file.
7582         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
7583         New file.
7584         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
7585         file.
7587 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
7589         * conform/conformtest.pl: Fix typo in handling typed-constant from
7590         allow-header.
7592 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
7594         * README: Cut down references to pre-2.6 Linux kernels and
7595         Linuxthreads.  Update lists of configurations in libc and ports
7596         and sort alphabetically.  Say "or newer" with Linux kernel version
7597         requirements.
7599         * config.h.in [IS_IN_build]: Allow compiling without optimization.
7601 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
7603         [BZ #887]
7604         * math/libm-test.inc (logb_test_downward): New test to expose
7605         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
7606         rounding mode.
7608 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
7610         [BZ #14027]
7611         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
7612         to be done.
7613         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
7614         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
7616 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
7618         * sysdeps/unix/i386/brk.S: Remove file.
7619         * sysdeps/unix/i386/dl-brk.S: Likewise.
7620         * sysdeps/unix/i386/pipe.S: Likewise.
7621         * sysdeps/unix/i386/sigreturn.S: Likewise.
7622         * sysdeps/unix/i386/syscall.S: Likewise.
7623         * sysdeps/unix/i386/vfork.S: Likewise.
7624         * sysdeps/unix/i386/wait.S: Likewise.
7626         * sysdeps/unix/common/tcsendbrk.c: Move to ...
7627         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
7629         * configure.in (arm*-none*): Do not allow without
7630         --enable-hacker-mode.
7631         (netbsd*): Remove case setting base_os.
7632         (386bsd*): Likewise.
7633         (freebsd*): Likewise.
7634         (bsdi*): Likewise.
7635         (osf*): Likewise.
7636         (sunos*): Likewise.
7637         (ultrix*): Likewise.
7638         (newsos*): Likewise.
7639         (dynix*): Likewise.
7640         (*bsd*): Likewise.
7641         (sysv*): Likewise.
7642         (isc*): Likewise.
7643         (esix*): Likewise.
7644         (sco*): Likewise.
7645         (minix*): Likewise.
7646         (irix4*): Likewise.
7647         (irix6*): Likewise.
7648         (solaris[2-9]*): Likewise.
7649         (none): Likewise.
7650         * configure: Regenerated.
7652 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7654         [BZ #11521]
7655         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
7656         overflow or cancellation in calculating denominator.
7657         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
7658         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
7659         down expression to avoid unexpected rounding in newer GCCs.
7660         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
7662 2012-04-26  David S. Miller  <davem@davemloft.net>
7664         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
7665         long-double compat symbols.
7666         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
7667         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
7668         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
7669         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
7670         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
7671         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
7672         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
7673         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
7674         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
7675         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
7676         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
7677         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
7678         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
7680 2012-04-25  David S. Miller  <davem@davemloft.net>
7682         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
7683         HWCAP_* values only after the memory barriers have been defined.
7684         (atomic_full_barrier): Define.
7685         (atomic_read_barrier): Define.
7686         (atomic_write_barrier): Define.
7688 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
7690         * shlib-versions: Add libgcc_s version information.
7691         * sysdeps/generic/libgcc_s.h: Remove.
7692         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
7693         libgcc_s.h.
7694         * sysdeps/gnu/unwind-resume.c: Likewise.
7695         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
7697 2012-04-25  David S. Miller  <davem@davemloft.net>
7699         * sysdeps/unix/sparc/brk.S: Delete.
7700         * sysdeps/unix/sparc/dl-brk.S: Delete.
7701         * sysdeps/unix/sparc/pipe.S: Delete.
7702         * sysdeps/unix/sparc/sysdep.S: Delete.
7703         * sysdeps/unix/sparc/sysdep.h: Delete.
7704         * sysdeps/unix/sparc/vfork.S: Delete.
7705         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
7706         SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
7707         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
7708         ret_ERRVAL, r0, r1, MOVE): Define.
7709         (JUMPTARGET): Remove.
7710         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
7711         sysdeps/unix/sparc/sysdep.h
7712         (ENTRY, END): Remove.
7713         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
7715 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
7717         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
7718         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
7719         -DIS_IN_build.
7721         * timezone/README: Update upstream location and email address for
7722         tzcode and tzdata.
7723         * timezone/zdump.c: Update from tzcode 2012b.
7724         * timezone/zic.c: Likewise.
7726         * configure.in (libc_cv_as_needed): Remove test.
7727         * configure: Regenerated.
7728         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
7729         conditional definition.
7730         [$(have-as-needed) != yes] (no-as-needed): Likewise.
7731         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
7732         * config.make.in (have-as-needed): Remove variable.
7734 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
7735             Paul Pluzhnikov  <ppluzhnikov@google.com>
7737         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
7738         strings correctly.
7740 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
7742         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
7743         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
7744         * sysdeps/sh/strlen.S: Likewise.
7746 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
7748         * sysdeps/unix/fork.S: Remove file.
7749         * sysdeps/unix/i386/fork.S: Likewise.
7750         * sysdeps/unix/sparc/fork.S: Likewise.
7752         * sysdeps/unix/system.c: Remove file.
7753         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
7755         * sysdeps/unix/getegid.S: Remove file.
7756         * sysdeps/unix/geteuid.S: Likewise.
7758 2012-04-24  Roland McGrath  <roland@hack.frob.com>
7760         * scripts/check-localplt.awk: New file.
7761         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
7762         of diff.
7763         * scripts/data/localplt-generic.data: Add a comment.
7765         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
7766         NODE when __dir_mkfile failed.
7767         * sysdeps/mach/hurd/symlinkat.c: Likewise.
7768         Reported by Ludovic Courtès <ludo@gnu.org>.
7770 2012-04-24  Andreas Jaeger  <aj@suse.de>
7772         * Makerules (common-clean): Also remove gen-as-const-headers
7773         files.
7775 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
7777         * Makerules (native-compile): Do not change working directory for
7778         build.  Use $(OUTPUT_OPTION) in command.
7779         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
7781 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7783         [BZ #13886]
7784         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
7785         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
7786         * math/libm-test.inc (floor_test): Add more tests.
7787         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
7789 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
7791         * sysdeps/unix/getdents.c: Remove file.
7792         * sysdeps/unix/sysv/getdents.c: Likewise.
7793         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
7795         * sysdeps/unix/syscalls.list (madvise): Add syscall from
7796         sysdeps/unix/mman/syscalls.list.
7797         (mmap): Likewise.
7798         (mprotect): Likewise.
7799         (msync): Likewise.
7800         (munmap): Likewise.
7801         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
7802         * sysdeps/unix/mman/syscalls.list: Remove.
7803         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
7805         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
7806         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
7807         * configure: Regenerated.
7808         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
7809         $(libgcc_s_suffix).
7810         * config.make.in (libgcc_s_suffix): Remove variable.
7812 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
7814         * sysdeps/unix/sysv/gethostname.c: Move to ...
7815         * sysdeps/posix/gethostname.c: ... here.
7817         * sysdeps/unix/execve.S: Remove file.
7819         * sysdeps/unix/_exit.S: Remove file.
7821 2012-04-23  Andreas Jaeger  <aj@suse.de>
7823         [BZ #13739]
7824         * manual/Makefile: Remove make dist support, there's no
7825         need for a stand-alone documentation tar ball.
7826         (TEXI2DVI): Define always, it's not in Makeconfig.
7827         (dist): Removed.
7828         (tar-it): Removed.
7829         (edition): Removed.
7830         (glibc-doc-$(edition).tar): Removed
7831         (%.Z): Removed.
7832         (%.gz): Removed.
7833         (%.uu): Removed.
7834         (ETAGS): Remove, it's in Makeconfig.
7835         (move-if-change): Remove, it's in Makeconfig.
7837 2013-04-23  Paul Eggert  <eggert@cs.ucla.edu>
7839         [BZ #13970]
7840         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
7841         (strtod, strtof, strtold, strtol, strtoul, strtoq)
7842         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
7843         (strtod_l, strtof_l, strtold_l): Remove __wur.
7844         It is not necessarily an error to ignore strtol's return value.
7845         One can reliably look at the stored endptr to decide whether
7846         the number had valid syntax.
7848 2012-04-21  Andreas Jaeger  <aj@suse.de>
7850         [BZ #13739]
7851         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
7853 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
7855         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
7856         * sysdeps/unix/sysv/Versions: Remove file.
7858 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
7860         [BZ #13927]
7861         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7863 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
7865         [BZ #7064]
7866         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
7867         version from __vm86.
7869 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
7871         * sysdeps/unix/common/lxstat.c: Remove file.
7872         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
7874         * sysdeps/unix/sysv/Makefile: Remove file.
7876         * sysdeps/unix/sysv/direct.h: Remove file.
7878         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
7879         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
7880         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
7881         * sysdeps/unix/sysv/bits/signum.h: Likewise.
7882         * sysdeps/unix/sysv/bits/stat.h: Likewise.
7883         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
7884         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
7886         * sysdeps/unix/sysv/setrlimit.c: Remove file.
7888         * sysdeps/unix/xmknod.c: Remove file.
7889         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
7891         * sysdeps/unix/sysv/settimeofday.c: Remove file.
7893         * sysdeps/unix/sysv/i386/time.S: Remove file.
7895         * sysdeps/unix/fxstat.c: Remove file.
7896         * sysdeps/unix/xstat.c: Likewise.
7897         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
7899         * sysdeps/unix/sysv/sigaction.c: Remove file.
7901         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
7902         (sysdep_headers): Remove variable.
7903         [termio.h not in sysdep_headers] (generated): Likewise.
7904         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
7905         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
7906         * sysdeps/unix/sysv/tcdrain.c: Likewise.
7907         * sysdeps/unix/sysv/tcflow.c: Likewise.
7908         * sysdeps/unix/sysv/tcflush.c: Likewise.
7909         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
7910         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
7911         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
7912         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
7913         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
7915         * sysdeps/unix/siglist.c: Remove file.
7917         * sysdeps/unix/getppid.S: Remove file.
7919         * sysdeps/unix/mkdir.c: Remove file.
7920         * sysdeps/unix/rmdir.c: Likewise.
7922 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
7924         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
7925         ERR_MAX value.
7926         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
7927         errlist-compat value.
7929 2012-04-18  David S. Miller  <davem@davemloft.net>
7931         * sysdeps/generic/memcopy.h (reg_char): Delete.
7932         * debug/strcat_chk.c: Use char, not reg_char.
7933         * debug/strcpy_chk.c: Likewise.
7934         * debug/strncat_chk.c: Likewise.
7935         * debug/strncpy_chk.c: Likewise.
7936         * string/memchr.c: Likewise.
7937         * string/memrchr.c: Likewise.
7938         * string/rawmemchr.c: Likewise.
7939         * string/strcat.c: Likewise.
7940         * string/strchr.c: Likewise.
7941         * string/strchrnul.c: Likewise.
7942         * string/strcmp.c: Likewise.
7943         * string/strcpy.c: Likewise.
7944         * string/strncat.c: Likewise.
7945         * string/strncmp.c: Likewise.
7946         * string/strncpy.c: Likewise.
7948 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
7950         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
7951         __builtin_memcopy is called when src and dest ranges are known to not
7952         overlap.
7954 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
7956         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
7957         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
7958         fwd_align_merge macro call.
7959         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
7960         bwd_align_merge macro call.
7961         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
7963 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
7965         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
7966         bwd_align_merge macros.
7967         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
7968         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
7969         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
7971 2012-04-18  David S. Miller  <davem@davemloft.net>
7973         * sysdeps/sparc/sparc64/memcopy.h: Delete.
7975 2012-04-18  Andreas Jaeger  <aj@suse.de>
7977         [BZ# 6794]
7978         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
7979         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
7980         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
7982         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
7983         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
7984         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
7986         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
7987         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
7988         Adjust for changed ldbl-128 files.
7990         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
7991         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
7992         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
7994 2012-04-17  David S. Miller  <davem@davemloft.net>
7996         * sysdeps/sparc/sparc32/memcopy.h: Delete.
7998 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
8000         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
8001         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
8002         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
8003         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
8004         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
8005         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
8007 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8009         [BZ #6794]
8010         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
8011         * math/libm-test.inc: Add ilogb errno and exception tests.
8012         * math/w_ilogb.c: New file: ilogb wrapper.
8013         * math/w_ilogbf.c: New file: ilogbf wrapper.
8014         * math/w_ilogbl.c: New file: ilogbl wrapper.
8015         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
8016         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
8017         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
8018         exception being thrown with 0.0 as argument.
8019         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
8020         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
8021         exception being thrown with 0.0 as argument.
8022         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
8023         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
8024         exception being thrown with 0.0 as argument.
8025         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
8026         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
8027         exception being thrown with 0.0 as argument.
8028         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
8029         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
8030         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
8031         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
8032         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
8033         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
8034         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
8035         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
8036         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
8038 2012-04-17  Petr Baudis  <pasky@ucw.cz>
8040         * include/sys/uio.h: Change __vector to __iovec to avoid clash
8041         with altivec.
8043 2012-04-16  Marek Polacek  <polacek@redhat.com>
8045         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
8047 2012-04-16  Marek Polacek  <polacek@redhat.com>
8049         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
8050         operands of fdivp instruction.
8052 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
8054         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
8055         * elf/tst-auditmod3b.c: Likewise.
8056         * elf/tst-auditmod4b.c: Likewise.
8057         * elf/tst-auditmod5b.c: Likewise.
8058         * elf/tst-auditmod6b.c: Likewise.
8059         * elf/tst-auditmod6c.c: Likewise.
8060         * elf/tst-auditmod7b.c: Likewise.
8061         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
8062         * sysdeps/x86_64/preconfigure.in: Likewise.
8063         * sysdeps/x86_64/preconfigure: Regenerated.
8065 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
8067         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
8068         __ILP32__.
8070 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
8072         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
8073         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
8075 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
8077         [BZ #13973]
8078         * locale/iso-639.def: Fix gl language name. Spotted by
8079         Yaron Shahrabani.
8081 2012-04-12  Roland McGrath  <roland@hack.frob.com>
8083         [BZ #2074]
8084         * libio/libio.h (__io_write_fn): Update comment.
8086 2012-04-12  Petr Baudis  <pasky@ucw.cz>
8088         [BZ #2074]
8089         * stdio.texi (Hook Functions): The user provided writer function
8090         is not allowed to return -1.
8092 2012-04-11  David S. Miller  <davem@davemloft.net>
8094         * sysdeps/sparc/fpu/libm-test-ulps: Update.
8096 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
8098         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
8099         Add a leading slash to rtkaio.
8101 2012-04-11  Jim Meyering  <meyering@redhat.com>
8103         [BZ #11959]
8104         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
8105         It is not necessarily an error to ignore fwrite's return
8106         value.  One can reliably use ferror to test for errors after
8107         the fact.
8109 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
8111         * bits/types.h (__snseconds_t): New type.
8112         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
8114         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
8115         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
8116         (__SNSECONDS_T_TYPE): Likewise.
8117         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
8118         (__SNSECONDS_T_TYPE): Likewise.
8119         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
8120         (__SNSECONDS_T_TYPE): Likewise.
8122 2012-04-10  Andreas Jaeger  <aj@suse.de>
8124         [BZ #2636]
8125         * manual/time.texi (Processor Time): Return type of times is
8126         elapsed real time since an arbitrary point in the past.
8127         (CPU Time): Move CLK_TCK from here...
8128         (Processor Time): ...to here.  Correct description.
8129         * manual/conf.texi (Constants for Sysconf): Correct description of
8130         _SC_CLK_TCK.
8132 2012-04-10  David S. Miller  <davem@davemloft.net>
8134         [BZ #13967]
8135         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
8136         where the is a gap between DT_REL(A) and DT_JMPREL.
8138 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
8140         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
8141         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
8142         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
8144 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
8146         * elf/dl-support.c (_dl_inhibit_cache): New variable.
8147         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
8148         (dl_main): Handle --inhibit-cache.
8149         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
8150         _dl_inhibit_cache.
8151         * elf/dl-load.c (_dl_map_object): Use it.
8152         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
8154 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
8156         [BZ #13872]
8157         * sysdeps/i386/fpu/e_powl.S (p78): New object.
8158         (__ieee754_powl): Saturate large exponents rather than testing for
8159         overflow of y*log2(x).
8160         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
8161         * math/libm-test.inc (pow_test): Do not permit spurious overflow
8162         exceptions.
8164         [BZ #11521]
8165         * math/s_ctan.c: Include <float.h>.
8166         (__ctan): Avoid internal overflow or cancellation in calculating
8167         denominator.
8168         * math/s_ctanf.c: Likewise.
8169         * math/s_ctanl.c: Likewise.
8170         * math/s_ctanh.c: Likewise.
8171         * math/s_ctanhf.c: Likewise.
8172         * math/s_ctanhl.c: Likewise.
8173         * math/libm-test.inc (ctan_test): Add more tests.
8174         (ctanh_test): Likewise.
8175         * sysdeps/i386/fpu/libm-test-ulps: Update.
8176         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8178 2012-04-09  Andreas Jaeger  <aj@suse.de>
8180         [BZ #6894]
8181         * manual/filesys.texi (Directory Entries): Mention that d_namlen
8182         is an optional BSD extension.
8184         [BZ #10254]
8185         * manual/stdio.texi (Opening Streams): Document additional fopen
8186         parameters.
8188 2012-04-09  Roland McGrath  <roland@hack.frob.com>
8190         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
8191         %eax without telling the compiler.
8193 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
8195         [BZ # 13963]
8196         * manual/install.texi: Use sourceware.org.
8198 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
8200         [BZ #13873]
8201         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
8202         (__ieee754_pow): Generate overflow and underflow using huge*huge
8203         and tiny*tiny rather than just returning constant infinity or zero
8204         for large exponents.
8205         * math/libm-test.inc (pow_test): Require overflow exceptions for
8206         applicable cases of large exponents.
8208         [BZ #706]
8209         * sysdeps/i386/fpu/e_pow.S (p10): New object.
8210         (__ieee754_pow): Use iterative multiplication algorithm only for
8211         integer exponents with absolute value below 1024.  Check for odd
8212         integer exponents when using algorithm for real exponents.
8213         * math/libm-test.inc (pow_test): Add more tests.
8214         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8216 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
8218         [BZ #13705]
8219         * math/libm-test.inc (exp_test): Do not allow overflow exception
8220         on underflow test.
8222 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
8224         [BZ #13705]
8225         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
8226         instead of __kernel_standard_f.
8228 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
8230         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
8231         * sysdeps/x86_64/memset_chk.S: Likewise.
8233 2012-04-08  Andreas Jaeger  <aj@suse.de>
8235         [BZ #10153]
8236         * manual/startup.texi (Environment Access): Describe return value
8237         for putenv and setenv.
8239         [BZ #6895]
8240         * manual/filesys.texi (Directory Entries): Add description for
8241         DT_LNK.
8243         [BZ #6890]
8244         * manual/filesys.texi (Directory Entries): Clarify that it's file
8245         system not operating system in the description of DT_UNKNOWN.
8247         [BZ #6578]
8248         * manual/syslog.texi (closelog): Fix reference, it's openlog.
8250 2012-04-08  Stephen Compall  <s11@member.fsf.org>
8252         [BZ #6649]
8253         * manual/llio.texi (Opening and Closing Files): Add cross
8254         reference to explain mode argument.
8256 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
8258         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
8259         * sysdeps/x86_64/memset_chk.S: Likewise.
8261 2012-04-07  David S. Miller  <davem@davemloft.net>
8263         * elf/elf.h (R_SPARC_WDISP10): Define.
8264         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
8265         R_SPARC_SIZE32.
8266         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
8267         R_SPARC_SIZE64 and R_SPARC_H34.
8269 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
8271         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
8272         conditions and remove no longer applicable assertion.
8274 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
8276         * bits/byteswap.h: Include <features.h>.
8277         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
8278         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
8280 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
8282         * bits/byteswap.h (__bswap_16): Removed.
8283         Include <bits/byteswap-16.h> to get __bswap_16.
8284         * sysdeps/i386/bits/byteswap.h: Likewise.
8285         * sysdeps/s390/bits/byteswap.h: Likewise.
8286         * sysdeps/x86_64/bits/byteswap.h: Likewise.
8287         * bits/byteswap-16.h: New file.
8288         * sysdeps/i386/bits/byteswap-16.h: Likewise.
8289         * sysdeps/s390/bits/byteswap-16.h: Likewise.
8290         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
8291         * string/Makefile (headers): Add bits/byteswap-16.h.
8293 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
8295         [BZ #13895]
8296         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
8297         extra indirection.
8298         * nss/Makefile (tests-static, tests): Add tst-nss-static.
8299         * nss/tst-nss-static.c: New.
8301 2012-04-06  Robert Millan  <rmh@gnu.org>
8303         [BZ #6486]
8304         * manual/llio.texi (File Position Primitive): lseek
8305         refers to WHENCE when it really means OFFSET.
8307 2012-04-06  Andreas Jaeger  <aj@suse.de>
8309         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
8310         strncmp declarations.
8312         * abilist/libc.abilist: Add __poll and __ppoll.
8314 2012-04-05  David S. Miller  <davem@davemloft.net>
8316         * scripts/check-local-headers.sh: Accept a host triplet in the
8317         path matched by the exclude regexp.
8319         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
8320         definition.
8321         * sysdeps/powerpc/powerpc32/dl-machine.h
8322         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
8323         * sysdeps/s390/s390-32/dl-machine.h
8324         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
8325         * sysdeps/sparc/sparc32/dl-machine.h
8326         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
8327         * sysdeps/sparc/sparc64/dl-machine.h
8328         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
8330         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
8331         lazy binding.
8332         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
8333         undefined symbol errors.
8335         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
8336         DT_NEEDED entries.
8338 2012-04-05  Michael Matz  <matz@suse.de>
8340         [BZ #13592]
8341         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
8343 2012-04-05  Andreas Jaeger  <aj@suse.de>
8345         [BZ #13908]
8346         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
8347         comment.
8349 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
8351         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
8352         which ROUND is no valid rounding mode.
8354 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
8356         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
8357         read again.
8358         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
8360 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
8362         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
8363         an exception using FPU order intentionally.
8365 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
8367         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
8368         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
8369         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
8370         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
8372 2012-04-05  Simon Josefsson  <simon@josefsson.org>
8374         [BZ #12340]
8375         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
8376         EINVAL when BUFLEN is too smal.
8378 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
8380         [BZ #13553]
8381         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
8382         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
8384 2012-04-03  Andreas Jaeger  <aj@suse.de>
8386         [BZ #13938]
8387         * manual/setjmp.texi (System V contexts): Fix sentence.
8389         [BZ #13926]
8390         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
8391         New macro for this case.
8392         [!__GNUC__] (__bswap_64): New inline function for this case.
8393         * sysdeps/x86_64/bits/byteswap.h: Likewise.
8394         * bits/byteswap.h: Likewise.
8395         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
8396         ull, guard with __GLIBC_HAVE_LONG_LONG.
8398         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
8399         __GLIBC_HAVE_LONG_LONG.
8401         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
8402         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
8404 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
8406         [BZ #13691]
8407         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
8408         inptr and inend, rather than using last_ch.
8410 2012-04-02  David S. Miller  <davem@davemloft.net>
8412         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
8413         * stdio-common/printf-parse.h (read_int): Change return type to
8414         'int', return -1 on INT_MAX overflow.
8415         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
8416         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
8417         overflows INT_MAX.  Check for overflow of in-format-string precision
8418         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
8419         SIZE_MAX not INT_MAX for integer overflow test.
8420         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
8421         skip the construct in the format string but do not record anything.
8422         * stdio-common/bug22.c: Adjust to test both width/prevision
8423         INT_MAX overflow as well as total length INT_MAX overflow.  Check
8424         explicitly for proper errno values.
8426 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
8428         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
8429         CHAR_MAX.
8430         * string/test-strcmp.c [! WIDE]: Likewise.
8431         * time/tst-mktime2.c: Likewise for INT_MAX.
8432         * string/test-string.h: #include <sys/param.h> for MIN.
8434         * csu/init-first.c (__libc_init_first): Call __ctype_init.
8435         * sysdeps/i386/init-first.c (init): Likewise.
8436         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
8437         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
8438         * sysdeps/sh/init-first.c (init): Likewise.
8440 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
8442         * po/ru.po: Update from translation team.
8443         * po/vi.po: Likewise.
8445 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
8447         * resolv/nss_dns/dns-host.c: Merge copyright years.
8449 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
8451         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
8452         Optimize memcpy with prefetch if
8453         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
8454         src, dst pointers have unequal 16 byte alignments.
8456 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
8458         [BZ #13928]
8459         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
8460         from a CNAME entry and return the minimum ttl for the query.
8461         (gaih_getanswer_slice): Likewise.
8463 2012-03-30  Jeff Law  <law@redhat.com>
8465         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
8466         due to long keys.
8467         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
8468         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
8470         * resolv/nss_dns/dns-host.c: Update copyright year.
8472 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
8474         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8475         requests to save a system call.  Fix check that all bytes are sent.
8477         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
8478         comments for sendmmsg.
8480 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
8482         [BZ #13691]
8483         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
8484         with only 1 character between 0x0041 and 0x01b0.
8485         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
8486         * wcsmbs/tst-mbsnrtowcs.c: New file.
8488 2012-03-29  David S. Miller  <davem@davemloft.net>
8490         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
8491         small copies by hand.
8493 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
8495         [BZ #13761]
8496         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
8497         _nss_compat_initgroups_dyn): Fall back to malloc/free
8498         for large group memberships.
8500 2012-03-28  David S. Miller  <davem@davemloft.net>
8502         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
8503         that branches into memcpy.
8504         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
8505         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
8506         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
8507         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
8508         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
8509         bits.
8510         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
8511         implementation too.
8512         * sysdeps/sparc/mempcpy.S: New file.
8514         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
8515         the IFUNC routine in the libc case.
8516         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
8518         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
8519         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
8520         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
8521         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
8522         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
8523         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
8524         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
8525         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
8527         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
8528         loop to 256 bytes instead of 64 bytes and fix test signedness.
8530         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
8531         * sysdeps/sparc/sparc32/Makefile: rather than here...
8532         * sysdeps/sparc/sparc64/Makefile: and here.
8534 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
8536         * malloc/mallocbug.c: Avoid warnings about unused variables.
8538 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
8540         [BZ #13760]
8541         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
8542         in the right place. Discard and retry query if response is
8543         larger than input buffer size.
8545 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
8547         [BZ #369]
8548         [BZ #2678]
8549         [BZ #3866]
8550         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
8551         x for large integer exponent.
8552         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
8553         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
8554         sign of result as needed afterwards.
8555         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
8556         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
8557         result for underflowing pow the same as for overflow.
8558         (__kernel_standard_l): Handle powl overflow and underflow here
8559         rather than calling __kernel_standard.
8560         * math/libm-test.inc (pow_test): Add more tests.
8562         [BZ #3868]
8563         [BZ #13879]
8564         [BZ #13910]
8565         [BZ #13911]
8566         [BZ #13912]
8567         [BZ #13913]
8568         [BZ #13915]
8569         [BZ #13916]
8570         [BZ #13917]
8571         [BZ #13918]
8572         [BZ #13919]
8573         [BZ #13920]
8574         [BZ #13921]
8575         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
8576         * sysdeps/ieee754/k_standard.c: Include <float.h>.
8577         (__kernel_standard_l): New function.
8578         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
8579         __kernel_standard.
8580         * math/w_acosl.c (__acosl): Likewise.
8581         * math/w_asinl.c (__asinl): Likewise.
8582         * math/w_atan2l.c (__atan2l): Likewise.
8583         * math/w_atanhl.c (__atanhl): Likewise.
8584         * math/w_coshl.c (__coshl): Likewise.
8585         * math/w_exp10l.c (__exp10l): Likewise.
8586         * math/w_exp2l.c (__exp2l): Likewise.
8587         * math/w_fmodl.c (__fmodl): Likewise.
8588         * math/w_hypotl.c (__hypotl): Likewise.
8589         * math/w_j0l.c (__j0l, __y0l): Likewise.
8590         * math/w_j1l.c (__j1l, __y1l): Likewise.
8591         * math/w_jnl.c (__jnl, __ynl): Likewise.
8592         * math/w_lgammal.c (__lgammal): Likewise.
8593         * math/w_log10l.c (__log10l): Likewise.
8594         * math/w_log2l.c (__log2l): Likewise.
8595         * math/w_logl.c (__logl): Likewise.
8596         * math/w_powl.c (__powl): Likewise.
8597         * math/w_remainderl.c (__remainderl): Likewise.
8598         * math/w_scalbl.c (sysv_scalbl): Likewise.
8599         * math/w_sinhl.c (__sinhl): Likewise.
8600         * math/w_sqrtl.c (__sqrtl): Likewise.
8601         * math/w_tgammal.c (__tgammal): Likewise.
8602         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
8603         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
8604         * math/libm-test.inc (acos_test): Add more tests.
8605         (acosh_test): Likewise.
8606         (asin_test): Likewise.
8607         (atanh_test): Likewise.
8608         (exp_test): Likewise.
8609         (exp10_test): Likewise.
8610         (exp2_test): Likewise.
8611         (expm1_test): Likewise.
8612         (lgamma_test): Likewise.
8613         (log_test): Likewise.
8614         (log10_test): Likewise.
8615         (log1p_test): Likewise.
8616         (log2_test): Likewise.
8617         (pow_test): Do not allow some spurious overflow exceptions.
8618         (sqrt_test): Add more tests.
8619         (tgamma_test): Likewise.
8620         (y0_test): Likewise.
8621         (y1_test): Likewise.
8622         (yn_test): Likewise.
8624 2012-03-27  Anton Blanchard  <anton@samba.org>
8626         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
8627         MAP_HUGETLB.
8628         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
8629         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
8630         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
8632 2012-03-27  David S. Miller  <davem@davemloft.net>
8634         * conform/Makefile: Run run-conformtest.sh using $(BASH).
8636         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
8637         have-as-vis3 check.
8639 2012-03-27  Andreas Jaeger  <aj@suse.de>
8641         * sysdeps/x86_64/elf/configure.in: Moved to ...
8642         * sysdeps/x86_64/configure.in: ... here.
8643         * sysdeps/x86_64/elf/start.S: Moved to ...
8644         * sysdeps/x86_64/start.S: ... here.
8645         * sysdeps/x86_64/elf/configure: Delete.
8647         * sysdeps/x86_64/configure.in: Merge contents from
8648         sysdeps/i386/configure.in (without i686 check).
8650         * sysdeps/i386/elf/Versions: Merge into ...
8651         * sysdeps/i386/Versions: ... this.
8652         * sysdeps/i386/elf/Versions: Delete file.
8653         * sysdeps/i386/elf/start.S: Moved to ...
8654         * sysdeps/i386/start.S: ...here.
8655         * sysdeps/i386/elf/configure.in: Merge into...
8656         * sysdeps/i386/configure.in: ...here.
8657         * sysdeps/i386/elf/configure.in: Delete file.
8658         * sysdeps/i386/elf/configure: Delete file.
8660         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
8661         * debug/backtracesyms.c: ... here.
8662         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
8663         * debug/backtracesymsfd.c: ... here.
8664         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
8665         * sysdeps/generic/ifunc-sel.h: ... here.
8667         * sysdeps/unix/i386/start.c: Delete file.
8668         * sysdeps/unix/sparc/start.c: Delete file.
8669         * sysdeps/unix/start.c: Delete file.
8671         * sysdeps/sh/elf/configure.in: Moved to ...
8672         * sysdeps/sh/configure.in: ... here.
8673         * sysdeps/sh/elf/start.S: Moved to ...
8674         * sysdeps/sh/start.S: ... here.
8675         * sysdeps/sh/elf/configure: Delete file.
8677         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
8678         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
8679         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
8680         * sysdeps/powerpc/powerpc64/entry.h: ... here.
8681         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
8682         * sysdeps/powerpc/powerpc64/start.S: here.
8683         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
8684         * sysdeps/powerpc/powerpc64/Makefile: ... this.
8685         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
8686         * sysdeps/powerpc/powerpc64/configure.in: ... this.
8687         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
8689         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
8690         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
8691         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
8692         * sysdeps/powerpc/powerpc32/start.S: ... here.
8693         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
8694         * sysdeps/powerpc/powerpc32/configure.in: ... this.
8695         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
8697         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
8698         * sysdeps/powerpc/ifunc-sel.h: ... here.
8699         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
8700         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
8702         * sysdeps/sparc/elf/configure.in: Moved to ...
8703         * sysdeps/sparc/configure.in: ... here.
8704         * sysdeps/sparc/elf/configure: Delete file.
8705         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
8706         * sysdeps/sparc/sparc32/start.S: ... here.
8707         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
8708         * sysdeps/sparc/sparc64/start.S: ... here.
8709         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
8710         * sysdeps/sparc/sparc32/Makefile: ... this.
8711         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
8712         * sysdeps/sparc/sparc64/Makefile: ... this.
8714         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
8715         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
8716         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
8717         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
8718         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
8719         * sysdeps/s390/s390-32/setjmp.S: ... here.
8720         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
8721         * sysdeps/s390/s390-32/configure.in: ... here.
8722         * sysdeps/s390/s390-32/elf/configure: Delete file.
8723         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
8724         * sysdeps/s390/s390-32/start.S: ... here.
8726         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
8727         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
8728         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
8729         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
8730         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
8731         * sysdeps/s390/s390-64/setjmp.S: ... here.
8732         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
8733         * sysdeps/s390/s390-64/configure.in: ... here
8734         * sysdeps/s390/s390-64/elf/configure: Delete file.
8735         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
8736         * sysdeps/s390/s390-64/start.S: ... here.
8737         * sysdeps/s390/s390-64/elf/configure: Delete.
8739         * configure.in: Remove support for elf directories in sysdeps.
8741         * configure: Regenerated.
8742         * sysdeps/i386/configure: Regenerated.
8743         * sysdeps/powerpc/powerpc32/configure: Regenerated.
8744         * sysdeps/powerpc/powerpc64/configure: Regenerated.
8745         * sysdeps/s390/s390-32/configure: Regenerated.
8746         * sysdeps/s390/s390-64/configure: Regenerated.
8747         * sysdeps/sh/configure: Regenerated.
8748         * sysdeps/sparc/configure: Regenerated.
8749         * sysdeps/x86_64/configure: Regenerated.
8751 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
8753         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8755         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
8756         denormal result into account.
8758 2012-03-25  Roland McGrath  <roland@hack.frob.com>
8760         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
8761         Reported by Allan McRae <allan@archlinux.org>.
8763 2012-03-23  Jeff Law  <law@redhat.com>
8765         * nss/getnssent.c (__nss_getent): Fix typo.
8767 2012-03-23  David S. Miller  <davem@davemloft.net>
8769         * sysdeps/sparc/fpu/libm-test-ulps: Update.
8771 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
8773         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
8774         to pad to uint64_t for each field.
8775         (dl_tls_index): Replace unsigned long with uint64_t.
8777 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
8778         Paul Pluzhnikov  <ppluzhnikov@google.com>
8780         [BZ #6528]
8781         * grp/Makefile (otherlibs): Don't set it.
8782         * inet/Makefile (otherlibs): Likewise.
8783         * login/Makefile (otherlibs): Likewise.
8784         * nscd/Makefile (otherlibs): Likewise.
8785         * posix/Makefile (otherlibs): Likewise.
8786         * pwd/Makefile (otherlibs): Likewise.
8787         * rt/Makefile (otherlibs): Likewise.
8788         * sunrpc/Makefile (otherlibs): Likewise.
8789         * nss/Makefile (otherlibs): Likewise.
8790         Add libnss_files to routines and static-only-routines.
8791         ($(objpfx)getent): Remove rule.
8792         * resolv/Makefile: Add libnss_dns and libresolv to routines and
8793         static-only-routines.
8795 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
8797         [BZ #13892]
8798         * math/s_cexp.c: Include <float.h>.
8799         (__cexp): Handle exp result overflowing not necessarily
8800         overflowing both real and imaginary parts of result.
8801         * math/s_cexpf.c: Likewise.
8802         * math/s_cexpl.c: Likewise.
8803         * math/libm-test.inc (cexp_test): Add more tests.
8804         * sysdeps/i386/fpu/libm-test-ulps: Update.
8805         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8807 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
8809         * include/link.h (ELFW): New macro.
8810         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
8811         Replace ELF64_R_TYPE with ELFW(R_TYPE).
8813 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
8815         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
8816         with uint64_t.
8818 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
8820         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
8821         declaration.
8822         (struct La_x32_retval): Likewise.
8824 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
8826         * sysdeps/x86_64/preconfigure.in: New file.
8827         * sysdeps/x86_64/preconfigure: New generated file.
8829 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
8831         [BZ #13824]
8832         * math/e_exp2l.c: Include <float.h>.
8833         (__ieee754_exp2l): Handle overflow and underflow cases
8834         separately.  Only pass fractional part of argument to
8835         __ieee754_expl.
8836         * math/libm-test.inc (exp2_test): Add more tests.
8838         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
8839         negating x to take absolute value.
8840         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
8841         Likewise.
8842         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
8843         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
8844         Likewise.
8845         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
8846         computing low part if x was negated.
8847         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
8849 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
8851         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
8852         la_x32_gnu_pltexit.
8853         (pltexit): Cast int_retval to ptrdiff_t.
8854         * elf/tst-auditmod3b.c: Likewise.
8855         * elf/tst-auditmod4b.c: Likewise.
8856         * elf/tst-auditmod5b.c: Likewise.
8857         * elf/tst-auditmod6b.c: Likewise.
8858         * elf/tst-auditmod6c.c: Likewise.
8859         * elf/tst-auditmod7b.c: Likewise.
8861         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
8862         and x32_gnu_pltexit.
8864         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
8865         __ELF_NATIVE_CLASS.
8866         (La_x32_regs): New macro.
8867         (La_x32_retval): Likewise.
8868         (la_x32_gnu_pltenter): New function prototype.
8869         (la_x32_gnu_pltexit): Likewise.
8871 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
8873         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
8874         exponent.
8876         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8878         * configure.in (libc_cv_cc_nofma): Check for option to disable
8879         generation of FMA instructions.
8880         * configure: Regenerate.
8881         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
8882         * sysdeps/ieee754/dbl-64/Makefile: New file.
8883         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
8884         Remove brandred-fma4.
8885         (CFLAGS-brandred-fma4.c): Remove.
8886         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
8887         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
8888         define.
8889         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
8890         define.
8892 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
8894         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
8895         LLONG_MAX != LONG_MAX.
8896         (_itoa_word): Use _ITOA_WORD_TYPE on value.
8897         (_fitoa_word): Likewise.
8898         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
8899         LLONG_MAX != LONG_MAX.
8900         * stdio-common/_itowa.h: Include <_itoa.h>.
8901         (_itowa_word): Use _ITOA_WORD_TYPE on value.
8902         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
8903         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
8904         only if not defined.
8905         (_ITOA_WORD_TYPE): Likewise.
8906         (_itoa_word): Use _ITOA_WORD_TYPE on value.
8907         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
8909 2012-03-21  David S. Miller  <davem@davemloft.net>
8911         * sysdeps/sparc/fpu/libm-test-ulps: Update.
8913 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
8915         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
8916         of x86_64 when setting libc_cv_slibdir, libdir and
8917         libc_cv_localedir.
8918         * sysdeps/unix/sysv/linux/configure: Regenerated.
8920 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
8922         * manual/lang.texi (Old Varargs): Remove section.
8923         (How Variadic): Update menu.
8924         (va_start): Do not mention varargs.h.
8926 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
8927             Joseph Myers  <joseph@codesourcery.com>
8929         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
8930         link test.
8931         * configure: Regenerated.
8933 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
8935         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
8936         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
8937         conformtest.pl
8939 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
8941         * NOTES: Remove.
8942         * Makefile (files-for-dist): Remove NOTES.
8943         (NOTES): Remove rule.
8944         * README: Don't refer to NOTES.
8945         * manual/creature.texi: Don't include macros.texi.
8946         * manual/intro.texi (creature.texi): Remove comment referring to
8947         NOTES.
8949         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
8950         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
8951         * configure: Regenerated.
8952         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
8953         LIBC_TRY_CC_OPTION.
8954         (libc_cv_as_i686): Likewise.
8955         (libc_cv_cc_avx): Likewise.
8956         (libc_cv_cc_sse2avx): Likewise.
8957         (libc_cv_cc_fma4): Likewise.
8958         (libc_cv_cc_novzeroupper): Likewise.
8959         * sysdeps/i386/configure: Regenerated.
8961         [BZ #13883]
8962         * sysdeps/i386/fpu/s_cexp.S: Remove.
8963         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
8964         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
8965         * math/libm-test.inc (cexp_test): Add more tests.
8966         * sysdeps/i386/fpu/libm-test-ulps: Update.
8967         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8969 2012-03-21  Allan McRae  <allan@archlinux.org>
8971         * timezone/Makefile: Do not install iso3166.tab and zone.tab
8973 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
8975         [BZ #13871]
8976         * math/w_exp2.c: Do not include <float.h>.
8977         (o_threshold, u_threshold): Remove.
8978         (__exp2): Calculate result before checking finiteness and calling
8979         __kernel_standard.
8980         * math/w_exp2f.c: Likewise.
8981         * math/w_exp2l.c: Likewise.
8982         * math/libm-test.inc (exp2_test): Require overflow exception for
8983         1e6 input.
8985         [BZ #3866]
8986         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
8987         range of signed 64-bit integers before using fistpll.  Remove
8988         checks for whether integers fit in mantissa bits.
8989         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
8990         the range of signed 32-bit integers before using fistpl.  Remove
8991         checks for whether integers fit in mantissa bits.
8992         * sysdeps/i386/fpu/e_powl.S (p64): New object.
8993         (__ieee754_powl): Test for y outside the range of signed 64-bit
8994         integers before using fistpll.  Reduce 64-bit values to 63-bit
8995         ones as needed.
8996         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
8997         divide-by-zero is raised for zero to large negative powers.
8998         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
8999         (__ieee754_powl): Test for y outside the range of signed 64-bit
9000         integers before using fistpll.  Reduce 64-bit values to 63-bit
9001         ones as needed.
9002         * math/libm-test.inc (pow_test): Add more tests.
9004 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
9006         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
9007         <stdio-common/_itoa.h>.
9008         * debug/segfault.c: Likewise.
9009         * elf/dl-cache.c: Likewise.
9010         * elf/dl-minimal.c: Likewise.
9011         * elf/dl-misc.c: Likewise.
9012         * elf/dl-sysdep.c: Likewise.
9013         * elf/dl-version.c: Likewise.
9014         * elf/rtld.c: Likewise.
9015         * hurd/hurdsock.c: Likewise.
9016         * hurd/lookup-retry.c: Likewise.
9017         * malloc/malloc.c: Likewise.
9018         * malloc/mtrace.c: Likewise.
9019         * nscd/nscd_getgr_r.c: Likewise.
9020         * nscd/nscd_getpw_r.c: Likewise.
9021         * nscd/nscd_getserv_r.c: Likewise.
9022         * posix/getopt_init.c: Likewise.
9023         * posix/wordexp.c: Likewise.
9024         * stdio-common/_itoa.c: Likewise.
9025         * stdio-common/printf_fphex.c: Likewise.
9026         * stdio-common/vfprintf.c: Likewise.
9027         * string/_strerror.c: Likewise.
9028         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
9029         * sysdeps/i386/i686/hp-timing.h: Likewise.
9030         * sysdeps/mach/_strerror.c: Likewise.
9031         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
9032         * sysdeps/mach/hurd/sethostid.c: Likewise.
9033         * sysdeps/mach/hurd/xmknodat.c: Likewise.
9034         * sysdeps/mach/xpg-strerror.c: Likewise.
9035         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
9036         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
9037         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
9038         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
9039         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
9040         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
9041         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
9042         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
9043         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
9044         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
9045         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
9046         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
9047         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
9048         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
9049         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
9050         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
9051         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
9052         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
9053         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
9054         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
9055         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
9057         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
9059         * stdio-common/_itoa.h: Moved to ...
9060         * sysdeps/generic/_itoa.h: Here.
9062         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
9064         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
9065         instead of "_itoa.h" and "_itowa.h".
9066         * stdio-common/vfprintf.: Likewise.
9068 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
9070         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
9071         <bits/wordsize.h>.
9072         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
9073         (__signbit): Likwise.
9074         (llrintf): Likwise.
9075         (llrint): Likwise.
9077 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
9079         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
9080         __WORDSIZE != 64.
9082 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
9084         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
9085         OVERFLOW_EXCEPTION_OK.
9086         * math/libm-test.inc ("Philosophy"): Update comment about
9087         exception testing.
9088         (OVERFLOW_EXCEPTION): Define.
9089         (OVERFLOW_EXCEPTION_OK): Likewise.
9090         (INVALID_EXCEPTION_OK): Renumber.
9091         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
9092         (IGNORE_ZERO_INF_SIGN): Likewise.
9093         (test_exceptions): Handle FE_OVERFLOW.
9094         (exp10_test): Expect overflow exceptions.
9095         (exp2_test): Likewise.
9096         (expm1_test): Likewise.
9097         (nextafter_test): Likewise.
9098         (pow_test): Likewise.
9099         (scalbn_test): Likewise.
9100         (scalbln_test): Likewise.
9102 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
9104         * sysdeps/x86_64/bits/atomic.h
9105         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
9106         64bit integer.
9107         (atomic_exchange_acq): Likewise.
9108         (__arch_exchange_and_add_body): Likewise.
9109         (__arch_add_body): Likewise.
9110         (atomic_add_negative): Likewise.
9111         (atomic_add_zero): Likewise.
9113 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
9115         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
9116         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
9118 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
9120         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
9121         Check __x86_64__ instead of __WORDSIZE.
9123 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
9125         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
9127 2012-03-19  David S. Miller  <davem@davemloft.net>
9129         * sysdeps/sparc/fpu/libm-test-ulps: Update.
9131         * sysdeps/sparc/fpu/fenv_private.h: New file.
9132         * sysdeps/sparc/fpu/math_private.h: Use it.
9133         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
9134         Remove.
9135         (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
9136         (libc_feholdexcept_setroundl): Remove.
9137         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
9138         Remove.
9139         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
9140         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
9142 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
9144         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
9145         int64_t instead of long int.
9146         (INSERT_WORDS64): Likwise.
9148 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
9150         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
9151         _Unwind_GetCFA return to _Unwind_Ptr first.
9153 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
9155         [BZ #13629]
9156         * math/s_clog.c: Include <float.h>.
9157         (__clog): Scale large or subnormal inputs.
9158         * math/s_clogf.c: Likewise.
9159         * math/s_clogl.c: Likewise.
9160         * math/s_clog10.c: Include <float.h>.
9161         (M_LOG10_2): Define.
9162         (__clog10): Scale large or subnormal inputs.
9163         * math/s_clog10f.c: Likewise.
9164         * math/s_clog10l.c: Likewise.
9165         * math/libm-test.inc (clog_test): Add more tests.
9166         (clog10_test): Likewise.
9167         * sysdeps/i386/fpu/libm-test-ulps: Update.
9168         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9170         [BZ #11451]
9171         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
9172         x and y.
9173         * math/libm-test.inc (atan2_test): Add another test.
9175         * Makerules (common-objdir-compile): Remove.
9176         * sysdeps/unix/Makefile (config-generated): Do not add
9177         $(unix-generated) to variable.
9178         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
9179         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
9180         Remove rule.
9181         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
9182         Likewise.
9183         [generic bits/local_lim.h] (before-compile): Do not append to
9184         variable.
9185         [generic bits/local_lim.h] (common-generated): Likewise.
9186         [generic sys/param.h] (before-compile): Do not append to variable.
9187         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
9188         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
9189         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
9190         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
9191         include.
9192         [generic sys/param.h] (sys/param.h-includes): Remove variable.
9193         [generic sys/param.h] (sys/param.h-includes): Remove rule.
9194         [generic sys/param.h] ($(addprefix
9195         $(common-objpfx),$(sys/param.h-includes))): Likewise.
9196         [generic sys/param.h] (common-generated): Do not append to
9197         variable.
9198         [generic sys/param.h] (sysdep_headers): Likewise.
9199         [generic bits/errno.h] (before-compile): Do not append to
9200         variable.
9201         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
9202         rule.
9203         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
9204         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
9205         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
9206         [generic bits/errno.h] (common-generated): Do not append to
9207         variable.
9208         [generic bits/ioctls.h] (before-compile): Do not append to
9209         variable.
9210         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
9211         rule.
9212         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
9213         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
9214         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
9215         rule.
9216         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
9217         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
9218         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
9219         [generic bits/ioctls.h] (common-generated): Do not append to
9220         variable.
9221         [generic sys/syscall.h] (syscall.h): Remove variable.
9222         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
9223         rule.
9224         [generic sys/syscall.h] (before-compile): Do not append to
9225         variable.
9226         [generic sys/syscall.h] (common-generated): Likewise.
9227         * sysdeps/unix/errnos-tmpl.c: Remove file.
9228         * sysdeps/unix/errnos.awk: Likewise.
9229         * sysdeps/unix/ioctls-tmpl.c: Likewise.
9230         * sysdeps/unix/ioctls.awk: Likewise.
9231         * sysdeps/unix/mk-local_lim.c: Likewise.
9232         * sysdeps/unix/snarf-ioctls: Likewise.
9234 2012-03-19  Richard Henderson  <rth@twiddle.net>
9236         * sysdeps/i386/fpu/fenv_private.h: New file.
9237         * sysdeps/i386/fpu/math_private.h: Use it.
9238         (math_opt_barrier, math_force_eval): Remove.
9239         (libc_feholdexcept_setround_53bit): Remove.
9240         (libc_feupdateenv_53bit): Remove.
9241         * sysdeps/x86_64/fpu/math_private.h: Likewise.
9242         (math_opt_barrier, math_force_eval): Remove.
9243         (libc_feholdexcept): Remove.
9244         (libc_feholdexcept_setround): Remove.
9245         (libc_fetestexcept, libc_fesetenv): Remove.
9246         (libc_feupdateenv_test): Remove.
9247         (libc_feupdateenv, libc_feholdsetround): Remove.
9248         (libc_feresetround): Remove.
9250         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
9251         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
9253         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
9254         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
9255         (libc_feupdateenv_testl): New.
9256         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
9257         (libc_feupdateenv_testf): New.
9258         (libc_feupdateenv): Use libc_feupdateenv_test.
9259         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
9260         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
9262         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
9263         (libc_feholdsetroundf, libc_feholdsetroundl): New.
9264         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
9265         (libc_feresetround_noex): New.
9266         (libc_feresetround_noexf): New.
9267         (libc_feresetround_noexl): New.
9268         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
9269         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
9270         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
9271         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
9272         SET_RESTORE_ROUND.
9273         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
9274         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
9275         (__cos): Likewise.
9276         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
9277         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
9278         SET_RESTORE_ROUND_NOEX.
9279         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
9280         SET_RESTORE_ROUND_NOEXF.
9281         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
9282         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
9283         (libc_feholdsetroundf): New.
9284         (libc_feresetround, libc_feresetroundf): New.
9286         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
9287         (libc_feholdexcept_setround_53bit): Convert from macro to function.
9288         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
9290         * sysdeps/generic/math_private.h: Include <fenv.h>.
9291         (default_libc_feholdexcept): New.
9292         (default_libc_feholdexcept_setround): New.
9293         (default_libc_fesetenv, default_libc_feupdateenv): New.
9294         (libc_feholdexcept): Only define if undefined.
9295         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
9296         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
9297         (libc_feholdexcept_setroundl): Likewise.
9298         (libc_feholdexcept_setround_53bit): Likewise.
9299         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
9300         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
9301         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
9302         (libc_feupdateenv_53bit): Likewise.
9303         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
9304         (libc_feholdexcept): Convert from macro to inline function.
9305         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
9306         (libc_fesetenv, libc_feupdateenv): Likewise.
9308         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
9309         not previously defined.
9310         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
9311         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
9312         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
9313         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
9314         * sysdeps/ieee754/flt-32/math_private.h: New file.
9315         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
9316         math_private.h below SET_FLOAT_WORD.
9317         (__isnan, __isinf_ns, __finite): Remove.
9318         (__isnanf, __isinf_nsf, __finitef): Remove.
9320 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
9322         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9324 2012-03-17  David S. Miller  <davem@davemloft.net>
9326         [BZ #6471]
9327         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
9328         for 2.16.
9330 2012-03-16  David S. Miller  <davem@davemloft.net>
9332         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
9333         warnings.
9335         [BZ #6471]
9336         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
9337         properly.
9338         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
9339         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
9340         sysdep_routines when subdir is sysvipc.
9341         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
9342         __getshmlba helper.
9344         * sysdeps/sparc/fpu/libm-test/ulps: Update.
9346 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
9348         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
9349         [__LP64__].
9351 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
9353         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
9354         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
9355         (__lround): Renamed to ...
9356         (__llround): This.  Replace long int with long long int.
9357         Define lround functions as aliases of llround functions.
9358         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
9360 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
9362         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
9363         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
9364         adresses to uintptr_t.  Replace "long int" and "unsigned long
9365         int" with "greg_t" on va_arg.
9367 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
9369         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
9370         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
9372         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
9373         Move e_machine check before EI_CLASS check.  Handle x32
9374         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
9375         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
9376         SKIP_EM_IA_64 and include
9377         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
9379         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
9380         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
9381         (add_system_dir): New macro.
9383         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
9384         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
9386 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
9388         [BZ #2551]
9389         [BZ #2552]
9390         [BZ #2553]
9391         [BZ #2554]
9392         [BZ #2562]
9393         [BZ #2563]
9394         [BZ #2565]
9395         [BZ #2566]
9396         [BZ #2576]
9397         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
9398         (y0): Likewise.
9399         * math/w_j0f.c (j0f): Likewise.
9400         (y0f): Likewise.
9401         * math/w_j0l.c (__j0l): Likewise.
9402         (__y0l): Likewise.
9403         * math/w_j1.c (j1): Likewise.
9404         (y1): Likewise.
9405         * math/w_j1f.c (j1f): Likewise.
9406         (y1f): Likewise.
9407         * math/w_j1l.c (__j1l): Likewise.
9408         (__y1l): Likewise.
9409         * math/w_jn.c (jn): Likewise.
9410         (yn): Likewise.
9411         * math/w_jnf.c (jnf): Likewise.
9412         (ynf): Likewise.
9413         * math/w_jnl.c (__jnl): Likewise.
9414         (__ynl): Likewise.
9415         * math/libm-test.inc (j0_test): Add more tests.
9416         (j1_test): Likewise.
9417         (jn_test): Likewise.  Add trailing semicolon to existing test.
9418         (y0_test): Likewise.
9419         (y1_test): Likewise.
9420         * sysdeps/i386/fpu/libm-test-ulps: Update.
9421         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9423         [BZ #13851]
9424         [BZ #13854]
9425         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
9426         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
9427         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
9428         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
9429         (__tanl): Set errno for infinite argument.
9430         * sysdeps/i386/fpu/mptan.c: Remove.
9431         * sysdeps/i386/fpu/s_tan.S: Likewise.
9432         * sysdeps/i386/fpu/s_tanl.S: Likewise.
9433         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
9434         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
9435         * math/libm-test.inc (tan_test): Add more tests and enable more
9436         tests for double and long double.
9437         * sysdeps/i386/fpu/libm-test-ulps: Update.
9438         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9440 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
9442         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
9443         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
9445 2012-03-16  Roland McGrath  <roland@hack.frob.com>
9447         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
9448         * configure.in: Use it for both main tree and add-ons.
9449         * configure: Regenerated.
9451 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
9453         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
9455 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
9457         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
9458         in comment.
9460         [BZ #13851]
9461         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
9462         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
9463         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
9464         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
9465         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
9466         infinite argument.
9467         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
9468         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
9469         != 0 for prec == 2.
9470         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
9471         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
9472         * sysdeps/i386/fpu/s_cosl.S: Likewise.
9473         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
9474         * sysdeps/i386/fpu/s_sinl.S: Likewise.
9475         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
9476         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
9477         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
9478         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
9479         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
9480         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
9481         * math/libm-test.inc (cos_test): Add more tests and enable more
9482         tests for long double.
9483         (sin_test): Likewise.
9484         (sincos_test): Likewise.
9485         * sysdeps/i386/fpu/libm-test-ulps: Update.
9486         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9488 2012-03-16  David S. Miller  <davem@davemloft.net>
9490         * sysdeps/sparc/fpu/math_private.h: New file.
9492 2012-03-15  David S. Miller  <davem@davemloft.net>
9494         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
9495         file.
9496         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
9497         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
9498         file.
9499         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
9500         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
9501         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
9502         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
9503         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
9504         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
9505         sysdep routines.
9506         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
9508         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
9509         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
9511         * sysdeps/sparc/sparc-ifunc.h: New file.
9512         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
9513         sparc-ifunc.h
9514         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
9515         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
9516         Likewise.
9517         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
9518         Likewise.
9519         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
9520         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
9521         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
9522         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
9523         Likewise.
9524         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
9525         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
9526         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
9527         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
9528         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
9529         Likewise.
9530         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
9531         Likewise.
9532         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
9533         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
9534         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
9535         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
9536         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
9537         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
9538         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
9539         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
9540         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
9541         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
9542         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
9543         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
9544         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
9545         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
9546         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
9547         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
9548         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
9549         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
9550         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
9551         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
9552         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
9553         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
9554         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
9555         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
9557 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
9559         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
9560         scaling.
9561         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9563 2012-03-15  Andreas Jaeger  <aj@suse.de>
9565         [BZ #13852]
9566         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
9567         ieee754/flt-32 implementation for sin, cos and sincos.
9568         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
9569         * sysdeps/i386/fpu/s_cosf.S: Likewise.
9570         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
9571         * sysdeps/i386/fpu/s_sinf.S: Likewise.
9572         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
9573         ieee754/flt-32 implementation for tan.
9575         * math/libm-test.inc (cos_test): Enable some large input tests for
9576         float as well
9577         (sin_test): Likewise.
9578         (sincos_test): Likewise.
9579         (tan_test): Add tests for large input.
9581         * sysdeps/i386/fpu/libm-test-ulps: Update.
9583 2012-03-15  Andreas Jaeger  <aj@suse.de>
9585         [BZ #13658]
9586         * math/libm-test.inc (cos_test): Add more test cases.
9587         (sin_test): Likewise.
9588         (sincos_test): Likewise.
9590 2012-03-15  Andreas Jaeger  <aj@suse.de>
9592         [BZ #13837]
9593         * math/libm-test.inc (cos_test): Add a test case for large input
9594         value.
9595         (sin_test): Likewise.
9596         (sincos_test): Likewise.
9598 2012-03-15  Andreas Jaeger  <aj@suse.de>,
9599         Joseph Myers  <joseph@codesourcery.com>
9601         [BZ #13658]
9602         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
9603         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
9604         * sysdeps/i386/fpu/branred.c: Likewise.
9605         * sysdeps/i386/fpu/dosincos.c: Likewise.
9606         * sysdeps/i386/fpu/mpa.c: Likewise.
9607         * sysdeps/i386/fpu/s_cos.S: Likewise.
9608         * sysdeps/i386/fpu/s_sin.S: Likewise.
9609         * sysdeps/i386/fpu/s_sincos.S: Likewise.
9610         * sysdeps/i386/fpu/sincos32.c: Likewise.
9612         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
9613         Define.
9614         (libc_feupdateenv_53bit): Define.
9615         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
9616         Define.
9617         (libc_feupdateenv_53bit): Define.
9619         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
9620         53 bit (without extend i386 double precision).
9622         * math/libm-test.inc (sincos_test): Add tests for large input.
9623         (sin): Likewise.
9624         (cos): Likewise.
9626         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
9628 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
9630         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9632 2012-03-15  David S. Miller  <davem@davemloft.net>
9634         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
9635         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
9636         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
9637         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
9638         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
9639         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
9640         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
9641         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
9642         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
9643         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
9644         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
9645         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
9646         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
9647         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
9648         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
9649         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
9650         file.
9651         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
9652         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
9653         file.
9654         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
9655         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
9656         file.
9657         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
9658         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
9659         file.
9660         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
9661         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
9662         fmin/fmax sysdep routines.
9663         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
9665 2012-03-14  David S. Miller  <davem@davemloft.net>
9667         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
9668         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
9669         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
9670         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
9671         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
9672         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
9673         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
9674         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
9675         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
9676         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
9677         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
9678         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
9679         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
9680         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
9681         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
9682         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
9683         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
9684         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
9685         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
9686         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
9687         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
9688         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
9689         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
9690         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
9691         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
9692         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
9693         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
9694         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
9695         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
9696         routines.
9697         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
9698         file.
9699         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
9700         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
9701         file.
9702         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
9703         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
9704         file.
9705         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
9706         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
9707         file.
9708         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
9709         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
9710         file.
9711         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
9712         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
9713         file.
9714         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
9715         file.
9716         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
9717         file.
9718         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
9719         file.
9720         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
9721         New file.
9722         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
9723         file.
9724         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
9725         file.
9726         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
9727         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
9728         file.
9729         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
9730         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
9731         file.
9732         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
9733         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
9734         file.
9735         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
9736         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
9737         VIS3 routines.
9739         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
9740         New file.
9742         * sysdeps/sparc/fpu/libm-test-ulps: Update.
9744         * sysdeps/sparc/configure.in: New file.
9745         * sysdeps/sparc/configure: Generate.
9746         * configure.in (libc_cv_sparc_as_vis3): Substitute.
9747         * configure: Regenerate.
9748         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
9749         * config.make.in (have-as-vis3): New.
9750         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
9751         available use -Av9d instead of -Av9a.
9752         * sysdeps/sparc/sparc64/Makefile: Likewise.
9753         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
9754         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
9755         New file.
9756         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
9757         file.
9758         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
9759         New file.
9760         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
9761         file.
9762         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
9763         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
9764         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
9765         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
9766         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
9768         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
9769         fzeros/fnegs to load 0x80000000 into a float register instead of
9770         using the stack.
9771         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
9773 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
9775         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9776         bits/syscall.h.
9777         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
9778         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
9779         ($(inst_includedir)/bits/syscall.h): Remove rule.
9780         ($(objpfx)bits/syscall.d): Include instead of
9781         $(objpfx)syscall-list.d.
9782         (generated): Change syscall-list.h and syscall-list.d to
9783         bits/syscall.h and bits/syscall.d.
9785 2012-03-14  Roland McGrath  <roland@hack.frob.com>
9787         [BZ #13846]
9788         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
9790 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
9792         [BZ #13841]
9793         * math/s_csqrt.c: Include <float.h>.
9794         (__csqrt): Scale large or subnormal inputs.
9795         * math/s_csqrtf.c: Likewise.
9796         * math/s_csqrtl.c: Likewise.
9797         * math/libm-test.inc (csqrt_test): Add more tests.
9798         * sysdeps/i386/fpu/libm-test-ulps: Update.
9799         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9801         [BZ #13840]
9802         * math/libm-test.inc (hypot_test): Add more tests.
9804 2012-03-13  David S. Miller  <davem@davemloft.net>
9806         [BZ #13840]
9807         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
9808         double-precision for the calculation instead of scaling.
9810 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
9812         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
9813         manipulate bits before adding and subtracting TWO52[sx].
9814         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
9815         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
9816         Likewise.
9817         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
9819 2012-03-13  David S. Miller  <davem@davemloft.net>
9821         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
9822         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
9823         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
9824         rtld-global-offsets.h
9825         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
9827         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
9828         large parameters.
9830         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
9832         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
9833         'err' in the ifdef scope in which it is actually used.
9835         * nss/nss_db/db-init.c: Include string.h
9837 2012-03-12  David S. Miller  <davem@davemloft.net>
9839         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
9840         masking out of the most significant byte of random value used.
9841         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
9842         Fix coding style in previous change.
9844         * sysdeps/unix/sysv/linux/kernel-features.h
9845         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
9846         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
9847         expression.
9848         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
9849         later.
9851 2012-03-11  David S. Miller  <davem@davemloft.net>
9853         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
9854         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
9855         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
9856         for 'resultvar' otherwise things get truncated on 64-bit.
9858         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
9859         Fix masking out of the most significant byte of random value used.
9861         * sysdeps/sparc/fpu/libm-test-ulps: Update.
9863 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
9865         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9867 2012-03-09  David S. Miller  <davem@davemloft.net>
9869         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
9870         variables with appropriate CPP guards.
9871         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
9872         frame pointer, not the stack pointer.  Correct layout comments.  Fix test
9873         on resulting framesize and the management of the outregs buffer for pltexit.
9874         Preserve floating point return values across _dl_call_pltexit call.
9875         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
9876         framesize and the management of the outregs buffer for pltexit.
9877         Preserve floating point return values across _dl_call_pltexit
9878         call.
9879         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
9880         la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
9881         (print_exit): Fix format string for return register value.
9883 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
9885         * sunrpc/Makefile (others): Add rpcgen.
9886         ($(objpfx)rpcgen): Remove special build rule and dependency on
9887         libc.
9888         * sunrpc/rpcgen.c: New file.
9890 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
9892         [BZ #13673]
9893         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
9894         * stdio-common/bug-vfprintf-nargs.c: Likewise.
9895         * sysdeps/i386/crti.S: Likewise.
9896         * sysdeps/i386/crtn.S: Likewise.
9897         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
9898         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
9899         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
9900         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
9901         * sysdeps/sh/crti.S: Likewise.
9902         * sysdeps/sh/crtn.S: Likewise.
9903         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
9905         [BZ #13673]
9906         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
9907         with URL.
9908         * locale/programs/locfile-kw.gperf: Likewise.
9909         * locale/programs/charmap-kw.h: Regenerated.
9910         * locale/programs/locfile-kw.h: Likewise.
9912         [BZ #13673]
9913         * intl/plural.y: Replace FSF snail mail address with URL.
9914         * intl/plural.c: Regenerated.
9916 2012-03-09  Richard Henderson  <rth@twiddle.net>
9918         * include/math_private.h: Remove file.
9919         * math/math_private.h: Move file ...
9920         * sysdeps/generic/math_private.h: ... here.
9922         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
9923         * sysdeps/powerpc/fpu/math_private.h: Likewise.
9924         * sysdeps/x86_64/fpu/math_private.h: Likewise.
9926         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
9927         and <math_private.h>.
9928         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
9929         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
9930         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
9931         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
9932         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
9933         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
9934         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
9935         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
9936         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
9937         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
9938         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
9939         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
9940         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
9941         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
9942         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
9943         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
9944         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
9945         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
9946         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
9947         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
9948         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
9949         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
9950         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
9951         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
9952         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
9953         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
9954         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
9955         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
9956         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
9957         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
9958         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
9959         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
9960         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
9961         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
9962         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
9963         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
9964         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
9965         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
9966         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
9967         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
9968         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
9969         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
9970         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
9971         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
9972         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
9973         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
9974         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
9975         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
9976         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
9977         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
9978         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
9979         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
9980         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
9981         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
9982         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
9983         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
9984         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
9985         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
9986         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
9987         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
9988         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
9989         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
9990         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
9991         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
9992         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
9993         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
9994         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
9995         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
9996         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
9997         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
9998         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
9999         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
10000         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
10001         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
10002         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
10003         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
10004         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
10005         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
10006         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
10007         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
10008         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
10009         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
10010         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
10011         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
10012         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
10013         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
10014         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
10015         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
10016         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
10017         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
10018         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
10019         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
10020         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
10021         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
10022         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
10023         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
10024         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
10025         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
10026         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
10027         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
10028         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
10029         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
10030         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
10031         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
10032         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
10033         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
10034         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
10035         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
10036         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
10037         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
10038         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
10039         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
10040         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
10041         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
10042         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
10043         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
10044         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
10045         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
10046         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
10047         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
10048         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
10049         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
10050         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
10051         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
10052         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
10053         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
10054         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
10055         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
10056         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
10057         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
10058         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
10059         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
10060         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
10061         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
10062         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
10063         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
10064         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
10065         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
10066         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
10067         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
10068         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
10069         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
10070         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
10071         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
10072         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
10073         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
10074         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
10075         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
10076         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
10077         * sysdeps/ieee754/k_standard.c: Likewise.
10078         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
10079         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
10080         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
10081         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
10082         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
10083         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
10084         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
10085         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
10086         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
10087         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
10088         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
10089         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
10090         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
10091         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
10092         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
10093         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
10094         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
10095         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
10096         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
10097         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
10098         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
10099         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
10100         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
10101         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
10102         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
10103         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
10104         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
10105         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
10106         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
10107         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
10108         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
10109         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
10110         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
10111         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
10112         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
10113         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
10114         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
10115         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
10116         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
10117         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
10118         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
10119         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
10120         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
10121         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
10122         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
10123         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
10124         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
10125         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
10126         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
10127         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
10128         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
10129         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
10130         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
10131         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
10132         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
10133         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
10134         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
10135         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
10136         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
10137         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
10138         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
10139         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
10140         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
10141         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
10142         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
10143         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
10144         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
10145         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
10146         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
10147         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
10148         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
10149         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
10150         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
10151         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
10152         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
10153         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
10154         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
10155         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
10156         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
10157         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
10158         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
10159         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
10160         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
10161         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
10162         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
10163         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
10164         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
10165         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
10166         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
10167         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
10168         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
10169         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
10170         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
10171         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
10172         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
10173         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
10174         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
10175         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
10176         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
10177         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
10178         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
10179         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
10180         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
10181         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
10182         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
10183         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
10184         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
10185         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
10186         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
10187         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
10188         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
10189         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
10190         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
10191         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
10192         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
10193         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
10194         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
10195         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
10196         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
10197         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
10198         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
10199         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
10200         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
10201         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
10202         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
10203         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
10204         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
10205         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
10206         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
10207         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
10208         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
10209         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
10210         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
10211         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
10212         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
10213         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
10214         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
10215         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
10216         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
10217         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
10218         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
10219         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
10220         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
10221         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
10222         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
10223         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
10224         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
10225         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
10226         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
10227         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
10228         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
10229         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
10230         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
10231         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
10232         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
10233         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
10234         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
10235         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
10236         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
10237         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
10238         * sysdeps/ieee754/s_lib_version.c: Likewise.
10239         * sysdeps/ieee754/s_matherr.c: Likewise.
10240         * sysdeps/ieee754/s_signgam.c: Likewise.
10241         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
10242         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
10243         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
10244         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
10245         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
10246         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
10247         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
10248         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
10249         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
10250         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
10251         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
10252         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
10253         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
10254         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
10255         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
10256         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
10257         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
10258         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
10259         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
10260         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
10261         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
10263 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
10265         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
10266         * sunrpc/rpc_main.c: Likewise.
10267         * sunrpc/rpc_svcout.c: Likewise.
10269 2012-03-09  David S. Miller  <davem@davemloft.net>
10271         * include/math_private.h: New file.
10273 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
10275         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
10276         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
10277         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
10278         from <bits/socket_type.h>.
10279         (enum __socket_type): Don't define here.
10280         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
10281         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10282         bits/socket_type.h.
10284         [BZ #13566]
10285         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
10286         checking __USE_GNU.
10288         * Makerules ($(inst_includedir)/%.h): New rule.
10289         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
10290         (install-others): Remove variable setting.
10291         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
10293 2012-03-08  Richard Henderson  <rth@twiddle.net>
10295         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
10296         from macro to inline function; merge with the
10297         !__LIBC_INTERNAL_MATH_INLINES version.
10298         (__ieee754_sqrtf): Likewise.
10300         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
10301         to inline function.
10302         (__rintf, __floor, __floorf): Likewise.
10304         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
10305         macro to inline function.
10306         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
10308         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
10309         not <math/math_private.h>.
10311 2012-03-08  David S. Miller  <davem@davemloft.net>
10313         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
10314         copyright year.
10315         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
10317 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
10319         * resolv/gai_misc.c (handle_requests): Fix struct timespec
10320         normalization.
10321         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
10322         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
10324 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
10326         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
10327         be defined individually, they must be defined as a block.  Define
10328         S for printing a string instead of hidint the different by using a
10329         macro for adding the 'l'.
10330         * stdio-common/tst-fphex-wide.c: Adjust.
10332 2012-03-07  Marek Polacek  <polacek@redhat.com>
10334         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
10336 2012-03-08  Marek Polacek  <polacek@redhat.com>
10338         [BZ #13806]
10339         * stdio-common/Makefile (tests): Add tst-fphex-wide.
10340         * stdio-common/tst-fphex.c: Define a few macros to make the
10341         test reusable.  Use them.
10342         * stdio-common/tst-fphex-wide.c: New file.
10344 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
10346         [BZ #6911]
10347         * manual/macros.texi (gnusystems): New macro.
10348         (nongnusystems): Likewise.
10349         (gnulinuxhurdsystems): Likewise.
10350         (gnuhurdsystems): Likewise..
10351         (gnulinuxsystems): Likewise.
10352         * manual/charset.texi: Use new macros or @theglibc{} to refer to
10353         variants of the GNU system, not "GNU system".
10354         * manual/conf.texi: Likewise.
10355         * manual/errno.texi: Likewise.  Update example of errno macro
10356         expansion.
10357         * manual/filesys.texi: Likewise.
10358         (getumask): Document as specific to GNU/Hurd.
10359         * manual/install.texi: Likewise.  Reword some references to
10360         GNU/Linux.
10361         * manual/intro.texi: Likewise.
10362         * manual/io.texi: Likewise.
10363         (File Name Portability): Detail which constraints are inapplicable
10364         to all GNU systems and which are only inapplicable to GNU/Hurd.
10365         * manual/job.texi: Likewise.
10366         * manual/llio.texi: Likewise.
10367         (O_NOCTTY): Document as present on GNU/Linux.
10368         * manual/maint.texi: Likewise.
10369         * manual/memory.texi: Likewise.
10370         * manual/pattern.texi: Likewise.
10371         * manual/pipe.texi: Likewise.
10372         * manual/process.texi: Likewise.
10373         * manual/resource.texi: Likewise.
10374         (RUSAGE_CHILDREN): Remove statement about specifying a particular
10375         child on GNU/Hurd.
10376         * manual/setjmp.texi: Likewise.
10377         * manual/signal.texi: Likewise.
10378         * manual/startup.texi: Likewise.
10379         * manual/stdio.texi: Likewise.
10380         * manual/terminal.texi: Likewise.
10381         (ONLCR): Document as POSIX.
10382         (OXTABS): Document availability on GNU/Linux as XTABS.
10383         (ONOEOT): Document availability separately from other bits.
10384         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
10385         * manual/time.texi: Likewise.
10386         * manual/users.texi: Likewise.
10387         * INSTALL: Regenerated.
10388         * sysdeps/gnu/errlist.c: Regenerated.
10390         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
10391         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
10392         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
10393         puts.
10394         * configure: Regenerated.
10396 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
10398         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
10399         default includes instead of AC_HEADER_CHECK.
10400         * sysdeps/i386/configure: Regenerated.
10402         [BZ #10716]
10403         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
10404         * math/s_cacoshf.c (__cacoshf): Likewise.
10405         * math/s_cacoshl.c (__cacoshl): Likewise.
10406         * math/s_casinh.c (__casinh): Set signs of result from argument.
10407         * math/s_casinhf.c (__casinhf): Likewise.
10408         * math/s_casinhl.c (__casinhl): Likewise.
10409         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
10410         (casinh_test): Add more tests.
10411         * sysdeps/i386/fpu/libm-test-ulps: Update.
10412         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10414 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
10416         * po/zh_TW.po: Update from translation team.
10418         * login/Makefile (distribute): Remove variable.
10419         * catgets/Makefile: Likewise.
10420         * mach/Makefile: Likewise.
10421         * malloc/Makefile: Likewise.
10422         * misc/Makefile: Likewise.
10423         * iconv/Makefile: Likewise.
10424         * nscd/Makefile: Likewise.
10425         * hurd/Makefile: Likewise.
10426         * manual/Makefile: Likewise.
10427         * locale/Makefile: Likewise.
10428         * intl/Makefile: Likewise.
10429         * conform/Makefile: Likewise.
10430         * nss/Makefile: Likewise.
10431         * time/Makefile: Likewise.
10432         * soft-fp/Makefile: Likewise.
10433         * dirent/Makefile: Likewise.
10434         * gmon/Makefile: Likewise.
10435         * po/Makefile: Likewise.
10436         * rt/Makefile: Likewise.
10437         * socket/Makefile: Likewise.
10438         * math/Makefile: Likewise.
10439         * signal/Makefile: Likewise.
10440         * debug/Makefile: Likewise.
10441         * elf/Makefile: Likewise.
10442         * timezone/Makefile: Likewise.
10443         * stdlib/Makefile: Likewise.
10444         * iconvdata/Makefile: Likewise.
10445         * sunrpc/Makefile: Likewise.
10446         * io/Makefile: Likewise.
10447         * argp/Makefile: Likewise.
10448         * inet/Makefile: Likewise.
10449         * hesiod/Makefile: Likewise.
10450         * grp/Makefile: Likewise.
10451         * csu/Makefile: Likewise.
10452         * wctype/Makefile: Likewise.
10453         * crypt/Makefile: Likewise.
10454         * libio/Makefile: Likewise.
10455         * string/Makefile: Likewise.
10456         * nis/Makefile: Likewise.
10457         * resolv/Makefile: Likewise.
10458         * stdio-common/Makefile: Likewise.
10459         * wcsmbs/Makefile: Likewise.
10460         * dlfcn/Makefile: Likewise.
10461         * posix/Makefile: Likewise.
10463         [BZ #6959]
10464         * timezone/Makefile: Don't install timezone files, just the programs
10465         and scripts.
10467 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
10469         * nss/databases.def: Add missing gshadow entry.
10471         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
10473 2012-03-06  Marek Polacek  <polacek@redhat.com>
10475         [BZ #13726]
10476         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
10477         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
10478         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
10479         * stdio-common/tst-long-dbl-fphex.c: New file.
10481 2012-03-06  David S. Miller  <davem@davemloft.net>
10483         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
10484         (set_obp_int): New function.
10485         (get_obp_int): New function.
10486         (__get_clockfreq_via_dev_openprom): Likewise.
10487         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
10488         Avoid unused variable warnings on 'val' and use builtin_expect.
10489         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
10490         __builtin_expect.
10491         (INLINE_CLONE_SYSCALL): Likewise.
10493 2012-03-05  David S. Miller  <davem@davemloft.net>
10495         * sysdeps/sparc/fpu/libm-test-ulps: Update.
10497 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
10499         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10501         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
10502         only for |x| >= 40.
10503         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
10505 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
10507         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
10508         Replace gettimeofday with __vdso_gettimeofday.
10510         * sysdeps/unix/sysv/linux/x86_64/init-first.c
10511         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
10512         __vdso_clock_gettime and __vdso_getcpu.
10514         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
10515         time with __vdso_time.
10517 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
10519         * manual/lang.texi (size_t): Note types to which size_t may be
10520         equivalent with the GNU C Library, but do not describe when
10521         differences between them are significant.
10523 2012-03-05  Andreas Jaeger  <aj@suse.de>
10525         * sysdeps/i386/fpu/libm-test-ulps: Update.
10527 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
10529         [BZ #3976]
10530         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
10531         (__ieee754_pow): Save and restore rounding mode and use
10532         round-to-nearest for main computations.
10533         * math/libm-test.inc (pow_test_tonearest): New function.
10534         (pow_test_towardzero): Likewise.
10535         (pow_test_downward): Likewise.
10536         (pow_test_upward): Likewise.
10537         (main): Call the new functions.
10538         * sysdeps/i386/fpu/libm-test-ulps: Update.
10539         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10541         [BZ #3976]
10542         * math/libm-test.inc (cosh_test_tonearest): New function.
10543         (cosh_test_towardzero): Likewise.
10544         (cosh_test_downward): Likewise.
10545         (cosh_test_upward): Likewise.
10546         (sinh_test_tonearest): Likewise.
10547         (sinh_test_towardzero): Likewise.
10548         (sinh_test_downward): Likewise.
10549         (sinh_test_upward): Likewise.
10550         (main): Call the new functions.
10551         * sysdeps/i386/fpu/libm-test-ulps: Update.
10552         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10554 2012-03-05  Tom de Vries  <tom@codesourcery.com>
10556         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
10557         default stack guard is set in last bytes.
10558         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
10560 2012-03-05  Kees Cook  <keescook@chromium.org>
10562         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
10564         [BZ #13656]
10565         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
10566         possibly allocate from heap instead of stack.
10567         * stdio-common/bug-vfprintf-nargs.c: New file.
10568         * stdio-common/Makefile (tests): Add nargs overflow test.
10570 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
10572         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10574 2012-03-03  Marek Polacek  <polacek@redhat.com>
10576         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
10577         * math/math_private.h: Likewise.
10578         * stdlib/tst-strtod.c: Likewise.
10579         * sysdeps/i386/i486/bits/atomic.h: Likewise.
10580         * sysdeps/x86_64/bits/atomic.h: Likewise.
10582 2012-03-02  David S. Miller  <davem@davemloft.net>
10584         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
10585         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
10586         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
10587         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
10588         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
10589         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
10590         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
10591         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
10593 2012-03-02  Roland McGrath  <roland@hack.frob.com>
10595         [BZ #13792]
10596         * manual/examples/README: New file, says the example source files
10597         can be used under GPL>=2.
10598         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
10599         line containing just "*/".
10600         * manual/examples/add.c: Add copyright header (GPL>=2).
10601         * manual/examples/argp-ex1.c: Likewise.
10602         * manual/examples/argp-ex2.c: Likewise.
10603         * manual/examples/argp-ex3.c: Likewise.
10604         * manual/examples/argp-ex4.c: Likewise.
10605         * manual/examples/atexit.c: Likewise.
10606         * manual/examples/db.c: Likewise.
10607         * manual/examples/dir.c: Likewise.
10608         * manual/examples/dir2.c: Likewise.
10609         * manual/examples/execinfo.c: Likewise.
10610         * manual/examples/filecli.c: Likewise.
10611         * manual/examples/filesrv.c: Likewise.
10612         * manual/examples/fmtmsgexpl.c: Likewise.
10613         * manual/examples/genpass.c: Likewise.
10614         * manual/examples/inetcli.c: Likewise.
10615         * manual/examples/inetsrv.c: Likewise.
10616         * manual/examples/isockad.c: Likewise.
10617         * manual/examples/longopt.c: Likewise.
10618         * manual/examples/memopen.c: Likewise.
10619         * manual/examples/memstrm.c: Likewise.
10620         * manual/examples/mkfsock.c: Likewise.
10621         * manual/examples/mkisock.c: Likewise.
10622         * manual/examples/mygetpass.c: Likewise.
10623         * manual/examples/pipe.c: Likewise.
10624         * manual/examples/popen.c: Likewise.
10625         * manual/examples/rprintf.c: Likewise.
10626         * manual/examples/search.c: Likewise.
10627         * manual/examples/select.c: Likewise.
10628         * manual/examples/setjmp.c: Likewise.
10629         * manual/examples/sigh1.c: Likewise.
10630         * manual/examples/sigusr.c: Likewise.
10631         * manual/examples/stpcpy.c: Likewise.
10632         * manual/examples/strdupa.c: Likewise.
10633         * manual/examples/strftim.c: Likewise.
10634         * manual/examples/strncat.c: Likewise.
10635         * manual/examples/subopt.c: Likewise.
10636         * manual/examples/swapcontext.c: Likewise.
10637         * manual/examples/termios.c: Likewise.
10638         * manual/examples/testopt.c: Likewise.
10639         * manual/examples/testpass.c: Likewise.
10640         * manual/examples/timeval_subtract.c: Likewise.
10642         [BZ #13792]
10643         * manual/time.texi (Elapsed Time): Move timeval_subtract example
10644         function to ...
10645         * manual/timeval_subtract.c.texi: ... here, new file.
10647 2012-03-02  David S. Miller  <davem@davemloft.net>
10649         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
10651 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
10653         [BZ #3976]
10654         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
10655         (__sin): Save and restore rounding mode and use round-to-nearest
10656         for all computations.
10657         (__cos): Save and restore rounding mode and use round-to-nearest
10658         for all computations.
10659         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
10660         <fenv.h>.
10661         (tan): Save and restore rounding mode and use round-to-nearest for
10662         all computations.
10663         * math/libm-test.inc (cos_test_tonearest): New function.
10664         (cos_test_towardzero): Likewise.
10665         (cos_test_downward): Likewise.
10666         (cos_test_upward): Likewise.
10667         (sin_test_tonearest): Likewise.
10668         (sin_test_towardzero): Likewise.
10669         (sin_test_downward): Likewise.
10670         (sin_test_upward): Likewise.
10671         (tan_test_tonearest): Likewise.
10672         (tan_test_towardzero): Likewise.
10673         (tan_test_downward): Likewise.
10674         (tan_test_upward): Likewise.
10675         (main): Call the new functions.
10676         * sysdeps/i386/fpu/libm-test-ulps: Update.
10677         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10679         [BZ #10135]
10680         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
10681         small n, then large n, before computing and testing k+n.
10682         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
10683         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
10684         Likewise.
10685         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
10686         Likewise.
10687         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
10688         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
10689         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
10690         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
10691         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
10692         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
10693         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
10694         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
10695         * math/libm-test.inc (scalbn_test): Add more tests.
10696         (scalbln_test): Likewise.
10698         * manual/filesys.texi (mode_t): Describe constraints on size and
10699         signedness, not exact equivalence to a particular type.
10700         (ino_t): Likewise.
10701         (ino64_t): Likewise.
10702         (dev_t): Likewise.
10703         (nlink_t): Likewise.
10704         (blkcnt_t): Likewise.
10705         (blkcnt64_t): Likewise.
10706         * manual/llio.texi (off_t): Likewise.
10708         [BZ #3976]
10709         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
10710         (__ieee754_exp): Save and restore rounding mode and use
10711         round-to-nearest for all computations.
10712         * math/libm-test.inc (exp_test_tonearest): New function.
10713         (exp_test_towardzero): Likewise.
10714         (exp_test_downward): Likewise.
10715         (exp_test_upward): Likewise.
10716         (main): Call the new functions.
10717         * sysdeps/i386/fpu/libm-test-ulps: Update.
10718         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10720 2012-03-01  Chris Demetriou  <cgd@google.com>
10722         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
10723         have predictable order.
10725 2012-03-01  David S. Miller  <davem@davemloft.net>
10727         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
10729         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
10730         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
10731         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
10732         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
10734         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
10735         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
10736         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
10737         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
10738         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
10739         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
10740         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
10741         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
10742         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
10744         * sysdeps/sparc/fpu/libm-test-ulps: Update.
10746         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
10747         * sysdeps/sparc/fpu/libm-test-ulps: to here.
10748         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
10750         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
10751         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
10752         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
10753         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
10754         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
10755         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
10756         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
10757         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
10758         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
10759         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
10760         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
10761         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
10762         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
10763         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
10764         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
10765         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
10766         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
10767         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
10768         * sysdeps/sparc/elf/configure: Regenerated.
10770 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
10772         * configure.in (AS, LD): Require binutils 2.20 or later.
10773         * configure: Regenerated.
10774         * manual/install.texi (Tools for Compilation): Give binutils 2.20
10775         as required minimum version.
10776         * INSTALL: Regenerated.
10778         [BZ #2541]
10779         [BZ #4108]
10780         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
10781         before squaring exponent.
10782         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
10783         bottom long double and 27 bits of top long double before squaring
10784         exponent.
10785         * math/libm-test.inc (erfc_test): Add more tests.
10786         * sysdeps/i386/fpu/libm-test-ulps: Update.
10787         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
10788         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10790 2012-03-01  Kai Tietz  <ktietz@redhat.com>
10792         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
10793         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
10794         containing bit-fields.
10795         * soft-fp/extended.h (_FP_UNION_E): Likewise.
10796         * soft-fp/single.h (_FP_UNION_S): Likewise.
10797         * soft-fp/double.h (_FP_UNION_D): Likewise.
10799 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
10801         [BZ #13786]
10802         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
10803         not include ../strcmp.S.
10804         [USE_AS_STRNCASECMP_L]: Likewise.
10805         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
10806         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
10807         * sysdeps/i386/i686/multiarch/strncase_l-c.c
10808         (__strncasecmp_l_ia32): Define as alias to
10809         __strncasecmp_l_nonascii.
10811         [BZ #5794]
10812         * math/libm-test.inc (expm1_test): Add test for bug 5794.
10813         * sysdeps/i386/fpu/libm-test-ulps: Update.
10814         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10816         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
10817         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10819 2012-02-29  Jeff Law  <law@redhat.com>
10821         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
10822         out of bounds read.
10824 2012-02-29  Marek Polacek  <polacek@redhat.com>
10826         [BZ #13706]
10827         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
10828         * elf/Makefile: Add rules to run tst-unused-dep.out.
10830 2012-02-28  David S. Miller  <davem@davemloft.net>
10832         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
10833         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
10834         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
10835         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
10836         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
10837         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
10839 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
10841         * math/libm-test.inc (llround_test): Move one test from
10842         lround_test.  Use TEST_f_L in moved test.
10843         (lround_test): Move misplaced test to llround_test.  Add testcase
10844         from bug 2561.
10846 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
10848         * sysdeps/x86_64/fpu/e_expf.S: New file.
10849         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
10851 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
10853         [BZ #13637]
10854         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
10855         of remain_len that may cause incomplete multi-byte character and
10856         false match.
10857         * posix/bug-regex33.c: New file.
10858         * posix/Makefile (tests): Add bug-regex33.
10860 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
10862         * manual/macros.texi: New file.
10863         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
10864         * manual/libc.texinfo: Include macros.texi.
10865         * manual/creatute.texi: Likewise.
10866         * manual/install.texi: Likewise.
10867         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
10868         @glibcadj{} in references to the GNU C Library.
10869         * manual/charset.texi: Likewise.
10870         * manual/conf.texi: Likewise.
10871         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
10872         when not using those macros.
10873         * manual/creature.texi: Likewise.
10874         * manual/crypt.texi: Likewise.
10875         * manual/errno.texi: Likewise.
10876         * manual/filesys.texi: Likewise.
10877         * manual/header.texi: Likewise.
10878         * manual/install.texi: Likewise.
10879         * manual/intro.texi: Likewise.
10880         * manual/io.texi: Likewise.
10881         * manual/job.texi: Likewise.
10882         * manual/lang.texi: Likewise.
10883         * manual/libc.texiinfo: Likewise.
10884         * manual/llio.texi: Likewise.
10885         * manual/locale.texi: Likewise.
10886         * manual/maint.texi: Likewise.
10887         * manual/math.texi: Likewise.
10888         * manual/memory.texi: Likewise.
10889         * manual/message.texi: Likewise.
10890         * manual/nss.texi: Likewise.
10891         * manual/pattern.texi: Likewise.
10892         * manual/process.texi: Likewise.
10893         * manual/resource.texi: Likewise.
10894         * manual/search.texi: Likewise.
10895         * manual/setjmp.texi: Likewise.
10896         * manual/signal.texi: Likewise.
10897         * manual/socket.texi: Likewise.
10898         * manual/startup.texi: Likewise.
10899         * manual/stdio.texi: Likewise.
10900         * manual/string.texi: Likewise.
10901         * manual/sysinfo.texi: Likewise.
10902         * manual/syslog.texi: Likewise.
10903         * manual/terminal.texi: Likewise.
10904         * manual/time.texi: Likewise.
10905         * manual/users.texi: Likewise.
10906         * INSTALL: Regenerated.
10907         * NOTES: Regenerated.
10908         * sysdeps/gnu/errlist.c: Regenerated.
10910 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
10912         * include/dirent.h: Include <dirstream.h> before
10913         <dirent/dirent.h>.
10915 2012-02-28  David S. Miller  <davem@davemloft.net>
10917         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
10918         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
10919         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
10920         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
10922 2012-02-27  David S. Miller  <davem@davemloft.net>
10924         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
10925         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
10926         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
10927         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
10929         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
10930         frame pointer instead of stack pointer relative arg slot.
10931         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
10932         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
10933         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
10935 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
10937         [BZ #3992]
10938         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
10940 2012-02-27  David S. Miller  <davem@davemloft.net>
10942         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
10943         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
10944         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
10945         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
10946         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
10947         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
10948         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
10949         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
10951 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
10953         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
10954         later.  Allow versions 5-9.
10955         * configure: Regenerated.
10956         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
10957         required minimum version and 4.6 as recommended version.  Do not
10958         mention bugs in GCC 2.7 and 2.8.
10959         * INSTALL: Regenerated.
10961 2012-02-27  David S. Miller  <davem@davemloft.net>
10963         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
10964         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
10965         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
10966         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
10967         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
10968         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
10969         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
10970         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
10972         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
10973         manipulate bits before adding and subtracting TWO112[sx].
10974         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
10976 2012-02-27  Roland McGrath  <roland@hack.frob.com>
10978         [BZ #13775]
10979         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
10980         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
10981         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
10982         being in POSIX, because they are in 1003.1-2008.
10984         * rt/tst-aio.c: Include <fcntl.h>.
10985         * rt/tst-aio7.c: Likewise.
10986         * rt/tst-aio64.c: Likewise.
10988         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
10990 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
10992         * manual/install.texi (--with-headers): Describe headers as
10993         interface headers, not private headers.
10994         (Specific advice for GNU/Linux systems): Describe use of headers
10995         from "make headers_install", not private headers from older
10996         kernels.
10997         * INSTALL: Regenerated.
10998         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
10999         Change to 2.6.19.
11000         * sysdeps/unix/sysv/linux/configure: Regenerated.
11002         * manual/llio.texi (fclean): Remove documentation.
11004         * manual/Makefile (libc-texi-generated): New variable.  Include
11005         version.texi.
11006         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
11007         $(libc-texi-generated), not duplicated list of files.
11008         (version.texi, stamp-version): New rules.
11009         (realclean): Remove $(libc-texi-generated), not individual files
11010         from that list.  Do not remove dir-add.texinfo.
11011         * manual/libc.texinfo: Comment out uses of edition numbers and
11012         references to printed manual.  Remove last-updated dates.
11013         (EDITION): Comment out.
11014         (ISBN): Likewise.
11015         (VERSION, UPDATED): Remove.
11016         (version.texi): Include.
11018 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
11020         * sysdeps/posix/spawni.c: Include <signal.h>.
11021         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
11022         * sysdeps/pthread/aio_fsync.c: Likewise.
11024 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
11026         * conform/Makefile (tests): Run only when not cross-compiling and
11027         when fast-check is not defined.
11029         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
11030         * conform/data/limits.h-data: Fixes for POSIX2008.
11031         * conform/run-conformtest.sh: Run all tests.
11032         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
11033         headers.
11034         * include/bits/dlfcn.h: Likewise.
11035         * include/langinfo.h: Likewise.
11036         * include/monetary.h: Likewise.
11037         * include/sys/poll.h: Likewise.
11039         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
11040         for __USE_GNU.
11041         * posix/spawn.h: Define __need_sigset_t.
11042         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
11043         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
11044         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
11045         to get sigevent_t only.
11046         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
11047         only for __USE_GNU.
11048         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
11049         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
11050         process_vm_writev only for __USE_GNU.
11051         * termios/termios.h: Declare tcgetsid also for POSIX2008.
11053         * conform/Makefile: For now ignore errors from run-conformtest.
11054         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
11055         POSIX to avoid namespace pollution.  Don't prepend headers.
11056         * conform/data/aio.h-data: Fixes for POSIX testing.
11057         * conform/data/fcntl.h-data: Likewise.
11058         * conform/data/glob.h-data: Likewise.
11059         * conform/data/grp.h-data: Likewise.
11060         * conform/data/pthread.h-data: Likewise.
11061         * conform/data/pwd.h-data: Likewise.
11062         * conform/data/signal.h-data: Likewise.
11063         * conform/data/spawn.h-data: Likewise.
11064         * conform/data/stdio.h-data: Likewise.
11065         * conform/data/stdlib.h-data: Likewise.
11066         * conform/data/stropts.h-data: Likewise.
11067         * conform/data/sys/mman.h-data: Likewise.
11068         * conform/data/sys/stat.h-data: Likewise.
11069         * conform/data/sys/types.h-data: Likewise.
11070         * conform/data/sys/wait.h-data: Likewise.
11071         * conform/data/time.h-data: Likewise.
11072         * conform/data/unistd.h-data: Likewise.
11073         * conform/data/utime.h-data: Likewise.
11075         * io/sys/stat.h: fchmod was always in POSIX.
11076         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
11077         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
11078         * rt/aio.h: Define __need_timespec before including <time.h>.
11079         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
11080         struct.  Add forward declaration of pthread_attr_t and use it in
11081         sigevent.
11082         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
11083         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
11084         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
11085         always remove CLK_TCK definition.
11087 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
11089         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
11091 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
11093         * conform/run-conformtest.sh: New file.
11094         * conform/Makefile: Run run-conformtest for tests.
11095         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
11096         support.
11098         * conform/data/uchar.h-data: New file.
11099         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
11100         * conform/data/arpa/inet.h-data: Likewise.
11101         * conform/data/assert.h-data: Likewise.
11102         * conform/data/complex.h-data: Likewise.
11103         * conform/data/cpio.h-data: Likewise.
11104         * conform/data/ctype.h-data: Likewise.
11105         * conform/data/dirent.h-data: Likewise.
11106         * conform/data/dlfcn.h-data: Likewise.
11107         * conform/data/errno.h-data: Likewise.
11108         * conform/data/fcntl.h-data: Likewise.
11109         * conform/data/float.h-data: Likewise.
11110         * conform/data/fmtmsg.h-data: Likewise.
11111         * conform/data/fnmatch.h-data: Likewise.
11112         * conform/data/ftw.h-data: Likewise.
11113         * conform/data/glob.h-data: Likewise.
11114         * conform/data/grp.h-data: Likewise.
11115         * conform/data/iconv.h-data: Likewise.
11116         * conform/data/inttypes.h-data: Likewise.
11117         * conform/data/langinfo.h-data: Likewise.
11118         * conform/data/libgen.h-data: Likewise.
11119         * conform/data/limits.h-data: Likewise.
11120         * conform/data/locale.h-data: Likewise.
11121         * conform/data/math.h-data: Likewise.
11122         * conform/data/monetary.h-data: Likewise.
11123         * conform/data/mqueue.h-data: Likewise.
11124         * conform/data/ndbm.h-data: Likewise.
11125         * conform/data/net/if.h-data: Likewise.
11126         * conform/data/netdb.h-data: Likewise.
11127         * conform/data/netinet/in.h-data: Likewise.
11128         * conform/data/nl_types.h-data: Likewise.
11129         * conform/data/poll.h-data: Likewise.
11130         * conform/data/pthread.h-data: Likewise.
11131         * conform/data/pwd.h-data: Likewise.
11132         * conform/data/regex.h-data: Likewise.
11133         * conform/data/sched.h-data: Likewise.
11134         * conform/data/search.h-data: Likewise.
11135         * conform/data/semaphore.h-data: Likewise.
11136         * conform/data/setjmp.h-data: Likewise.
11137         * conform/data/signal.h-data: Likewise.
11138         * conform/data/spawn.h-data: Likewise.
11139         * conform/data/stdarg.h-data: Likewise.
11140         * conform/data/stdio.h-data: Likewise.
11141         * conform/data/stdlib.h-data: Likewise.
11142         * conform/data/string.h-data: Likewise.
11143         * conform/data/strings.h-data: Likewise.
11144         * conform/data/stropts.h-data: Likewise.
11145         * conform/data/sys/ipc.h-data: Likewise.
11146         * conform/data/sys/mman.h-data: Likewise.
11147         * conform/data/sys/msg.h-data: Likewise.
11148         * conform/data/sys/resource.h-data: Likewise.
11149         * conform/data/sys/select.h-data: Likewise.
11150         * conform/data/sys/sem.h-data: Likewise.
11151         * conform/data/sys/shm.h-data: Likewise.
11152         * conform/data/sys/socket.h-data: Likewise.
11153         * conform/data/sys/stat.h-data: Likewise.
11154         * conform/data/sys/statvfs.h-data: Likewise.
11155         * conform/data/sys/time.h-data: Likewise.
11156         * conform/data/sys/timeb.h-data: Likewise.
11157         * conform/data/sys/times.h-data: Likewise.
11158         * conform/data/sys/types.h-data: Likewise.
11159         * conform/data/sys/uio.h-data: Likewise.
11160         * conform/data/sys/un.h-data: Likewise.
11161         * conform/data/sys/utsname.h-data: Likewise.
11162         * conform/data/sys/wait.h-data: Likewise.
11163         * conform/data/syslog.h-data: Likewise.
11164         * conform/data/tar.h-data: Likewise.
11165         * conform/data/termios.h-data: Likewise.
11166         * conform/data/utime.h-data: Likewise.
11167         * conform/data/utmpx.h-data: Likewise.
11168         * conform/data/varargs.h-data: Likewise.
11169         * conform/data/wchar.h-data: Likewise.
11170         * conform/data/wctype.h-data: Likewise.
11171         * conform/data/wordexp.h-data: Likewise.
11173         * include/stropts.h: New file.
11174         * include/uchar.h: New file.
11175         * include/aio.h: Changes to allow conformtest.pl to use the headers.
11176         * include/assert.h: Likewise.
11177         * include/ctype.h: Likewise.
11178         * include/dirent.h: Likewise.
11179         * include/dlfcn.h: Likewise.
11180         * include/fcntl.h: Likewise.
11181         * include/fnmatch.h: Likewise.
11182         * include/glob.h: Likewise.
11183         * include/grp.h: Likewise.
11184         * include/libio.h: Likewise.
11185         * include/locale.h: Likewise.
11186         * include/math.h: Likewise.
11187         * include/net/if.h: Likewise.
11188         * include/netdb.h: Likewise.
11189         * include/netinet/in.h: Likewise.
11190         * include/pthread.h: Likewise.
11191         * include/pwd.h: Likewise.
11192         * include/regex.h: Likewise.
11193         * include/sched.h: Likewise.
11194         * include/search.h: Likewise.
11195         * include/setjmp.h: Likewise.
11196         * include/signal.h: Likewise.
11197         * include/stdio.h: Likewise.
11198         * include/stdlib.h: Likewise.
11199         * include/string.h: Likewise.
11200         * include/sys/cdefs.h: Likewise.
11201         * include/sys/mman.h: Likewise.
11202         * include/sys/msg.h: Likewise.
11203         * include/sys/resource.h: Likewise.
11204         * include/sys/select.h: Likewise.
11205         * include/sys/socket.h: Likewise.
11206         * include/sys/stat.h: Likewise.
11207         * include/sys/statvfs.h: Likewise.
11208         * include/sys/time.h: Likewise.
11209         * include/sys/times.h: Likewise.
11210         * include/sys/uio.h: Likewise.
11211         * include/sys/utsname.h: Likewise.
11212         * include/sys/wait.h: Likewise.
11213         * include/termios.h: Likewise.
11214         * include/time.h: Likewise.
11215         * include/ulimit.h: Likewise.
11216         * include/unistd.h: Likewise.
11217         * include/utime.h: Likewise.
11218         * include/wchar.h: Likewise.
11219         * include/wctype.h: Likewise.
11220         * include/wordexp.h: Likewise.
11222         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
11224         * time/time.h: TIME_UTC must be a macro.
11225         Make timespec_get available for ISO C11 only as well.
11227 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
11229         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
11230         Reported by Peng Haitao <penght@cn.fujitsu.com>.
11232 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
11234         * configure.in: Use -o not -a in test for unsupported multi-arch.
11236 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
11238         * manual/texinfo.tex: Update to version 2012-01-19.16.
11240 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
11242         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
11244 2012-02-24  Roland McGrath  <roland@hack.frob.com>
11246         [BZ #13738]
11247         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
11248         * manual/fdl-1.3.texi: New file.
11249         * manual/fdl-1.1.texi: File removed.
11251         [BZ #13738]
11252         * manual/libc.texinfo (FDL_VERSION): New @set.
11253         Use it for mention of FDL in cover text.
11254         (Documentation License): Use it in @include file name.
11256 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
11257             Roland McGrath  <roland@hack.frob.com>
11259         [BZ #5461]
11260         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
11261         not LONG_LONG_MAX and LONG_LONG_MIN.
11262         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
11263         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
11264         name.
11265         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
11267 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
11269         [BZ #2547]
11270         [BZ #11365]
11271         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
11272         manipulate bits before adding and subtracting TWO23[sx].
11273         * math/libm-test.inc (nearbyint_test): Add more tests.
11275 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
11277         [BZ #2548]
11278         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
11279         bits before adding and subtracting TWO23[sx].
11280         * math/libm-test.inc (rint_test): Add more tests.
11281         (rint_test_tonearest): Likewise.
11282         (rint_test_towardzero): Likewise.
11283         (rint_test_downward): Likewise.
11284         (rint_test_upward: Likewise.
11286 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
11288         [BZ #10110]
11289         * include/stdc-predef.h: New file.  Extracted from features.h.
11290         * include/features.h: Include stdc-predef.h.
11291         * Makefile (headers): Add stdc-predef.h.
11292         * CONFORMANCE (Compiler limitations): Update.
11294 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
11296         * manual/libc.texinfo (VERSION, UPDATED): Revert.
11298 2012-02-21  David S. Miller  <davem@davemloft.net>
11300         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
11301         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
11303 2012-02-20  David S. Miller  <davem@davemloft.net>
11305         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
11306         using a normal save/restore sequence, rather than allocating a
11307         dummy stack frame just to store a frame pointer and restore.
11308         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
11310 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
11312         * manual/install.texi: Fix stray word in line-wrapped comment.
11314 2012-02-20  David S. Miller  <davem@davemloft.net>
11316         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
11317         both binutils and gcc support GOTDATA.
11319         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
11320         "rd %pc" in the PIC register setup sequences.
11322         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
11323         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
11324         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
11325         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
11326         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
11327         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
11328         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
11329         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
11330         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
11331         (SYSCALL_ERROR_HANDLER): Likewise.
11332         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
11333         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
11334         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
11335         (SYSCALL_ERROR_HANDLER): Likewise.
11337         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
11338         (HAVE_GCC_GOTDATA): New.
11339         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
11340         relocation support in both binutils and gcc.
11341         * sysdeps/sparc/elf/configure: Regenerate.
11343         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
11344         * sysdeps/sparc/sparc32/elf/configure: Delete.
11345         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
11346         * sysdeps/sparc/sparc64/elf/configure: Delete.
11347         * sysdeps/sparc/elf/configure.in: New file.
11348         * sysdeps/sparc/elf/configure: Generate.
11350         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
11351         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
11352         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
11353         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
11354         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
11356 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
11358         * manual/install.texi: Do not mention specific glibc version
11359         numbers.
11360         * manual/libc.texinfo (VERSION, UPDATED): Update.
11361         (@copying): Use @copyright{} and range of years.
11363 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
11365         [BZ #13695]
11366         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
11367         [crti.S not in sysdirs] (generated): Do not append.
11368         [crti.S not in sysdirs] (omit-deps): Likewise.
11369         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
11370         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
11371         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
11372         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
11373         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
11374         Likewise.
11375         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
11376         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
11377         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
11378         * csu/defs.awk: Remove file.
11379         * sysdeps/generic/initfini.c: Likewise.
11380         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
11381         variable.
11382         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
11383         Likewise.
11385 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
11387         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
11388         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
11389         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
11390         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
11391         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
11392         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
11393         <bits/epoll.h>.
11394         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
11395         (__EPOLL_PACKED): Define to empty if not defined by
11396         <bits/epoll.h>.
11397         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
11398         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11399         bits/epoll.h.
11401 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
11403         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
11404         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
11405         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
11406         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
11407         <bits/timerfd.h>.
11408         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
11409         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11410         bits/timerfd.h.
11412 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
11414         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
11415         in C locale.
11416         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
11417         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
11418         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
11419         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11421 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
11423         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
11424         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
11426 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
11428         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
11429         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
11430         defined.
11431         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
11432         Likewise.
11433         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
11434         entry for 2.16.
11436 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
11438         * math/w_acos.c: Use non-signaling floating-point comparisons.
11439         * math/w_acosf.c: Likewise.
11440         * math/w_acosh.c: Likewise.
11441         * math/w_acoshf.c: Likewise.
11442         * math/w_acoshl.c: Likewise.
11443         * math/w_acosl.c: Likewise.
11444         * math/w_asin.c: Likewise.
11445         * math/w_asinf.c: Likewise.
11446         * math/w_asinl.c: Likewise.
11447         * math/w_atanh.c: Likewise.
11448         * math/w_atanhf.c: Likewise.
11449         * math/w_atanhl.c: Likewise.
11450         * math/w_exp2.c: Likewise.
11451         * math/w_exp2f.c: Likewise.
11452         * math/w_exp2l.c: Likewise.
11453         * math/w_j0.c: Likewise.
11454         * math/w_j0f.c: Likewise.
11455         * math/w_j0l.c: Likewise.
11456         * math/w_j1.c: Likewise.
11457         * math/w_j1f.c: Likewise.
11458         * math/w_j1l.c: Likewise.
11459         * math/w_jn.c: Likewise.
11460         * math/w_jnf.c: Likewise.
11461         * math/w_log.c: Likewise.
11462         * math/w_log10.c: Likewise.
11463         * math/w_log10f.c: Likewise.
11464         * math/w_log10l.c: Likewise.
11465         * math/w_log2.c: Likewise.
11466         * math/w_log2f.c: Likewise.
11467         * math/w_log2l.c: Likewise.
11468         * math/w_logf.c: Likewise.
11469         * math/w_logl.c: Likewise.
11470         * math/w_sqrt.c: Likewise.
11471         * math/w_sqrtf.c: Likewise.
11472         * math/w_sqrtl.c: Likewise.
11473         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
11474         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
11475         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
11476         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
11477         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
11479 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
11481         [BZ #9739]
11482         * manual/string.texi (strnlen): Use correct parameter name in
11483         equivalent expression.
11485 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
11487         [BZ #11174]
11488         * manual/users.texi (seteuid): Consistently use neweuid for
11489         argument name.
11491 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
11493         [BZ #13704]
11494         * manual/nss.texi (Services in the NSS configuration): Correct
11495         list of services in example configuration file.
11497 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
11499         [BZ #11322]
11500         * manual/arith.texi: Remove statements about negative zero
11501         behaving identically to zero.
11503 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
11505         [BZ #5993]
11506         * manual/install.texi: Do not document upgrading from libc5.
11508 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
11510         [BZ #4596]
11511         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
11513 2012-02-18  David S. Miller  <davem@davemloft.net>
11515         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
11516         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
11517         %o7 across the call.
11518         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
11519         instead.
11520         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
11521         SETUP_PIC_REG_LEAF.
11522         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
11523         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
11524         * sysdeps/sparc/crtn.S: Likewise.
11526 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
11528         * aout/Makefile: Remove.
11530 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
11532         [BZ #13058]
11533         * manual/examples/argp-ex1.c (main): Format definition in GNU
11534         style.
11535         * manual/examples/argp-ex2.c (main): Likewise.
11536         * manual/examples/argp-ex3.c (main): Likewise.
11537         * manual/examples/argp-ex4.c (main): Likewise.
11538         * manual/examples/longopt.c (main): Use new-style prototype
11539         definition.
11540         * manual/examples/strncat.c (main): Specify return type and use
11541         (void) for arguments.
11542         * manual/examples/subopt.c (main): Use char **argv argument.
11544 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
11546         [BZ #5077]
11547         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
11548         rounding modes.
11550 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
11552         [BZ #6907]
11553         * manual/string.texi (strchr): Change when strchrnul is
11554         recommended.
11556 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
11558         [BZ #174]
11559         * manual/locale.texi (setlocale): Document LOCPATH.
11561 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
11563         [BZ #10210]
11564         * manual/process.texi (execle): Move @dots{} before last argument.
11566 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
11568         [BZ #12047]
11569         * manual/charset.texi (Generic Charset Conversion): Fix typo
11570         (LC_TYPE -> LC_CTYPE).
11572 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
11574         [BZ #5805]
11575         * manual/arith.texi (scalbn): Use @var{} on parameter names.
11576         (scalbnf): Likewise.
11577         (scalbnl): Likewise.
11578         (scalbln): Likewise.
11579         (scalblnf): Likewise.
11580         (scalblnl): Likewise.
11581         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
11582         (vwarnx): Likewise.
11583         (verr): Likewise.
11584         (verrx): Likewise.
11585         * manual/filesys.texi (telldir): Use braces around return type.
11586         * manual/llio.texi (mmap): Add space after comma.
11587         (mmap64): Likewise.
11588         * manual/math.texi (jn): Use @var{} on parameter names.
11589         (jnf): Likewise.
11590         (jnl): Likewise.
11591         (yn): Likewise.
11592         (ynf): Likewise.
11593         (ynl): Likewise.
11594         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
11595         line.
11596         * manual/resource.texi (ulimit): Use @dots{} instead of literal
11597         "...".
11598         (sched_get_priority_min): Remove semicolon on @deftypefun line.
11599         (sched_get_priority_max): Likewise.
11600         * manual/signal.texi (sigvec): Add space after comma.
11601         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
11602         names.
11603         (if_indextoname): Likewise.
11604         (if_freenameindex): Likewise.
11605         (sendto): Use ',' instead of '.' in prototype.
11606         * manual/startup.texi (syscall): Use @dots{} instead of literal
11607         "...".
11608         * manual/stdio.texi (__fpending): Separate initial words of
11609         paragraph from @deftypefun line.
11610         * manual/syslog.texi (syslog): Use @dots{} instead of literal
11611         "...".
11612         (vsyslog): Use @var{} on parameter names.
11613         * manual/terminal.texi (stty): Use @var{} on parameter names.
11614         * manual/users.texi (getutmp): Use @var{} on parameter names.
11615         (getutmpx): Likewise.
11617 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
11619         [BZ #6884]
11620         * manual/stdio.texi (fopen): Fix typos in description of
11621         ",ccs=STRING".
11623 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
11625         [BZ #4026]
11626         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
11627         get clock_id definition.
11629 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
11631         [BZ #4822]
11632         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
11633         (madvise): Cast every argument to void on its own.
11635 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
11637         [BZ #9902]
11638         * manual/startup.texi (Exit Status): Fix typo.
11640 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
11642         [BZ #10140]
11643         * manual/examples/argp-ex1.c: Include <stdlib.h>.
11644         * manual/examples/argp-ex2.c: Likewise.
11645         * manual/examples/argp-ex3.c: Likewise.
11647 2012-02-16  Richard Henderson  <rth@redhat.com>
11649         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
11650         * sysdeps/s390/s390-32/initfini.c: Remove.
11651         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
11652         * sysdeps/s390/s390-64/initfini.c: Remove.
11654 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
11656         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
11657         compiler output for sysdeps/generic/initfini.c.
11658         * sysdeps/sh/elf/initfini.c: Remove file.
11660 2012-02-16  David S. Miller  <davem@davemloft.net>
11662         [BZ #11494]
11663         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
11665         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
11666         * sysdeps/sparc/crti.S: New file.
11667         * sysdeps/sparc/crtn.S: New file.
11668         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
11669         * sysdeps/sparc/sparc64/Makefile: Likewise.
11671 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
11673         [BZ #3335]
11674         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
11676 2012-02-15  Roland McGrath  <roland@hack.frob.com>
11678         [BZ #4822]
11679         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
11681         * mach/devstream.c (cookie_io_functions_t): Macro removed.
11682         (write, read, close): Likewise.
11683         Patch by Aurelien Jarno <aurelien@aurel32.net>.
11685 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
11687         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
11688         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
11689         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
11690         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
11691         <bits/signalfd.h>.
11692         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
11693         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11694         bits/signalfd.h.
11696 2012-02-14  Marek Polacek  <polacek@redhat.com>
11698         * sysdeps/x86_64/crti.S: New file.
11699         * sysdeps/x86_64/crtn.S: New file.
11700         * sysdeps/x86_64/elf/initfini.c: Remove file.
11702 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
11704         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
11705         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
11706         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
11707         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
11708         <bits/inotify.h>.
11709         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
11710         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11711         bits/inotify.h.
11713 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
11715         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
11716         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
11717         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
11718         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
11719         <bits/eventfd.h>.
11720         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
11721         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11722         bits/eventfd.h.
11724 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
11726         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
11727         __feraiseexcept instead of feraiseexcept.
11729         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
11730         nanosleep invocations.
11731         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
11732         strings, and add error checking for a nanosleep invocations.
11734 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
11736         Replace FSF snail mail address with URLs, as per GNU coding standards.
11737         Most of the snail mail addresses were wrong anyway, and omitting
11738         them makes the source code easier to maintain.  Almost all of the
11739         changes are to license notices and to locale LC_IDENTIFICATION
11740         addresses, except for this one:
11741         * manual/libc.texinfo: In "Published by", give the FSF's URL,
11742         not its snail mail address.
11744 2012-02-09  Richard Henderson  <rth@twiddle.net>
11746         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
11747         of kernel-features.h.
11749         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
11751 2012-02-08  Marek Polacek  <polacek@redhat.com>
11753         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
11754         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
11755         * sysdeps/gnu/_G_config.h: Likewise.
11756         * sysdeps/generic/_G_config.h: Likewise.
11758 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
11760         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
11761         tests.
11762         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11764         * sysdeps/powerpc/powerpc32/crti.S: New file.
11765         * sysdeps/powerpc/powerpc32/crtn.S: New file.
11766         * sysdeps/powerpc/powerpc64/crti.S: New file.
11767         * sysdeps/powerpc/powerpc64/crtn.S: New file.
11769         * Makeconfig (have-initfini): Don't set.
11770         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
11771         * configure.in (nopic_initfini): Don't substitute.
11772         * config.h.in (HAVE_INITFINI): Don't #undef.
11773         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
11774         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
11776 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
11778         Support crti.S and crtn.S provided directly by architectures.
11779         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
11780         [crti.S in sysdirs] (omit-deps): Likewise.
11781         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
11782         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
11783         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
11784         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
11785         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
11786         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
11787         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
11788         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
11789         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
11790         compiler output for sysdeps/generic/initfini.c.
11791         * sysdeps/i386/elf/Makefile: Remove file.
11792         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
11794 2012-02-07  Marek Polacek  <polacek@redhat.com>
11796         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
11797         * sysdeps/gnu/_G_config.h: Likewise.
11798         * sysdeps/mach/hurd/_G_config.h: Likewise.
11800 2012-02-07  Marek Polacek  <polacek@redhat.com>
11802         * math/Makefile (tests): Add tst-CMPLX2.
11803         * math/tst-CMPLX2.c: New file.
11805 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
11807         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
11809         * math/libm-test.inc (jn_test): Add missing L suffix.
11811 2012-02-06  Marek Polacek  <polacek@redhat.com>
11813         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
11814         * sysdeps/i386/fpu/e_powf.S: Likewise.
11815         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
11816         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
11817         * sysdeps/i386/fpu/e_acosh.S: Likewise.
11818         * sysdeps/i386/fpu/e_pow.S: Likewise.
11819         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
11820         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
11821         * sysdeps/i386/fpu/s_expm1.S: Likewise.
11822         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
11823         * sysdeps/i386/fpu/e_log2.S: Likewise.
11824         * sysdeps/i386/fpu/e_log2l.S: Likewise.
11825         * sysdeps/i386/fpu/e_scalb.S: Likewise.
11826         * sysdeps/i386/fpu/e_powl.S: Likewise.
11827         * sysdeps/i386/fpu/s_log1p.S: Likewise.
11828         * sysdeps/i386/fpu/e_log10f.S: Likewise.
11829         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
11830         * sysdeps/i386/fpu/e_logl.S: Likewise.
11831         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
11832         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
11833         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
11834         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
11835         * sysdeps/i386/fpu/e_log2f.S: Likewise.
11836         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
11837         * sysdeps/i386/fpu/e_log.S: Likewise.
11838         * sysdeps/i386/fpu/s_cexp.S: Likewise.
11839         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
11840         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
11841         * sysdeps/i386/fpu/e_logf.S: Likewise.
11842         * sysdeps/i386/fpu/e_log10l.S: Likewise.
11843         * sysdeps/i386/fpu/e_atanh.S: Likewise.
11844         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
11845         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
11846         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
11847         * sysdeps/i386/fpu/e_log10.S: Likewise.
11848         * sysdeps/i386/fpu/s_frexp.S: Likewise.
11849         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
11850         * sysdeps/i386/fpu/s_asinh.S: Likewise.
11851         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
11852         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
11853         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
11854         * sysdeps/i386/asm-syntax.h: Likewise.
11855         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
11856         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
11857         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
11858         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
11859         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
11860         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
11861         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
11862         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
11863         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
11864         * sysdeps/powerpc/sysdep.h: Likewise.
11865         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
11866         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
11868 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
11870         [BZ #411]
11871         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
11873 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
11875         * sysdeps/i386/sysdep.h: Include <features.h>.
11876         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
11877         version.
11879 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
11881         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
11882         Define.
11883         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
11884         LOAD_PIC_REG_STR.
11886 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
11888         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
11889         (SETUP_PIC_REG): Use GET_PC_THUNK.
11890         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
11891         macro.
11893 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
11895         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
11896         for non-PIC compilation.
11897         (SETUP_PIC_REG): Add .p2align directive.
11898         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
11899         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
11900         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
11901         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
11902         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
11903         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
11904         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
11905         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
11906         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
11907         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
11908         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
11909         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
11910         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
11911         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
11912         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
11913         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
11914         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
11915         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
11916         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
11917         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
11918         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
11919         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
11920         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
11921         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
11922         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
11923         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
11924         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
11925         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
11926         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
11927         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
11928         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
11929         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
11930         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
11931         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
11932         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
11933         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
11934         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
11935         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
11936         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
11937         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
11938         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
11940 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
11942         * math/tst-CMPLX.c: Include <stdio.h>.
11944 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
11946         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
11947         float.
11948         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
11949         * sysdeps/sparc/bits/mathdef.h: Likewise.
11951 2012-01-31  Marek Polacek  <polacek@redhat.com>
11953         * libio/libio.h: Don't define _PARAMS.
11954         * locale/programs/config.h: Don't define PARAMS.
11955         * stdlib/strtol_l.c: Likewise.
11956         (__strtol_l): Remove PARAMS from the prototype.
11958 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
11960         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
11961         names.  Just use the correct names.  Remove unnecessary wrapper
11962         functions.
11963         * malloc/arena.c: Likewise.
11964         * malloc/hooks.c: Likewise.
11966         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
11967         ARENA_TEST says not to.  Simplify test for creation of a new arena.
11968         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
11970 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
11972         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
11973         into tail calls.
11974         (update_get_addr): New function.
11975         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
11976         GET_ADDR_MODULE parameter.
11978 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
11980         * crypt/cert.c: Remove __STDC__ conditionals.
11981         * crypt/crypt-entry.c: Likewise.
11982         * crypt/crypt_util.c: Likewise.
11983         * libio/filedoalloc.c: Likewise.
11984         * libio/fileops.c: Likewise.
11985         * libio/genops.c: Likewise.
11986         * libio/iofclose.c: Likewise.
11987         * libio/iofdopen.c: Likewise.
11988         * libio/iofopen.c: Likewise.
11989         * libio/iofopen64.c: Likewise.
11990         * libio/iogetdelim.c: Likewise.
11991         * libio/iopopen.c: Likewise.
11992         * libio/obprintf.c: Likewise.
11993         * libio/oldfileops.c: Likewise.
11994         * libio/oldiofclose.c: Likewise.
11995         * libio/oldiofdopen.c: Likewise.
11996         * libio/oldiofopen.c: Likewise.
11997         * libio/oldiopopen.c: Likewise.
11998         * libio/wfiledoalloc.c: Likewise.
11999         * libio/wgenops.c: Likewise.
12000         * locale/programs/xmalloc.c: Likewise.
12001         * misc/syslog.c: Likewise.
12002         * stdio-common/xbug.c: Likewise.
12003         * string/memchr.c: Likewise.
12004         * string/memcmp.c: Likewise.
12005         * string/memrchr.c: Likewise.
12006         * string/rawmemchr.c: Likewise.
12007         * sysdeps/posix/getcwd.c: Likewise.
12008         * time/strftime_l.c: Likewise.
12010 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
12012         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
12013         * config.make.in (config-cflags-sse2avx): Define.
12014         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
12015         Fix typo.
12017 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
12019         * scripts/config.guess: Update from upstream config git repository.
12020         * scripts/config.sub: Likewise.
12022 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
12024         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
12025         (EM_NUM): Update.
12026         (R_TILEPRO_*, R_TILEGX_*): New macros.
12028         * scripts/firstversions.awk: Fix bug in version range handling.
12030         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
12032         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
12034         * include/sys/epoll.h: New file.
12035         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
12036         libc_hidden_def.
12038 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
12040         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
12041         Avoid unnecessary __WORDSIZE == 64 test.
12042         (fmaxf): Use VEX format if possible.
12043         (fmax): Likewise.
12044         (fminf): Likewise.
12045         (fmin): Likewise.
12047         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
12048         * math/math_private.h: Remove libc_fegetround* and
12049         libc_fesetround*.
12050         * sysdeps/i386/configure.in: Check for -msse2avx.
12051         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
12052         also if SSE2AVX is defined.
12053         Remove libc_fegetround* and libc_fesetround*.
12054         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
12055         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
12056         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
12057         of HAS_YMM_USABLE.
12058         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
12059         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
12060         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
12061         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
12062         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
12064         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
12066 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12068         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
12069         size is not set.
12070         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
12072 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
12074         [BZ #13618]
12075         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
12076         relocation.
12077         * Makeconfig (libm): Define.
12078         * elf/Makefile: Add rules to build and run tst-relsort1.
12079         * elf/tst-relsort1.c: New file.
12080         * elf/tst-relsort1mod1.c: New file.
12081         * elf/tst-relsort1mod2.c: New file.
12083 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
12085         * math/s_ldexp.c: Remove __STDC__ conditionals.
12086         * math/s_ldexpf.c: Likewise.
12087         * math/s_ldexpl.c: Likewise.
12088         * math/s_nextafter.c: Likewise.
12089         * math/s_nexttowardf.c: Likewise.
12090         * math/s_significand.c: Likewise.
12091         * math/s_significandf.c: Likewise.
12092         * math/s_significandl.c: Likewise.
12093         * math/w_jnl.c: Likewise.
12094         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
12095         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
12096         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
12097         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
12098         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
12099         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
12100         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
12101         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
12102         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
12103         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
12104         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
12105         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
12106         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
12107         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
12108         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
12109         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
12110         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
12111         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
12112         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
12113         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
12114         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
12115         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
12116         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
12117         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
12118         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
12119         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
12120         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
12121         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
12122         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
12123         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
12124         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
12125         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
12126         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
12127         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
12128         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
12129         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
12130         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
12131         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
12132         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
12133         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
12134         * sysdeps/ieee754/k_standard.c: Likewise.
12135         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
12136         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
12137         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
12138         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
12139         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
12140         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
12141         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
12142         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
12143         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
12144         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
12145         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
12146         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
12147         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
12148         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
12149         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
12150         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
12151         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
12152         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
12153         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
12154         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
12155         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
12156         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
12157         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
12158         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
12159         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
12160         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
12161         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
12162         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
12163         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
12164         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
12165         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
12166         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
12167         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
12168         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
12169         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
12170         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
12171         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
12172         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
12173         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
12174         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
12175         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
12176         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
12177         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
12178         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
12179         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
12180         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
12181         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
12182         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
12183         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
12184         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
12185         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
12186         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
12187         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
12188         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
12189         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
12190         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
12191         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
12192         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
12193         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
12194         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
12195         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
12196         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
12197         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
12198         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
12199         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
12200         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
12201         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
12202         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
12203         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
12204         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
12205         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
12206         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
12207         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
12208         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
12209         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
12210         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
12211         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
12212         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
12213         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
12214         * sysdeps/ieee754/s_matherr.c: Likewise.
12215         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
12216         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
12217         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
12218         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
12220 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
12222         * crypt/md5.h: Remove __STDC__ conditionals.
12223         * libio/libioP.h: Likewise.
12224         * locale/programs/config.h: Likewise.
12225         * sysdeps/generic/sysdep.h: Likewise.
12226         * sysdeps/i386/asm-syntax.h: Likewise.
12227         * sysdeps/s390/asm-syntax.h: Likewise.
12228         * sysdeps/unix/sysdep.h: Likewise.
12229         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
12230         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
12232 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
12234         * libio/libio.h: Remove __STDC__ conditionals.
12235         * malloc/obstack.h: Likewise.
12236         * math/complex.h: Likewise.
12237         * math/math.h: Likewise.
12238         * sysdeps/generic/_G_config.h: Likewise.
12239         * sysdeps/gnu/_G_config.h: Likewise.
12240         * sysdeps/mach/hurd/_G_config.h: Likewise.
12241         * sysdeps/powerpc/bits/mathdef.h: Likewise.
12242         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
12243         * sysdeps/sparc/bits/mathdef.h: Likewise.
12245 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
12247         [BZ #13583]
12248         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
12249         Clean up HAS_* macros.
12250         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
12251         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
12252         possible.
12253         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
12254         HAS_AVX.
12255         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
12256         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
12257         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
12258         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
12259         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
12261 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
12263         * elf/tst-unique3.cc (gets): Remove declaration.
12264         * elf/tst-unique3lib.cc (gets): Likewise.
12265         * elf/tst-unique3lib2.cc (gets): Likewise.
12266         * elf/tst-unique4.cc (gets): Likewise.
12268 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
12270         * include/stdio.h: Add C++ protection.  Add gets declarations and
12271         definitions.
12272         * debug/tst-chk1.c: Don't declare gets here.
12273         * stdio-common/tst-gets.c: Likewise.
12275 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
12277         * posix/glob: Remove directory.
12279 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
12281         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
12283 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
12285         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
12286         of the non-standard EPFNOSUPPORT.
12288 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12290         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
12291         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
12292         ANYWHERE set to 1 only on KERN_NO_SPACE error.
12294 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
12296         * wcsmbs/uchar.h: Test __STDC_VERSION__.
12298 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
12300         * nscd/aicache.c (addhstaiX): Do not cache negative results of
12301         transient errors.
12302         * nscd/grpcache.c (cache_addgr): Likewise.
12303         * nscd/hstcache.c (cache_addhst): Likewise.
12304         * nscd/initgrcache.c (addinitgroupsX): Likewise.
12305         * nscd/pwdcache.c (cache_addpw): Likewise.
12306         * nscd/servicescache.c (cache_addserv): Likewise.
12308 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
12310         * malloc/malloc.c: Various cleanups.
12311         * malloc/hooks.c: Likewise.
12313         * stdlib/Makefile (tests): Add bug-fmtmsg1.
12314         * stdlib/bug-fmtmsg1.c: New file.
12316         * stdlib/fmtmsg.c (init): Add missing unlock.
12317         Patch by Peng Haitao <penght@cn.fujitsu.com>.
12319 2012-01-12  Marek Polacek  <polacek@redhat.com>
12321         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
12322         and _GNU_SOURCE.
12324 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
12326         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
12327         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
12328         macro to ensure uniqueness of label name.
12329         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
12330         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
12332 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
12334         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
12336         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
12337         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
12338         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
12339         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
12341 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
12343         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
12345         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
12346         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
12347         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
12349         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
12351         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
12352         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
12353         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
12354         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
12356         * math/bits/math-finite.h: Add ldexp support.
12358 2012-01-10  Marek Polacek  <polacek@redhat.com>
12360         * locale/programs/localedef.h (show_archive_content): Add noreturn
12361         attribute.
12363 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
12365         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
12367 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
12369         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
12371         * io/Makefile (headers): Add bits/poll2.h.
12373 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
12375         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
12376         typo #include statement.
12378 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
12380         * include/sys/cdefs.h: Define __attribute_alloc_size.
12381         * catgets/gencat.c: Add alloc_size attribute and apply consistently
12382         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
12383         * elf/pldd.c: Likewise.
12384         * iconv/iconv_charmap.c: Likewise.
12385         * iconv/iconvconfig.c: Likewise.
12386         * iconv/strtab.c: Likewise.
12387         * locale/programs/locale.c: Likewise.
12388         * locale/programs/localedef.h: Likewise.
12389         * locale/programs/simple-hash.c: Likewise.
12390         * nscd/nscd.h: Likewise.
12391         * nss/makedb.c: Likewise.
12392         * sysdeps/generic/ldconfig.h: Likewise.
12393         * locale/programs/localedef.c: Remove xmalloc prototype.
12394         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
12396 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
12398         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
12399         appropriate.
12401 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
12403         * math/Makefile (tests): Add tst-CMPLX.
12404         * math/tst-CMPLX.c: New file.
12406         * math/complex.h (CMPLXL): Fix typo.
12408         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
12409         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
12410         GLIBC_2.16.
12411         * debug/tst-chk1.c: Add poll and ppoll tests.
12412         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
12413         * include/sys/poll.h: Add hidden proto for ppoll.
12414         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
12415         * sysdeps/mach/hurd/ppoll.c: Likewise.
12416         * io/ppoll.c: Likewise.
12417         * debug/poll_chk.c: New file.
12418         * debug/ppoll_chk.c: New file.
12419         * include/bits/poll2.h: New file.
12420         * io/bits/poll2.h: New file.
12422         [BZ #1350]
12423         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
12425         * configure.in: static is always set to yes.  Remove.
12426         * config.make.in: Don't set build-static.
12427         * Makeconfig: Remove use of build-static.
12428         * dlfcn/Makefile: Likewise.
12429         * elf/Makefile: Likewise.
12430         * math/Makefile: Likewise.
12431         * misc/Makefile: Likewise.
12432         * nptl/Makefile: Likewise.
12433         * sysdeps/mach/hurd/Makefile: Likewise.
12435         * configure.in: PWD_P is not used anymore.
12436         * config.make.in: Remove PWD_P entry.
12438         * configure.in: Remove last remnants of RANLIB.
12439         No need to check for signed size_t anymore.
12440         Don't set libc_commonpagesize and libc_relro_required here for Alpha
12441         and IA-64.
12442         Remove __builtin_expect test because we require at least gcc 3.4.
12443         * aclocal.m4: Likewise.
12445         * wcsmbs/mbrtoc16.c: Implement using towc function.
12446         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
12447         * wcsmbs/wcsmbsload.c: Likewise.
12448         * iconv/gconv_simple.c: Likewise.
12449         * iconv/gconv_int.h: Likewise.
12450         * iconv/gconv_builtin.h: Likewise.
12451         * iconv/iconv_prog.c: Remove CHAR16 handling.
12453         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
12455         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
12457         * configure.in: Remove --with-elf and --enable-bounded options.
12458         Dont set base_machine for ia64.  More non-ELF conditions removed.
12459         Remove testing and setting of leading underscore information.
12460         * config.make.in (build-bounded): Set to no.
12461         * config.h.in: Remove NO_UNDERSCORES entry.
12462         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
12463         them.
12464         * csu/start.c: Remove !NO_UNDERSCORE code.
12465         * locale/localeinfo.h: Likewise.
12466         * sysdeps/generic/machine-gmon.h: Likewise.
12467         * sysdeps/generic/sysdep.h: Likewise.
12468         * sysdeps/i386/sysdep.h: Likewise.
12469         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
12470         * sysdeps/mach/sysdep.h: Likewise.
12471         * sysdeps/s390/s390-32/sysdep.h: Likewise.
12472         * sysdeps/s390/s390-64/sysdep.h: Likewise.
12473         * sysdeps/sh/sysdep.h: Likewise.
12474         * sysdeps/sparc/sparc32/alloca.S: Likewise.
12475         * sysdeps/unix/i386/sysdep.S: Likewise.
12476         * sysdeps/unix/sparc/start.c: Likewise.
12477         * sysdeps/unix/sparc/sysdep.S: Likewise.
12478         * sysdeps/unix/sparc/sysdep.h: Likewise.
12479         * sysdeps/unix/start.c: Likewise.
12480         * sysdeps/unix/x86_64/sysdep.S: Likewise.
12481         * sysdeps/x86_64/sysdep.h: Likewise.
12483 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
12485         [BZ #13553]
12486         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
12487         for non-gcc.
12488         * argp/argp-fmtstream.h: Use const instead __const.
12489         * argp/argp.h: Likewise.
12490         * assert/assert.h: Likewise.
12491         * bits/fenv.h: Likewise.
12492         * bits/sched.h: Likewise.
12493         * bits/sigset.h: Likewise.
12494         * bits/sigthread.h: Likewise.
12495         * catgets/nl_types.h: Likewise.
12496         * conform/data/pthread.h-data: Likewise.
12497         * crypt/crypt-private.h: Likewise.
12498         * crypt/crypt.h: Likewise.
12499         * crypt/crypt_util.c: Likewise.
12500         * ctype/ctype.h: Likewise.
12501         * debug/execinfo.h: Likewise.
12502         * debug/mbsnrtowcs_chk.c: Likewise.
12503         * debug/mbsrtowcs_chk.c: Likewise.
12504         * debug/wcsnrtombs_chk.c: Likewise.
12505         * debug/wcsrtombs_chk.c: Likewise.
12506         * debug/wcstombs_chk.c: Likewise.
12507         * dirent/dirent.h: Likewise.
12508         * dlfcn/dlfcn.h: Likewise.
12509         * elf/neededtest4.c: Likewise.
12510         * grp/grp.h: Likewise.
12511         * gshadow/gshadow.h: Likewise.
12512         * iconv/gconv.h: Likewise.
12513         * iconv/gconv_int.h: Likewise.
12514         * iconv/gconv_simple.c: Likewise.
12515         * iconv/iconv.h: Likewise.
12516         * iconv/loop.c: Likewise.
12517         * iconv/skeleton.c: Likewise.
12518         * include/aio.h: Likewise.
12519         * include/aliases.h: Likewise.
12520         * include/argz.h: Likewise.
12521         * include/arpa/inet.h: Likewise.
12522         * include/assert.h: Likewise.
12523         * include/dirent.h: Likewise.
12524         * include/dlfcn.h: Likewise.
12525         * include/execinfo.h: Likewise.
12526         * include/fcntl.h: Likewise.
12527         * include/fenv.h: Likewise.
12528         * include/glob.h: Likewise.
12529         * include/grp.h: Likewise.
12530         * include/libintl.h: Likewise.
12531         * include/mntent.h: Likewise.
12532         * include/netdb.h: Likewise.
12533         * include/pwd.h: Likewise.
12534         * include/rpc/netdb.h: Likewise.
12535         * include/sched.h: Likewise.
12536         * include/search.h: Likewise.
12537         * include/shadow.h: Likewise.
12538         * include/signal.h: Likewise.
12539         * include/stdio.h: Likewise.
12540         * include/stdlib.h: Likewise.
12541         * include/string.h: Likewise.
12542         * include/sys/socket.h: Likewise.
12543         * include/sys/stat.h: Likewise.
12544         * include/sys/statfs.h: Likewise.
12545         * include/sys/statvfs.h: Likewise.
12546         * include/sys/syslog.h: Likewise.
12547         * include/sys/time.h: Likewise.
12548         * include/sys/uio.h: Likewise.
12549         * include/time.h: Likewise.
12550         * include/unistd.h: Likewise.
12551         * include/utmp.h: Likewise.
12552         * include/wchar.h: Likewise.
12553         * include/wctype.h: Likewise.
12554         * inet/aliases.h: Likewise.
12555         * inet/arpa/inet.h: Likewise.
12556         * inet/netinet/ether.h: Likewise.
12557         * inet/netinet/in.h: Likewise.
12558         * intl/libintl.h: Likewise.
12559         * io/bits/fcntl2.h: Likewise.
12560         * io/fcntl.h: Likewise.
12561         * io/ftw.h: Likewise.
12562         * io/sys/poll.h: Likewise.
12563         * io/sys/stat.h: Likewise.
12564         * io/sys/statfs.h: Likewise.
12565         * io/sys/statvfs.h: Likewise.
12566         * io/utime.h: Likewise.
12567         * libio/bits/stdio.h: Likewise.
12568         * libio/bits/stdio2.h: Likewise.
12569         * libio/libio.h: Likewise.
12570         * libio/libioP.h: Likewise.
12571         * libio/stdio.h: Likewise.
12572         * locale/lc-ctype.c: Likewise.
12573         * locale/locale.h: Likewise.
12574         * login/utmp.h: Likewise.
12575         * malloc/arena.c: Likewise.
12576         * malloc/malloc.c: Likewise.
12577         * malloc/malloc.h: Likewise.
12578         * malloc/mcheck.c: Likewise.
12579         * malloc/mtrace.c: Likewise.
12580         * math/bits/mathcalls.h: Likewise.
12581         * math/fenv.h: Likewise.
12582         * math/math_private.h: Likewise.
12583         * misc/bits/error.h: Likewise.
12584         * misc/bits/syslog.h: Likewise.
12585         * misc/err.h: Likewise.
12586         * misc/error.h: Likewise.
12587         * misc/fstab.h: Likewise.
12588         * misc/mntent.h: Likewise.
12589         * misc/regexp.h: Likewise.
12590         * misc/search.h: Likewise.
12591         * misc/sgtty.h: Likewise.
12592         * misc/sys/mman.h: Likewise.
12593         * misc/sys/syslog.h: Likewise.
12594         * misc/sys/uio.h: Likewise.
12595         * misc/sys/xattr.h: Likewise.
12596         * misc/ttyent.h: Likewise.
12597         * nis/rpcsvc/ypclnt.h: Likewise.
12598         * nss/nss.h: Likewise.
12599         * posix/bits/unistd.h: Likewise.
12600         * posix/fnmatch.h: Likewise.
12601         * posix/glob.h: Likewise.
12602         * posix/sched.h: Likewise.
12603         * posix/spawn.h: Likewise.
12604         * posix/sys/wait.h: Likewise.
12605         * posix/unistd.h: Likewise.
12606         * posix/wordexp.h: Likewise.
12607         * pwd/pwd.h: Likewise.
12608         * resolv/netdb.h: Likewise.
12609         * resource/sys/resource.h: Likewise.
12610         * rt/aio.h: Likewise.
12611         * rt/bits/mqueue2.h: Likewise.
12612         * rt/mqueue.h: Likewise.
12613         * shadow/shadow.h: Likewise.
12614         * signal/signal.h: Likewise.
12615         * socket/send.c: Likewise.
12616         * socket/sendto.c: Likewise.
12617         * socket/sys/socket.h: Likewise.
12618         * stdio-common/printf.h: Likewise.
12619         * stdlib/bits/stdlib.h: Likewise.
12620         * stdlib/fmtmsg.h: Likewise.
12621         * stdlib/monetary.h: Likewise.
12622         * stdlib/stdlib.h: Likewise.
12623         * stdlib/ucontext.h: Likewise.
12624         * streams/stropts.h: Likewise.
12625         * string/argz.h: Likewise.
12626         * string/bits/string2.h: Likewise.
12627         * string/string.h: Likewise.
12628         * string/strings.h: Likewise.
12629         * sunrpc/rpc/auth.h: Likewise.
12630         * sunrpc/rpc/auth_des.h: Likewise.
12631         * sunrpc/rpc/clnt.h: Likewise.
12632         * sunrpc/rpc/netdb.h: Likewise.
12633         * sunrpc/rpc/pmap_clnt.h: Likewise.
12634         * sunrpc/rpc/xdr.h: Likewise.
12635         * sysdeps/generic/inttypes.h: Likewise.
12636         * sysdeps/generic/net/if.h: Likewise.
12637         * sysdeps/generic/sys/swap.h: Likewise.
12638         * sysdeps/gnu/net/if.h: Likewise.
12639         * sysdeps/gnu/utmpx.h: Likewise.
12640         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
12641         * sysdeps/i386/i486/bits/string.h: Likewise.
12642         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
12643         * sysdeps/s390/bits/string.h: Likewise.
12644         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
12645         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
12646         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
12647         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
12648         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
12649         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
12650         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
12651         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
12652         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
12653         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
12654         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
12655         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
12656         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
12657         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
12658         * sysdeps/unix/sysv/linux/readv.c: Likewise.
12659         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
12660         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
12661         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
12662         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
12663         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
12664         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
12665         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
12666         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
12667         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
12668         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
12669         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
12670         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
12671         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
12672         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
12673         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
12674         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
12675         * sysvipc/sys/ipc.h: Likewise.
12676         * sysvipc/sys/msg.h: Likewise.
12677         * sysvipc/sys/sem.h: Likewise.
12678         * sysvipc/sys/shm.h: Likewise.
12679         * termios/termios.h: Likewise.
12680         * time/sys/time.h: Likewise.
12681         * time/time.h: Likewise.
12682         * wcsmbs/bits/wchar2.h: Likewise.
12683         * wcsmbs/uchar.h: Likewise.
12684         * wcsmbs/wchar.h: Likewise.
12685         * wctype/wctype.h: Likewise.
12687         [BZ #13551]
12688         * Makeconfig: Remove all but ELF support including AIX support.
12689         * Makerules: Likewise.
12690         * config.h.in: Likewise.
12691         * config.make.in: Likewise.
12692         * configure: Likewise.
12693         * configure.in: Likewise.
12694         * csu/Makefile: Likewise.
12695         * csu/version.c: Likewise.
12696         * debug/Makefile: Likewise.
12697         * dlfcn/Makefile: Likewise.
12698         * elf/Makefile: Likewise.
12699         * extra-lib.mk: Likewise.
12700         * iconv/Makefile: Likewise.
12701         * include/libc-symbols.h: Likewise.
12702         * include/shlib-compat.h: Likewise.
12703         * resolv/Makefile: Likewise.
12704         * resolv/res_libc.c: Likewise.
12705         * rt/Makefile: Likewise.
12706         * sysdeps/i386/asm-syntax.h: Likewise.
12707         * sysdeps/i386/sysdep.h: Likewise.
12708         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
12709         * sysdeps/mach/sysdep.h: Likewise.
12710         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
12711         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
12712         * sysdeps/s390/asm-syntax.h: Likewise.
12713         * sysdeps/s390/s390-32/sysdep.h: Likewise.
12714         * sysdeps/s390/s390-64/sysdep.h: Likewise.
12715         * sysdeps/sh/sysdep.h: Likewise.
12716         * sysdeps/unix/sparc/sysdep.h: Likewise.
12717         * sysdeps/wordsize-32/divdi3.c: Likewise.
12718         * sysdeps/x86_64/sysdep.h: Likewise.
12720         * argp/Versions: Remove _argp_unlock_xxx.
12722         [BZ #13559]
12723         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
12724         * abilist/libBrokenLocale.abilist: Likewise.
12725         * abilist/libanl.abilist: Likewise.
12726         * abilist/libc.abilist: Likewise.
12727         * abilist/libcrypt.abilist: Likewise.
12728         * abilist/libdl.abilist: Likewise.
12729         * abilist/libm.abilist: Likewise.
12730         * abilist/libnsl.abilist: Likewise.
12731         * abilist/libpthread.abilist: Likewise.
12732         * abilist/libresolv.abilist: Likewise.
12733         * abilist/librt.abilist: Likewise.
12734         * abilist/libthread_db.abilist: Likewise.
12735         * abilist/libutil.abilist: Likewise.
12736         * abilist/libnss_db.abilist: New file.
12738         * scripts/abilist.awk: Add support for indirect functions.
12740         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
12742         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
12744         * shlib-versions: Remove entries for ports architectures.
12746         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
12747         files in ports.
12748         * elf/stackguard-macros.h: Remove support for IA-64.
12749         * elf/tst-auditmod1.c: Likewise.
12750         * sysdeps/generic/ldsodefs.h: Likewise.
12752         * sysdeps/unix/sysv/linux/configure.in: Ports should define
12753         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
12754         configure files.
12756         [BZ #13552]
12757         * configure.in: Remove --enable-omitfp support.
12758         * FAQ.in: Adjust.
12759         * config.make.in: Likewise.
12760         * Makeconfig: Likewise.
12761         * manual/install.texi: Likewise.
12763         In case anyone cares, the IA-64 architecture could move to ports.
12764         * sysdeps/ia64/*: Removed.
12765         * sysdeps/unix/sysv/linux/ia64/*: Removed.
12766         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
12768         [BZ #13555]
12769         * configure.in: Remove entries for unsupported architectures.
12771         [BZ #13533]
12772         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
12773         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
12774         routines.
12775         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
12776         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
12777         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
12778         fall back to using wcrtomb.
12779         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
12780         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
12781         renaming.
12782         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
12783         * wcsmbs/tst-c16c32-1.c: New file.
12785         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
12786         local variable.
12788         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
12790         * elf/tst-unique3.cc: Add explicit declaration of gets.
12791         * elf/tst-unique3lib.cc: Likewise.
12792         * elf/tst-unique3lib2.cc: Likewise.
12793         * elf/tst-unique4.cc: Likewise.
12795         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
12797 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
12799         [BZ #13566]
12800         * assert/assert.h (static_assert): Don't define for C++.
12801         * libio/stdio.h (gets): Do declare for C++ <= C++11.
12802         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
12804 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
12806         * iconv/loop.c (single loop): Fix assertion in storing of
12807         remaining bytes.
12809         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
12811 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
12813         * posix/getconf.c: Update copyright year.
12814         * nss/getent.c: Likewise.
12815         * nss/makedb.c: Likewise.
12816         * iconv/iconvconfig.c: Likewise.
12817         * iconv/iconv_prog.c: Likewise.
12818         * elf/ldconfig.c: Likewise.
12819         * elf/pldd.c: Likewise.
12820         * elf/sotruss.ksh: Likewise.
12821         * catgets/gencat.c: Likewise.
12822         * csu/version.c: Likewise.
12823         * elf/ldd.bash.in: Likewise.
12824         * elf/sprof.c (print_version): Likewise.
12825         * locale/programs/locale.c: Likewise.
12826         * locale/programs/localedef.c: Likewise.
12827         * login/programs/pt_chown.c: Likewise.
12828         * nscd/nscd.c (print_version): Likewise.
12829         * debug/xtrace.sh: Likewise.
12830         * malloc/memusage.sh: Likewise.
12831         * malloc/mtrace.pl: Likewise.
12832         * debug/catchsegv.sh: Likewise.
12834 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
12836         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
12837         pure attribute.
12839 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
12841         [BZ #13533]
12842         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
12843         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
12844         transformations.
12845         * iconv/gconv_int.h: Likewise.
12846         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
12847         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
12848         from libc for GLIBC_2.16.
12849         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
12850         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
12851         * wcsmbs/uchar.h: Really define mbstate_t.
12852         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
12853         * wcsmbs/c16rtomb.c: New file.
12854         * wcsmbs/mbrtoc16.c: New file.
12855         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
12856         for C/POSIX locale.
12857         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
12858         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
12860         * wcsmbs/wchar.h: Add missing __restrict.
12862 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
12864         [BZ #13532]
12865         * time/Makefile (routines): Add timespec_get.
12866         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
12867         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
12868         timespec for ISO C11.
12869         * time/timespec_get.c: New file.
12870         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
12871         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
12873         [BZ #13531]
12874         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
12875         * stdlib/stdlib.h: Declare aligned_alloc.
12876         * Versions.def: Add GLIBC_2.16 for libc.
12877         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
12879         [BZ 13527]
12880         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
12881         ISO C11.
12883         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
12884         code.
12886         [BZ #13528]
12887         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
12889         [BZ #13529]
12890         * assert/assert.h (static_assert): Define.
12892         * version.h: Update for 2.16 development version.
12894         [BZ #13526]
12895         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
12896         _ISOC11_SOURCE.
12898         * version.h (RELEASE): Bump for 2.15 release.
12899         * include/features.h (__GLIBC_MINOR__): Bump to 15.
12901         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
12902         Patch by Marek Polacek <mpolacek@redhat.com>.
12904         * bits/byteswap.h: Protect long long constants with __extension__.
12905         * sysdeps/i386/bits/byteswap.h: Likewise.
12906         * sysdeps/ia64/bits/byteswap.h: Likewise.
12907         * sysdeps/s390/bits/byteswap.h: Likewise.
12908         * sysdeps/x86_64/bits/byteswap.h: Likewise.
12910 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
12912         [BZ #13540]
12913         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
12914         destination buffer.
12915         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
12917 2011-12-23  Marek Polacek  <polacek@redhat.com>
12919         * elf/dl-addr.c (determine_info): Add inline keyword.
12920         * elf/tst-auditmod4b.c (check_avx): Likewise.
12921         * elf/tst-auditmod6b.c (check_avx): Likewise.
12922         * elf/tst-auditmod6c.c (check_avx): Likewise.
12923         * elf/tst-auditmod7b.c (check_avx): Likewise.
12925 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
12927         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
12928         !__SSE_MATH__.
12930 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
12932         [BZ #13540]
12933         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
12934         processing for last bytes.
12936 2011-08-06  Bruno Haible  <bruno@clisp.org>
12938         [BZ #13061]
12939         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
12940         U+0385, not to U+1FEE.
12942         [BZ #13062]
12943         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
12944         entry for U+00A5 U+0301.
12946 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
12948         [BZ #13166]
12949         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
12950         buffer for the output is too small.
12952         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
12953         optimization.
12955         [BZ #13185]
12956         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
12957         SSE flags if possible.
12959 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
12961         [BZ #13540]
12962         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
12963         processing for last bytes.
12965 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
12967         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
12968         (syscall-list-default-options, syscall-list-default-condition)
12969         (syscall-list-includes): Define.
12970         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
12971         list of ABIs and options and #if conditions for each ABI.  Do not
12972         handle common syscalls between ABIs specially.
12973         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
12974         Remove.
12975         (syscall-list-variants, syscall-list-32bit-options)
12976         (syscall-list-32bit-condition, syscall-list-64bit-options)
12977         (syscall-list-64bit-condition): Define.
12978         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): 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/sparc/Makefile (64bit-predefine):
12983         Remove.
12984         (syscall-list-variants, syscall-list-32bit-options)
12985         (syscall-list-32bit-condition, syscall-list-64bit-options)
12986         (syscall-list-64bit-condition): Define.
12987         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
12988         Remove.
12989         (syscall-list-variants, syscall-list-32bit-options)
12990         (syscall-list-32bit-condition, syscall-list-64bit-options)
12991         (syscall-list-64bit-condition): Define.
12993 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
12995         * locale/iso-639.def: Add brx entry.
12997         [BZ #13328]
12998         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
12999         Proposed by Mariusz_Cukr <marcukr@op.pl>.
13001         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
13002         __feraiseexcept_renamed.
13004 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
13006         [BZ #13538]
13007         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
13008         EPOLLET with unsigned values.
13009         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
13010         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
13012         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
13013         to large cancellation.
13014         * math/s_cacoshf.c: Likewise.
13015         * math/s_cacoshl.c: Likewise.
13017 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
13019         [BZ #13305]
13020         [BZ #12786]
13021         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
13022         * math/s_cacoshf.c: Likewise.
13023         * math/s_cacoshl.c: Likewise.
13025 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
13027         [BZ #13439]
13028         * iconv/gconv.h: Define __GCONV_SWAP.
13029         * iconvdata/unicode.c: The swap bit must be stored in __flags.
13030         * iconvdata/utf-16.c: Likewise.
13031         * iconvdata/utf-32.c: Likewise.
13033 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
13035         [BZ #13524]
13036         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
13037         numerator after shifting it by one limb.
13039 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
13041         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
13042         under [__USE_EXTERN_INLINES].
13044 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
13046         [BZ #13446]
13047         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
13049 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13051         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
13052         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
13053         optimized code.
13054         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
13055         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
13056         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
13057         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
13058         for strncasecmp/strncasecmp_l compilation.
13059         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
13060         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
13062 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
13064         [BZ #13484]
13065         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
13066         of __asm__.
13068 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
13070         [BZ #13506]
13071         * time/tzfile.c (__tzfile_read): Check values from file header.
13073 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
13075         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
13076         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
13077         * powerpc/powerpc32/dl-start.S: Likewise.
13078         * powerpc/powerpc32/elf/start.S: Likewise.
13079         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
13080         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
13081         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
13082         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
13083         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
13084         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
13085         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
13086         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
13087         * powerpc/powerpc32/fpu/s_round.S: Likewise.
13088         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
13089         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
13090         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
13091         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
13092         * powerpc/powerpc32/memset.S: Likewise.
13093         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
13094         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
13095         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
13096         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
13097         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
13098         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
13099         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
13100         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
13101         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
13102         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
13103         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
13104         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
13105         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
13107 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13109         * math/libm-test.inc: Added more nearbyint tests.
13110         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
13111         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
13112         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
13113         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
13115 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
13117         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
13118         FD_CLOEXEC.
13120 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
13122         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
13123         Add wcscpy-ssse3 wcscpy-c.
13124         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
13125         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
13126         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
13127         * sysdeps/x86_64/wcschr.S: New file.
13128         * sysdeps/x86_64/wcsrchr.S: New file.
13129         * string/test-strcmp.c: Remove checking of wcscmp function for
13130         wrong alignments.
13131         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
13132         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
13133         wcsrchr-sse2 wcsrchr-c.
13134         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
13135         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
13136         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
13137         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
13138         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
13139         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
13140         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
13141         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
13142         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
13143         * wcsmbc/wcschr.c (WCSCHR): New macro.
13145 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
13147         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
13148         * wcsmbs/test-wcsrchr.c: New file.
13149         * string/test-strrchr.c: Add wcsrchr support.
13150         (WIDE): New macro.
13151         * wcsmbs/test-wcscpy.c: New file.
13152         * string/test-strcpy.c: Add wcscpy support.
13153         (WIDE): New macro.
13155 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
13157         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
13158         the inner loop.
13160 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
13162         [BZ #13472]
13163         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
13165 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
13167         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
13168         Minor optimizations.
13170         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
13171         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
13172         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
13174 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
13176         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
13177         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
13178         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
13179         for gcc to avoid warnings.
13180         * inet/Makefile (tests): Add tst-checks.
13181         * inet/tst-checks.c: New file.
13183         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
13184         warning.
13186         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
13187         __wmemcmp_sse2.
13189         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
13190         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
13192         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
13194 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
13196         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
13197         problem.
13199         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
13201 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
13203         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
13204         conditional on GCC version.
13205         (__arch_compare_and_exchange_val_8_acq)
13206         (__arch_compare_and_exchange_val_16_acq)
13207         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
13208         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
13209         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
13211 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
13213         * sysdeps/sh/backtrace.c: New file.
13215 2011-12-02  Andreas Schwab  <schwab@redhat.com>
13217         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
13218         parenthesis.
13220 2011-12-01  Andreas Schwab  <schwab@redhat.com>
13222         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
13223         falling back to utime.
13225 2011-11-30  Andreas Schwab  <schwab@redhat.com>
13227         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
13228         expectations for float.
13230 2011-11-29  Andreas Schwab  <schwab@redhat.com>
13232         * locale/weight.h (findidx): Add parameter len.
13233         * locale/weightwc.h (findidx): Likewise.
13234         * posix/fnmatch_loop.c (FCT): Adjust caller.
13235         * posix/regcomp.c (build_equiv_class): Likewise.
13236         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
13237         * posix/regexec.c (check_node_accept_bytes): Likewise.
13238         * string/strcoll_l.c (STRCOLL): Likewise.
13239         * string/strxfrm_l.c (STRXFRM): Likewise.
13241 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
13243         * Makefile.in: Remove CVSOPT handling.
13244         * configure.in: Remove use of AC_REVISION.
13245         * iconvdata/Makefile (distribute): No need to filter out CVS.
13246         * scripts/list-sources.sh: Remove CVS, subversion and monotone
13247         handling.
13249 2011-11-16  Andreas Schwab  <schwab@redhat.com>
13251         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
13252         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
13253         [USE_AS_STRNCASECMP_L]: Likewise.
13254         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
13255         NO_TLS_DIRECT_SEG_REFS.
13256         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
13257         Fix argument offsets for non-PIC.
13258         [USE_AS_STRNCASECMP_L]: Likewise.
13259         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
13260         NO_TLS_DIRECT_SEG_REFS.
13262 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
13264         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
13265         O_CLOEXEC.
13266         * locale/loadlocale.c (_nl_load_locale): Likewise.
13268 2011-11-15  Andreas Schwab  <schwab@redhat.com>
13270         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
13271         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
13272         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
13273         (SYSCALL_GETTIME): Set errno on error.
13275         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
13276         count references to noai6ai_cached.
13278 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
13280         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
13282         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
13283         FD_CLOEXEC for /proc/self/maps.
13285         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
13286         FD_CLOEXEC for /proc/meminfo.
13288         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
13289         gai.conf.
13291         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
13292         FD_CLOEXEC for given file.
13294         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
13296         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
13297         FD_CLOEXEC for /etc/hosts.
13298         (_gethtent): Likewise.
13300         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
13302         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
13303         cancellation and set FD_CLOEXEC for /etc/netgroup.
13305         * nss/nss_files/files-key.c (search): Don't allow cancellation when
13306         reading /etc/publickey.
13308         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
13309         allow cancellation when reading /etc/group.
13311         * nss/nss_files/files-alias.c (internal_setent): Don't allow
13312         cancellation.
13313         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
13315         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
13316         when using data file.
13318         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
13320         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
13321         (write_nis_obj): Use "c" and "e" in fopen.
13323         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
13325         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
13327         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
13329         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
13331         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
13332         locale.alias.
13334         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
13336         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
13338         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
13340         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
13341         file parsing and set FD_CLOEXEC.
13343 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
13345         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
13347 2011-11-14  Andreas Schwab  <schwab@redhat.com>
13349         * malloc/arena.c (arena_get2): Don't call reused_arena when
13350         _int_new_arena failed.
13352 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
13354         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
13355         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
13356         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
13357         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
13358         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
13359         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
13360         to compile strcasecmp and strncasecmp.
13361         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
13362         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
13364         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
13366 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
13368         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
13369         locale-defines.sym to gen-as-const-headers.
13370         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
13371         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
13372         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
13373         to compile strcasecmp and strncasecmp.
13374         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
13375         strcasecmp_l and strncasecmp_l.
13376         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
13377         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
13378         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
13379         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
13380         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
13381         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
13382         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
13383         * sysdeps/i386/i686/multiarch/strncase.S: New file.
13384         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
13385         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
13386         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
13388 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
13390         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
13391         result of SYSDEP_GETTIME_CPU to retval.
13392         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
13393         parameter list to macro.  Remove trailing semicolon.  Adjust users.
13395         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
13396         variable.
13398         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
13399         mantissa words.
13400         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
13402         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
13403         from unused variable.
13405         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
13406         DWARF definitions.
13407         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
13408         for assembling.
13410         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
13411         over namespaces.
13413         * sunrpc/rpc_prot.c (rejected): Fix case value.
13415         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
13416         unsigned long long int to avoid warnings in shift.
13418         * posix/regex_internal.c (re_string_reconstruct): Actually use result
13419         of use of trans.
13420         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
13421         variable tmp.
13423         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
13424         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
13425         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
13427         * nis/nis_table.c (nis_list): Use variable of correct type for
13428         result of __follow_path call.
13430 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13432         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
13433         of math functions ceil, trunc, floor, round, and sqrt, when
13434         avaliable on the platform.
13435         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
13436         name clash.
13437         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
13438         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
13439         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
13441 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
13443         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
13444         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
13446 2011-11-11  Roland McGrath  <roland@hack.frob.com>
13448         * include/unistd.h: Fix __readlink return type.
13449         Reported by Chris Metcalf <cmetcalf@tilera.com>.
13451 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
13453         * stdlib/ucontext.h: Undo last change for makecontext.
13455 2011-11-11  Andreas Schwab  <schwab@redhat.com>
13457         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
13459         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
13460         * setjmp/setjmp.h: Mark functions as non-leaf.
13461         * setjmp/bits/setjmp2.h: Likewise.
13462         * stdlib/ucontext.h: Likewise.
13464 2011-11-10  Andreas Schwab  <schwab@redhat.com>
13466         * malloc/arena.c (_int_new_arena): Don't increment narenas.
13467         (reused_arena): Don't check arena limit.
13468         (arena_get2): Atomically check arena limit.
13470 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
13472         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
13473         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
13475         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
13476         instructions.
13478 2011-11-07  Andreas Schwab  <schwab@redhat.com>
13480         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
13481         handler when locking.
13483         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
13484         Fix size of allocated buffer.
13486 2011-11-04  Andreas Schwab  <schwab@redhat.com>
13488         [BZ #10103]
13489         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
13490         declarations for long double functions.
13491         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
13493         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
13495 2011-11-03  Andreas Schwab  <schwab@redhat.com>
13497         * nscd/nscd.c (main): Don't start AVC thread until credentials are
13498         installed.
13500         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
13501         is disabled.
13503 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13505         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
13507 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
13509         * include/alloca.h (stackinfo_alloca_round): Define.
13510         (extend_alloca): Use it.
13511         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
13512         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
13513         here.
13515         * scripts/check-local-headers.sh: Ignore libaudit.h.
13517         * nscd/Makefile (extra-objs): Make recursively expanded.
13519 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
13521         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
13522         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
13524         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
13525         * posix/tst-rfc3484-2.c: Likewise.
13526         * posix/tst-rfc3484-3.c: Likewise.
13528         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
13529         process_vm_writev.
13530         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
13531         process_vm_writev.
13532         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
13533         process_vm_writev from libc using GLIBC_2.15 version.
13535         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
13537 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
13539         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
13540         stack usage.
13542 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
13544         [BZ #13367]
13545         * nss/getent.c (initgroups_keys): Show error message in case no group
13546         names are given.
13548         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
13549         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
13550         __bump_nl_timestamp.
13551         * nscd/connections (nscd_init): When host database is served open
13552         netlink socket and request notification about configuration changes.
13553         (main_loop_poll): Track netlink file descriptor and bump timestamp
13554         in case data becomes available.
13555         (main_loop_epoll): Likewise.
13556         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
13557         (database_pers_head): Add extra_data fileds.
13558         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
13559         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
13560         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
13561         Adjust caller.
13562         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
13563         in6ai data, call __free_in6ai.
13564         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
13565         Add -DHAVE_NETLINK.
13566         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
13567         interface information.  Reuse previous data if netlink timestamp
13568         is not changed.
13569         (__bump_nl_timestamp): New function.
13570         (__free_in6ai): New function.
13572 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
13574         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
13575         close_not_cancel_no_status here.
13576         (__check_pf): Reorganize code a bit to not call close twice if OOM.
13578 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
13580         [BZ #13276]
13581         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
13582         return value.
13584         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
13585         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
13586         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
13588 2011-07-03  Andreas Jaeger  <aj@suse.de>
13590         [BZ #10709]
13591         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
13592         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
13593         * math/libm-test.inc (sin_test): Add test case.
13595 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
13597         [BZ #13337]
13598         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
13599         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
13601         * elf/chroot_canon.c (chroot_canon): Cleanups.
13603         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
13605         [BZ #13335]
13606         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
13607         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
13609         * string/test-strchr.c: Make usable for strchrnul testing.
13610         * string/test-strchrnul.c: New file.
13611         * string/Makefile (strop-tests): Add strchrnul.
13613         * po/it.po: Update from translation team.
13614         * po/es.po: Likewise.
13616 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
13618         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
13619         the three constants needed as parameters.  Drop the others.
13620         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
13621         __m128i_strloadu_tolower.
13622         Create and initialize variable zero and use it in all the places
13623         where _mm_setzero_si128 was used.
13625         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
13626         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
13627         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
13628         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
13629         anymore.
13630         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
13631         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
13632         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
13633         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
13634         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
13635         __mpranred, __mptan.
13636         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
13637         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
13638         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
13639         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
13640         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
13641         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
13642         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
13643         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
13644         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
13646 2011-10-28  Andreas Schwab  <schwab@redhat.com>
13648         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
13649         redefine if SHARED.
13650         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
13652         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
13653         wide char related routines to wcsmbs subdir.
13655 2011-10-27  Andreas Schwab  <schwab@redhat.com>
13657         [BZ #13344]
13658         * misc/sys/cdefs.h (__THROWNL): Define.
13659         * posix/unistd.h: Use __THREADNL instead of __THREAD
13660         for memory synchronization functions.
13662 2011-10-26  Roland McGrath  <roland@hack.frob.com>
13664         [BZ #13349]
13665         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
13666         doesn't exist.
13667         * manual/stdio.texi (Obstack Streams): Node removed.
13669 2011-10-26  Andreas Schwab  <schwab@redhat.com>
13671         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
13672         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
13673         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
13675         * math/math_private.h (math_force_eval): Allow non-addressable
13676         arguments.
13677         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
13679 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
13681         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
13682         file is not needed.
13684         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
13685         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
13686         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
13687         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
13688         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
13689         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
13690         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
13691         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
13692         Add AVX variants.
13693         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
13694         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
13695         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
13696         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
13697         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
13698         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
13699         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
13700         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
13701         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
13702         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
13703         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
13704         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
13705         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
13706         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
13707         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
13708         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
13709         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
13710         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
13711         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
13713         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
13714         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
13716         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
13717         place.  Use VEX encoding when compiling for AVX.
13719 2011-10-25  Andreas Schwab  <schwab@redhat.com>
13721         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
13722         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
13724         * string/test-strchr.c (do_test): Don't generate NUL bytes.
13726 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
13728         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
13729         useless if() expression.
13730         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
13731         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
13732         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
13733         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
13734         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
13735         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
13736         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
13737         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
13738         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
13739         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
13740         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
13741         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
13742         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
13743         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
13744         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
13745         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
13746         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
13747         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
13748         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
13750         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
13752 2011-10-25  Andreas Schwab  <schwab@redhat.com>
13754         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
13755         condition.
13756         * elf/dl-fini.c (_dl_sort_fini): Likewise.
13758 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
13760         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
13761         .text section.  Avoid duplicate constants.
13762         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
13763         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
13764         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
13765         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13766         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
13767         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13768         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13769         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
13770         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
13771         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
13772         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
13773         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
13774         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
13775         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
13776         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
13777         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
13778         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
13779         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
13780         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
13781         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
13782         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
13783         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
13784         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
13785         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
13786         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
13787         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
13788         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
13789         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
13790         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
13791         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
13792         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
13793         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
13794         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
13795         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
13796         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
13797         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
13798         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
13799         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
13800         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
13801         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
13802         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
13803         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
13804         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
13805         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
13806         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
13808 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
13810         * sysdeps/x86_64/dla.h: Move to ...
13811         * sysdeps/x86_64/fpu/dla.h: ...here.
13812         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
13813         situations.  Use __builtin_fma only for gcc 4.6 and up.
13815         * config.make.in: Add have-mfma4 entry.
13816         * configure.in: Substitute libc_cv_cc_fma4.
13817         * math/Makefile (dbl-only-routines): Add sincostab.
13818         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
13819         Use __sincostab not sincos.
13820         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
13821         name is a macro.
13822         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
13823         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13824         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13825         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
13826         using __copysign.
13827         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
13828         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
13829         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
13830         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
13831         and __inv.
13832         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
13833         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
13834         __copysign.
13835         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
13836         define aliases when function name is a macro.
13837         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
13838         sysdeps/ieee754/dbl-64/sincos.tbl.
13839         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
13840         fma4-enabled routines.
13841         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
13842         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
13843         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
13844         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
13845         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
13846         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
13847         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
13848         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
13849         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
13850         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
13851         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
13852         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
13853         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
13854         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
13855         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
13856         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
13857         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
13858         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
13859         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
13860         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
13861         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
13862         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
13863         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
13864         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
13865         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
13866         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
13867         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
13868         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
13869         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
13870         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
13872         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
13873         rename.
13874         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
13875         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
13876         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13877         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13878         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13879         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
13880         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
13881         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
13883 2011-10-24  Andreas Schwab  <schwab@redhat.com>
13885         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
13887 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
13889         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
13891         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
13892         prediction.
13893         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
13895         * string/strnlen.c: Don't define STRNLEN, reverse logic.
13896         Remove unused variable magic_bits.
13897         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
13899         * string/strnlen.c: Define and use STRNLEN macro.
13900         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
13901         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
13902         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
13903         * wcsmbs/wcslen.c: Define and use WCSLEN.
13904         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
13905         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
13906         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
13907         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
13908         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
13909         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
13910         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
13912 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
13914         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13915         strnlen-sse2-no-bsf.
13916         Rename strlen-no-bsf to strlen-sse2-no-bsf.
13917         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
13918         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
13919         Add strnlen support.
13920         (USE_AS_STRNLEN): New macro.
13921         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
13922         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
13923         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
13924         * sysdeps/x86_64/wcslen.S: New file.
13926 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
13928         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
13929         XMM-moves are used for copying on small sizes.
13931 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
13933         * wcsmbs/Makefile (strop-tests): Add wcschr.
13934         * wcsmbs/test-wcschr.c: New file.
13935         * string/test-strchr.c: Update.
13936         Add wcschr support.
13937         (WIDE): New macro.
13939 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
13941         * wcsmbs/Makefile (strop-tests): Add wcslen.
13942         * wcsmbs/test-wcslen.c: New file.
13943         * string/test-strlen.c: Update.
13944         Add wcslen support.
13945         (WIDE): New macro.
13947 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
13949         * po/it.po: Update from translation team.
13951 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
13953         * sysdeps/x86_64/wcscmp.S: Update.
13954         Fix wrong comparison semantics.
13955         wcscmp shall use signed comparison not unsigned.
13956         Don't use substraction to avoid overflow bug.
13957         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
13958         * wcsmbc/wcscmp.c: Likewise.
13959         * string/test-strcmp.c: Likewise.
13960         Add new tests to check cases with negative values.
13962 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
13964         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
13965         * sysdeps/x86_64/dla.h: ...here.  New file.
13966         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
13967         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
13968         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13969         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13970         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13971         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
13972         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
13973         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
13974         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
13976 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
13978         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
13979         __ynl_finite aliases.
13981 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
13983         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13985         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
13986         define DLA_FMA.
13987         [DLA_FMA] (EMULV): Use DLA_FMA.
13988         [DLA_FMA] (MUL12): Use EMULV.
13989         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
13990         that are not needed.
13991         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
13992         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13993         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13994         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13995         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
13996         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
13997         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
13999 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
14001         * math/s_nan.c: Undef __nan.
14002         * math/s_nanf.c: Undef __nanf.
14003         * math/s_nanl.c: Undef __nanl.
14004         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
14005         "math_private.h".
14007 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
14009         * math/s_catan.c: Add branch predictions.
14010         * math/s_catanf.c: Likewise.
14011         * math/s_catanh.c: Likewise.
14012         * math/s_catanhf.c: Likewise.
14013         * math/s_catanhl.c: Likewise.
14014         * math/s_catanl.c: Likewise.
14015         * math/s_cexp.c: Likewise.
14016         * math/s_cexpf.c: Likewise.
14017         * math/s_cexpl.c: Likewise.
14018         * math/s_clog.c: Likewise.
14019         * math/s_clog10.c: Likewise.
14020         * math/s_clog10f.c: Likewise.
14021         * math/s_clog10l.c: Likewise.
14022         * math/s_clogf.c: Likewise.
14023         * math/s_clogl.c: Likewise.
14024         * math/s_csqrt.c: Likewise.
14025         * math/s_csqrtf.c: Likewise.
14026         * math/s_csqrtl.c: Likewise.
14027         * math/s_ctanf.c: Likewise.
14028         * math/s_ctanh.c: Likewise.
14029         * math/s_ctanhf.c: Likewise.
14030         * math/s_ctanhl.c: Likewise.
14031         * math/s_ctanl.c: Likewise.
14033         * math/math_private.h: Define __nan, __nanf, __nanl.
14034         * math/s_cacosh.c: Include <math_private.h>.
14035         * math/s_cacoshl.c: Likewise.
14036         * math/s_casinh.c: Likewise.
14037         * math/s_casinhf.c: Likewise.
14038         * math/s_casinhl.c: Likewise.
14039         * math/s_ccos.c: Rely entire on ccosh.
14040         * math/s_ccosf.c: Rely entire on ccoshf.
14041         * math/s_ccosl.c: Rely entirely on ccoshl.
14042         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
14043         Remove tests for FE_INVALID.
14044         * math/s_ccoshf.c: Likewise.
14045         * math/s_ccoshl.c: Likewise.
14046         * math/s_csin.c: Likewise.
14047         * math/s_csinf.c: Likewise.
14048         * math/s_csinh.c Likewise.
14049         * math/s_csinhf.c: Likewise.
14050         * math/s_csinhl.c: Likewise.
14051         * math/s_csinl.c: Likewise.
14052         * math/s_ctan.c: Likewise.
14053         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
14054         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
14055         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
14057 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
14059         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
14060         compilation problems.
14062         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
14063         __builtin_expect.
14065 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
14067         * sysdeps/i386/configure.in: Test for -mfma4 option.
14068         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
14069         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
14070         COMMON_CPUID_INDEX_80000001.
14071         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
14072         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
14073         use it if FMA3 is not supported.
14074         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
14076         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
14077         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
14079 2011-10-20  Andreas Schwab  <schwab@redhat.com>
14081         [BZ #12892]
14082         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
14083         it would create a cycle with a link time dependency.
14085 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
14087         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
14088         instruction.
14089         * string/Makefile (strop-tests): Add rawmemchr.
14090         * string/test-rawmemchr.c: New file.
14092         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
14093         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
14094         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
14095         when compiling str{,n}casecmp and when AVX is available.  Hook up
14096         new optimized code in initializers.
14098 2011-10-19  Andreas Schwab  <schwab@redhat.com>
14100         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
14101         __feraiseexcept instead of feraiseexcept.
14103 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
14105         * math/math_private.h: Define defaults for libc_fetestexcept and
14106         libc_feupdateenv.
14107         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
14108         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
14109         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
14110         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
14111         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
14112         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
14113         libc_fetestexcept and libc_feupdateenv.
14115         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
14116         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
14117         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
14118         * sysdeps/x86_64/fpu/math_private.h: Define special version of
14119         libc_feholdexcept_setround.
14121         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
14122         Add s_nearbyint-c and s_nearbyintf-c.
14123         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
14124         nearbyintf inlines.
14125         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
14126         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
14127         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
14128         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
14130         * math/math_private.h: Define defaults for libc_fegetround,
14131         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
14132         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
14133         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
14134         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
14135         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
14136         standard functions.
14137         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
14138         Remove comments and hacks for old compiler versions.
14139         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
14140         libc_fegetround, libc_fesetround, libc_feholdexcept, and
14141         libc_feholdexceptl.
14143 2011-10-18  Andreas Schwab  <schwab@redhat.com>
14145         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
14146         (__feraiseexcept_renamed): Add __NTH.
14147         (feraiseexcept): Add __NTH.  Rename local variables to fix
14148         namespace violations.
14150 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
14152         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
14154         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
14156         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
14157         recently added interfaces.
14158         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
14160         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
14161         about macro parameter expansion.
14163         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
14164         __NO_MATH_INLINES is defined.  Cleanups.
14166         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
14167         and __floorf is target has SSE4.1.
14168         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
14169         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
14170         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
14171         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
14173         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
14174         name.
14175         (floorf): Likewise.
14177         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
14179 2011-10-17  Andreas Schwab  <schwab@redhat.com>
14181         * misc/sys/cdefs.h: Fix last change.
14183         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
14184         database lookup.
14186 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
14188         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
14190         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
14191         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
14192         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
14193         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
14194         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
14195         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
14196         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
14197         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
14198         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
14199         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
14200         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
14201         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
14202         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
14203         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
14204         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
14205         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
14206         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
14207         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
14208         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
14209         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
14210         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
14211         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
14213         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
14214         ceil, ceilf, floor, floorf.
14216         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
14217         Perform IRELATIVE relocations last.
14219         * elf/do-rel.h: Add another parameter nrelative, replacing the
14220         local variable with the same name.  Change name of the function
14221         to end in Rel or Rela (uppercase).
14222         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
14223         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
14224         elf_dynamic_do_##reloc function.
14226 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
14228         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
14229         is sufficient, at least on modern CPUs.
14231         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
14233         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
14234         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
14236         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
14237         __expl_finite.
14238         * math/bits/math-finite.h: Add entries for exp.
14239         * math/e_expl.c: Add __*_finite alias.
14240         * sysdeps/i386/fpu/e_exp.S: Likewise.
14241         * sysdeps/i386/fpu/e_expf.S: Likewise.
14242         * sysdeps/i386/fpu/e_expl.c: Likewise.
14243         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
14244         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
14245         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
14246         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
14247         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
14248         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
14249         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
14251         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
14252         is sufficient, at least on modern CPUs.
14254         * ctype/ctype-info.c (__ctype_init): Define.
14255         * include/ctype.h (__ctype_init): Declare.
14256         (__ctype_b_loc): The variable is always initialized.
14257         (__ctype_toupper_loc): Likewise.
14258         (__ctype_tolower_loc): Likewise.
14259         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
14260         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
14262 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
14264         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
14266         * configure.in: Also look in $cxxmachine/include for C++ system
14267         headers.
14269 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
14271         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
14272         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
14273         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
14274         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
14275         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
14276         (USE_AS_WMEMCMP): New macro.
14277         Fixing indents.
14278         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
14279         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
14280         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
14281         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
14282         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
14283         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
14284         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
14285         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
14286         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
14287         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
14288         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
14289         (USE_AS_WMEMCMP): New macro.
14290         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
14291         * sysdeps/string/test-memcmp.c: Update.
14292         Fix simple_wmemcmp.
14293         Add new tests.
14294         * wcsmbs/wmemcmp.c: Update.
14295         (WMEMCMP): New macro.
14296         Fix overflow bug.
14298 2011-10-12  Andreas Jaeger  <aj@suse.de>
14300         [BZ #13268]
14301         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
14303 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
14305         * libio/iofwide.c (do_length): Avoid warning.
14307         * ctype/ctype.h (__isctype_f): Add missing __THROW.
14309 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
14311         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
14313         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
14314         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
14315         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
14316         * sysdeps/i386/i686/fpu/e_log.S: New file.
14317         * sysdeps/i386/i686/fpu/e_logf.S: New file.
14318         * sysdeps/i386/i686/fpu/e_logl.S: New file.
14320         * ctype/ctype.h: Add support for inlined isXXX functions when
14321         compiling C++ code.
14323 2011-10-14  Andreas Schwab  <schwab@redhat.com>
14325         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
14327         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
14329 2011-10-13  Roland McGrath  <roland@hack.frob.com>
14331         [BZ #13291]
14332         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
14334 2011-10-13  Andreas Schwab  <schwab@redhat.com>
14336         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
14337         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
14338         feraiseexcept.
14340         * sysdeps/x86_64/memrchr.S: Check for zero size.
14342         * string/stratcliff.c: Add memrchr tests.
14344 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
14346         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
14347         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
14348         rawmemchr-sse2 rawmemchr-sse2-bsf.
14349         * sysdeps/i386/i686/multiarch/memchr.S: New file.
14350         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
14351         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
14352         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
14353         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
14354         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
14355         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
14356         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
14357         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
14358         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
14359         * string/memrchr.c (MEMRCHR): New macro.
14361 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
14363         Add integration with gcc's -ffinite-math-only and optimize wrapper
14364         functions in libm.
14365         * Versions.def: Define GLIBC_2.15 version for libm.
14366         * math/Makefile (headers): Add bits/math-finite.h.
14367         * math/bits/math-finite.h: New file.
14368         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
14369         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
14370         * math/e_acoshl.c: Add __*_finite alias.
14371         * math/e_acosl.c: Likewise.
14372         * math/e_asinl.c: Likewise.
14373         * math/e_atan2l.c: Likewise.
14374         * math/e_atanhl.c: Likewise.
14375         * math/e_coshl.c: Likewise.
14376         * math/e_exp10.c: Likewise.
14377         * math/e_exp10f.c: Likewise.
14378         * math/e_exp10l.c: Likewise.
14379         * math/e_exp2l.c: Likewise.
14380         * math/e_fmodl.c: Likewise.
14381         * math/e_gammal_r.c: Likewise.
14382         * math/e_hypotl.c: Likewise.
14383         * math/e_j0l.c: Likewise.
14384         * math/e_j1l.c: Likewise.
14385         * math/e_jnl.c: Likewise.
14386         * math/e_lgammal_r.c: Likewise.
14387         * math/e_log10l.c: Likewise.
14388         * math/e_log2l.c: Likewise.
14389         * math/e_logl.c: Likewise.
14390         * math/e_powl.c: Likewise.
14391         * math/e_sinhl.c: Likewise.
14392         * math/e_sqrtl.c: Likewise.
14393         * math/e_scalb.c: Completely rewritten and optimized.
14394         * math/e_scalbf.c: Likewise.
14395         * math/e_scalbl.c: Likewise.
14396         * math/w_acos.c: Likewise.
14397         * math/w_acosf.c: Likewise.
14398         * math/w_acosl.c: Likewise.
14399         * math/w_acosh.c: Likewise.
14400         * math/w_acoshf.c: Likewise.
14401         * math/w_acoshl.c: Likewise.
14402         * math/w_asin.c: Likewise.
14403         * math/w_asinf.c: Likewise.
14404         * math/w_asinl.c: Likewise.
14405         * math/w_atan2.c: Likewise.
14406         * math/w_atan2f.c: Likewise.
14407         * math/w_atan2l.c: Likewise.
14408         * math/w_atanh.c: Likewise.
14409         * math/w_atanhf.c: Likewise.
14410         * math/w_atanhl.c: Likewise.
14411         * math/w_exp10.c: Likewise.
14412         * math/w_exp10f.c: Likewise.
14413         * math/w_exp10l.c: Likewise.
14414         * math/w_fmod.c: Likewise.
14415         * math/w_fmodf.c: Likewise.
14416         * math/w_fmodl.c: Likewise.
14417         * math/w_j0.c: Likewise.
14418         * math/w_j0f.c: Likewise.
14419         * math/w_j0l.c: Likewise.
14420         * math/w_j1.c: Likewise.
14421         * math/w_j1f.c: Likewise.
14422         * math/w_j1l.c: Likewise.
14423         * math/w_jn.c: Likewise.
14424         * math/w_jnf.c: Likewise.
14425         * math/w_log.c: Likewise.
14426         * math/w_logf.c: Likewise.
14427         * math/w_logl.c: Likewise.
14428         * math/w_log10.c: Likewise.
14429         * math/w_log10f.c: Likewise.
14430         * math/w_log10l.c: Likewise.
14431         * math/w_log2.c: Likewise.
14432         * math/w_log2f.c: Likewise.
14433         * math/w_log2l.c: Likewise.
14434         * math/w_pow.c: Likewise.
14435         * math/w_powf.c: Likewise.
14436         * math/w_powl.c: Likewise.
14437         * math/w_remainder.c: Likewise.
14438         * math/w_remainderf.c: Likewise.
14439         * math/w_remainderl.c: Likewise.
14440         * math/w_scalb.c: Likewise.
14441         * math/w_scalbf.c: Likewise.
14442         * math/w_scalbl.c: Likewise.
14443         * math/w_sqrt.c: Likewise.
14444         * math/w_sqrtf.c: Likewise.
14445         * math/w_sqrtl.c: Likewise.
14446         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
14447         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
14448         used.
14449         * math/math_private.h: Declare __kernel_standard_f.
14450         * math/w_cosh.c: Remove cruft and optimize a bit.
14451         * math/w_coshf.c: Likewise.
14452         * math/w_coshl.c: Likewise.
14453         * math/w_exp2.c: Likewise.
14454         * math/w_exp2f.c: Likewise.
14455         * math/w_exp2l.c: Likewise.
14456         * math/w_hypot.c: Likewise.
14457         * math/w_hypotf.c: Likewise.
14458         * math/w_hypotl.c: Likewise.
14459         * math/w_lgamma.c: Likewise.
14460         * math/w_lgamma_r.c: Likewise.
14461         * math/w_lgammaf.c: Likewise.
14462         * math/w_lgammaf_r.c: Likewise.
14463         * math/w_lgammal.c: Likewise.
14464         * math/w_lgammal_r.c: Likewise.
14465         * math/w_sinh.c: Likewise.
14466         * math/w_sinhf.c: Likewise.
14467         * math/w_sinhl.c: Likewise.
14468         * math/w_tgamma.c: Likewise.
14469         * math/w_tgammaf.c: Likewise.
14470         * math/w_tgammal.c: Likewise.
14471         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
14472         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
14473         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
14474         Minor optimizations.  Pretty printing.  Remove cruft.
14475         * sysdeps/i386/fpu/e_acosf.S: Likewise.
14476         * sysdeps/i386/fpu/e_acosh.S: Likewise.
14477         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
14478         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
14479         * sysdeps/i386/fpu/e_acosl.c: Likewise.
14480         * sysdeps/i386/fpu/e_asin.S: Likewise.
14481         * sysdeps/i386/fpu/e_asinf.S: Likewise.
14482         * sysdeps/i386/fpu/e_atan2.S: Likewise.
14483         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
14484         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
14485         * sysdeps/i386/fpu/e_atanh.S: Likewise.
14486         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
14487         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
14488         * sysdeps/i386/fpu/e_exp10.S: Likewise.
14489         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
14490         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
14491         * sysdeps/i386/fpu/e_exp2.S: Likewise.
14492         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
14493         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
14494         * sysdeps/i386/fpu/e_fmod.S: Likewise.
14495         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
14496         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
14497         * sysdeps/i386/fpu/e_hypot.S: Likewise.
14498         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
14499         * sysdeps/i386/fpu/e_log.S: Likewise.
14500         * sysdeps/i386/fpu/e_log10.S: Likewise.
14501         * sysdeps/i386/fpu/e_log10f.S: Likewise.
14502         * sysdeps/i386/fpu/e_log10l.S: Likewise.
14503         * sysdeps/i386/fpu/e_log2.S: Likewise.
14504         * sysdeps/i386/fpu/e_log2f.S: Likewise.
14505         * sysdeps/i386/fpu/e_log2l.S: Likewise.
14506         * sysdeps/i386/fpu/e_logf.S: Likewise.
14507         * sysdeps/i386/fpu/e_logl.S: Likewise.
14508         * sysdeps/i386/fpu/e_pow.S: Likewise.
14509         * sysdeps/i386/fpu/e_powf.S: Likewise.
14510         * sysdeps/i386/fpu/e_powl.S: Likewise.
14511         * sysdeps/i386/fpu/e_remainder.S: Likewise.
14512         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
14513         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
14514         * sysdeps/i386/fpu/e_scalb.S: Likewise.
14515         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
14516         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
14517         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
14518         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
14519         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
14520         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
14521         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
14522         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
14523         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
14524         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
14525         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
14526         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
14527         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
14528         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
14529         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
14530         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
14531         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
14532         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
14533         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
14534         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
14535         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
14536         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
14537         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
14538         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
14539         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
14540         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
14541         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
14542         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
14543         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
14544         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
14545         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
14546         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
14547         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
14548         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
14549         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
14550         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
14551         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
14552         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
14553         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
14554         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
14555         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
14556         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
14557         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
14558         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
14559         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
14560         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
14561         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
14562         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
14563         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
14564         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
14565         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
14566         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
14567         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
14568         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
14569         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
14570         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
14571         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
14572         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
14573         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
14574         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
14575         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
14576         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
14577         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
14578         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
14579         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
14580         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
14581         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
14582         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
14583         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
14584         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
14585         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
14586         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
14587         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
14588         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
14589         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
14590         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
14591         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
14592         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
14593         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
14594         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
14595         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
14596         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
14597         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
14598         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
14599         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
14600         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
14601         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
14602         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
14603         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
14604         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
14605         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
14606         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
14607         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
14608         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
14609         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
14610         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
14611         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
14612         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
14613         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
14614         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
14615         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
14616         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
14617         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
14618         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
14619         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
14620         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
14621         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
14622         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
14623         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
14624         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
14625         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
14626         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
14627         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
14628         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
14629         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
14630         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
14631         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
14632         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
14633         (__isnanf): Likewise.
14634         (__isinf_ns): Likewise.
14635         (__isinf_nsf): Likewise.
14636         (__finite): Likewise.
14637         (__finitef): Likewise.
14638         (__ieee754_sqrt): Define as macro.
14639         (__ieee754_sqrtf): Define as macro.
14640         (__ieee754_sqrtl): Define as macro.
14641         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
14642         inlined copy.
14643         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
14644         __FINITE_MATH_ONLY__ consistent.
14645         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
14647 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
14649         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
14650         of rawmemchr.
14652         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
14654 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
14656         * po/ja.po: Update from translation team.
14658 2011-10-08  Roland McGrath  <roland@hack.frob.com>
14660         * locale/programs/locarchive.c (prepare_address_space): New function.
14661         (create_archive, enlarge_archive, open_archive): Use it.
14663         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
14664         inside [SHARED], where it is used.
14666         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
14668         * nss/getent.c (netgroup_keys): Remove unused variable.
14669         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
14671 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
14673         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
14674         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
14675         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
14676         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
14677         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
14678         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
14679         * math/Makefile (libm-calls): Add s_isinf_ns.
14680         * math/divtc3.c: Use __isinf_nsl instead of isinf.
14681         * math/multc3.c: Likewise.
14682         * math/s_casin.c: Likewise.
14683         * math/s_casinf.c: Likewise.
14684         * math/s_casinl.c: Likewise.
14685         * math/s_ccos.c: Likewise.
14686         * math/s_ccosf.c: Likewise.
14687         * math/s_ccosl.c: Likewise.
14688         * math/s_ctan.c: Likewise.
14689         * math/s_ctanf.c: Likewise.
14690         * math/s_ctanh.c: Likewise.
14691         * math/s_ctanhf.c: Likewise.
14692         * math/s_ctanhl.c: Likewise.
14693         * math/s_ctanl.c: Likewise.
14694         * math/w_fmod.c: Likewise.
14695         * math/w_fmodf.c: Likewise.
14696         * math/w_fmodl.c: Likewise.
14697         * math/w_remainder.c: Likewise.
14698         * math/w_remainderf.c: Likewise.
14699         * math/w_remainderl.c: Likewise.
14700         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
14701         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
14702         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
14703         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
14704         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
14705         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
14706         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
14707         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
14709         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
14710         of the number.
14711         * stdio-common/printf_fphex.c: Likewise.
14712         * stdio-common/printf_size.c: Likewise.
14714         * math/e_exp10.c: Include math_private.h using <...> not "...".
14715         * math/e_exp10f.c: Likewise.
14716         * math/e_exp10l.c: Likewise.
14717         * math/e_exp2l.c: Likewise.
14718         * math/e_j0l.c: Likewise.
14719         * math/e_j1l.c: Likewise.
14720         * math/e_jnl.c: Likewise.
14721         * math/e_lgammal_r.c: Likewise.
14722         * math/e_rem_pio2l.c: Likewise.
14723         * math/e_scalb.c: Likewise.
14724         * math/e_scalbf.c: Likewise.
14725         * math/e_scalbl.c: Likewise.
14726         * math/k_cosl.c: Likewise.
14727         * math/k_sinl.c: Likewise.
14728         * math/k_tanl.c: Likewise.
14729         * math/s_cacoshf.c: Likewise.
14730         * math/s_catan.c: Likewise.
14731         * math/s_catanf.c: Likewise.
14732         * math/s_catanh.c: Likewise.
14733         * math/s_catanhf.c: Likewise.
14734         * math/s_catanhl.c: Likewise.
14735         * math/s_catanl.c: Likewise.
14736         * math/s_ccosh.c: Likewise.
14737         * math/s_ccoshf.c: Likewise.
14738         * math/s_ccoshl.c: Likewise.
14739         * math/s_cexp.c: Likewise.
14740         * math/s_cexpf.c: Likewise.
14741         * math/s_cexpl.c: Likewise.
14742         * math/s_clog.c: Likewise.
14743         * math/s_clog10.c: Likewise.
14744         * math/s_clog10f.c: Likewise.
14745         * math/s_clog10l.c: Likewise.
14746         * math/s_clogf.c: Likewise.
14747         * math/s_clogl.c: Likewise.
14748         * math/s_csin.c: Likewise.
14749         * math/s_csinf.c: Likewise.
14750         * math/s_csinh.c: Likewise.
14751         * math/s_csinhf.c: Likewise.
14752         * math/s_csinhl.c: Likewise.
14753         * math/s_csinl.c: Likewise.
14754         * math/s_csqrt.c: Likewise.
14755         * math/s_csqrtf.c: Likewise.
14756         * math/s_csqrtl.c: Likewise.
14757         * math/s_ctan.c: Likewise.
14758         * math/s_ctanf.c: Likewise.
14759         * math/s_ctanh.c: Likewise.
14760         * math/s_ctanhf.c: Likewise.
14761         * math/s_ctanhl.c: Likewise.
14762         * math/s_ctanl.c: Likewise.
14763         * math/s_ldexp.c: Likewise.
14764         * math/s_ldexpf.c: Likewise.
14765         * math/s_ldexpl.c: Likewise.
14766         * math/s_significand.c: Likewise.
14767         * math/s_significandf.c: Likewise.
14768         * math/s_significandl.c: Likewise.
14769         * math/w_acos.c: Likewise.
14770         * math/w_acosf.c: Likewise.
14771         * math/w_acosh.c: Likewise.
14772         * math/w_acoshf.c: Likewise.
14773         * math/w_acoshl.c: Likewise.
14774         * math/w_acosl.c: Likewise.
14775         * math/w_asin.c: Likewise.
14776         * math/w_asinf.c: Likewise.
14777         * math/w_asinl.c: Likewise.
14778         * math/w_atan2.c: Likewise.
14779         * math/w_atan2f.c: Likewise.
14780         * math/w_atan2l.c: Likewise.
14781         * math/w_atanh.c: Likewise.
14782         * math/w_atanhf.c: Likewise.
14783         * math/w_atanhl.c: Likewise.
14784         * math/w_cosh.c: Likewise.
14785         * math/w_coshf.c: Likewise.
14786         * math/w_coshl.c: Likewise.
14787         * math/w_dremf.c: Likewise.
14788         * math/w_exp10.c: Likewise.
14789         * math/w_exp10f.c: Likewise.
14790         * math/w_exp10l.c: Likewise.
14791         * math/w_exp2.c: Likewise.
14792         * math/w_exp2f.c: Likewise.
14793         * math/w_fmod.c: Likewise.
14794         * math/w_fmodf.c: Likewise.
14795         * math/w_fmodl.c: Likewise.
14796         * math/w_hypot.c: Likewise.
14797         * math/w_hypotf.c: Likewise.
14798         * math/w_hypotl.c: Likewise.
14799         * math/w_j0.c: Likewise.
14800         * math/w_j0f.c: Likewise.
14801         * math/w_j0l.c: Likewise.
14802         * math/w_j1.c: Likewise.
14803         * math/w_j1f.c: Likewise.
14804         * math/w_j1l.c: Likewise.
14805         * math/w_jn.c: Likewise.
14806         * math/w_jnf.c: Likewise.
14807         * math/w_jnl.c: Likewise.
14808         * math/w_lgamma.c: Likewise.
14809         * math/w_lgamma_r.c: Likewise.
14810         * math/w_lgammaf.c: Likewise.
14811         * math/w_lgammaf_r.c: Likewise.
14812         * math/w_lgammal.c: Likewise.
14813         * math/w_lgammal_r.c: Likewise.
14814         * math/w_log.c: Likewise.
14815         * math/w_log10.c: Likewise.
14816         * math/w_log10f.c: Likewise.
14817         * math/w_log10l.c: Likewise.
14818         * math/w_log2.c: Likewise.
14819         * math/w_log2f.c: Likewise.
14820         * math/w_log2l.c: Likewise.
14821         * math/w_logf.c: Likewise.
14822         * math/w_logl.c: Likewise.
14823         * math/w_pow.c: Likewise.
14824         * math/w_powf.c: Likewise.
14825         * math/w_powl.c: Likewise.
14826         * math/w_remainder.c: Likewise.
14827         * math/w_remainderf.c: Likewise.
14828         * math/w_remainderl.c: Likewise.
14829         * math/w_scalb.c: Likewise.
14830         * math/w_scalbf.c: Likewise.
14831         * math/w_scalbl.c: Likewise.
14832         * math/w_sinh.c: Likewise.
14833         * math/w_sinhf.c: Likewise.
14834         * math/w_sinhl.c: Likewise.
14835         * math/w_sqrt.c: Likewise.
14836         * math/w_sqrtf.c: Likewise.
14837         * math/w_sqrtl.c: Likewise.
14838         * math/w_tgamma.c: Likewise.
14839         * math/w_tgammaf.c: Likewise.
14840         * math/w_tgammal.c: Likewise.
14842         * po/ja.po: Update from translation team.
14844 2011-09-29  Andreas Jaeger  <aj@suse.de>
14846         [BZ #13179]
14847         * sunrpc/netname.c (netname2host): Fix logic.
14849         [BZ #6779]
14850         [BZ #6783]
14851         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
14852         correctly.
14853         * math/w_remainder.c (__remainder): Likewise.
14854         * math/w_remainderf.c (__remainderf): Likewise.
14855         * math/libm-test.inc (remainder_test): Add test cases.
14857 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
14859         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
14860         sdiv_qrnnd.
14862 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
14864         * string/test-memcmp.c: Avoid unncessary #defines.
14865         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
14867 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
14869         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
14870         Use new sse2 version for core i3 - i7 as it's faster
14871         than sse42 version.
14872         (bit_Prefer_PMINUB_for_stringop): New.
14873         * sysdeps/x86_64/rawmemchr.S: Update.
14874         Replace with faster SSE2 version.
14875         * sysdeps/x86_64/memrchr.S: New file.
14876         * sysdeps/x86_64/memchr.S: Update.
14877         Replace with faster SSE2 version.
14879 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
14881         * elf/dl-load.c (lose): Add cast to avoid warning.
14883 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
14885         * po/ca.po: Update from translation team.
14887         * inet/getnetgrent_r.c: Hook up nscd.
14888         * nscd/Makefile (routines): Add nscd_netgroup.
14889         (nscd-modules): Add netgroupcache.
14890         (CFLAGS-netgroupcache.c): Define.
14891         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
14892         (cache_search): Add const to second parameter.
14893         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
14894         INNETGR.
14895         (dbs): Add netgrdb entry.
14896         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
14897         (verify_persistent_db): Handle netgrdb.
14898         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
14899         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
14900         GETFDNETGR.
14901         (netgroup_response_header): Define.
14902         (innetgroup_response_header): Define.
14903         (datahead): Add netgroup_response_header and innetgroup_response_header
14904         elements.
14905         * nscd/nscd.conf: Add entries for netgroup cache.
14906         * nscd/nscd.h (dbtype): Add netgrdb.
14907         (_PATH_NSCD_NETGROUP_DB): Define.
14908         (netgroup_iov_disabled): Declare.
14909         (xmalloc, xcalloc, xrealloc): Move declarations here.
14910         (cache_search): Adjust prototype.
14911         Add netgroup-related prototypes.
14912         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
14913         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
14914         (__nscd_innetgr): Declare.
14915         * nscd/selinux.c (perms): Use access_vector_t as element type and
14916         add netgroup-related initializers.
14917         * nscd/netgroupcache.c: New file.
14918         * nscd/nscd_netgroup.c: New file.
14919         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
14920         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
14921         For four parameters use innetgr.
14922         * nss/nss_files/files-init.c: Add definition and callback for netgr.
14923         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
14924         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
14925         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
14927         * nscd/connections.c (register_traced_file): Don't register file
14928         for disabled databases.
14930 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
14932         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
14934         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
14935         from tree and freeing node.
14937 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
14939         * nss/nsswitch.c (__nss_database_lookup): Handle
14940         nss_parse_service_list out of memory case.
14942 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
14944         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
14945         out of memory case.
14947 2011-10-04  Andreas Schwab  <schwab@redhat.com>
14949         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
14950         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
14951         pass it down.
14952         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
14953         elf_machine_rela, elf_machine_lazy_rel.
14954         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
14955         (ELF_DYNAMIC_DO_REL): Likewise.
14956         (ELF_DYNAMIC_DO_RELA): Likewise.
14957         (ELF_DYNAMIC_RELOCATE): Likewise.
14958         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
14959         to ELF_DYNAMIC_DO_REL.
14960         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
14961         (dl_main): In trace mode always set __RTLD_NOIFUNC.
14962         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
14963         elf_machine_rela.
14964         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
14965         skip_ifunc, don't call ifunc function if non-zero.
14966         (elf_machine_rela): Likewise.
14967         (elf_machine_lazy_rel): Likewise.
14968         (elf_machine_lazy_rela): Likewise.
14969         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
14970         (elf_machine_lazy_rel): Likewise.
14971         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
14972         Likewise.
14973         (elf_machine_lazy_rel): Likewise.
14974         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
14975         Likewise.
14976         (elf_machine_lazy_rel): Likewise.
14977         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
14978         (elf_machine_lazy_rel): Likewise.
14979         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
14980         (elf_machine_lazy_rel): Likewise.
14981         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
14982         (elf_machine_lazy_rel): Likewise.
14983         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
14984         (elf_machine_lazy_rel): Likewise.
14985         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
14986         (elf_machine_lazy_rel): Likewise.
14987         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
14988         (elf_machine_lazy_rel): Likewise.
14990 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
14992         * nss/nss_files/files-init.c (_nss_files_init): Use static
14993         initialization for all the *_traced_file variables.
14995 2011-09-28  Andreas Schwab  <schwab@redhat.com>
14997         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
14999 2011-09-27  Roland McGrath  <roland@hack.frob.com>
15001         [BZ #13226]
15002         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
15004 2011-09-27  Andreas Schwab  <schwab@redhat.com>
15006         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
15007         Reread the line before reparsing it.
15009 2011-09-26  Andreas Schwab  <schwab@redhat.com>
15011         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
15013 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
15014             Maxim Kuvyrkov  <maxim@codesourcery.com>
15015             Joseph Myers  <joseph@codesourcery.com>
15017         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
15018         if needed for __stack_chk_guard.
15020 2011-09-19  Roland McGrath  <roland@hack.frob.com>
15022         * sysdeps/posix/spawni.c (script_execute): Always define it.
15023         It will be optimized away if unused.
15024         (maybe_script_execute): New function.
15025         (__spawni): Call it.
15027         * Makerules: Don't include tls.make.
15028         (config-tls): Always set to thread.
15029         * tls.make.c: File removed.
15031 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
15033         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
15034         * config.make.in (CPPFLAGS-config): New substituted variable.
15036 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
15038         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
15040         [BZ #13192]
15041         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
15042         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
15044 2011-09-15  Roland McGrath  <roland@hack.frob.com>
15046         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
15047         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
15048         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
15049         (CALL_FAIL): Likewise.
15050         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
15051         (CALL_FAIL): Macro removed.
15052         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
15054 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
15056         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
15057         for __FINITE_MATH_ONLY__ == 1.
15059 2011-09-15  Andreas Schwab  <schwab@redhat.com>
15061         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
15062         __ieee754_sqrt instead of sqrt.
15063         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
15064         __ieee754_sqrtf instead of sqrtf.
15065         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
15066         __floorf instead of floorf.
15067         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
15068         __floorf, __truncf instead of floorf, truncf.
15070 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
15072         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
15074         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
15075         __extern_always_inline.
15076         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
15077         32-bit.
15079 2011-09-14  Andreas Schwab  <schwab@redhat.com>
15081         * elf/rtld.c (dl_main): Also relocate in dependency order when
15082         doing symbol dependency testing.
15084 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
15086         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
15087         Always define `refsym'.
15089 2011-09-13  Andreas Schwab  <schwab@redhat.com>
15091         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
15092         (__FD_ELT): Renamed from __FDELT.
15093         * misc/bits/select2.h (__FD_ELT): Likewise.
15094         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
15095         __FD_MASK instead of __FDELT, __FDMASK.
15096         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
15097         Likewise.
15098         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
15099         Likewise.
15101         * elf/Makefile (gen-ldd): Fix pattern.
15103         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
15104         (init_tls): Likewise.
15106 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
15108         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
15110 2011-09-12  Andreas Schwab  <schwab@redhat.com>
15112         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
15113         `struct cmsghdr *' instead of `void *'.
15114         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
15115         Likewise.
15117 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
15119         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
15120         if non-absolute.
15121         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
15122         ldd_rewrite_script.
15124 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
15126         * configure.in: Remove --with-tls option.
15127         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
15128         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
15129         out in case it is missing.
15130         * sysdeps/ia64/elf/configure.in: Likewise.
15131         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
15132         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
15133         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
15134         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
15135         * sysdeps/sh/elf/configure.in: Likewise.
15136         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
15137         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
15138         * sysdeps/x86_64/elf/configure.in: Likewise.
15139         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
15140         * sysdeps/mach/hurd/tls.h: Likewise.
15142         [BZ #13067]
15143         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
15145         [BZ #13090]
15146         * configure.in: Fix use of AC_INIT.
15148         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
15150 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
15152         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
15153         __set_errno.
15154         * malloc/hooks.c: Likewise.
15156         [BZ #11929]
15157         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
15158         variables statically.
15159         (narenas): Initialize.
15160         (list_lock): Initialize.
15161         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
15162         initializtion of main_arena and list_lock.  Small cleanups.
15163         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
15164         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
15165         Add initializers to main_arena and mp_.
15166         (malloc_state): Remove pagesize member.  Change all users to use
15167         GLRO(dl_pagesize).
15169         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
15170         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
15171         is always initialized.
15173         * malloc/malloc.c: Removed unused configurations and dead code.
15174         * malloc/arena.c: Likewise.
15175         * malloc/hooks.c: Likewise.
15176         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
15178         * include/tls.h: Removed.  USE___THREAD must always be defined.
15179         * bits/libc-tsd.h: Don't handle !USE___THREAD.
15180         * elf/dl-libc.c: Likewise.
15181         * elf/dl-tsd.c: Likewise.
15182         * include/errno.h: Likewise.
15183         * include/netdb.h: Likewise.
15184         * include/resolv.h: Likewise.
15185         * inet/herrno-loc.c: Likewise.
15186         * inet/herrno.c: Likewise.
15187         * malloc/arena.c: Likewise.
15188         * malloc/hooks.c: Likewise.
15189         * malloc/malloc.c: Likewise.
15190         * resolv/res-state.c: Likewise.
15191         * resolv/res_libc.c: Likewise.
15192         * sysdeps/i386/dl-machine.h: Likewise.
15193         * sysdeps/ia64/dl-machine.h: Likewise.
15194         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
15195         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
15196         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
15197         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
15198         * sysdeps/sh/dl-machine.h: Likewise.
15199         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
15200         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
15201         * sysdeps/unix/i386/sysdep.S: Likewise.
15202         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
15203         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
15204         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
15205         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
15206         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
15207         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
15208         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
15209         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
15210         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
15211         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
15212         * sysdeps/unix/x86_64/sysdep.S: Likewise.
15213         * sysdeps/x86_64/dl-machine.h: Likewise.
15214         * tls.make.c: Likewise.
15216         * configure.in: Remove --with-__thread option.  Make tests for
15217         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
15218         tls_model attribute fail if no support is available.  Remove
15219         USE_IN_LIBIO.
15220         * Makeconfig: Adjust for dropped configure option.  All features are
15221         now mandatory.
15222         * Makerules: Likewise.
15223         * Versions.def: Likewise.
15224         * argp/argp-fmtstream.c: Likewise.
15225         * argp/argp-fmtstream.h: Likewise.
15226         * argp/argp-help.c: Likewise.
15227         * assert/assert.c: Likewise.
15228         * config.h.in: Likewise.
15229         * config.make.in: Likewise.
15230         * configure: Likewise.
15231         * configure.in: Likewise.
15232         * csu/Versions: Likewise.
15233         * csu/init.c: Likewise.
15234         * elf/tst-audit2.c: Likewise.
15235         * elf/tst-tls10.c: Likewise.
15236         * elf/tst-tls10.h: Likewise.
15237         * elf/tst-tls11.c: Likewise.
15238         * elf/tst-tls12.c: Likewise.
15239         * elf/tst-tls14.c: Likewise.
15240         * elf/tst-tlsmod11.c: Likewise.
15241         * elf/tst-tlsmod12.c: Likewise.
15242         * elf/tst-tlsmod13.c: Likewise.
15243         * elf/tst-tlsmod13a.c: Likewise.
15244         * elf/tst-tlsmod14a.c: Likewise.
15245         * elf/tst-tlsmod15b.c: Likewise.
15246         * elf/tst-tlsmod16a.c: Likewise.
15247         * elf/tst-tlsmod16b.c: Likewise.
15248         * elf/tst-tlsmod7.c: Likewise.
15249         * elf/tst-tlsmod8.c: Likewise.
15250         * elf/tst-tlsmod9.c: Likewise.
15251         * gmon/gmon.c: Likewise.
15252         * grp/fgetgrent_r.c: Likewise.
15253         * grp/putgrent.c: Likewise.
15254         * hurd/fopenport.c: Likewise.
15255         * include/libc-symbols.h: Likewise.
15256         * include/tls.h: Likewise.
15257         * intl/gettextP.h: Likewise.
15258         * intl/loadinfo.h: Likewise.
15259         * locale/global-locale.c: Likewise.
15260         * locale/localeinfo.h: Likewise.
15261         * mach/devstream.c: Likewise.
15262         * malloc/arena.c: Likewise.
15263         * malloc/set-freeres.c: Likewise.
15264         * misc/err.c: Likewise.
15265         * misc/getttyent.c: Likewise.
15266         * misc/mntent_r.c: Likewise.
15267         * posix/getopt.c: Likewise.
15268         * posix/wordexp.c: Likewise.
15269         * pwd/fgetpwent_r.c: Likewise.
15270         * resolv/Versions: Likewise.
15271         * resolv/res_hconf.c: Likewise.
15272         * shadow/fgetspent_r.c: Likewise.
15273         * shadow/putspent.c: Likewise.
15274         * stdio-common/printf_fphex.c: Likewise.
15275         * stdio-common/tmpfile.c: Likewise.
15276         * stdlib/abort.c: Likewise.
15277         * stdlib/fmtmsg.c: Likewise.
15278         * sunrpc/auth_unix.c: Likewise.
15279         * sunrpc/clnt_perr.c: Likewise.
15280         * sunrpc/clnt_tcp.c: Likewise.
15281         * sunrpc/clnt_udp.c: Likewise.
15282         * sunrpc/clnt_unix.c: Likewise.
15283         * sunrpc/openchild.c: Likewise.
15284         * sunrpc/svc_simple.c: Likewise.
15285         * sunrpc/svc_tcp.c: Likewise.
15286         * sunrpc/svc_udp.c: Likewise.
15287         * sunrpc/svc_unix.c: Likewise.
15288         * sunrpc/xdr.c: Likewise.
15289         * sunrpc/xdr_array.c: Likewise.
15290         * sunrpc/xdr_rec.c: Likewise.
15291         * sunrpc/xdr_ref.c: Likewise.
15292         * sunrpc/xdr_stdio.c: Likewise.
15294 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
15296         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
15298 2011-07-03  Andreas Jaeger  <aj@suse.de>
15300         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
15301         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
15302         regenerate with gen-libm-tests.pl.
15304 2010-05-12  Petr Baudis  <pasky@suse.cz>
15306         [BZ #11589]
15307         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
15308         around j0() zero points by switching to j1().
15309         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
15310         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
15311         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
15312         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
15314 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
15316         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
15317         instead of 0.
15318         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
15319         instead of 0.                              .
15320         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
15321         Patch in part by Pavel Roskin <proski@gnu.org>.
15323         [BZ #13138]
15324         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
15325         realloc.
15326         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
15327         Free memory block if necessary.
15329         [BZ #12847]
15330         * libio/genops.c (INTDEF): For string streams the _lock pointer can
15331         be NULL.  Don't lock in this case.
15333 2011-09-09  Roland McGrath  <roland@hack.frob.com>
15335         * elf/elf.h (ELFOSABI_GNU): New macro.
15336         (ELFOSABI_LINUX): Define to that.
15338 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
15340         * string/strncat.c (strncat): Undef the symbol in case it has been
15341         defined in bits/string.h.
15343 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
15345         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
15347         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
15348         link map.
15350 2011-08-17  Andreas Jaeger  <aj@suse.de>
15352         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
15354 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
15355             Ian Lance Taylor  <iant@google.com>
15357         * math/libm-test.inc (lround_test): New testcase.
15358         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
15360 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
15362         * Makefile: Remove support for automatic cvs check-ins.
15363         * Makerules: Likewise.
15364         * config.make.in: Likewise.
15365         * configure.in: Likewise.
15366         * intl/Makefile: Likewise.
15367         * locale/Makefile: Likewise.
15368         * po/Makefile: Likewise.
15369         * posix/Makefile: Likewise.
15370         * sysdeps/gnu/Makefile: Likewise.
15371         * sysdeps/mach/hurd/Makefile: Likewise.
15372         * sysdeps/sparc/sparc32/Makefile: Likewise.
15374         [BZ #13118]
15375         * posix/Makefile (bug-regex32-ENV): Define.
15376         Patch by John Stanley <jpsinthemix@verizon.net>.
15378         * misc/Makefile (headers): Add bits/select2.h.
15379         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
15380         * misc/bits/select2.h: New file.
15381         * include/bits/select2.h: New file.
15382         * debug/Makefile (routines): Add fdelt_chk.
15383         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
15384         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
15385         FD_ISSET.
15386         * debug/fdelt_chk.c: New file.
15388         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
15389         * wcsmbs/test-wmemcmp.c: Likewise.
15390         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
15391         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
15393 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
15395         * string/Makefile (strop-tests): Add memcmp.
15396         * string/test-wmemcmp.c: New file.
15397         * string/test-memcmp.c: Add wmemcmp support.
15399 2011-09-08  Roland McGrath  <roland@hack.frob.com>
15401         [BZ #13153]
15402         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
15403         2011-07-19 change.
15405         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
15406         garbage value in a __mach_port_mod_refs call in the cases of the
15407         task-self and thread-self ports.
15409 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15411         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
15413 2011-09-08  Andreas Schwab  <schwab@redhat.com>
15415         * elf/dl-load.c (lose): Check for non-null L.
15417 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
15419         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
15421         * elf/dl-libc.c (dlerror_run): Pass back error code from
15422         dl_catch_error.
15424         [BZ #13123]
15425         * elf/dl-load.c (lose): Free l_origin if it is valid.
15427         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
15428         names.
15429         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
15430         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
15431         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
15432         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
15433         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
15434         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
15436 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15438         * sysdeps/powerpc/fpu/e_hypot.c: New file.
15439         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
15440         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
15441         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
15442         * sysdeps/powerpc/fpu/k_cosf.c: New file.
15443         * sysdeps/powerpc/fpu/k_sinf.c: New file.
15444         * sysdeps/powerpc/fpu/s_cosf.c: New file.
15445         * sysdeps/powerpc/fpu/s_sinf.c: New file.
15446         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
15447         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
15449 2011-08-15  Alan Modra  <amodra@gmail.com>
15451         [BZ #13092]
15452         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
15453         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
15454         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
15455         ppc_mcount to static-only-routines.
15456         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
15457         __mcount_internal.
15458         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
15459         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
15461 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
15463         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
15464         for finite and infinity parameters.
15466 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
15468         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
15469         and add nop instructions for throughput optimization.
15470         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
15472 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
15474         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
15475         aligned copy for power7 with vector-scalar instructions.
15476         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
15478 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
15480         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
15481         AVX check.
15483 2011-09-07  Andreas Schwab  <schwab@redhat.com>
15485         [BZ #13144]
15486         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
15487         last change.
15489 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
15491         * sysdeps/unix/sysv/linux/x86_64/init-first.c
15492         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
15493         syscall wrapper around clock_gettime in __vdso_clock_gettime.
15494         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
15495         clock_gettime.
15497 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
15499         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
15500         Forgot to demangle the pointer.
15502         * sysdeps/i386/sysdep.h: Define atom_text_section.
15503         * sysdeps/x86_64/sysdep.h: Likewise.
15504         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
15505         section with atom_text_section.
15506         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
15507         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
15508         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
15509         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
15510         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
15512         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
15513         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
15514         already be defined.  Change to take two parameters and don't assign
15515         result to variable.  Adjust all users.
15516         Define INTERNAL_GETTIME if not already defined.
15517         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
15518         call.
15519         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
15520         HAVE_CLOCK_GETTIME_VSYSCALL.
15521         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
15523         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
15524         gettimeofday vsyscall, just use time.
15526 2011-09-06  Andreas Schwab  <schwab@redhat.com>
15528         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
15529         <errno.h>.
15531 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
15533         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
15534         syscall on x86-64.
15535         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
15536         syscall.
15537         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
15538         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
15539         syscall if possible.
15541 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
15543         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
15544         e_ident.  Don't pass to find_mapsXX.
15545         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
15547 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
15549         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15550         strchr-sse2-no-bsf strrchr-sse2-no-bsf
15551         * sysdeps/x86_64/multiarch/strchr.S: Update.
15552         Check bit_slow_BSF bit.
15553         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
15554         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
15555         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
15557 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
15559         [BZ #13134]
15560         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
15561         before glibc 2.15.
15562         (tryshell): Define.
15563         (__spawni): Change last parameter to be flag.  Test
15564         SPAWN_XFLAGS_USE_PATH flag to use path or not.
15565         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
15566         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
15567         * posix/spawni.c: Likewise.
15568         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
15569         * posix/spawnp.c: Likewise.  Change normal version to use
15570         SPAWN_XFLAGS_USE_PATH.
15571         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
15572         SPAWN_XFLAGS_TRY_SHELL.
15574         [BZ #13150]
15575         * posix/glob.h: Remove gcc 1.x support.
15577         [BZ #13068]
15578         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
15580 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
15582         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
15583         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
15584         strrchr-sse2-bsf
15585         * sysdeps/i386/i686/multiarch/strchr.S: New file.
15586         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
15587         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
15588         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
15589         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
15590         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
15592 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
15594         * sysdeps/x86_64/wcscmp.S: New file.
15596         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
15597         wcscmp-c wcscmp-sse2
15598         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
15599         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
15600         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
15601         * wcsmbs/wcscmp.c: Allow renaming.
15603 2011-09-05  David S. Miller  <davem@davemloft.net>
15605         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
15606         stack slot, rather than the struct return pointer slot.
15607         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
15608         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
15609         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
15610         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
15612 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
15614         * po/ja.po: Update from translation team.
15616         [BZ #13144]
15617         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
15618         kernel in 64-bit binaries.
15620 2011-09-01  David S. Miller  <davem@davemloft.net>
15622         * elf/elf.h (HWCAP_SPARC_*): Move to..
15623         * sysdeps/sparc/sysdep.h: this new file and add new values.
15624         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
15625         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
15626         _DL_HWCAP_COUNT to 24.
15627         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
15628         entries.
15629         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
15630         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
15631         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
15632         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
15633         instead of magic constants.
15634         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
15636 2011-08-31  David S. Miller  <davem@davemloft.net>
15638         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
15639         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
15640         Reimplement to do errno handling inline.
15641         (SYSCALL_ERROR_HANDLER): New macro.
15642         (__SYSCALL_STRING): Do not do errno handling in asm.
15643         (__CLONE_SYSCALL_STRING): Delete.
15644         (__INTERNAL_SYSCALL_STRING): Delete.
15645         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
15646         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
15647         (PSEUDO): Reimplement to do errno handling inline.
15648         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
15649         (SYSCALL_ERROR_HANDLER): New macro.
15650         (__SYSCALL_STRING): Do not do errno handling in asm.
15651         (__CLONE_SYSCALL_STRING): Delete.
15652         (__INTERNAL_SYSCALL_STRING): Delete.
15653         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
15654         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
15655         i386.
15656         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
15657         (inline_syscall*): Add 'err' argument.
15658         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
15659         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
15660         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
15661         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
15663         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
15664         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
15666 2011-08-30  Andreas Schwab  <schwab@redhat.com>
15668         * elf/rtld.c (dl_main): Relocate objects in dependency order.
15670 2011-08-29  Jiri Olsa <jolsa@redhat.com>
15672         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
15673         directive.
15675 2011-08-24  David S. Miller  <davem@davemloft.net>
15677         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
15679 2011-08-24  Andreas Schwab  <schwab@redhat.com>
15681         * elf/Makefile: Add rules to build and run unload8 test.
15682         * elf/unload8.c: New file.
15683         * elf/unload8mod1.c: New file.
15684         * elf/unload8mod1x.c: New file.
15685         * elf/unload8mod2.c: New file.
15686         * elf/unload8mod3.c: New file.
15688         * elf/dl-close.c (_dl_close_worker): Reset private search list if
15689         it wasn't used.
15691 2011-08-23  David S. Miller  <davem@davemloft.net>
15693         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
15694         subtract stack bias.
15695         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
15696         %sp not %fp in calculations.
15697         (_JMPBUF_UNWINDS_ADJ): Likewise.
15699         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
15700         (aio_suspend): Call it to force an exception region around the
15701         AIO_MISC_WAIT() invocation.
15703 2011-08-23  Andreas Schwab  <schwab@redhat.com>
15705         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
15706         backslash.
15708 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
15710         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
15711         protection macro.
15712         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
15713         and <dl-machine.h>.
15714         (Elf64_FuncDesc): Remove.
15716 2011-08-22  David S. Miller  <davem@davemloft.net>
15718         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
15719         sigaltstack check, add missing cfi directives.
15720         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
15721         missing cfi directives, and sigaltstack handling.
15723 2011-08-16  Andreas Schwab  <schwab@redhat.com>
15725         [BZ #11724]
15726         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
15727         object is seen twice.
15728         * elf/dl-fini.c (_dl_sort_fini): Likewise.
15730         * elf/Makefile (distribute): Add tst-initorder2.c.
15731         (tests): Add tst-initorder2.
15732         (modules-names): Add tst-initorder2a tst-initorder2b
15733         tst-initorder2c tst-initorder2d.  Add rules to build them.
15734         ($(objpfx)tst-initorder2.out): New rule.
15735         * elf/tst-initorder2.c: New file.
15736         * elf/tst-initorder2.exp: New file.
15738 2011-08-22  Andreas Schwab  <schwab@redhat.com>
15740         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
15742         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
15743         dependencies back to end of function.
15745         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
15746         $(elfobjdir)/ld.so.
15748 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
15750         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
15751         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
15752         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
15753         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
15754         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
15755         of __vdso_gettimeofday.
15756         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
15757         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
15758         attribute_hidden.
15759         (_libc_vdso_platform_setup): Remove initialization of
15760         __vdso_gettimeofday and __vdso_time.
15762 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
15764         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
15765         and fgetc_unlocked.
15766         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
15767         getc_unlocked.
15769         * elf/dl-open.c (add_to_global): Report additions to the global scope
15770         for LD_DEBUG=scopes.
15771         (dl_open_worker): Also print scope of newly loaded dependencies.
15772         (_dl_show_scope): Indicate if there is no scope.
15774         [BZ #13114]
15775         * stdio-common/Makefile (tests): Add bug24.
15776         * stdio-common/bug24.c: New file.
15778 2011-08-19  Andreas Jaeger  <aj@suse.de>
15780         [BZ #13114]
15781         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
15782         non-existant file when using close-on-exec mode.
15784 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
15786         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
15787         the very first instruction.
15789         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
15790         the CFI state in the end.
15791         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
15792         inclusion of dl-trampoline.h.
15793         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
15795 2011-08-19  Andreas Schwab  <schwab@redhat.com>
15797         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
15798         expectations for long double.
15800         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
15801         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
15803 2011-08-14  David S. Miller  <davem@davemloft.net>
15805         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
15806         artificual limit depends upon the system page size.
15808 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
15810         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
15811         * resolv/Makefile: Define CFLAGS-libresolv.
15813 2011-08-17  Andreas Schwab  <schwab@redhat.com>
15815         * nss/makedb.c (compute_tables): Make variables used in nested
15816         function static.
15818 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
15820         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
15821         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
15822         if buffer was too small.
15824         * elf/pldd.c (main): Attach to all threads in the process.
15825         Rewrite /proc handling to use *at functions.
15827 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
15829         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
15830         specifies first scope to show.
15831         (dl_open_worker): Update callers.  Move printing scope of new
15832         object to before the relocation.
15833         * elf/rtld.c (dl_main): Update _dl_show_scope call.
15834         * sysdeps/generic/ldsodefs.h: Update declaration.
15836         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
15837         string for the scope number.
15839 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
15841         * nscd/servicescache.c (cache_addserv): Make sure written is always
15842         initialized.
15844 2011-08-14  Roland McGrath  <roland@hack.frob.com>
15846         * sysdeps/i386/i486/bits/atomic.h
15847         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
15848         statement expression, so as to suppress "set but not used" warning.
15849         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
15851         * string/strncat.c (STRNCAT): Use prototype definition.
15853         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
15854         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
15855         -Iprograms here.
15856         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
15857         (localedef-modules): Add localedef.
15858         (locale-modules): Add locale.
15860         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
15861         * elf/rtld.c (dl_main): Invert order of assignment in last change,
15862         to avoid a warning.
15864 2011-08-14  David S. Miller  <davem@davemloft.net>
15866         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
15867         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
15869 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
15871         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
15872         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
15873         * elf/rtld.c (dl_main): Set l_name of vDSO.
15874         Call _dl_show_scope when DL_DEBUG_SCOPES.
15875         (process_dl_debug): Recognize scopes flag and also set it for all.
15876         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
15877         Declare _dl_show_scope.
15879         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
15880         (do_dlopen): Pass caller_dlopen to dl_open.
15881         (__libc_dlopen_mode): Initialize caller_dlopen.
15883         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
15884         of libc.  Make tolower call locale-independent.  Optimize a bit by
15885         using isdigit instead of isalnum.
15886         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
15888 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
15890         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
15891         was a dependency or dynamically loaded.
15893 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
15895         * intl/l10nflist.c: Allow architecture-specific pop function.
15896         * sysdeps/x86_64/l10nflist.c: New file.
15898         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
15899         classification.
15901 2011-08-10  Andreas Schwab  <schwab@redhat.com>
15903         * include/dirent.h: Add libc_hidden_proto for scandirat and
15904         scandirat64.  Don't declare __scandirat64.
15905         * dirent/scandirat.c: Add libc_hidden_def.
15906         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
15907         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
15909 2011-08-10  David S. Miller  <davem@davemloft.net>
15911         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
15912         enum.
15913         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
15914         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
15915         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
15917 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
15919         * Versions.def [libc]: Add GLIBC_2.15.
15920         * dirent/Makefile (routines): Add scandirat and scandirat64.
15921         * dirent/Versions [libc]: Export scandirat and scandirat64 for
15922         GLIBC_2.15.
15923         * dirent/dirent.h: Declare scandirat and scandirat64.
15924         * dirent/scandirat.c: New file.
15925         * dirent/scandirat64.c: New file.
15926         * sysdeps/wordsize-64/scandirat.c: New file.
15927         * sysdeps/wordsize-64/scandirat64.c: New file.
15928         * dirent/opendir.c: Define opendirat.
15929         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
15930         using scandirat.
15931         * dirent/scandir64.c: Adjust for scandir.c change.
15932         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
15933         __scandirat64, and __scandir_cancel_handler.
15934         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
15935         additional parameter and use openat instead of open (outside of ld.so).
15936         Add new __opendir as wrapper around __opendirat.
15937         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
15938         here without requiring old scandirat implementation.
15940 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
15942         * dirent/scandir.c (cancel_handler): Renamed to
15943         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
15944         defined.  Adjust users.
15945         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
15946         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
15948 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
15950         * string/test-string.h (IMPL): Use __STRING to expand name and then
15951         stringify it.
15953         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
15954         of cleanups.
15956 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
15958         * string/Makefile: Update.
15959         (strop-tests): Append strncat.
15960         * string/test-wcscmp.c: New file.
15961         New comprehensive test for wcscmp.
15962         * string/test-strcmp.c: Update.
15963         (WIDE): New define.
15965 2011-07-22  Andreas Schwab  <schwab@redhat.com>
15967         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
15968         line.
15970 2011-07-26  Andreas Schwab  <schwab@redhat.com>
15972         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
15973         encoding to ACE if AI_IDN.
15975 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
15977         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
15978         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
15980 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
15982         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
15983         Fix overflow bug in strncat.
15984         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
15986         * string/test-strncat.c: Update.
15987         Add new tests for checking overflow bugs.
15989 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
15991         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
15992         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
15993         * sysdeps/i386/i686/multiarch/strcat.S: New file.
15994         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
15995         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
15996         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
15997         * sysdeps/i386/i686/multiarch/strncat.S: New file.
15998         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
15999         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
16001         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
16002         (USE_AS_STRCAT): Define.
16003         Add strcat and strncat support.
16004         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
16006 2011-07-25  Andreas Schwab  <schwab@redhat.com>
16008         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
16009         __n bigger than INT_MAX+1.
16010         (__strncmp_g): Likewise.
16012 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
16014         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
16015         * libio/stido.h: Likewise.
16017         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
16018         (AF_NFC): Define.
16019         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
16020         (AF_NFC): Define.
16022         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
16023         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
16024         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
16025         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
16026         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
16028         [BZ #13021]
16029         * scripts/test-installation.pl: Don't expect libnss_test1 to be
16030         installed.
16032         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
16033         typo.
16034         (_dl_x86_64_save_sse): Likewise.
16036 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
16038         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
16039         OSXSAVE.
16040         (_dl_x86_64_save_sse): Likewise.
16042         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
16044         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
16046 2011-07-21  Andreas Schwab  <schwab@redhat.com>
16048         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
16049         change.
16050         (_dl_x86_64_save_sse): Use correct AVX check.
16052 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
16054         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
16055         bug in strncpy/strncat.
16056         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
16058 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
16060         * string/tester.c (test_strcat): Add tests for different alignments
16061         of source and destination.
16062         (test_strncat): Likewise.
16064 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
16066         [BZ #12852]
16067         * posix/glob.c (glob): Check passed in values before using them in
16068         expressions to avoid some overflows.
16069         (glob_in_dir): Likewise.
16071         [BZ #13007]
16072         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
16073         check for AVX enablement so that we don't crash with old kernels and
16074         new hardware.
16075         * elf/tst-audit4.c: Add same checks here.
16076         * elf/tst-audit6.c: Likewise.
16078         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
16080 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
16082         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
16084 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
16086         * po/cs.po: Update from translation team.
16087         * po/bg.po: Likewise.
16089 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
16091         * misc/sys/cdefs.h: Add support for const attribute.
16092         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
16093         to gnu_dev_{major,minor,makedev} functions.
16095 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
16097         * intl/dcigettext.c (get_output_charset): Add missing bracket.
16099 2011-07-20  Andreas Schwab  <schwab@redhat.com>
16101         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
16102         strlen results.
16104 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
16106         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
16107         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
16108         register in order to avoid conflicts with the soft frame pointer
16109         being held in r11 when necessary.
16110         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
16111         (INTERNAL_VSYSCALL_NCS): Likewise.
16113 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
16115         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
16116         * elf/dl-fini.c (_dl_fini): Adjust caller.
16117         * elf/dl-close.c (_dl_close_worker): Likewise.
16118         * sysdeps/generic/ldsodefs.h: Adjust declaration.
16120 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
16122         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
16123         "aux_cache->nlibs < 0".
16125         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
16126         in the reload-count case.
16128 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
16130         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
16131         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
16132         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
16133         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
16134         * sysdeps/x86_64/multiarch/strcat.S: New file.
16135         * sysdeps/x86_64/multiarch/strncat.S: New file.
16136         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
16137         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
16138         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
16139         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
16140         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
16141         (USE_AS_STRCAT): Define.
16142         Add strcat and strncat support.
16143         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
16144         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
16145         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
16146         * string/strncat.c: Update.
16147         (USE_AS_STRNCAT): Define.
16148         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16149         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
16150         and i7.
16151         * sysdeps/x86_64/multiarch/init-arch.h
16152         (bit_Prefer_PMINUB_for_stringop): New.
16153         (index_Prefer_PMINUB_for_stringop): Likewise.
16154         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
16155         bit_Prefer_PMINUB_for_stringop.
16157 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
16159         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
16160         buffer64.
16161         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
16162         of casting of buffer.
16163         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
16164         buffer32 and buffer64.
16165         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
16166         writes instead of casting of buffer.
16167         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
16168         buffer32.
16169         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
16170         casting of buffer.
16172 2011-07-19  Andreas Schwab  <schwab@redhat.com>
16174         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
16176 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
16178         * nscd/nscd.c (termination_handler): Don't do anything for a database
16179         if it has not yet been initialized.
16181 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
16183         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
16185 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
16187         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
16189 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
16191         * po/nl.po: Update from translation team.
16192         * po/sv.po: Likewise.
16194 2011-07-16  Roland McGrath  <roland@hack.frob.com>
16196         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
16197         now disallowed by GCC.
16199         * configure.in (use-default-link): Default to yes if a test -shared
16200         link meets our qualifications.
16201         * configure: Regenerated.
16203         * config.make.in (output-format): New variable.
16204         * configure.in: Check for ld --print-output-format support.
16205         * configure: Regenerated.
16206         * Makerules ($(common-objpfx)format.lds)
16207         [$(output-format) != unknown]: Just use $(output-format),
16208         instead of the linker-script munging.
16210 2011-07-14  Roland McGrath  <roland@hack.frob.com>
16212         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
16213         of $(common-objpfx)shlib.lds.
16214         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
16216         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
16217         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
16219         * configure.in (-z relro check): Adjust test code to add a large
16220         writable data section after it.
16221         * configure: Regenerated.
16223 2011-07-11  Roland McGrath  <roland@hack.frob.com>
16225         * configure.in (-z relro check): Fix test code to make the variable
16226         truly const.
16227         * configure: Regenerated.
16229 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
16231         * nscd/nscd.h (struct traced_file): Define.
16232         (struct database_dyn): Remove inotify_descr, reset_res, and filename
16233         elements.  Add traced_files.
16234         (inotify_fd): Declare.
16235         (register_traced_file): Declare.
16236         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
16237         (inotify_fd): Export.
16238         (resolv_conf_descr): Remove.
16239         (nscd_init): Move inotify descriptor creation to main.
16240         Don't register files for notification here.
16241         (register_traced_file): New function.
16242         (invalidate_cache): Don't use reset_res to determine whether to call
16243         res_init, go through the list of registered files.
16244         (main_loop_poll): The inotify descriptors are now stored in the
16245         structures for the traced files.
16246         (main_loop_epoll): Likewise
16247         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
16248         to __nss_disable_nscd.
16249         * nscd/cache.c (prune_cache): There is no single inotify descriptor
16250         for a database anymore.  Check the records for all the registered
16251         files instead.
16252         * nss/Makefile (libnss_files-routines): Add files-init.
16253         (libnss_db-routines): Add db-init.
16254         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
16255         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
16256         * nss/nss_db/db-init.c: New file.
16257         * nss/nss_files/files-init.c: New file.
16258         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
16259         __nss_lookup_function.
16260         (__nss_lookup_function): Call nss_load_library.
16261         (nss_load_all_libraries): New function.
16262         (__nss_disable_nscd): Take parameter with callback function for files
16263         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
16264         used for the cached services.
16265         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
16266         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
16267         options for features to all the files in nscd.
16269         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
16271 2011-07-10  Roland McGrath  <roland@hack.frob.com>
16273         * csu/elf-init.c (__libc_csu_init): Comment typo.
16275 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
16277         * po/pl.po: Update from translation team.
16278         * po/ja.po: Likewise.
16279         * po/ru.po: Likewise.
16280         * po/ko.po: Likewise.
16281         * po/fr.po: Likewise.
16283 2011-07-09  Roland McGrath  <roland@hack.frob.com>
16285         * configure.in (.ctors/.dtors header and trailer check):
16286         Use an empirical test on a built program.
16287         * configure: Regenerated.
16289         * configure.in (-z relro check): Use an empirical test on a built DSO.
16290         Detect, but do not require, on ia64.
16291         * configure: Regenerated.
16293         * configure.in (READELF): Find it with AC_CHECK_TOOL.
16294         Update tests that use readelf to use $READELF instead.
16295         * configure: Regenerated.
16297 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
16299         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
16300         if the result is not used.
16302 2011-07-05  Andreas Jaeger  <aj@suse.de>
16304         [BZ#9696]
16305         * stdlib/tst-strtod.c: Add testcase.
16307 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
16309         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
16310         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
16311         The latter has a higher limit.  Take additional parameter to pass to
16312         the new function.
16313         (__pathconf): Pass file to __statfs_link_max.
16314         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
16315         __statfs_link_max.
16316         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
16317         __statfs_link_max.
16319         [BZ #12868]
16320         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
16321         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
16322         Handle Lustre.
16323         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
16324         (__statfs_filesize_max): Likewise.
16325         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
16327 2011-07-05  Andreas Jaeger  <aj@suse.de>
16329         * resolv/res_comp.c (dn_skipname): Remove unused variable.
16331 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
16333         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
16334         `status' variable.
16335         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
16336         Likewise.
16338 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
16340         * Makefile (strop-tests): Add strncat.
16341         * string/test-strncat.c: New file.
16343 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
16345         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
16347 2011-06-21  Andreas Jaeger  <aj@suse.de>
16349         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
16350         Copy rule from iconvdata/Makefile.
16352 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
16354         [BZ #12922]
16355         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
16356         but no long options are defined, just return 'W'.
16358 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
16360         [BZ #9696]
16361         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
16363 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
16365         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
16366         netgroups to read.
16367         (innetgr): Likewise.
16369 2011-07-05  Roland McGrath  <roland@hack.frob.com>
16371         * config.make.in (install_root): Default to $(DESTDIR).
16373 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
16375         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
16377 2011-07-02  Roland McGrath  <roland@hack.frob.com>
16379         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
16381         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
16382         containing directory rather than embedding absolute directory names.
16384         * scripts/check-local-headers.sh: Rewritten using awk.
16385         Match by word, not by line.  Print error messages for matches.
16386         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
16388         * Makerules [shlib-lds-flags empty]:
16389         ($(common-objpfx)libc_pic.opts): New target.
16390         ($(common-objpfx)libc_pic.os.clean): New target.
16391         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
16393         * config.make.in (OBJCOPY): New variable.
16394         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
16395         * configure: Regenerated.
16397         * config.make.in (use-default-link): New variable.
16398         * configure.in (use_default_link): Grok --with-default-link to set it.
16399         * configure: Regenerated.
16400         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
16401         (shlib-lds, shlib-lds-flags): Define to empty.
16403         * Makerules (shlib-lds): New variable.
16404         (shlib-lds-flags): New variable.
16405         (build-shlib, build-moduile, build-module-asneeded): Use it.
16406         ($(common-objpfx)libc.so): Use $(shlib-lds).
16407         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
16408         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
16410         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
16411         DT_FLAGS/DT_FLAGS_1 with zero flags.
16413         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
16414         linker script munging.
16416 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
16418         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
16419         as 128-bit value.
16420         * crypt/sha512.c (sha512_process_block): Perform total addition using
16421         128-bit if possible.
16422         (__sha512_finish_ctx): Likewise.
16423         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
16424         as 64-bit value.
16425         * crypt/sha256.c (SWAP64): Define.
16426         (sha256_process_block): Perform total addition using 64-bit if
16427         possible.
16428         (__sha256_finish_ctx): Likewise.
16430 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
16432         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
16433         * nscd/initgrcache.c (addinitgroupsX): Likewise.
16434         * nscd/hstcache.c (cache_addhst): Likewise.
16435         * nscd/grpcache.c (cache_addgr): Likewise.
16436         * nscd/aicache.c (addhstaiX): Likewise
16437         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
16439 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
16441         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
16442         * nscd/initgrcache.c (addinitgroupsX): Likewise.
16443         * nscd/hstcache.c (cache_addhst): Likewise.
16444         * nscd/grpcache.c (cache_addgr): Likewise.
16445         * nscd/aicache.c (addhstaiX): Likewise
16447 2011-07-01  Andreas Schwab  <schwab@redhat.com>
16449         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
16450         domain only when needed.
16452 2011-06-30  Andreas Schwab  <schwab@redhat.com>
16454         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
16455         is always restored.
16457 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
16459         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
16460         are re-adding the entry.
16461         * nscd/servicescache.c (cache_addserv): Likewise.
16463 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
16465         * sysdeps/generic/dl-irel.h: fix protection against multiple
16466         inclusions.
16467         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
16469 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
16471         [BZ #12935]
16472         * malloc/memusage.sh: Fix quoting in message.
16473         * debug/xtrace.sh: Likewise.
16475         * configure.in: Remove support for --experimental-malloc option, make
16476         it the default.
16477         * config.make.in: Likewise.
16478         * malloc/Makefile: Likewise.
16480 2011-06-27  Andreas Schwab  <schwab@redhat.com>
16482         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
16483         two-byte characters.
16485 2011-06-27  Roland McGrath  <roland@hack.frob.com>
16487         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
16488         AC_CACHE_CHECK invocation.
16489         * configure: Regenerated.
16491         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
16493 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
16495         [BZ #12350]
16496         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
16497         bit from old_res_options.
16499         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
16501         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
16502         value type for setfct.
16504 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
16506         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
16507         __gettimeofday instead of gettimeofday.
16509 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
16511         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
16513 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
16515         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
16517         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
16518         info.
16520 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
16522         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
16523         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
16524         strcpy-sse2-unaligned strncpy-sse2-unaligned
16525         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
16526         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
16527         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
16528         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
16529         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
16530         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
16531         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
16532         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
16533         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
16534         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
16535         (STRCPY): Support SSE2 and SSSE3 versions.
16537 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
16539         [BZ #12874]
16540         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
16541         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
16542         kernels which artificially limit size of requests.
16544 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
16546         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
16547         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
16548         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
16549         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
16550         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
16551         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
16552         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
16553         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
16554         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
16555         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
16556         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
16557         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
16558         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
16559         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
16560         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
16561         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16562         Enable unaligned load optimization for Intel Core i3, i5 and i7
16563         processors.
16564         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
16565         Define.
16566         (index_Fast_Unaligned_Load): Define.
16567         (HAS_FAST_UNALIGNED_LOAD): Define.
16569 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
16571         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
16573 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
16575         [BZ #12907]
16576         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
16577         until it is clear that the information is realy needed.
16578         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
16580 2011-06-22  Andreas Schwab  <schwab@redhat.com>
16582         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
16584 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
16586         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
16587         /sys/devices/system/cpu/online if it is usable.
16589         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
16590         reading the information from the /proc filesystem to once a second.
16592 2011-06-21  Andreas Jaeger  <aj@suse.de>
16594         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
16595         NULL after inclusion of kernel headers.
16597 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
16599         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
16600         calls to internal_setent.
16602         [BZ #12885]
16603         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
16604         addresses using gethostbyname4_r ignore IPv4 addresses.
16606         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
16607         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
16609         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
16611 2011-06-20  David S. Miller  <davem@davemloft.net>
16613         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
16614         inclusions.
16615         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
16617         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
16618         (elf_irel): Use it.
16619         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
16620         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
16621         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
16622         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
16623         * sysdeps/x86_64/dl-irel.h: Likewise.
16625         * elf/dl-runtime.c: Use elf_ifunc_invoke.
16626         * elf/dl-sym.c: Likewise.
16628 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
16630         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
16631         need to dereference resplen2.
16633 2011-06-14  Andreas Schwab  <schwab@redhat.com>
16635         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
16637 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
16639         * Makeconfig: Define vardbdir and inst_vardbdir.
16640         * nss/Makefile: Add rules to install db-Makefile.
16642         * nss/nss_db/db-XXX.c: Cleanup.
16644         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
16645         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
16646         GLIBC_PRIVATE.
16647         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
16648         * nss/makedb.c: Implement -g option to specify that value strings
16649         are generated and should not be added to table iterated over for
16650         get*ent calls.
16651         * nss/nss_db/db-initgroups.c: New file.
16653         * nss/getent.c: Add support for initgroups lookups through getgrouplist
16654         interface.
16656         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
16657         (internal_getgrouplist): Adjust to name change.
16658         Update use_initgroups_entry if this is not the first call.
16659         * nss/databases.def: Add initgroups entry.
16661         * nss/makedb.c (compute_tables): Check result of multiple hash table
16662         sizes to minimize maximum chain length.
16664 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
16666         * Versions.def: Add entry for libnss_db.
16667         * shlib-versions: Likewise.
16668         * nss/Makefile: Add rules to build libnss_db.
16669         * nss/Versions: Add libnss_db information.  Organize libnss_files
16670         entries better.
16671         * nss/db-Makefile: Add gshadow support.  Change rules for the new
16672         makedb progra.  Some minor improvements to generate smaller files.
16673         * nss/nss_db/nss_db.h: Move NSS database header data structures to
16674         here from...
16675         * nss/makedb.c: ...here.
16676         Improve database format to be smaller and require less memory at
16677         runtime.
16678         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
16679         db anymore.
16680         * nss/nss_db/db-netgrp.c: Likewise.
16681         * nss/nss_db/db-open.c: Likewise.
16682         * nss/nss_files/flies-XXX.x: Adjust comments.
16683         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
16684         * nss/nss_files/files-grp.c: Likewise.
16685         * nss/nss_files/files-hosts.c: Likewise.
16686         * nss/nss_files/files-network.c: Likewise.
16687         * nss/nss_files/files-proto.c: Likewise.
16688         * nss/nss_files/files-pwd.c: Likewise.
16689         * nss/nss_files/files-rpc.c: Likewise.
16690         * nss/nss_files/files-service.c: Likewise.
16691         * nss/nss_files/files-sgrp.c: Likewise.
16692         * nss/nss_files/files-spwd.c: Likewise.
16693         * nss/nss_db/db-alias.c: Removed.
16694         * nss/nss_db/dummy-db.h: Removed.
16696 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
16698         * nss/makedb.c: Rewritten to not use database library.
16699         * nss/Makefile: Update to build new makedb program.
16701 2011-06-14  Andreas Jaeger  <aj@suse.de>
16703         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
16704         memset declaration.
16706 2011-06-10  Andreas Schwab  <schwab@redhat.com>
16708         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
16709         tmpbuf.
16711 2011-06-10  Roland McGrath  <roland@hack.frob.com>
16713         * Makerules (shlib.lds): Fail if the linker script comes out empty.
16714         * elf/Makefile ($(objpfx)ld.so): Likewise.
16716         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
16717         Don't list ld.so twice in dependencies.
16719         * posix/bug-regex31.c: Include <stdlib.h>.
16721         * nscd/hstcache.c (cache_addhst): Remove unused variable.
16723         * nis/nss_compat/compat-spwd.c
16724         (getspent_next_nss_netgr): Remove unused variable.
16725         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
16727         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
16728         nonmembers" output to use the right array.
16730         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
16732         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
16734         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
16735         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
16736         * catgets/gencat.c (read_input_file): Likewise.
16737         * locale/programs/locarchive.c (enlarge_archive): Likewise.
16739         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
16740         variable definition inside #if's controlling its use.
16742         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
16744         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
16746         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
16748         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
16749         unreachable code.
16751         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
16753         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
16754         * configure: Regenerated.
16756         * Makerules: Revert last change.
16757         * elf/Makefile: Likewise.
16759 2011-06-09  Roland McGrath  <roland@hack.frob.com>
16761         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
16762         * elf/Makefile ($(objpfx)librtld.os): Likewise.
16763         (reloc-link): Likewise.
16765 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
16767         * elf/Makefile: Add rules to build pldd.
16768         * elf/pldd.c: New file.
16769         * elf/pldd-xx.c: New file.
16771 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
16773         * version.h: Update for 2.15 development version.
16775 2011-06-07  David S. Miller  <davem@davemloft.net>
16777         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
16778         ifuncs.
16779         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
16780         elf_machine_lazy_rel): Likewise.
16781         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
16782         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
16783         elf_machine_lazy_rel): Likewise.
16784         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
16785         dl_hwcap via passed in argument.
16786         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
16787         Likewise.
16789 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
16791         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
16793 2011-06-06  Roland McGrath  <roland@hack.frob.com>
16795         [BZ #12849]
16796         * manual/fdl-1.1.texi: New file, verbatim from:
16797         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
16798         * manual/lgpl-2.1.texi: New file, verbatim from:
16799         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
16800         * manual/Makefile (licenses): New variable, list those new file names.
16801         (texis): Use it.
16802         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
16804         * manual/fdl.texi: File removed.
16805         * manual/lesser.texi: File removed.
16806         * manual/libc.texinfo (Copying, Documentation License):
16807         Use new @include file names, put @appendix directive before @include.
16809 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
16811         [BZ #12841]
16812         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
16813         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
16814         (mq_open): Add __NTH.
16816 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
16818         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16819         Assume Intel Core i3/i5/i7 processor if AVX is available.
16821 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
16823         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
16824         typo.
16826 2011-05-31  Andreas Schwab  <schwab@redhat.com>
16828         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
16829         memory.  Use alloca_account.  Fix memory leak when retrying.
16831 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
16833         * version.h (RELEASE): Bump for 2.14 release.
16834         * include/features.h (__GLIBC_MINOR__): Bump to 14.
16836         * config.make.in (RANLIB): Remove entry.
16838 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
16840         * po/Makefile (po-sed-cmd): Add ksh to extensions.
16841         (libc.pot): Work around missing support for .ksh extension in xgettext.
16843         [BZ #12684]
16844         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
16845         if both request failed.
16846         (send_dg): In case of server errors clear resplen or *resplen2.
16848         [BZ #12454]
16849         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
16850         when there are multiple maps.
16851         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
16852         (_dl_fini): Remove test here.
16854         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
16856 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
16858         [BZ #12350]
16859         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
16860         bit from old_res_options.
16861         (gaih_inet): Likewise.
16863         [BZ #11099]
16864         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
16865         as signed.
16867         * resolv/res_init.c (res_setoptions): Make the code more compact.
16869         [BZ #11558]
16870         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
16871         set RES_USEVC.
16873         [BZ #11634]
16874         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
16876         * malloc/malloc.h: Mark malloc hook variables as deprecated.
16878         [BZ #11781]
16879         * malloc/malloc.h: Declare malloc hook variables as volatile.
16881         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
16882         in last patch.
16884         [BZ #11799]
16885         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
16886         raise in the comment.
16887         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
16888         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
16889         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
16891 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
16893         [BZ #12811]
16894         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
16895         grow the buffers more if it already has to be sufficient.
16896         (build_wcs_upper_buffer): Likewise.
16897         * posix/regexec.c (check_matching): Likewise.
16898         (clean_state_log_if_needed): Likewise.
16899         (extend_buffers): Don't enlarge buffers beyond size of the input
16900         buffer.
16901         Patches mostly by Emil Wojak <emil@wojak.eu>.
16902         * posix/bug-regex32.c: New file.
16903         * posix/Makefile (tests): Add bug-regex32.
16905         * locale/findlocale.c (_nl_find_locale): Return right away if
16906         _nl_explode_name failed.
16907         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
16909         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
16911         * debug/xtrace.sh: Unify messages.
16912         * malloc/memusage.sh: Likewise.
16914         [BZ #12813]
16915         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
16916         time symbol from vDSO.  Substitute with vsyscall if not available.
16917         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
16918         __vdso_time.
16920         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
16921         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
16922         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
16923         Add sendmmsg and internal_sendmmsg.
16924         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
16925         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
16926         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
16928         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
16929         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
16930         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
16932 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
16934         [BZ #12813]
16935         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
16936         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
16937         available.
16938         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
16939         __vdso_getcpu.
16941         [BZ #12814]
16942         * iconvdata/Makefile (tests): Add bug-iconv9.
16943         * iconvdata/bug-iconv9.c: New file.
16945 2011-05-27  Andreas Schwab  <schwab@redhat.com>
16947         [BZ #12814]
16948         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
16950 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
16952         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
16953         (struct user_regs_struct): Change intcs field back to cs.
16955 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
16957         * po/ja.po: Update from translation team.
16959 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
16961         [BZ #12795]
16962         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
16963         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
16965 2011-05-20  Andreas Schwab  <schwab@redhat.com>
16967         * stdlib/longlong.h: Update from GCC.
16969 2011-05-23  Andreas Schwab  <schwab@redhat.com>
16971         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
16972         parameter name.
16973         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
16974         Add parameter name.
16975         (__sysconf): Pass it down.
16977 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
16979         [BZ #12671]
16980         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
16981         some situations.
16982         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
16983         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
16984         add in in __libc_use_alloca calls.  Adjust callers.
16985         (glob): Use malloc in some situations.
16987         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
16988         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
16989         pltexit.
16991 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
16993         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
16994         and CLOCK_BOOTTIME_ALARM.
16996         [BZ #12782]
16997         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
16998         is returned.
17000         * string/_strerror.c (__strerror_r): Print negative errors as signed
17001         numbers.
17003         [BZ #12777]
17004         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
17005         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
17006         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
17008         * configure.in: Fix typo in redirection and correct removal of test
17009         files in two cases.
17011         [BZ #12788]
17012         * locale/setlocale.c (new_composite_name): Fix test to check for
17013         identical name of all categories.
17015         [BZ #12792]
17016         * libio/filedoalloc.c (local_isatty): New function.
17017         (_IO_file_doallocate): Use local_isatty.
17018         * stdio-common/perror.c (perror): In case a new stream is used
17019         forward the stream error.
17020         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
17021         error flag.
17023 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
17025         [BZ #11869]
17026         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
17027         alloca.
17028         * include/alloca.h (extend_alloca_account): Define.
17030         [BZ #11857]
17031         * posix/regex.h: Fix comments with documentation of user-accessible
17032         fields after compilation and describe correct free'ing of pattern
17033         after re_compile_pattern.
17034         Patch by Reuben Thomas <rrt@sc3d.org>.
17036 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
17038         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
17039         and -mno-altivec to prevent the compiler from using Altivec and/or
17040         VSX instructions when the corresponding registers are not available.
17042 2011-05-19  Andreas Schwab  <schwab@redhat.com>
17044         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
17046 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
17048         * libio/freopen.c (freopen): Use __dup2, not dup2.
17049         * libio/freopen64.c (freopen64): Likewise.
17051 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
17053         [BZ #12775]
17054         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
17055         * math/Makefile (tests): Add test-powl.
17056         (CFLAGS-test-powl.c): Define.
17057         * math/test-powl.c: New file.
17059 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
17061         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
17063 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
17065         [BZ #11837]
17066         * iconvdata/gb18030.c: Update to GB18020-2005.
17068 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
17070         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
17071         RE_SYNTAX_POSIX_AWK): Update to match recent development.
17072         Patch by Aharon Robbins <arnold@skeeve.com>.
17074         [BZ #11892]
17075         * stdlib/putenv.c (putenv): Don't always create copy of the variable
17076         on the stack.
17078         [BZ #11895]
17079         * misc/pselect.c (__pselect): Handle timeout value errors hidden
17080         through underflows.
17082         [BZ #12766]
17083         * misc/error.c (error_at_line): Ensure file_name and old_file_name
17084         point to strings before performing equality test for error_one_per_line
17085         mode.
17087         [BZ #11697]
17088         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
17090         [BZ #11820]
17091         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
17092         (struct user_fpregs_struct): Avoid __uint*_t types.
17094         [BZ #6420]
17095         * malloc/mtrace.c (tr_where): Add additional parameter to point to
17096         symbol info.  Use it instead of calling _dl_addr locally.
17097         (lock_and_info): New function.
17098         (tr_freehook): Call lock_and_info and pass symbol info as additional
17099         parameter to tr_where.
17100         (tr_mallochook): Likewise.
17101         (tr_reallochook): Likewise.
17102         (tr_memalignhook): Likewise.
17104         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
17105         used and couldn't be at all thread-safe.
17107 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
17109         * libio/freopen.c (freopen): Don't close old file descriptor
17110         before the new one is opened.  Instead dup the new file descriptor
17111         to the old one after the new stream is created.
17112         * libio/freopen64.c (freopen64): Likewise.
17113         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
17114         * libio/fileops.c (_IO_new_file_close_it): Handle new
17115         _IO_FLAGS2_NOCLOSE flag.
17116         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
17117         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
17118         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
17119         _IO_FLAGS2_NOCLOSE flag.
17120         * include/unistd.h: Add hidden_proto for dup3.
17121         Define __have_dup3.
17122         * io/dup3.c: Define hidden symbol.
17123         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
17125         [BZ #7101]
17126         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
17127         when an incomplete long option is used.
17128         * posix/tst-getopt_long1.c: New file.
17129         * posix/Makefile (tests): Add tst-getopt_long1.
17131         [BZ #10138]
17132         * scripts/config.guess: Update from autoconf-2.68.
17133         * scripts/config.sub: Likewise.
17135         [BZ #10157]
17136         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
17137         tests into ...
17138         (has_cpuclock): ...this.  New function.
17139         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
17140         macro here based on has_cpuclock code.
17142         [BZ #10149]
17143         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
17144         First byte (not low byte) is now always NUL.
17145         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
17147         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
17148         Use non-cancelable interfaces.
17150         [BZ #9809]
17151         * locale/iso-639.def: Add entry for Sorani.
17153         [BZ #11901]
17154         * include/stdlib.h: Move include protection to the right place.
17155         Define abort_msg_s.  Declare __abort_msg with it.
17156         * stdlib/abort.c (__abort_msg): Adjust type.
17157         * assert/assert.c (__assert_fail_base): New function.  Majority
17158         of code from __assert_fail.  Allocate memory for __abort_msg with
17159         mmap.
17160         (__assert_fail): Now call __assert_fail_base.
17161         * assert/assert-perr.c: Remove bulk of implementation.  Use
17162         __assert_fail_base.
17163         * include/assert.hL Declare __assert_fail_base.
17164         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
17165         mmap.
17166         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
17168 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
17170         [BZ #11952]
17171         [BZ #12453]
17172         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
17173         until all modules are registered in the DTV.
17174         * elf/Makefile: Add rules to build and run tst-tls19.
17175         * elf/tst-tls19.c: New file.
17176         * elf/tst-tls19mod1.c: New file.
17177         * elf/tst-tls19mod2.c: New file.
17178         * elf/tst-tls19mod3.c: New file.
17179         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
17181         [BZ #12083]
17182         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
17183         correctly.
17185         [BZ #12601]
17186         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
17187         two-byte sequence errors.
17188         * iconvdata/Makefile (tests): Add bug-iconv8.
17189         * iconvdata/bug-iconv8.c: New file.
17191         [BZ #12626]
17192         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
17193         buf2 definition.
17195         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
17197         [BZ #12432]
17198         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
17199         (dummy_getcfa): New function.
17200         (init): Get _Unwind_GetCFA address, use dummy if not found.
17201         (backtrace_helper): In recursion check, also check whether CFA changes.
17202         (__backtrace): Completely initialize arg.
17204         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
17205         storing incomplete byte sequence in state object.  Avoid testing for
17206         guaranteed too small input if we know there is enough data available.
17208 2011-05-11  Andreas Schwab  <schwab@redhat.com>
17210         * Makeconfig (+link-pie): Indent.
17211         * Rules (binaries-pie): Define if $(have-fpie) and
17212         $(build-shared).
17213         (binaries-shared): Also filter out $(binaries-pie).
17214         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
17215         * nscd/Makefile (others-pie): Add nscd.
17216         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
17217         ($(objpfx)nscd): Remove command override.
17218         * login/Makefile (others-pie): Add pt_chown.
17219         ($(objpfx)pt_chown): Remove command override.
17220         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
17221         remove command overrides.
17223 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
17225         * libio/tst_putwc.c: Fix error messages.
17227         [BZ #12724]
17228         * libio/fileops.c (_IO_new_file_close_it): Always flush when
17229         currently writing and seek to current position when not.
17230         * libio/Makefile (tests): Add bug-fclose1.
17231         * libio/bug-fclose1.c: New file.
17233 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
17235         [BZ #12511]
17236         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
17237         don't set DF_1_NODELETE here.
17238         (do_lookup_x): When entering new entry test for copy relocation
17239         and if necessary set DF_1_NODELETE flag.
17240         * elf/tst-unique4.cc: New file.
17241         * elf/tst-unique4.h: New file.
17242         * elf/tst-unique4lib.cc: New file.
17243         * elf/Makefile: Add rules to build and run tst-unique4.
17244         Patch by Piotr Bury <pbury@goahead.com>.
17246 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
17248         [BZ #12052]
17249         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
17251         [BZ #12625]
17252         * misc/mntent_r.c (addmntent): Flush the stream after the output
17254         [BZ #12393]
17255         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
17256         (is_trusted_path_normalize): Skip initial colon.  Append slash
17257         to empty buffer.  Duplicate is_trusted_path code but allow
17258         constructed patch to be prefix.
17259         (is_dst): Allow $ORIGIN followed by /.
17260         (_dl_dst_substitute): Correct clearing of check_for_trusted.
17261         Correct testing of result of is_trusted_path_normalize
17262         (decompose_rpath): Fix warning.
17264 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
17266         [BZ #11257]
17267         * grp/initgroups.c (internal_getgrouplist): When we found the service
17268         list through the initgroups entry in nsswitch.conf do not always
17269         continue on a successful lookup.  Don't always use the
17270         __nss_group_database value if it is set.
17271         * nss/nsswitch.conf (initgroups): Change action for successful db
17272         lookup to continue for compatibility.
17274 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
17276         [BZ #11532]
17277         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
17278         and CP774 modules.
17279         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
17280         and CP774 modules.
17281         * iconvdata/tst-tables.sh: Likewise.
17282         * iconvdata/cp770.c: New file.
17283         * iconvdata/cp771.c: New file.
17284         * iconvdata/cp772.c: New file.
17285         * iconvdata/cp773.c: New file.
17286         * iconvdata/cp774.c: New file.
17287         * iconvdata/testdata/CP770: New file.
17288         * iconvdata/testdata/CP770..UTF8: New file.
17289         * iconvdata/testdata/CP771: New file.
17290         * iconvdata/testdata/CP771..UTF8: New file.
17291         * iconvdata/testdata/CP772: New file.
17292         * iconvdata/testdata/CP772..UTF8: New file.
17293         * iconvdata/testdata/CP773: New file.
17294         * iconvdata/testdata/CP773..UTF8: New file.
17295         * iconvdata/testdata/CP774: New file.
17296         * iconvdata/testdata/CP774..UTF8: New file.
17298         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
17299         END CHARMAP line.
17300         * iconvdata/gen-8bit-gap.sh: Likewise.
17301         * iconvdata/gen-8bit.sh: Likewise.
17303         * locale/iso-639.def: Add ary entry.
17305         [BZ #11258]
17306         * locale/C-translit.h.in: Add U20A1 transliteration.
17308         [BZ #12178]
17309         * locale/iso-639.def: Add wae entry.
17310         Patch by Kevin Bortis <bortis@translate-wae.ch>.
17312         [BZ #12545]
17313         * locale/programs/localedef.c (construct_output_path): Use ssize_t
17314         for n.
17316         [BZ #12711]
17317         * locale/C-translit.h.in: Add entry for U20B9.
17318         Patch by pravin.d.s@gmail.com.
17320 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
17322         [BZ #12713]
17323         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
17324         ENAMETOOLONG use generic getcwd.
17325         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
17326         in rtld.  Use *stat64.
17327         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
17328         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
17329         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
17330         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
17331         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
17332         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
17333         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
17334         __fstatat64 macros.
17335         * include/dirent.h: Add libc_hidden_proto for rewinddir.
17336         * dirent/rewinddir.c: Add libc_hidden_def.
17337         * sysdeps/mach/hurd/rewinddir.c: Likewise.
17338         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
17340         * include/dirent.h (__alloc_dir): Add flags parameter.
17341         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
17342         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
17343         __alloc_dir.
17344         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
17345         from fdopendir if O_CLOEXEC is already set.
17347 2011-03-15  Alan Modra  <amodra@gmail.com>
17349         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
17350         l_tls_firstbyte_offset non-zero.  Save padding offset in
17351         l_tls_firstbyte_offset for later use.
17352         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
17353         freeing static tls block.
17355 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
17357         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
17358         where #ifdef was intended.  The intent is to prevent ARG_MAX from
17359         being defined by the kernel headers.
17361 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
17363         [BZ #12734]
17364         * resolv/resolv.h: Define RES_NOTLDQUERY.
17365         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
17366         no-tld-query and set RES_NOTLDQUERY.
17367         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
17368         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
17369         modern BIND to search name as TLD unless forbidden.
17371 2011-05-07  Petr Baudis  <pasky@suse.cz>
17372             Ulrich Drepper  <drepper@gmail.com>
17374         [BZ #12393]
17375         * elf/dl-load.c (fillin_rpath): Move trusted path check...
17376         (is_trusted_path): ...to here.
17377         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
17378         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
17379         using is_trusted_path_normalize() in setuid scripts.
17381 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
17383         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
17384         __BEGIN/__END_DECLS.
17386 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
17388         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
17389         NSS_STATUS_NOTFOUND if no record was found.
17391 2011-05-05  Andreas Schwab  <schwab@redhat.com>
17393         * sunrpc/Makefile (headers): Add rpc/netdb.h.
17394         (headers-not-in-tirpc): Remove rpc/netdb.h
17395         * resolv/netdb.h: Revert last change.
17397 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
17399         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
17400         circular dependency between libgcc.a and libc.a.
17402 2011-05-05  Andreas Schwab  <schwab@redhat.com>
17404         * resolv/netdb.h: Don't include <rpc/netdb.h>.
17405         * nis/Makefile: Don't install rpcsvc/*.
17406         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
17407         instead of <rpc/types.h>.
17408         (MAXHOSTNAMELEN): Define.
17410 2011-05-03  Andreas Schwab  <schwab@redhat.com>
17412         * elf/ldconfig.c (add_dir): Don't crash on empty path.
17414 2011-04-28  Maciej Babinski  <mbabinski@google.com>
17416         [BZ #12714]
17417         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
17418         gethostbyname4_r when IPv6 results are possible.
17420 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
17422         [BZ #12723]
17423         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
17424         _PC_PIPE_BUF handling.
17426 2011-04-30  Bruno Haible  <bruno@clisp.org>
17428         [BZ #12717]
17429         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
17430         * resolv/netdb.h (getnameinfo): Change type of flags parameter
17431         to 'int'.
17432         * inet/getnameinfo.c (getnameinfo): Likewise.
17434 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
17436         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
17437         to groups setting in database lookup.
17438         * nss/nsswitch.conf: Add initgroups entry.
17440 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
17442         [BZ #12685]
17443         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
17444         mode string.
17445         Patch by Eric Blake <eblake@redhat.com>.
17447 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
17449         * sunrpc/Makefile (need-export-routines): Add svc_run.
17450         (routines): Remove svc_run.
17451         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
17452         * sunrpc/clnt_perr.c (clnt_perrno): Export.
17453         * sunrpc/svc_run.c (svc_run): Likewise.
17454         * sunrpc/svc_udp.c (svcudp_create): Likewise.
17456 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
17458         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
17459         problem in reallocation in last patch.
17461 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
17463         * sunrpc/Makefile: Move inclusion of Rules.
17465 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
17467         * nss/nss_files/files-initgroups.c: New file.
17468         * nss/Makefile (libnss_files-routines): Add files-initgroups.
17469         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
17470         _nss_files_initgroups_dyn.
17472 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
17474         * elf/elf.h (R_ARM_IRELATIVE): Define.
17476 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
17478         * po/ru.po: Update from translation team.
17480 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
17482         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
17483         dependencies.
17485 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
17487         [BZ #12653]
17488         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
17489         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
17490         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
17491         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
17492         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
17494 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
17496         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
17497         differing bytes.
17498         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
17499         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
17500         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
17502 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
17504         [BZ #12420]
17505         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
17506         storing it.
17507         * stdlib/bug-getcontext.c: New file.
17508         * stdlib/Makefile: Add rules to build and run bug-getcontext.
17510 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
17512         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
17513         instructions into .machine "z9-109".
17514         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
17515         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
17517 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
17519         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
17520         between environment variables and auxiliary vector.
17522 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
17524         * Makefile: Add rules to build linkobj/libc.so.
17525         * include/libc-symbols.h: Define libc_hidden_nolink.
17526         * include/rpc/auth.h: Mark functions which are to be hidden.
17527         * include/rpc/auth_des.h: Likewise.
17528         * include/rpc/auth_unix.h: Likewise.
17529         * include/rpc/clnt.h: Likewise.
17530         * include/rpc/des_crypt.h: Likewise.
17531         * include/rpc/key_prot.h: Likewise.
17532         * include/rpc/pmap_clnt.h: Likewise.
17533         * include/rpc/pmap_prot.h: Likewise.
17534         * include/rpc/pmap_rmt.h: Likewise.
17535         * include/rpc/rpc_msg.h: Likewise.
17536         * include/rpc/svc.h: Likewise.
17537         * include/rpc/svc_auth.h: Likewise.
17538         * include/rpc/xdr.h: Likewise.
17539         * nis/Makefile: Link all DSOs against linkobj/libc.so.
17540         * nss/Makefile: Likewise.
17541         * sunrpc/Makefile: Don't install headers.  Build library with normal
17542         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
17543         * sunrpc/auth_des.c: Hide exported symbols by default, export some
17544         for the compat linking library.  Remove use of INTDEF/INTUSE.
17545         * sunrpc/auth_none.c: Likewise.
17546         * sunrpc/auth_unix.c: Likewise.
17547         * sunrpc/authdes_prot.c: Likewise.
17548         * sunrpc/authuxprot.c: Likewise.
17549         * sunrpc/clnt_gen.c: Likewise.
17550         * sunrpc/clnt_perr.c: Likewise.
17551         * sunrpc/clnt_raw.c: Likewise.
17552         * sunrpc/clnt_simp.c: Likewise.
17553         * sunrpc/clnt_tcp.c: Likewise.
17554         * sunrpc/clnt_udp.c: Likewise.
17555         * sunrpc/clnt_unix.c: Likewise.
17556         * sunrpc/des_crypt.c: Likewise.
17557         * sunrpc/des_soft.c: Likewise.
17558         * sunrpc/get_myaddr.c: Likewise.
17559         * sunrpc/key_call.c: Likewise.
17560         * sunrpc/key_prot.c: Likewise.
17561         * sunrpc/netname.c: Likewise.
17562         * sunrpc/pm_getmaps.c: Likewise.
17563         * sunrpc/pm_getport.c: Likewise.
17564         * sunrpc/pmap_clnt.c: Likewise.
17565         * sunrpc/pmap_prot.c: Likewise.
17566         * sunrpc/pmap_prot2.c: Likewise.
17567         * sunrpc/pmap_rmt.c: Likewise.
17568         * sunrpc/publickey.c: Likewise.
17569         * sunrpc/rpc_cmsg.c: Likewise.
17570         * sunrpc/rpc_common.c: Likewise.
17571         * sunrpc/rpc_dtable.c: Likewise.
17572         * sunrpc/rpc_prot.c: Likewise.
17573         * sunrpc/rpc_thread.c: Likewise.
17574         * sunrpc/rtime.c: Likewise.
17575         * sunrpc/svc.c: Likewise.
17576         * sunrpc/svc_auth.c: Likewise.
17577         * sunrpc/svc_authux.c: Likewise.
17578         * sunrpc/svc_raw.c: Likewise.
17579         * sunrpc/svc_run.c: Likewise.
17580         * sunrpc/svc_simple.c: Likewise.
17581         * sunrpc/svc_tcp.c: Likewise.
17582         * sunrpc/svc_udp.c: Likewise.
17583         * sunrpc/svc_unix.c: Likewise.
17584         * sunrpc/svcauth_des.c: Likewise.
17585         * sunrpc/xcrypt.c: Likewise.
17586         * sunrpc/xdr.c: Likewise.
17587         * sunrpc/xdr_array.c: Likewise.
17588         * sunrpc/xdr_float.c: Likewise.
17589         * sunrpc/xdr_intXX_t.c: Likewise.
17590         * sunrpc/xdr_mem.c: Likewise.
17591         * sunrpc/xdr_rec.c: Likewise.
17592         * sunrpc/xdr_ref.c: Likewise.
17593         * sunrpc/xdr_sizeof.c: Likewise.
17594         * sunrpc/xdr_stdio.c: Likewise.
17596 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
17598         [BZ #12650]
17599         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
17600         * sysdeps/ia64/dl-tls.h: Likewise.
17601         * sysdeps/powerpc/dl-tls.h: Likewise.
17602         * sysdeps/s390/dl-tls.h: Likewise.
17603         * sysdeps/sh/dl-tls.h: Likewise.
17604         * sysdeps/sparc/dl-tls.h: Likewise.
17605         * sysdeps/x86_64/dl-tls.h: Likewise.
17606         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
17608 2011-03-14  Andreas Schwab  <schwab@redhat.com>
17610         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
17611         rpath element also skip the following colon.
17612         (expand_dynamic_string_token): Add is_path parameter and pass
17613         down to DL_DST_REQUIRED and _dl_dst_substitute.
17614         (decompose_rpath): Call expand_dynamic_string_token with
17615         non-zero is_path.  Ignore empty rpaths.
17616         (_dl_map_object_from_fd): Call expand_dynamic_string_token
17617         with zero is_path.
17619 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
17621         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
17622         Make cancelable.
17624 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
17626         [BZ #12655]
17627         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
17628         Patch by Filipe David Manana <fdmanana@apache.org>.
17630 2011-04-07  Andreas Schwab  <schwab@redhat.com>
17632         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
17633         Maintain aligned stack.
17634         (CHECK_RSP): Remove unused macro.
17636 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
17638         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
17639         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
17641 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
17643         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
17645         * include/features.h: Mention __USE_XOPEN2K8 in comment.
17647 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
17649         [BZ #12518]
17650         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
17651         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
17652         * sysdeps/x86_64/memmove.c: New file.
17653         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
17654         (memcpy): Renamed to ...
17655         (__new_memcpy): This.
17656         (memcpy): Provide GLIBC_2_14 memcpy.
17657         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
17658         (memcpy): Provide GLIBC_2_2_5 memcpy.
17660 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
17662         [BZ #12631]
17663         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
17665 2011-03-30  Andreas Schwab  <schwab@redhat.com>
17667         * misc/syncfs.c: New file.
17668         * misc/Makefile (routines): Add syncfs.
17669         * posix/unistd.h: Declare syncfs.
17670         * sysdeps/unix/syscalls.list: Add syncfs.
17672 2011-04-01  Andreas Schwab  <schwab@redhat.com>
17674         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
17675         open_by_handle_at.
17676         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
17677         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
17678         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
17679         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
17680         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
17681         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
17682         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
17684 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
17686         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
17687         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
17688         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
17689         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
17690         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
17691         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
17692         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
17694         * io/Makefile: Compile fallocate.c, fallocate64.c, and
17695         sync_file_range.c with -fexceptions.
17696         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
17697         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
17698         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
17699         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
17700         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
17701         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
17702         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
17703         sync_file_range as cancellation point
17704         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
17705         now a wrapper around __call_sync_file_range with cancellation handling.
17706         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
17707         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
17708         function name to __call_sync_file_range.
17709         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
17710         Add call_sync_file_range.
17712 2011-04-01  Andreas Schwab  <schwab@redhat.com>
17714         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17715         bits/timex.h.
17717 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
17719         * iconv/iconv.h: Fix typo in comment.
17720         * io/fcntl.h: Likewise.
17721         * libio/stdio.h: Likewise.
17722         * posix/spawn.h: Likewise.
17723         * posix/unistd.h: Likewise.
17724         * stdlib/stdlib.h: Likewise.
17725         * time/time.h: Likewise.
17726         * wcsmbs/wchar.h: Likewise.
17728         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
17729         open_by_handle): Add.
17730         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
17731         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
17732         Augment a few comments.
17733         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
17734         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
17735         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
17736         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
17737         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
17738         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
17739         open_by_handle.
17741         * io/fcntl.h (AT_EMPTY_PATH): Define.
17743 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
17745         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
17746         * sysdeps/unix/sysv/linux/bits/time.h: New file.
17747         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
17748         to...
17749         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
17750         * Versions.def: Add GLIBC_2.14.
17751         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
17752         Export.
17754 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
17756         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
17757         round counter.
17758         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
17760 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
17762         [BZ #12597]
17763         * string/test-strncmp.c (do_page_test): New function.
17764         (check2): Likewise.
17765         (test_main): Call check2.
17766         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
17768 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
17770         [BZ #12587]
17771         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
17772         Handle cache information in CPU leaf 4.
17773         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
17775 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
17777         [BZ #12583]
17778         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
17779         character representation.
17780         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
17782 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
17784         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
17785         END(__isnan) to END(__isnanf) to match function entry point/label
17786         EALIGN(__isnanf,...).
17788 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
17790         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
17792 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
17794         [BZ #12510]
17795         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
17796         copy from the symbol referenced in the relocation to initialize the
17797         used variable.
17798         Patch by Piotr Bury <pbury@goahead.com>.
17799         * elf/Makefile: Add rules to build and tst-unique3.
17800         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
17801         * elf/tst-unique3.cc: New file.
17802         * elf/tst-unique3.h: New file.
17803         * elf/tst-unique3lib.cc: New file.
17804         * elf/tst-unique3lib2.cc: New file.
17806         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
17808 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
17810         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
17811         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
17812         to _start.
17814 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
17816         * elf/dl-load.c (_dl_map_object): If we are looking for the first
17817         to-be-loaded object along a path to loader is ld.so.
17819 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
17820             Ulrich Drepper  <drepper@gmail.com>
17822         * sysdeps/x86_64/memset.S: After aligning destination, code
17823         branches to different locations depending on the value of
17824         misalignment, when multiarch is enabled. Fix this.
17826 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
17828         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
17829         Set _x86_64_preferred_memory_instruction for AMD processsors.
17830         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17831         Set bit_Prefer_SSE_for_memop for AMD processors.
17833 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
17835         * libio/fmemopen.c (fmemopen): Optimize a bit.
17837 2011-03-03  Andreas Schwab  <schwab@redhat.com>
17839         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
17841 2011-03-03  Roland McGrath  <roland@redhat.com>
17843         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
17845 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
17847         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
17848         __bzero_ultra1 instead of __memset_ultra1.
17850 2011-02-23  Andreas Schwab  <schwab@redhat.com>
17851             Ulrich Drepper  <drepper@gmail.com>
17853         [BZ #12509]
17854         * include/link.h (struct link_map): Add l_orig_initfini.
17855         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
17856         returning unsuccessfully.
17857         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
17858         close of a file loaded at startup, restore the original l_initfini
17859         list.
17860         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
17861         list, store the pointer.
17862         * elf/Makefile ($(objpfx)noload-mem): New rule.
17863         (noload-ENV): Define.
17864         (tests): Add $(objpfx)noload-mem.
17865         * elf/noload.c: Include <memcheck.h>.
17866         (main): Call mtrace.  Close all opened handles.
17868 2011-02-17  Andreas Schwab  <schwab@redhat.com>
17870         [BZ #12454]
17871         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
17872         dependencies are missing.
17874 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17876         Fix __if_freereq crash: Unlike the generic version which uses free,
17877         Hurd needs munmap.
17878         * sysdeps/mach/hurd/ifreq.h: New file.
17880 2011-01-27  Petr Baudis  <pasky@suse.cz>
17881             Ulrich Drepper  <drepper@gmail.com>
17883         [BZ 12445]#
17884         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
17885         to extend_alloca().
17886         * stdio-common/bug23.c: New file.
17887         * stdio-common/Makefile (tests): Add bug23.
17889 2010-09-28  Andreas Schwab  <schwab@redhat.com>
17890             Ulrich Drepper  <drepper@gmail.com>
17892         [BZ #12489]
17893         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
17894         before performing relro protection.  At old place add assertion
17895         to make sure nothing changed.
17897 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
17898             Glauber de Oliveira Costa  <glommer@gmail.com>
17900         * elf/elf.h: Add new ARM TLS relocs.
17902 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
17904         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
17905         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
17906         cast from r3.
17907         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
17908         'tests' variable.
17909         * sysdeps/wordsize-64/tst-writev.c: New file.
17911 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
17913         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
17914         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
17915         insns in _dl_start to prevent a TOC reference before relocs are
17916         resolved.
17918 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
17920         [BZ #12469]
17921         * Makeconfig: Remove RANLIB definition.
17922         * Makerules: Don't use RANLIB.
17923         * aclocal.m4: Remove ranlib test.
17924         * configure.in: No need to check for ranlib.
17925         * elf/rtld-Rules: Don't use RANLIB.
17927 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17929         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
17930         protection macro.
17931         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
17932         inclusion protection macro.
17934         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
17935         SIGRTMIN and SIGRTMAX and print information in that case only when
17936         SIGRTMIN is defined.
17938 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
17940         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
17941         arginfo fn returning -1.
17943         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
17944         and thousands string is zero terminated.
17946 2011-02-03  Andreas Schwab  <schwab@redhat.com>
17948         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
17949         sysdeps/unix/sysv/linux/bits/socket.h.
17951 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17953         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
17954         (__CPU_COUNT): Remove old macros.
17955         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
17956         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
17957         (__CPU_ALLOC, __CPU_FREE): Add macros.
17958         (__sched_cpualloc, __sched_cpufree): Add declarations.
17960 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
17962         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
17963         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
17964         * nscd/aicache.c (addhstaiX): Return timeout of added value.
17965         (readdhstai): Return value of addhstaiX call.
17966         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
17967         (addgrbyX): Return value returned by cache_addgr.
17968         (readdgrbyname): Return value returned by addgrbyX.
17969         (readdgrbygid): Likewise.
17970         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
17971         (addpwbyX): Return value returned by cache_addpw.
17972         (readdpwbyname): Return value returned by addhstbyX.
17973         (readdpwbyuid): Likewise.
17974         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
17975         (addservbyX): Return value returned by cache_addserv.
17976         (readdservbyname): Return value returned by addservbyX:
17977         (readdservbyport): Likewise.
17978         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
17979         (addhstbyX): Return value returned by cache_addhst.
17980         (readdhstbyname): Return value returned by addhstbyX.
17981         (readdhstbyaddr): Likewise.
17982         (readdhstbynamev6): Likewise.
17983         (readdhstbyaddrv6): Likewise.
17984         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
17985         (readdinitgroups): Return value returned by addinitgroupsX.
17986         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
17987         (prune_cache): Keep track of timeout value of re-added entries.
17988         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
17989         * nscd/nscd.h: Adjust prototypes of readd* functions.
17991 2011-02-04  Roland McGrath  <roland@redhat.com>
17993         * nis/nis_server.c (nis_servstate): Use the right name for 0.
17994         (nis_stats): Likewise.
17995         * nis/nis_modify.c (nis_modify): Likewise.
17996         * nis/nis_remove.c (nis_remove): Likewise.
17997         * nis/nis_add.c (nis_add): Likewise.
17999         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
18001         * posix/fnmatch_loop.c: Add some consts.
18003         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
18005 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
18007         [BZ #12460]
18008         * config.make.in (config-cflags-novzeroupper): Define.
18009         * configure.in: Substitute libc_cv_cc_novzeroupper.
18010         * elf/Makefile (AVX-CFLAGS): Define.
18011         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
18012         (CFLAGS-tst-auditmod4a.c): Likewise.
18013         (CFLAGS-tst-auditmod4b.c): Likewise.
18014         (CFLAGS-tst-auditmod6b.c): Likewise.
18015         (CFLAGS-tst-auditmod6c.c): Likewise.
18016         (CFLAGS-tst-auditmod7b.c): Likewise.
18017         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
18019 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
18021         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
18022         function to the callback.
18023         Patch partly by Jiri Olsa <jolsa@redhat.com>.
18025 2011-02-02  Andreas Schwab  <schwab@redhat.com>
18027         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
18028         of errno.
18030 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
18032         [BZ #11724]
18033         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
18034         of constructors.
18035         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
18036         of destructors.
18037         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
18039         [BZ #11724]
18040         * elf/Makefile: Add rules to build and run new test.
18041         * elf/tst-initorder.c: New file.
18042         * elf/tst-initorder.exp: New file.
18043         * elf/tst-initordera1.c: New file.
18044         * elf/tst-initordera2.c: New file.
18045         * elf/tst-initordera3.c: New file.
18046         * elf/tst-initordera4.c: New file.
18047         * elf/tst-initorderb1.c: New file.
18048         * elf/tst-initorderb2.c: New file.
18049         * elf/tst-order-a1.c: New file.
18050         * elf/tst-order-a2.c: New file.
18051         * elf/tst-order-a3.c: New file.
18052         * elf/tst-order-a4.c: New file.
18053         * elf/tst-order-b1.c: New file.
18054         * elf/tst-order-b2.c: New file.
18055         * elf/tst-order-main.c: New file.
18056         New test case by George Gensure <werkt0@gmail.com>.
18058 2010-10-01  Andreas Schwab  <schwab@redhat.com>
18060         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
18061         decoding ACE if AI_CANONIDN.
18063 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
18065         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
18067 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
18069         * version.h (RELEASE): Bump for 2.13 release.
18070         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
18072         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
18074         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
18075         MADV_NOHUGEPAGE.
18076         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
18077         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
18078         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
18079         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
18080         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
18081         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
18083         * posix/getconf.c: Update copyright year.
18084         * catgets/gencat.c: Likewise.
18085         * csu/version.c: Likewise.
18086         * debug/catchsegv.sh: Likewise.
18087         * debug/xtrace.sh: Likewise.
18088         * elf/ldconfig.c: Likewise.
18089         * elf/ldd.bash.in: Likewise.
18090         * elf/sprof.c (print_version): Likewise.
18091         * iconv/iconv_prog.c: Likewise.
18092         * iconv/iconvconfig.c: Likewise.
18093         * locale/programs/locale.c: Likewise.
18094         * locale/programs/localedef.c: Likewise.
18095         * malloc/memusage.sh: Likewise.
18096         * malloc/mtrace.pl: Likewise.
18097         * nscd/nscd.c (print_version): Likewise.
18098         * nss/getent.c: Likewise.
18100         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
18101         PF_CAIF, and PF_ALG.
18102         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
18104 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
18106         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
18107         (modules-names): Use them.
18108         (ifunc-test-modules, ifunc-pie-tests): Define.
18109         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
18110         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
18111         (test-extras): Likewise.
18112         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
18113         $(compile-command.c).
18114         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
18115         (all-built-dso): Define.
18116         (check-textrel.out, check-execstack.out): Depend on it.
18118         * configure.in: Don't override --enable-multi-arch.
18120 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
18122         [BZ #6812]
18123         * nscd/hstcache.c (tryagain): Define.
18124         (cache_addhst): Return tryagain not notfound for temporary errors.
18125         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
18126         failed.
18128 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
18130         [BZ #10563]
18131         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
18132         to make the syscall.
18133         * sysdeps/unix/sysv/linux/setgroups.c: New file.
18135         [BZ #12378]
18136         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
18137         and fall back to matching as normal character if the string ends before
18138         the matching ']' is found.  This is what POSIX requires.
18139         * posix/testfnm.c: Adjust test result.
18140         * posix/globtest.sh: Adjust test result.  Add new test.
18141         * posix/tst-fnmatch.input: Likewise.
18142         * posix/tst-fnmatch2.c: Add new test.
18144 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
18146         * elf/Makefile (check-execstack): Revert last change.  Depend on
18147         check-execstack.h.
18148         (check-execstack.h): New target.
18149         (generated): Add check-execstack.h.
18150         * elf/check-execstack.c: Include "check-execstack.h".
18151         (main): Revert last change.
18152         (handle_file): Return zero if GNU_STACK is absent and
18153         DEFAULT_STACK_PERMS doesn't include PF_X.
18155 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
18157         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
18158         in child fails because the descriptor is already closed.
18159         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
18160         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
18161         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
18163         [BZ #12397]
18164         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
18165         syscall.
18167         [BZ #10484]
18168         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
18169         temporary buffer used to handle multi lookups locally.
18170         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
18172 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
18174         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
18175         loader is ld.so.
18177 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
18179         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
18180         alignment for SSE2.
18182 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
18184         [BZ #12394]
18185         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
18186         characters.  When rounding increased number of integer digits recompute
18187         number of groups.
18188         * stdio-common/tst-grouping.c: New file.
18189         * stdio-common/Makefile: Add rules to build and run tst-grouping.
18191 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
18193         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
18194         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
18196         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
18197         void.
18198         * bits/select.h: Likewise.
18200 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
18202         * po/ja.po: Update from translation team.
18204 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
18206         [BZ #11155]
18207         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
18208         implementation just like for lxstat, fxstatat, et al.
18210 2010-12-27  Jim Meyering  <meyering@redhat.com>
18212         [BZ #12348]
18213         * posix/regexec.c (build_trtable): Return failure indication upon
18214         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
18216 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
18218         [BZ #12201]
18219         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
18220         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
18221         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
18222         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
18224         [BZ #12207]
18225         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
18227         [BZ #12204]
18228         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
18229         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
18231 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
18233         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
18234         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
18235         script has SORT_BY_INIT_PRIORITY.
18236         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
18237         NO_CTORS_DTORS_SECTIONS is defined.
18238         * elf/soinit.c: Likewise.
18239         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
18240         NO_CTORS_DTORS_SECTIONS is defined.
18241         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
18242         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
18243         * sysdeps/sh/init-first.c: Likewise.
18244         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
18246 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
18248         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
18249         always use the slow path.
18251 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
18253         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
18254         similar rule which adds the sysdep directories to the header search in
18255         order to pick up the correct platform stackinfo.h.
18256         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
18257         perform test if it is, otherwise return successfully without testing.
18258         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
18259         DEFAULT_STACK_PERMS define in stackinfo.h.
18260         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
18261         defined in stackinfo.h.
18262         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
18263         DEFAULT_STACK_PERMS defined in stackinfo.h.
18264         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
18265         * sysdeps/ia64/stackinfo.h: Likewise.
18266         * sysdeps/s390/stackinfo.h: Likewise.
18267         * sysdeps/sh/stackinfo.h: Likewise.
18268         * sysdeps/sparc/stackinfo.h: Likewise.
18269         * sysdeps/x86_64/stackinfo.h: Likewise.
18270         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
18271         PF_X for powerpc64.  Retain PF_X for powerpc32.
18273 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
18275         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
18276         accurately.
18277         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
18278         GETDENTS_64BIT_ALIGNED.
18280 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
18282         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
18284 2010-12-10  Andreas Schwab  <schwab@redhat.com>
18286         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
18287         _GNU_SOURCE.
18289         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
18290         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
18291         Remove __restrict.
18292         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
18293         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
18295 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
18297         [BZ #11655]
18298         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
18299         are initialized.
18301 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
18303         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
18305 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
18307         * po/it.po: Update from translation team.
18309 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
18311         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
18312         unused codes.
18314 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
18316         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
18318 2010-11-24  Andreas Schwab  <schwab@redhat.com>
18320         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
18321         specially.
18322         (gaih_getanswer_slice): Likewise.
18324 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
18326         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
18328 2010-05-31  Petr Baudis  <pasky@suse.cz>
18330         [BZ #11149]
18331         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
18332         silently even in the chroot mode.
18334 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
18336         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
18337         last patch a bit.  Pretty printing
18339 2010-05-31  Petr Baudis <pasky@suse.cz>
18341         [BZ #10085]
18342         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
18343         initialization of skip_initgroups_dyn.
18345 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
18347         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
18348         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
18350 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
18352         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
18354 2010-11-11  Andreas Schwab  <schwab@redhat.com>
18356         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
18357         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
18358         (tst-fnmatch-ENV): Set MALLOC_TRACE.
18359         ($(objpfx)tst-fnmatch-mem): New rule.
18360         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
18361         * posix/tst-fnmatch.c (main): Call mtrace.
18363 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
18365         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18366         Support Intel processor model 6 and model 0x2c.
18368 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
18370         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
18371           signed comparison.
18373 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
18375         [BZ #12205]
18376         * string/test-strncasecmp.c (check_result): New function.
18377         (do_one_test): Use it.
18378         (check1): New function.
18379         (test_main): Use it.
18380         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
18381         Support strcasecmp and strncasecmp.
18383 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
18385         [BZ #12194]
18386         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
18387         * sysdeps/x86_64/bits/byteswap.h: Likewise.
18389 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
18391         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
18392         IFUNC support.
18393         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
18394         memset-x86-64.
18395         * sysdeps/x86_64/multiarch/bzero.S: New file.
18396         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
18397         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
18398         * sysdeps/x86_64/multiarch/memset.S: New file.
18399         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
18400         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18401         Set bit_Prefer_SSE_for_memop for Intel processors.
18402         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
18403         Define.
18404         (index_Prefer_SSE_for_memop): Define.
18405         (HAS_PREFER_SSE_FOR_MEMOP): Define.
18407 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
18409         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
18410         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
18412 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
18414         [BZ #12191]
18415         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
18416         (__x86_64_raw_data_cache_size_half): Likewise.
18417         (__x86_64_raw_shared_cache_size): Likewise.
18418         (__x86_64_raw_shared_cache_size_half): Likewise.
18420         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
18421         (__x86_64_raw_data_cache_size_half): Likewise.
18422         (__x86_64_raw_shared_cache_size): Likewise.
18423         (__x86_64_raw_shared_cache_size_half): Likewise.
18424         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
18425         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
18426         and __x86_64_raw_shared_cache_size_half.  Round
18427         __x86_64_data_cache_size_half, __x86_64_data_cache_size
18428         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
18429         to multiple of 256 bytes.
18431 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
18433         [BZ #12167]
18434         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
18435         of inacessible symlinks.  Verify result of symlink before returning it.
18436         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
18437         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
18439 2010-10-28  Erich Ritz  <erichritz@gmail.com>
18441         * math/math.h (isinf): Fix typo in comment.
18443 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
18445         * po/da.po: Update from translation team.
18447 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
18449         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
18450         is added to the list.
18452 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
18453             Ulrich Drepper  <drepper@gmail.com>
18455         * elf/dl-object.c (_dl_new_object): Don't append the new object to
18456         the global list here.  Move code to...
18457         (_dl_add_to_namespace_list): ...here.  New function.
18458         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
18459         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
18460         * elf/dl-load.c (lose): Don't remove the element from the list.
18461         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
18462         (_dl_map_object): Likewise.
18464 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
18466         [BZ #12159]
18467         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
18468         into all bytes of SSE register.
18469         Patch by Richard Li <richardpku@gmail.com>.
18471 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
18473         [BZ #12140]
18474         * malloc/malloc.c (_int_free): Fill correct number of bytes when
18475         perturbing.
18477 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
18479         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
18480         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
18481         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
18482         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
18483         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
18484         submachine.
18485         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
18487 2010-10-22  Andreas Schwab  <schwab@redhat.com>
18489         * include/dlfcn.h (__RTLD_SECURE): Define.
18490         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
18491         mode & __RTLD_SECURE instead.
18492         (open_path): Rename preloaded parameter to secure.
18493         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
18494         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
18495         * elf/dl-deps.c (openaux): Likewise.
18496         * elf/rtld.c (struct map_args): Remove is_preloaded.
18497         (map_doit): Don't use it.
18498         (dl_main): Likewise.
18499         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
18500         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
18502 2010-09-09  Andreas Schwab  <schwab@redhat.com>
18504         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
18505         (sysd-rules-targets): Remove duplicates.
18506         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
18507         rtld-%.$o dependency.
18509 2010-10-18  Andreas Schwab  <schwab@redhat.com>
18511         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
18512         _dl_map_object do it.
18514 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
18516         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
18517         fast fma builtins, define the macros in the C99 standard.
18518         (FP_FAST_FMAF): Likewise.
18519         (FP_FAST_FMAL): Likewise.
18520         * sysdeps/x86_64/bits/mathdef.h: Likewise.
18522         * bits/mathdef.h: Update copyright year.
18523         * sysdeps/powerpc/bits/mathdef.h: Likewise.
18525 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
18527         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
18528         builtins, define the macros in the C99 standard.
18529         (FP_FAST_FMAF): Likewise.
18530         (FP_FAST_FMAL): Likewise.
18531         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
18532         multiply/add.
18533         (FP_FAST_FMAF): Likewise.
18535 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
18537         [BZ #3268]
18538         * math/libm-test.inc (fma_test): Some new testcases.
18539         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
18540         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
18541         y and infinite z.  Do multiplication by C already in long double.
18542         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
18543         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
18544         y and infinite z.  Do bitwise or of inexact bit into u.d.
18545         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
18546         * sysdeps/i386/fpu/s_fmaf.S: Removed.
18547         * sysdeps/i386/fpu/s_fma.S: Removed.
18548         * sysdeps/i386/fpu/s_fmal.S: Removed.
18550 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
18552         [BZ #3268]
18553         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
18554         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
18555         computation is not scheduled after fetestexcept.  Fix value
18556         of minimum denormal long double.
18558 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
18560         [BZ #3268]
18561         * math/libm-test.inc (fma_test): Add some more tests.
18562         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
18563         correctly.
18565 2010-10-15  Andreas Schwab  <schwab@redhat.com>
18567         * scripts/data/localplt-s390-linux-gnu.data: New file.
18568         * scripts/data/localplt-s390x-linux-gnu.data: New file.
18570 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
18572         [BZ #3268]
18573         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
18574         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
18575         instead of dbl-64.
18576         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
18577         inlines.
18578         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
18579         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
18580         if one of x and y is very large and the other is subnormal.
18581         * sysdeps/s390/fpu/s_fmaf.c: New file.
18582         * sysdeps/s390/fpu/s_fma.c: New file.
18583         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
18584         * sysdeps/powerpc/fpu/s_fma.S: New file.
18585         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
18586         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
18587         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
18589 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
18591         [BZ #3268]
18592         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
18593         fma tests.
18594         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
18595         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
18596         * sysdeps/i386/i686/multiarch/s_fma.c: Include
18597         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
18598         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
18599         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
18600         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
18602 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
18604         [BZ #12078]
18605         * posix/regcomp.c (parse_branch): One more memory leak plugged.
18606         * posix/bug-regex31.input: Add test case.
18608 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
18610         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
18611         * posix/bug-regex31.input: New file.
18613         [BZ #12078]
18614         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
18615         (parse_sub_exp): Fix last change, use postorder.
18617         * posix/bug-regex31.c: New file.
18618         * posix/Makefile: Add rules to build and run bug-regex31.
18620         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
18622         [BZ #12078]
18623         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
18625         [BZ #12108]
18626         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
18627         to have entries in sys_siglist.
18629         [BZ #12093]
18630         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
18631         be NULL.
18633 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
18635         [BZ #3268]
18636         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
18637         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
18638         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
18639         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
18640         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
18641         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
18642         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
18643         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
18644         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
18645         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
18646         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
18647         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
18648         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
18649         * math/ftestexcept.c (fetestexcept): Likewise.
18650         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
18651         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
18652         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
18653         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
18654         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
18655         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
18656         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
18658 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
18660         [BZ #12107]
18661         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
18662         newline.
18664 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
18666         * string/bug-strstr1.c: New file.
18667         * string/Makefile: Add rules to build and run bug-strstr1.
18669 2010-10-05  Eric Blake  <eblake@redhat.com>
18671         [BZ #12092]
18672         * string/str-two-way.h (two_way_long_needle): Always clear memory
18673         when skipping input due to the shift table.
18675 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
18677         [BZ #12005]
18678         * malloc/mcheck.c: Handle large requests.
18680         [BZ #12077]
18681         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
18682         for strncmp and strncasecmp.
18683         * string/stratcliff.c: Add tests for strcmp and strncmp.
18684         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
18686 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
18688         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
18689         __set_fpscr.
18691 2010-09-30  Andreas Jaeger  <aj@suse.de>
18693         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
18694         (CGROUP_SUPER_MAGIC): Define.
18695         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
18696         Handle btrfs and cgroup file systems.
18697         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
18698         Likewise.
18700 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
18702         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
18703         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
18705 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
18707         [BZ #12067]
18708         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
18709         trying to locate the ELF header.
18711 2010-09-27  Andreas Schwab  <schwab@redhat.com>
18713         [BZ #11611]
18714         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
18715         Mask out sign-bit copies when constructing f_fsid.
18717 2010-09-24  Petr Baudis <pasky@suse.cz>
18719         * debug/stack_chk_fail_local.c: Add missing licence exception.
18720         * debug/warning-nop.c: Likewise.
18722 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
18724         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
18725         implementing getdents64 using getdents syscall, set d_type if
18726         __ASSUME_GETDENTS32_D_TYPE.
18728 2010-09-16  Andreas Schwab  <schwab@redhat.com>
18730         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
18731         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
18733 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
18735         [BZ #12037]
18736         * posix/unistd.h: Undo change of feature selection for ftruncate from
18737         2010-01-11.
18739 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
18741         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
18742         detection.
18744 2010-09-20  Andreas Schwab  <schwab@redhat.com>
18746         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
18747         fanotify_mark.
18748         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
18750 2010-09-14  Andreas Schwab  <schwab@redhat.com>
18752         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
18753         variables after CHECK_SP call.
18754         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
18756 2010-09-13  Andreas Schwab  <schwab@redhat.com>
18757             Ulrich Drepper  <drepper@redhat.com>
18759         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
18760         re-relocationg ld.so.
18761         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
18762         _dl_init_paths call.
18763         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
18764         here anymore.
18766 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
18768         * resolv/res_init.c (__res_vinit): Count the default server we added.
18770 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
18771             Ulrich Drepper  <drepper@redhat.com>
18773         [BZ #11968]
18774         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
18775         (____longjmp_chk): Use %ebx for saving value across system call.
18776         Add unwind info.
18778 2010-09-06  Andreas Schwab  <schwab@redhat.com>
18780         * manual/Makefile: Don't mix pattern rules with normal rules.
18782 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
18784         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
18785         operation.
18786         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
18787         * libio/iofopncook.c (_IO_cookie_init): Likewise.
18788         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
18789         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
18790         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
18791         Likewise.
18793 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
18795         [BZ #11979]
18796         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
18797         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
18799 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
18801         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
18802         * sysdeps/x86_64/addmul_1.S: Likewise.
18803         * sysdeps/x86_64/lshift.S: Likewise.
18804         * sysdeps/x86_64/mul_1.S: Likewise.
18805         * sysdeps/x86_64/rshift.S: Likewise.
18806         * sysdeps/x86_64/sub_n.S: Likewise.
18807         * sysdeps/x86_64/submul_1.S: Likewise.
18809 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18811         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
18812         Define __sched_param instead of SCHED_* and sched_param when
18813         <bits/sched.h> is included with __need_schedparam defined.
18814         * bits/sched.h [__need_schedparam]
18815         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
18816         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
18817         (__defined_schedparam): Define to 1.
18818         (__sched_param): New structure, identical to sched_param.
18819         (__need_schedparam): Undefine.
18821 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
18823         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
18824         (epoll_create1): Declare.
18826         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
18828 2010-08-31  Andreas Schwab  <schwab@redhat.com>
18830         [BZ #7066]
18831         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
18832         shifting retval into place.
18834 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
18836         * nis/rpcsvc/nis.h: Update copyright notice.
18837         * nis/rpcsvc/nis.x: Likewise.
18838         * nis/rpcsvc/nis_callback.h: Likewise.
18839         * nis/rpcsvc/nis_callback.x: Likewise.
18840         * nis/rpcsvc/nis_object.x: Likewise.
18841         * nis/rpcsvc/nis_tags.h: Likewise.
18842         * nis/rpcsvc/yp.h: Likewise.
18843         * nis/rpcsvc/yp.x: Likewise.
18844         * nis/rpcsvc/ypupd.h: Likewise.
18845         * nis/yp_xdr.c: Likewise.
18846         * nis/ypupdate_xdr.c: Likewise.
18848         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
18849         mainly the body of pmap_getport.  Add parameters to specify timeouts.
18850         (pmap_getport): Use __libc_rpc_getport.
18851         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
18852         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
18853         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
18855 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
18857         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
18858         fanotify_mark.
18860 2010-08-27  Roland McGrath  <roland@redhat.com>
18862         * sysdeps/i386/i686/multiarch/Makefile
18863         (CFLAGS-varshift.c): New variable.
18865 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
18867         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
18868         * sysdeps/i386/i686/multiarch/varshift.c: New file.
18870         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
18872         * sysdeps/x86_64/strlen.S: Minimal code improvement.
18874 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
18876         * sysdeps/x86_64/strlen.S: Unroll the loop.
18877         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
18878         strlen-sse2 strlen-sse2-bsf.
18879         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
18880         __strlen_no_bsf if bit_Slow_BSF is set.
18881         (__strlen_sse42): Removed.
18882         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
18883         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
18885 2010-08-25  Roland McGrath  <roland@redhat.com>
18887         * sysdeps/x86_64/multiarch/varshift.S: File removed.
18888         * sysdeps/x86_64/multiarch/varshift.c: New file.
18889         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
18890         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
18891         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
18892         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
18894 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
18896         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
18897         strlen-sse2 strlen-sse2-bsf.
18898         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
18899         __strlen_sse2_bsf if bit_Slow_BSF is unset.
18900         (__strlen_sse2): Removed.
18901         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
18902         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
18903         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
18904         bit_Slow_BSF for Atom.
18905         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
18906         (index_Slow_BSF): Define.
18907         (HAS_SLOW_BSF): Define.
18909 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
18911         [BZ #10851]
18912         * resolv/res_init.c (__res_vinit): When no server address at all
18913         is given default to loopback.
18915 2010-08-24  Roland McGrath  <roland@redhat.com>
18917         * configure.in: Remove config-name.h generation.
18918         * configure: Regenerated.
18919         * config-name.in: File removed.
18920         * scripts/config-uname.sh: New file.
18921         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
18922         ($(objdir)config-name.h): New target.
18924         * sunrpc/rpc_parse.h: Avoid nested comment.
18926 2010-08-24  Richard Henderson  <rth@redhat.com>
18927             Ulrich Drepper  <drepper@redhat.com>
18928             H.J. Lu  <hongjiu.lu@intel.com>
18930         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
18931         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
18932         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
18933         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
18934         _mm_alignr_epi8 with _mm_loadu_si128.
18935         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
18936         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
18937         (__m128i_shift_right): Removed.
18938         * sysdeps/i386/i686/multiarch/varshift.h: New file.
18939         * sysdeps/i386/i686/multiarch/varshift.S: New file.
18940         * sysdeps/x86_64/multiarch/varshift.h: New file.
18941         * sysdeps/x86_64/multiarch/varshift.S: New file.
18943 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
18945         * configure.in: Move assembler checks to before sysdep dir checking.
18947 2010-08-20  Petr Baudis  <pasky@suse.cz>
18949         * LICENSES: Sync the sunrpc license.
18951 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
18953         * sunrpc/auth_des.c: Update copyright notice once again.
18954         * sunrpc/auth_none.c: Likewise.
18955         * sunrpc/auth_unix.c: Likewise.
18956         * sunrpc/authdes_prot.c: Likewise.
18957         * sunrpc/authuxprot.c: Likewise.
18958         * sunrpc/bindrsvprt.c: Likewise.
18959         * sunrpc/clnt_gen.c: Likewise.
18960         * sunrpc/clnt_perr.c: Likewise.
18961         * sunrpc/clnt_raw.c: Likewise.
18962         * sunrpc/clnt_simp.c: Likewise.
18963         * sunrpc/clnt_tcp.c: Likewise.
18964         * sunrpc/clnt_udp.c: Likewise.
18965         * sunrpc/clnt_unix.c: Likewise.
18966         * sunrpc/des_crypt.c: Likewise.
18967         * sunrpc/des_soft.c: Likewise.
18968         * sunrpc/get_myaddr.c: Likewise.
18969         * sunrpc/getrpcport.c: Likewise.
18970         * sunrpc/key_call.c: Likewise.
18971         * sunrpc/key_prot.c: Likewise.
18972         * sunrpc/openchild.c: Likewise.
18973         * sunrpc/pm_getmaps.c: Likewise.
18974         * sunrpc/pm_getport.c: Likewise.
18975         * sunrpc/pmap_clnt.c: Likewise.
18976         * sunrpc/pmap_prot.c: Likewise.
18977         * sunrpc/pmap_prot2.c: Likewise.
18978         * sunrpc/pmap_rmt.c: Likewise.
18979         * sunrpc/rpc/auth.h: Likewise.
18980         * sunrpc/rpc/auth_unix.h: Likewise.
18981         * sunrpc/rpc/clnt.h: Likewise.
18982         * sunrpc/rpc/des_crypt.h: Likewise.
18983         * sunrpc/rpc/key_prot.h: Likewise.
18984         * sunrpc/rpc/netdb.h: Likewise.
18985         * sunrpc/rpc/pmap_clnt.h: Likewise.
18986         * sunrpc/rpc/pmap_prot.h: Likewise.
18987         * sunrpc/rpc/pmap_rmt.h: Likewise.
18988         * sunrpc/rpc/rpc.h: Likewise.
18989         * sunrpc/rpc/rpc_des.h: Likewise.
18990         * sunrpc/rpc/rpc_msg.h: Likewise.
18991         * sunrpc/rpc/svc.h: Likewise.
18992         * sunrpc/rpc/svc_auth.h: Likewise.
18993         * sunrpc/rpc/types.h: Likewise.
18994         * sunrpc/rpc/xdr.h: Likewise.
18995         * sunrpc/rpc_clntout.c: Likewise.
18996         * sunrpc/rpc_cmsg.c: Likewise.
18997         * sunrpc/rpc_common.c: Likewise.
18998         * sunrpc/rpc_cout.c: Likewise.
18999         * sunrpc/rpc_dtable.c: Likewise.
19000         * sunrpc/rpc_hout.c: Likewise.
19001         * sunrpc/rpc_main.c: Likewise.
19002         * sunrpc/rpc_parse.c: Likewise.
19003         * sunrpc/rpc_parse.h: Likewise.
19004         * sunrpc/rpc_prot.c: Likewise.
19005         * sunrpc/rpc_sample.c: Likewise.
19006         * sunrpc/rpc_scan.c: Likewise.
19007         * sunrpc/rpc_scan.h: Likewise.
19008         * sunrpc/rpc_svcout.c: Likewise.
19009         * sunrpc/rpc_tblout.c: Likewise.
19010         * sunrpc/rpc_util.c: Likewise.
19011         * sunrpc/rpc_util.h: Likewise.
19012         * sunrpc/rpcinfo.c: Likewise.
19013         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
19014         * sunrpc/rpcsvc/key_prot.x: Likewise.
19015         * sunrpc/rpcsvc/klm_prot.x: Likewise.
19016         * sunrpc/rpcsvc/mount.x: Likewise.
19017         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
19018         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
19019         * sunrpc/rpcsvc/rex.x: Likewise.
19020         * sunrpc/rpcsvc/rstat.x: Likewise.
19021         * sunrpc/rpcsvc/rusers.x: Likewise.
19022         * sunrpc/rpcsvc/sm_inter.x: Likewise.
19023         * sunrpc/rpcsvc/spray.x: Likewise.
19024         * sunrpc/rpcsvc/yppasswd.x: Likewise.
19025         * sunrpc/rtime.c: Likewise.
19026         * sunrpc/svc.c: Likewise.
19027         * sunrpc/svc_auth.c: Likewise.
19028         * sunrpc/svc_authux.c: Likewise.
19029         * sunrpc/svc_raw.c: Likewise.
19030         * sunrpc/svc_run.c: Likewise.
19031         * sunrpc/svc_simple.c: Likewise.
19032         * sunrpc/svc_tcp.c: Likewise.
19033         * sunrpc/svc_udp.c: Likewise.
19034         * sunrpc/svc_unix.c: Likewise.
19035         * sunrpc/svcauth_des.c: Likewise.
19036         * sunrpc/xcrypt.c: Likewise.
19037         * sunrpc/xdr.c: Likewise.
19038         * sunrpc/xdr_array.c: Likewise.
19039         * sunrpc/xdr_float.c: Likewise.
19040         * sunrpc/xdr_mem.c: Likewise.
19041         * sunrpc/xdr_rec.c: Likewise.
19042         * sunrpc/xdr_ref.c: Likewise.
19043         * sunrpc/xdr_sizeof.c: Likewise.
19044         * sunrpc/xdr_stdio.c: Likewise.
19046         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
19047         handling.
19049 2010-08-19  Andreas Schwab  <schwab@redhat.com>
19051         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
19053 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
19055         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
19056         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
19057         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
19058         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
19059         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
19060         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
19061         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
19062         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
19063         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
19064         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
19065         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
19066         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
19067         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
19068         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
19070 2010-07-26  Anton Blanchard  <anton@samba.org>
19072         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
19073         * malloc/arena.c (heap_trim): Likewise.
19075 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
19077         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
19078         here.  Not...
19079         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
19080         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
19082 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
19084         * sysdeps/i386/elf/Makefile: New file.
19086 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
19088         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
19089         from fanotify_init.
19090         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
19091         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
19093 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
19095         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
19096         of strncasecmp_l.
19097         * sysdeps/multiarch/strcmp.S: Likewise.
19099 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
19101         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
19102         strncase_l-nonascii.
19103         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
19104         Add strncase_l-ssse3.
19105         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
19106         * sysdeps/x86_64/strcmp.S: Likewise.
19107         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
19108         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
19109         * sysdeps/x86_64/strncase.S: New file.
19110         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
19111         * sysdeps/x86_64/strncase_l.S: New file.
19112         * string/Makefile (strop-tests): Add strncasecmp.
19113         * string/test-strncasecmp.c: New file.
19115         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
19116         warning.
19118         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
19119         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
19121 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
19123         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
19125 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
19127         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
19128         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
19129         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
19131 2010-05-01  Alan Modra  <amodra@gmail.com>
19133         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
19134         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
19135         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
19136         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
19137         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
19138         tidying.  Don't tail-call __sigjmp_save for static lib.
19139         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
19140         save location.
19141         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
19142         (CALL_MCOUNT): Add eh info, and nop after bl.
19143         (TAIL_CALL_SYSCALL_ERROR): New macro.
19144         (PSEUDO_RET): Use it.
19145         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
19146         Correct save location of integer regs and cr.
19147         (_dl_profile_resolve): Correct cr save location.  Delete nops
19148         after bl when SHARED.  Reduce cfi size a little by better
19149         placement of cfi directives.
19150         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
19151         make a stack frame.  Instead use parm save area as a temp.
19152         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
19153         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
19154         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
19155         Don't make a stack frame for parent, use parm save area.
19156         Increase child stack frame to 112 bytes.  Don't save unused reg,
19157         and adjust reg usage.  Set up cfi on error recovery and
19158         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
19159         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
19160         (__makecontext): Add dummy nop after jump to exit.
19161         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
19162         Use correct parm save area and cr save, reduce stack frame.
19163         Correct cfi for possible PSEUDO_RET frame setup.
19164         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
19165         Branch to local label emitted by PSEUDO_RET rather than
19166         __syscall_error.
19168 2010-08-12  Andreas Schwab  <schwab@redhat.com>
19170         [BZ #11904]
19171         * locale/programs/locale.c (print_assignment): New function.
19172         (show_locale_vars): Use it.
19174 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
19176         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
19177         field.
19178         (struct statfs64): Likewise.
19179         (_STATFS_F_FLAGS): Define.
19180         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
19181         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
19182         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
19183         (ST_VALID): Define locally.
19184         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
19185         __statvfs_getflags, use the provided value.
19186         * sysdeps/unix/sysv/linux/kernel-features.h: Define
19187         __ASSUME_STATFS_F_FLAGS.
19189         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
19191         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
19192         Add sys/fanotify.h.
19193         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
19194         fanotify_mask for GLIBC_2.13.
19195         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
19196         fanotify_init and fanotify_mark.
19197         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
19198         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
19200         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
19201         Add prlimit.
19202         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
19203         prlimit64 for GLIBC_2.13.
19204         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
19205         prlimit64.
19206         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
19207         syscall.
19208         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
19209         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
19210         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
19211         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
19212         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
19213         add prlimit alias.
19214         * sysdeps/unix/sysv/linux/prlimit.c: New file.
19216         [BZ #11903]
19217         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
19218         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
19220         * nss/Makefile: Add rules to build and run tst-nss-test1.
19221         * shlib-versions: Add entry for libnss_test1.
19222         * nss/nss_test1.c: New file.
19223         * nss/tst-nss-test1.c: New file.
19225         * nss/nsswitch.c (__nss_database_custom): Define new variable.
19226         (__nss_configure_lookup): Set appropriate entry in
19227         __nss_configure_lookup to true.
19228         * nss/nsswitch.h: Define enum with indeces of databases in
19229         databases and __nss_database_custom arrays.  Declare
19230         __nss_database_custom.
19231         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
19232         to avoid using nscd when custom rules are installed.
19233         * nss/getXXbyYY_r.c: Likewise.
19234         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
19236         * nss/nss_files/files-parse.c: Whitespace fixes.
19238 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
19240         [BZ #11883]
19241         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
19242         * posix/fnmatch_loop.c: Likewise.
19244 2010-07-17  Andi Kleen  <ak@linux.intel.com>
19246         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
19247         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
19248         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
19249         * Versions.def [GLIBC_2.13]: Add.
19251 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
19253         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
19254         Also fail if tpwd after pwuid call is NULL.
19256 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19258         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
19259         when converting to ms.
19261 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19263         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
19264         EOPNOTSUPP errors with ENOTTY.
19265         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
19266         EOPNOTSUPP errors with ENOTTY.
19268 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
19270         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
19271         Add strcasecmp_l-ssse3.
19272         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
19273         strcasecmp.
19274         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
19275         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
19276         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
19278 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
19280         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
19282         * string/Makefile (strop-tests): Add strcasecmp.
19283         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
19284         strcasecmp_l-nonascii.
19285         (gen-as-const-headers): Add locale-defines.sym.
19286         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
19287         * sysdeps/x86_64/strcasecmp.S: New file.
19288         * sysdeps/x86_64/strcasecmp_l.S: New file.
19289         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
19290         * sysdeps/x86_64/locale-defines.sym: New file.
19291         * string/test-strcasecmp.c: New file.
19293         * string/test-strcasestr.c: Test both ends of the range of characters.
19294         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
19296 2010-07-29  Roland McGrath  <roland@redhat.com>
19298         [BZ #11856]
19299         * manual/locale.texi (Yes-or-No Questions): Fix example code.
19301 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
19303         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
19304         for ld.so.
19306 2010-07-27  Andreas Schwab  <schwab@redhat.com>
19308         * manual/memory.texi (Malloc Tunable Parameters): Document
19309         M_PERTURB.
19311 2010-07-26  Roland McGrath  <roland@redhat.com>
19313         [BZ #11840]
19314         * configure.in (-fgnu89-inline check): Set and substitute
19315         gnu89_inline, not libc_cv_gnu89_inline.
19316         * configure: Regenerated.
19317         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
19319 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
19321         * string/test-strnlen.c: New file.
19322         * string/Makefile (strop-tests): Add strnlen.
19323         * string/tester.c (test_strnlen): Add a few more test cases.
19324         * string/tst-strlen.c: Better error reporting.
19326         * sysdeps/x86_64/strnlen.S: New file.
19328 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
19330         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
19331         lower-latency instructions.
19333 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
19335         * string/test-strcasestr.c: New file.
19336         * string/test-strstr.c: New file.
19337         * string/Makefile (strop-tests): Add strstr and strcasestr.
19338         * string/str-two-way.h: Don't undefine MAX.
19339         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
19341 2010-07-21  Andreas Schwab  <schwab@redhat.com>
19343         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
19344         strcasestr-nonascii.
19345         (CFLAGS-strcasestr-nonascii.c): Define.
19346         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
19347         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
19348         Remove unused attribute.
19350 2010-07-20  Roland McGrath  <roland@redhat.com>
19352         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
19353         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
19354         ld.so.cache was broken.  With it, there is no way to disable dsocaps
19355         like LD_HWCAP_MASK can disable hwcaps.
19357 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
19359         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
19361 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
19363         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
19364         call in strcasestr.
19365         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
19366         __strcasestr_sse42_nonascii.
19367         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
19368         strcasestr-nonascii.c.
19369         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
19371 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
19373         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
19374         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
19375         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
19376         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
19378 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
19380         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
19381         fcntl.
19383 2010-07-06  Andreas Schwab  <schwab@redhat.com>
19385         [BZ #11577]
19386         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
19387         dl_signal_cerror.
19389 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
19391         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
19392         _PC_PIPE_BUF using F_GETPIPE_SZ.
19394 2010-07-05  Roland McGrath  <roland@redhat.com>
19396         * manual/arith.texi (Rounding Functions): Fix rint description
19397         implicit in round description.
19399 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
19401         * elf/Makefile: Fix linking for a few tests to make recent linker
19402         happy.
19404 2010-06-30  Andreas Schwab  <schwab@redhat.com>
19406         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
19407         $(common-objpfx)libc_nonshared.a.
19409 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
19411         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
19412         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
19413         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
19414         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
19415         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
19416         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
19417         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
19418         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
19419         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
19420         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
19421         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
19422         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
19423         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
19424         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
19425         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
19426         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
19427         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
19428         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
19429         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
19430         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
19431         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
19432         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
19433         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
19434         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
19435         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
19436         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
19437         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
19438         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
19439         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
19440         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
19441         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
19442         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
19443         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
19444         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
19445         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
19446         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
19447         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
19448         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
19449         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
19450         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
19451         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
19452         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
19453         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
19454         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
19455         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
19456         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
19457         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
19458         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
19460 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
19462         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
19463         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
19464         * string/memmove.c (memmove): Renamed to ...
19465         (MEMMOVE): ...this.  Default to memmove.
19466         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
19467         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
19468         (END_CHK): Define.
19469         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
19470         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
19471         mempcpy-ssse3-back memmove-ssse3-back.
19472         * sysdeps/x86_64/multiarch/bcopy.S: New file .
19473         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
19474         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
19475         * sysdeps/x86_64/multiarch/memcpy.S: New file.
19476         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
19477         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
19478         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
19479         * sysdeps/x86_64/multiarch/memmove.c: New file.
19480         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
19481         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
19482         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
19483         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
19484         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
19485         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
19486         Define.
19487         (index_Fast_Copy_Backward): Define.
19488         (HAS_ARCH_FEATURE): Define.
19489         (HAS_FAST_REP_STRING): Define.
19490         (HAS_FAST_COPY_BACKWARD): Define.
19492 2010-06-21  Andreas Schwab  <schwab@redhat.com>
19494         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
19495         Restore proper fallback handling.
19497 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
19499         [BZ #11701]
19500         * posix/group_member.c (__group_member): Correct checking loop.
19502         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
19503         OOM in getpwuid_r correctly.  Return error number when the caller
19504         should return, otherwise -1.
19505         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
19506         call returning > 0 value.
19507         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
19509 2010-06-07  Andreas Schwab  <schwab@redhat.com>
19511         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
19512         libc_nonshared.a from targets in modules-names.
19514 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
19516         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
19517         requires it.
19519 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
19521         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
19522         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
19523         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
19524         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
19526 2010-06-02  Andreas Schwab  <schwab@redhat.com>
19528         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
19530 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
19532         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
19533         and F_GETPIPE_SZ.
19534         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
19535         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
19536         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
19537         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
19538         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
19539         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
19541 2010-06-14  Roland McGrath  <roland@redhat.com>
19543         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
19545 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
19547         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
19548         __REDIRECT followed by __THROW.
19549         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
19550         * posix/getopt.h (getopt): Likewise.
19552 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
19554         * hurd/lookup-at.c (__file_name_lookup_at): Accept
19555         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
19556         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
19557         in AT_FLAGS.
19558         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
19559         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
19561 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
19563         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
19565 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
19567         [BZ #11640]
19568         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19569         Properly check family and model.
19571 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
19573         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
19575 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
19577         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
19579 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
19581         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
19582         symbol reference.
19584 2010-05-19  Andreas Schwab  <schwab@redhat.com>
19586         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
19587         symbol reference.
19589 2010-05-21  Andreas Schwab  <schwab@redhat.com>
19591         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
19592         and internal_recvmmsg.
19593         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
19594         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
19595         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
19596         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
19598         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
19599         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
19600         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
19602 2010-05-20  Andreas Schwab  <schwab@redhat.com>
19604         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
19606 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
19608         POWER7 optimizations.
19609         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
19610         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
19612 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
19614         * version.h: Update for 2.13 development version.
19616 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
19618         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
19619         exceptions.  Return 0.
19621 2010-05-07  Roland McGrath  <roland@redhat.com>
19623         * elf/ldconfig.c (main): Add a const.
19625 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
19627         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
19628         (args_options): Add no-idn option.
19629         (ahosts_keys_int): Add idn_flags to ai_flags.
19630         (parse_option): Handle 'i' option to clear idn_flags.
19632         * malloc/malloc.c (_int_free): Possible race in the most recently
19633         added check.  Only act on the data if no current modification
19634         happened.
19636 See ChangeLog.17 for earlier changes.