Add __ppc_get_timebase_freq to ppc.h.
[glibc.git] / ChangeLog
blob5acd55be2693f43eb22cf6a382669cf2fd2d7484
1 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
3         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
4         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
5         system header.
6         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
7         Likewise.
8         (sydep_routines): Add the new and the internal functions.
9         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
10         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
11         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
12         (GLIBC_2.17): Add the new function.
13         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
14         (GLIBC_2.17): Likewise.
15         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
16         (GLIBC_2.17): Likewise.
17         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
18         (GLIBC_2.17): Likewise.
19         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
21 2012-09-25  Alan Modra  <amodra@gmail.com>
23         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
24         Add release barrier before setting once_control to say
25         initialisation is done.  Add hints on lwarx.  Use macro in
26         place of isync.
27         (clear_once_control): Add release barrier.
29 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
31         [BZ #13629]
32         * math/s_clog.c (__clog): Handle more values close to |z| = 1
33         specially.
34         * math/s_clog10.c (__clog10): Likewise.
35         * math/s_clog10f.c (__clog10f): Likewise.
36         * math/s_clog10l.c (__clog10l): Likewise.
37         * math/s_clogf.c (__clogf): Likewise.
38         * math/s_clogl.c (__clogl): Likewise.
39         * math/Makefile (libm-calls): Add x2y2m1.
40         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
41         (__x2y2m1): Likewise.
42         (__x2y2m1l): Likewise.
43         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
44         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
45         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
46         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
47         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
48         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
49         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
50         * sysdeps/i386/fpu/libm-test-ulps: Update.
51         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53         [BZ #14621]
54         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
55         int as type of variable DEPTH.
56         (glob): Use size_t instead of int as type of variables NEWCOUNT
57         and OLD_PATHC.
59 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
61         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
62         Add s_sincosf-sse2.
63         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
64         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
65         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
66         macros for using routine as __sincosf_ia32.
67         Use macro for function declaration and weak_alias.
68         * sysdeps/i386/fpu/libm-test-ulps: Update.
70         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
71         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
73         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
74         subnormal argument.
75         * math/s_cexpf.c (__cexpf): Likewise.
76         * math/s_csinf.c (__csinf): Likewise.
77         * math/s_csinhf.c (__csinhf): Likewise.
78         * math/s_ctanf.c (__ctanf): Likewise.
79         * math/s_ctanhf.c (__ctanhf): Likewise.
80         * math/s_ccosh.c (__ccoshf): Likewise.
81         * math/s_cexp.c (__cexpl): Likewise.
82         * math/s_csin.c (__csin): Likewise.
83         * math/s_csinh.c (__csinh): Likewise.
84         * math/s_ctan.c (__ctan): Likewise.
85         * math/s_ctanh.c (ctanh): Likewise.
86         * math/s_ccoshl.c (__ccoshl): Likewise.
87         * math/s_cexpl.c (__cexpl): Likewise.
88         * math/s_csinl.c (__csinl): Likewise.
89         * math/s_csinhl.c (__csinhl): Likewise.
90         * math/s_ctanl.c (__ctanl): Likewise.
91         * math/s_ctanhl.c (__ctanhl): Likewise.
93 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
95         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
96         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
97         (_IO_off_t): Define to __off_t, not _G_off_t.
98         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
99         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
100         (_IO_wint_t): Define to wint_t, not _G_wint_t.
101         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
102         type of __dummy and __dummy2 fields.
103         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
104         (_G_ssize_t): Likewise.
105         (_G_off_t): Likewise.
106         (_G_pid_t): Likewise.
107         (_G_uid_t): Likewise.
108         (_G_wchar_t): Likewise.
109         (_G_wint_t): Likewise.
110         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
111         (_G_ssize_t): Likewise.
112         (_G_off_t): Likewise.
113         (_G_pid_t): Likewise.
114         (_G_uid_t): Likewise.
115         (_G_wchar_t): Likewise.
116         (_G_wint_t): Likewise.
117         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
118         (_G_ssize_t): Likewise.
119         (_G_off_t): Likewise.
120         (_G_pid_t): Likewise.
121         (_G_uid_t): Likewise.
122         (_G_wchar_t): Likewise.
123         (_G_wint_t): Likewise.
125 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
127         * malloc/arena.c: Include malloc-sysdep.h.
128         (shrink_heap): Use check_may_shrink_heap to decide if madvise
129         is sufficient to shrink the heap or an unmap is needed.
130         * sysdeps/generic/malloc-sysdep.h: New file.  Define
131         new function check_may_shrink_heap.
132         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
133         new function check_may_shrink_heap.
135 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
137         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
138         comments.
140 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
142         * catgets/test-gencat.sh: Add "set -e".
143         * elf/tst-pathopt.sh: Likewise.
144         * grp/tst_fgetgrent.sh: Likewise.
145         * iconvdata/run-iconv-test.sh: Likewise.
146         * intl/tst-gettext.sh: Likewise.
147         * intl/tst-gettext2.sh: Likewise.
148         * intl/tst-gettext4.sh: Likewise.
149         * intl/tst-gettext6.sh: Likewise.
150         * intl/tst-translit.sh: Likewise.
151         * io/ftwtest-sh: Likewise.
152         * libio/test-freopen.sh: Likewise.
153         * malloc/tst-mtrace.sh: Likewise.
154         * posix/globtest.sh: Likewise.
155         * posix/tst-getconf.sh: Likewise.
156         * posix/wordexp-tst.sh: Likewise.
157         * stdio-common/tst-printf.sh: Likewise.
158         * stdio-common/tst-unbputc.sh: Likewise.
159         * stdlib/tst-fmtmsg.sh: Likewise.
160         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
161         * catgets/Makefile: Do not specify -e option when running
162         testsuite shell scripts.
163         * elf/Makefile: Likewise.
164         * grp/Makefile: Likewise.
165         * iconvdata/Makefile: Likewise.
166         * intl/Makefile: Likewise.
167         * io/Makefile: Likewise.
168         * libio/Makefile: Likewise.
169         * malloc/Makefile: Likewise.
170         * posix/Makefile: Likewise.
171         * stdio-common/Makefile: Likewise.
172         * stdlib/Makefile: Likewise.
173         * sysdeps/x86_64/Makefile: Likewise.
175         * io/ftwtest-sh: Add copyright header.
176         * posix/globtest.sh: Likewise.
177         * posix/tst-getconf.sh: Likewise.
178         * posix/wordexp-tst.sh: Likewise.
179         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
181 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
183         [BZ #13679]
184         * Makeconfig (+link): Defined as $(+link-static) if
185         $(build-shared) isn't yes.
186         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
187         isn't yes.
188         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
190         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
192         [BZ #14562]
193         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
194         new chunk size with MALLOC_ALIGN_MASK.
196 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
198         [BZ #5044]
199         * stdio-common/printf_fphex.c: Include <stdbool.h> and
200         <rounding-mode.h>.
201         (__printf_fphex): Determine rounding using get_rounding_mode and
202         round_away.
203         * stdio-common/tst-printf-round.c (struct hex_test): New
204         structure.
205         (hex_tests): New variable.
206         (test_hex_in_one_mode): New function.
207         (do_test): Also run tests for hex float output.
209 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
211         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
212         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
213         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
214         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
215         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
216         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
217         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
218         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
220 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
222         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
223         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
224         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
225         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
227 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
229         [BZ #14579]
230         * elf/rtld.c (dl_main): Limit the check for self loading to normal
231         mode only.
232         * elf/tst-rtld-load-self.sh: New test.
233         * elf/Makefile: Run it.
235 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
237         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
238         (tst-writev-ENV): Remove.
239         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
241 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
243         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
245 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
247         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
248         unconditional.
249         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
250         Likewise.
251         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
252         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
253         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
254         Likewise.
256 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
258         [BZ #14587]
259         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
260         * config.make.in (have-cpp-asm-debuginfo): Removed.
261         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
262         * configure: Regenerated.
264 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
266         [BZ #5044]
267         * stdio-common/printf_fp.c: Include <stdbool.h> and
268         <rounding-mode.h>.
269         (___printf_fp): Determine rounding using get_rounding_mode and
270         round_away.
271         * stdio-common/tst-printf-round.c: New file.
272         * stdio-common/Makefile (tests): Add tst-printf-round.
273         (link-libm): New variable.
274         ($(objpfx)tst-printf-round): Depend in $(link-libm).
276 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
278         [BZ #14576]
279         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
280         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
281         Likewise.
282         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
283         Likewise.
285 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
287         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
288         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
289         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
290         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
292 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
294         [BZ #14518]
295         * include/rounding-mode.h: New file.
296         * sysdeps/generic/get-rounding-mode.h: Likewise.
297         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
298         * stdlib/strtod_l.c: Include <rounding-mode.h>.
299         (MAX_VALUE): New macro.
300         (MIN_VALUE): Likewise.
301         (overflow_value): New function.
302         (underflow_value): Likewise.
303         (round_and_return): Use overflow_value and underflow_value to
304         determine return values in overflow and underflow cases.  Use
305         round_away to determine rounding depending on rounding mode.
306         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
307         determine return values in overflow and underflow cases.
308         * stdlib/tst-strtod-round.c: Include <fenv.h>.
309         (struct test_results): New structure.
310         (struct test): Use struct test_results to store expected results
311         for all rounding modes.
312         (TEST): Include expected results for all rounding modes.
313         (test_in_one_mode): New function.
314         (do_test): Use test_in_one_mode to compute and check results.
315         Check results for all rounding modes.
316         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
317         $(link-libm).
319 2012-12-09  Allan McRae  <allan@archlinux.org>
321         * sysdeps/i386/fpu/libm-test-ulps: Update
323 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
325         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
326         (_G_int32_t): Likewise.
327         (_G_uint16_t): Likewise.
328         (_G_uint32_t): Likewise.
329         (_G_HAVE_BOOL): Likewise.
330         (_G_HAVE_ATEXIT): Likewise.
331         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
332         (_G_HAVE_IO_FILE_OPEN): Likewise.
333         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
334         (_G_int32_t): Likewise.
335         (_G_uint16_t): Likewise.
336         (_G_uint32_t): Likewise.
337         (_G_HAVE_BOOL): Likewise.
338         (_G_HAVE_ATEXIT): Likewise.
339         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
340         (_G_HAVE_IO_FILE_OPEN): Likewise.
341         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
342         (_G_int32_t): Likewise.
343         (_G_uint16_t): Likewise.
344         (_G_uint32_t): Likewise.
345         (_G_HAVE_BOOL): Likewise.
346         (_G_HAVE_ATEXIT): Likewise.
347         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
348         (_G_HAVE_IO_FILE_OPEN): Likewise.
350 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
352         * csu/libc-tls.c: Update copyright years.
354 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
356         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
357         [!_G_USING_THUNKS]: Remove conditional code.
358         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
359         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
361         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
362         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
363         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
364         (_G_VTABLE_LABEL_PREFIX): Likewise.
365         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
366         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
367         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
368         (_G_VTABLE_LABEL_PREFIX): Likewise.
369         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
370         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
371         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
372         (_G_VTABLE_LABEL_PREFIX): Likewise.
373         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
375 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
377         * libio/Makefile: Include ../Makeconfig before tests.
378         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
379         only if $(build-shared) is yes.
381         * iconv/gconv_db.c: Update copyright years.
383 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
385         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
386         unwind info if defined PIC. Fix special cases description.
387         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
389         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
390         DP_HI_MASK entry.
391         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
393 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
395         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
397         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
398         is NULL.
400         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
401         (LDLIBS-tst-chk4): This.
402         (LDFLAGS-tst-chk5): Renamed to ...
403         (LDLIBS-tst-chk5): This.
404         (LDFLAGS-tst-chk6): Renamed to ...
405         (LDLIBS-tst-chk6): This.
406         (LDFLAGS-tst-lfschk4): Renamed to ...
407         (LDLIBS-tst-lfschk4): This.
408         (LDFLAGS-tst-lfschk5): Renamed to ...
409         (LDLIBS-tst-lfschk5): This.
410         (LDFLAGS-tst-lfschk6): Renamed to ...
411         (LDLIBS-tst-lfschk6): This.
413         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
414         on $(common-objpfx)soversions.mk.
416 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
418         [BZ #10014]
419         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
420         example host name.
422 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
424         * malloc/arena.c (arena_get_retry): New function that gets
425         another arena for the caller to try its request on.
426         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
427         current arena cannot fulfill the request.
428         (__libc_memalign): Likewise.
429         (__libc_memalign): Likewise.
430         (__libc_pvalloc): Likewise.
431         (__libc_calloc): Likewise.
433 2012-09-05  John Tobey  <john.tobey@gmail.com>
435         [BZ #13542]
436         * manual/arith.texi (Operations on Complex): Fix description
437         of carg branch cut.
439 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
441         [BZ #10014]
442         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
443         host name.
445         [BZ #10038]
446         * manual/memory.texi (Memory): Make order of menu items match
447         order of sections.
449 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
451         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
452         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
453         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
455 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
457         * csu/libc-tls.c (static_dtv): Renamed to ...
458         (_dl_static_dtv): This.  Make it global.
459         (_dl_initial_dtv): Removed.
460         (__libc_setup_tls): Updated.
461         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
462         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
463         DL_INITIAL_DTV.
465 2012-09-06  Petr Machata  <pmachata@redhat.com>
467         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
468         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
469         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
470         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
472 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
474         [BZ #14545]
475         * csu/libc-tls.c (_dl_initial_dtv): New variable.
476         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
477         freeing dtv[-1].
479 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
481         [BZ #14544]
482         * Makeconfig (link-static-before-libc): Replace $(+prector)
483         with $(+prectorT).
484         (link-static-after-libc): Replace $(+postctor) with
485         $(+postctorT).
486         (link-bounded): Replace $(+prector)/$(+postctor) with
487         $(+prectorT)/$(+postctorT).
488         (+prectorT): New macro.
489         (+postctorT): Likewise.
491 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
493         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
494         (round_str): Handle values above the maximum for IBM long double
495         as inexact.
496         * stdlib/tst-strtod-round.c (tests): Regenerated.
498 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
500         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
501         assembler flag.
502         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
503         zarch_nohighgprs around the zarch optimized routines.
504         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
505         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
506         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
507         for zarch.
509 2012-09-05  David S. Miller  <davem@davemloft.net>
511         * sysdeps/sparc/fpu/libm-test-ulps: Update.
513         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
514         HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
515         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
516         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
517         entries.
519 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
521         * malloc/arena.c: Fold copyright years.
522         * malloc/mcheck.c, malloc/memusage.c: Likewise.
524 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
526         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
528 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
530         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
532 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
534         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
535         change internal state upon failure.
537 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
539         * malloc/mcheck.c (mcheck_check_all): Fix typo.
540         * malloc/memusage.c (mmap): Likewise.
541         (mmap64, mremap): Likewise.  Adjust name in comment.
543 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
545         * libio/fileops.c: Fix typos in comments.
546         * libio/oldfileops.c: Likewise.
547         * libio/wfileops.c: Likewise.
549 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
551         [BZ #1349]
552         * malloc/Makefile (tests): Add tst-malloc-usable test case.
553         (tst-malloc-usable-ENV): Set environment for test case.
554         * malloc/hooks.c (malloc_check_get_size): New function to get
555         requested size.
556         * malloc/malloc.c (musable): Use malloc_check_get_size.
557         * malloc/tst-malloc-usable.c: New test case.
559 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
561         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
563 2012-09-05  Allan McRae  <allan@archlinux.org>
565         [BZ #13966]
566         * configure.in (CXX_SYSINCLUDES): Use compiler output to
567         determine header location.
568         * configure: Regenerated.
570 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
572         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
573         float format.
574         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
575         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
576         format.
577         (test): Regenerate.
579 2012-09-04  David S. Miller  <davem@davemloft.net>
581         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
582         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
583         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
585 2012-09-04  Florian Weimer  <fweimer@redhat.com>
587         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
588         failures.
590         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
592 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
594         [BZ #9914]
595         * libio/iogetdelim.c: Include <limits.h>.
596         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
597         + len + 1 would overflow.
599 2012-09-03  Andreas Jaeger  <aj@suse.de>
601         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
602         * sysdeps/i386/fpu/libm-test-ulps: Update.
604 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
606         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
607         Add s_sinf-sse2, s_conf-sse2.
609         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
610         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
611         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
612         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
614         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
615         for using routine as __sinf_ia32.
616         Use macro for function declaration and weak_alias.
617         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
618         for using routine as __cosf_ia32.
619         Use macro for function declaration and weak_alias.
621         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
622         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
624         * sysdeps/x86_64/fpu/s_sinf.S: New file.
625         * sysdeps/x86_64/fpu/s_cosf.S: New file.
626         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
628         * math/libm-test.inc (cos_test): Add more test cases.
629         (sin_test): Likewise.
630         (sincos_test): Likewise.
632 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
634         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
635         (IFUNC_RESOLVE): Make pointers to the specialized implementations
636         hidden.
637         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
639 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
641         [BZ #14538]
642         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
643         first element of the GOT.
644         (elf_machine_load_address): Return the difference between
645         the runtime address of _DYNAMIC and elf_machine_dynamic ().
647 2012-09-01  Allan McRae  <allan@archlinux.org>
649         [BZ #13412]
650         * configure.in (AWK): Require gawk version 3.0 or later.
651         * configure: Regenerated.
653 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
655         * sysdeps/unix/sysv/linux/kernel-features.h
656         (__ASSUME_POSIX_CPU_TIMERS): Remove.
657         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
658         [__NR_clock_getres]: Make code unconditional.
659         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
660         (clock_getcpuclockid): Remove code left unreachable by removal of
661         conditionals.
662         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
663         code unconditional.
664         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
665         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
666         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
667         Make code unconditional.
668         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
669         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
670         * sysdeps/unix/sysv/linux/clock_settime.c
671         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
672         conditional code.
673         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
674         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
676 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
678         [BZ #14476]
679         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
680         scripts/test-installation.pl.
682         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
683         and $ld_so_version if it is set.
685 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
687         [BZ #14516]
688         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
689         failure if reading from procfs failed.
690         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
692 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
694         * sysdeps/unix/sysv/linux/kernel-features.h
695         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
696         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
697         Remove conditional code.
698         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
699         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
700         Remove conditional code.
701         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
702         * sysdeps/unix/sysv/linux/i386/fxstat.c
703         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
704         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
705         * sysdeps/unix/sysv/linux/i386/fxstatat.c
706         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
707         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
708         * sysdeps/unix/sysv/linux/i386/lxstat.c
709         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
710         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
711         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
712         Remove conditional code.
713         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
714         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
715         Remove conditional code.
716         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
717         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
718         <kernel-features.h>.
719         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
720         Remove.
721         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
722         Remove conditional code.
723         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
724         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
725         Remove conditional.
727 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
729         [BZ #5400]
730         * NEWS: Add fixed bug number.
732 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
734         [BZ #14519]
735         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
736         underflowing exponent in case of negative sign.
737         * stdlib/tst-strtod-round-data: Add more tests.
738         * stdlib/tst-strtod-round.c (tests): Regenerated.
740         [BZ #3479]
741         * stdlib/strtod_l.c (NDIG): Remove.
742         (HEXNDIG): Likewise.
743         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
744         smallest representable value.
745         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
746         lie within an exact representation of 1/2 ulp of the result.
747         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
748         unconditionally.
749         (TENS_P9_IDX): Define unconditionally.
750         (TENS_P9_SIZE): Likewise.
751         (TENS_P10_IDX): Likewise.
752         (TENS_P10_SIZE): Likewise.
753         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
754         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
755         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
756         entries for 10^2^13 and 10^2^14.
757         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
758         (TENS_P13_IDX): Define.
759         (TENS_P13_SIZE): Likewise.
760         (TENS_P14_IDX): Likewise.
761         (TENS_P14_SIZE): Likewise.
762         (_fpioconst_pow10): Change array size to
763         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
764         unconditional.
765         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
766         1024]: Add entries for 10^2^13 and 10^2^14.
767         [LAST_POW10 > _LAST_POW10]: Remove #error.
768         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
769         (_fpioconst_pow10): Change array size to
770         FPIOCONST_POW10_ARRAY_SIZE.
771         * stdlib/gen-fpioconst.c: New file.
772         * stdlib/gen-tst-strtod-round.c: Likewise.
773         * stdlib/tst-strtod-round-data: Likewise.
774         * stdlib/tst-strtod-round.c: Likewise.
775         * stdlib/Makefile (tests): Add tst-strtod-round.
777         [BZ #14459]
778         * stdlib/strtod_l.c: Include <stdint.h>.
779         (NDEBUG): Do not define.
780         (round_and_return): Change EXPONENT parameter to type intmax_t.
781         Rearrange calculations to avoid internal overflow possibilities.
782         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
783         Rearrange calculations to avoid internal overflow possibilities.
784         Assert that number fits inside MPNSIZE limbs.
785         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
786         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
787         calculations and add assertions to avoid internal overflow
788         possibilities.  Add casts to avoid signed/unsigned operations.
789         * stdlib/tst-strtod-overflow.c: New file.
790         * stdlib/Makefile (tests): Add tst-strtod-overflow.
792 2012-08-25  Marek Polacek  <polacek@redhat.com>
794         * time/time.h: Fix some typos in comments.
796 2012-08-23  Roland McGrath  <roland@hack.frob.com>
798         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
799         * posix/tst-rfc3484-2.c: Likewise.
800         * posix/tst-rfc3484-3.c: Likewise.
802 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
804         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
805         (EF_ARM_ABI_FLOAT_HARD): Likewise.
807 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
809         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
810         #include of fxstatat64.c.
812 2012-08-22  Roland McGrath  <roland@hack.frob.com>
814         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
815         * shadow/getspent_r.c: Likewise.
816         * shadow/getspnam.c: Likewise.
817         * shadow/getspnam_r.c: Likewise.
818         * gshadow/getsgent.c: Likewise.
819         * gshadow/getsgent_r.c: Likewise.
820         * gshadow/getsgnam.c: Likewise.
821         * gshadow/getsgnam_r.c: Likewise.
822         * inet/getnetbyad.c: Likewise.
823         * inet/getnetbyad_r.c: Likewise.
824         * inet/getnetbynm.c: Likewise.
825         * inet/getnetbynm_r.c: Likewise.
826         * inet/getnetent.c: Likewise.
827         * inet/getnetent_r.c: Likewise.
828         * inet/getproto.c: Likewise.
829         * inet/getproto_r.c: Likewise.
830         * inet/getprtent.c: Likewise.
831         * inet/getprtent_r.c: Likewise.
832         * inet/getprtname.c: Likewise.
833         * inet/getprtname_r.c: Likewise.
834         * inet/getrpcbyname.c: Likewise.
835         * inet/getrpcbyname_r.c: Likewise.
836         * inet/getrpcbynumber.c: Likewise.
837         * inet/getrpcbynumber_r.c: Likewise.
838         * inet/getrpcent.c: Likewise.
839         * inet/getrpcent_r.c: Likewise.
840         * inet/getaliasent.c: Likewise.
841         * inet/getaliasent_r.c: Likewise.
842         * inet/getaliasname.c: Likewise.
843         * inet/getaliasname_r.c: Likewise.
844         * nscd/getgrgid_r.c: Likewise.
845         * nscd/getgrnam_r.c: Likewise.
846         * nscd/gethstbyad_r.c: Likewise.
847         * nscd/gethstbynm3_r.c: Likewise.
848         * nscd/getpwnam_r.c: Likewise.
849         * nscd/getpwuid_r.c: Likewise.
850         * nscd/getsrvbynm_r.c: Likewise.
851         * nscd/getsrvbypt_r.c: Likewise.
852         * nscd/gai.c: Likewise.
854         * configure.in (build_nscd): New substituted variable, set
855         by --disable-build-nscd and defaults to $use_nscd.
856         * configure: Regenerated.
857         * config.make.in (build-nscd): New substituted variable.
858         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
859         Change conditional to require [$(build-nscd) = yes] as well.
860         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
862         [BZ# 13696]
863         * configure.in (use_nscd): New substituted variable, set by
864         --disable-nscd.  If enabled, define USE_NSCD.
865         * configure: Regenerated.
866         * config.h.in: Add USE_NSCD.
867         * config.make.in (use-nscd): New substituted variable.
868         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
869         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
870         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
871         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
872         (CFLAGS-getgrnam_r.c): Likewise.
873         (CFLAGS-initgroups.c): Likewise.
874         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
875         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
876         Variables removed.
877         * inet/getnetgrent_r.c
878         (nscd_setnetgrent): New function, broken out of ...
879         (setnetgrent): ... here.  Call it.
880         (innetgr): Conditionalize nscd bits on [USE_NSCD].
881         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
882         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
883         * nscd/Makefile (routines, aux): Move definitions after include of
884         Makeconfig.  Conditionalize on [$(use-nscd) != no].
885         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
886         Conditionalize on [USE_NSCD].
887         (is_nscd, nscd_init_cb): Likewise.
888         (nss_load_library): Conditionalize init callback on [USE_NSCD].
889         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
890         * nss/nss_db/db-init.c: Likewise.
891         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
892         [USE_NSCD].
893         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
894         (make_request): Use it.
895         (cache_valid_p): New function.
896         (__check_pf): Use it.
897         * NEWS: Add item for --disable-nscd.
899 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
901         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
902         to support sed >= 4.2.1-20-ga9bf076.
903         * configure: Regenerated.
905 2012-08-22  Roland McGrath  <roland@hack.frob.com>
907         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
908         Conditionalize whole body on [IREL].
910 2012-08-22  Jeff Law <law@redhat.com>
912         [BZ #14505]
913         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
914         if the family is PF_UNSPEC.
916 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
918         * Makerules (lib-version): Rename from V.
919         (install-lib-nosubdir): Change V to lib-version.
921 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
923         [BZ #14252]
924         * powerpc32/power6/wcschr.c: New file.
925         * powerpc32/power6/wcscpy.c: New file.
926         * powerpc32/power6/wcsrchr.c: New file.
927         * powerpc64/power6/wcschr.c: New file.
928         * powerpc64/power6/wcscpy.c: New file.
929         * powerpc64/power6/wcsrchr.c: New file.
931 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
933         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
934         (two_way_short_needle): Use it.
935         * string/strstr.c (AVAILABLE1_USES_J): Define.
936         * string/strcasestr.c: Likewise.
938         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
939         array references.
940         * string/strcasestr.c (TOLOWER): Make side-effect safe.
942         [BZ #11607]
943         * NEWS: Add an entry.
944         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
945         define their defaults.
946         (two_way_short_needle): Detect end-of-string on-the-fly.
947         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
948         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
949         * string/bug-strcasestr1.c: New test.
950         * string/Makefile: Run it.
952 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
954         [BZ #11607]
955         * string/str-two-way.h (two_way_short_needle): Optimize matching of
956         the first character.
958 2012-08-21  Roland McGrath  <roland@hack.frob.com>
960         * csu/elf-init.c (__libc_csu_irel): Function removed.
961         * csu/libc-start.c (apply_irel): New function.
962         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
964 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
966         * sysdeps/unix/sysv/linux/kernel-features.h
967         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
968         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
969         <kernel-features.h>.
970         [__NR_fadvise64_64]: Make code unconditional.
971         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
972         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
973         !__NR_fadvise64_64)]: Likewise.
974         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
975         !__NR_fadvise64_64))]: Likewise.
976         [__NR_fadvise64]: Make code unconditional.
977         [!__NR_fadvise64]: Remove conditional code.
978         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
979         <kernel-features.h>.
980         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
981         unconditional.
982         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
983         conditional code.
984         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
985         not include <kernel-features.h>.
986         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
987         unconditional.
988         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
989         conditional code.
990         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
991         include <kernel-features.h>.
992         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
993         unconditional.
994         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
995         conditional code.
997 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
999         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
1000         slight instruction rearrangements per scrollpipe analysis.
1001         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
1003 2012-08-20  Roland McGrath  <roland@hack.frob.com>
1005         * manual/syslog.texi (syslog; vsyslog, closelog):
1006         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
1007         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
1009         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
1010         DSOCAPS to match condition on defining it.
1012 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
1014         * sysdeps/unix/sysv/linux/kernel-features.h
1015         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
1016         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
1017         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
1018         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
1019         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
1020         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
1021         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
1022         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
1023         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
1024         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
1026         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
1027         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
1029         * sysdeps/unix/sysv/linux/kernel-features.h
1030         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
1031         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
1032         unconditional.
1033         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
1034         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
1035         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
1036         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
1037         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
1038         Make code unconditional.
1039         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
1040         (__mmap64) [!__NR_mmap2]: Likewise.
1041         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
1042         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
1043         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
1044         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
1045         [__NR_mmap2]: Make code unconditional.
1046         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
1047         (__mmap64) [!__NR_mmap2]: Likewise.
1049 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
1051         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
1053 2012-08-18  Andreas Jaeger  <aj@suse.de>
1055         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
1057 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
1059         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
1060         * include/unistd.h (__have_sock_cloexec): Likewise.
1061         (__have_pipe2): Likewise.
1062         (__have_dup3): Likewise.
1064 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
1066         [BZ #9685]
1067         * include/unistd.h (__have_pipe2): Change define into an extern int.
1068         (__have_dup3): Likewise.
1069         * socket/have_sock_cloexec.c: Include fcntl.h.
1070         (__have_pipe2): New variable.
1071         (__have_dup3): Likewise.
1073 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
1075         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
1077 2012-08-17  Marek Polacek  <polacek@redhat.com>
1079         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
1080         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
1082 2012-08-17  Roland McGrath  <roland@hack.frob.com>
1084         * configure.in: Add AC_SUBST for sysheaders.
1085         * configure: Regenerated.
1086         * config.make.in (sysheaders): New substituted variable.
1088         * sysdeps/unix/mkfifo.c: Moved ...
1089         * sysdeps/posix/mkfifo.c: ... here.
1090         * sysdeps/unix/mkfifoat.c: Moved ...
1091         * sysdeps/posix/mkfifoat.c: ... here.
1093         * sysdeps/unix/utime.c: Moved ...
1094         * sysdeps/posix/utime.c: ... here.
1096         * sysdeps/unix/time.c: Moved ...
1097         * sysdeps/posix/time.c: ... here.
1098         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
1099         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
1101         * sysdeps/unix/nice.c: Moved ...
1102         * sysdeps/posix/nice.c: ... here.
1104         * sysdeps/unix/alarm.c: Moved ...
1105         * sysdeps/posix/alarm.c: ... here.
1107         * intl/Makefile ($(codeset_mo)): Depend on the input file.
1109 2012-08-17  Jeff Law <law@redhat.com>
1111         * intl/Makefile (codeset_mo): New variable.
1112         ($(codeset_mo)): New target.
1113         (tst-codeset.out): Depend on that.  Remove explicit rule.
1114         (tst-gettext3.out, tst-gettext5.out): Likewise.
1115         (LOCPATH-ENV, tst-codeset-ENV): New variables.
1116         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
1117         * intl/tst-codeset.sh: Remove.
1118         * intl/tst-gettext3.sh: Likewise.
1119         * intl/tst-gettext5.sh: Likewise.
1121 2012-08-17  Roland McGrath  <roland@hack.frob.com>
1123         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
1124         * sysdeps/unix/syscalls.list: ... here.
1126         * sysdeps/posix/getaddrinfo.c
1127         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
1128         (gaiconf_init, gaiconf_reload): Use them.
1129         [!_STATBUF_ST_NSEC]
1130         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
1131         Define using time_t rather than struct timespec.
1133         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
1134         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
1135         Macros removed.
1136         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
1137         [!NO_THREADS].
1138         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
1139         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
1140         Likewise.
1142         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
1143         __libc_cleanup_push argument.
1145         * bits/param.h: New file.
1146         * misc/sys/param.h: New file.
1147         * include/sys/param.h: New file.
1148         * misc/Makefile (headers): Add bits/param.h.
1149         * sysdeps/generic/sys/param.h: File removed.
1150         * sysdeps/unix/sysv/linux/bits/param.h: New file.
1151         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
1152         * sysdeps/mach/hurd/bits/param.h: New file.
1153         * sysdeps/mach/hurd/sys/param.h: New file.
1155         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
1156         last change.
1158         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
1159         [_IO_MTSAFE_IO].
1160         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
1161         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
1162         New macros.
1164         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
1165         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
1166         rather than -D_IO_MTSAFE_IO conditionally.
1167         * stdio-common/Makefile (CPPFLAGS): Likewise.
1168         * wcsmbs/Makefile (CPPFLAGS): Likewise.
1169         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
1170         Use $(libio-mtsafe).
1171         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
1172         of -D_IO_MTSAFE_IO.
1173         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
1174         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
1175         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
1176         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
1177         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
1178         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
1179         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
1180         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
1181         (CFLAGS-fread_u_chk.c): Likewise.
1182         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
1183         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
1184         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
1185         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
1186         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
1187         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
1188         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
1189         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
1190         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
1192         * libio/Makefile: Test [$(libc-reentrant) = yes]
1193         instead of [$(filter %REENTRANT, $(defines)) nonempty].
1195         * Makeconfig
1196         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
1197         * sysdeps/pthread/configure: File removed.
1198         * sysdeps/pthread/Makeconfig: New file.
1199         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
1200         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
1202 2012-08-16  Gary Benson  <gbenson@redhat.com>
1204         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
1205         unmapping the first object in a namespace.
1207 2012-08-16  Roland McGrath  <roland@hack.frob.com>
1209         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
1210         (__internal_setnetgrent): ... this.  Add internal_function to
1211         definition.  Add libc_hidden_def.
1212         (setnetgrent): Update caller.
1213         (internal_endnetgrent): Renamed to ...
1214         (__internal_endnetgrent): ... this.  Add internal_function to
1215         definition.  Add libc_hidden_def.
1216         (endnetgrent): Update caller.
1217         (internal_getnetgrent_r): Renamed to ...
1218         (__internal_getnetgrent_r): ... this.  Add internal_function to
1219         definition.  Add libc_hidden_def.
1220         (__getnetgrent_r): Update caller.
1221         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
1223 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
1225         * stdlib/longlong.h: Update from GCC.
1227 2012-08-16  Roland McGrath  <roland@hack.frob.com>
1229         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
1230         on _QL, which is set by umul_ppmm but never used.
1231         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
1232         variables, which are set by GMP macros but never used.
1233         * stdio-common/_itowa.c (_itowa): Likewise.
1234         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
1235         * stdlib/mod_1.c (mpn_mod_1): Likewise.
1237 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
1239         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
1240         struct La_sh_regs is not constant.
1241         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
1242         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
1243         and struct La_sparc64_regs are not constant.
1245 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
1247         * sysdeps/unix/sysv/linux/kernel-features.h
1248         (__ASSUME_POSIX_TIMERS): Remove.
1249         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
1250         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
1251         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
1252         Make code unconditional.
1253         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
1254         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
1255         Make code unconditional.
1256         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
1257         * sysdeps/unix/sysv/linux/clock_nanosleep.c
1258         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
1259         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
1260         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
1261         Make code unconditional.
1262         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
1263         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
1264         (__libc_missing_posix_timers): Remove.
1266 2012-08-15  Roland McGrath  <roland@hack.frob.com>
1268         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
1269         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
1271         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
1273         * elf/dl-sym.c: Include <stdlib.h>.
1275         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
1276         constants, which avoids warnings in 32-bit builds.
1278         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
1279         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
1281         * misc/lseek.c: File moved to ...
1282         * io/lseek.c: ... here.
1284         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
1286         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
1287         shifting LEN more than 31 bits at once.
1289 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
1291         [BZ #14195]
1292         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
1293         segmentation fault for a case of two empty input strings.
1294         * string/test-strncasecmp.c (check1): Renamed to...
1295         (bz12205): ...this.
1296         (bz14195): Add new testcase for two empty input strings and N > 0.
1297         (test_main): Call new testcase, adapt for renamed function.
1299 2012-08-15  Andreas Jaeger  <aj@suse.de>
1301         [BZ #14090]
1302         * crypt/md5test2.c: New test, based on test supplied by Serge
1303         Belyshev <belyshev@depni.sinp.msu.ru>.
1304         * crypt/Makefile (xtests): Add md5test-giant..
1305         * crypt/Makefile ($(objpfx)md5test-giant): Add.
1307 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
1309         [BZ #14090]
1310         * crypt/md5.c (md5_process_block): Don't assume the buffer
1311         length is less than 2**32.
1312         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
1313         length is less than 2**64.
1315 2012-08-15  Roland McGrath  <roland@hack.frob.com>
1317         * string/str-two-way.h: Include <sys/param.h>.
1318         (MAX): Macro removed.
1320         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
1321         Move #define and #undef of memmove to just before and after
1322         including <string.h>.
1324         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
1325         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
1326         and after including <string.h>.  Move declarations of
1327         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
1328         to before #include "string/memmove.c".
1330         * include/dirent.h: Declare __getdirentries.
1332         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
1333         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
1335 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
1337         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
1338         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
1339         * sysdeps/i386/configure: Regenerated.
1340         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
1341         STABS_CURRENT_FILE, and STABS_FUN.
1342         (END): Remove call to STABS_FUN_END.
1343         (STABS_CURRENT_FILE1): Delete.
1344         (STABS_CURRENT_FILE): Likewise.
1345         (STABS_FUN): Likewise.
1346         (STABS_FUN_END): Likewise.
1347         (STABS_FUN2): Likewise.
1348         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
1349         * sysdeps/x86_64/configure: Regenerated.
1351 2012-08-14  Roland McGrath  <roland@hack.frob.com>
1353         * elf/dl-open.c: Include <atomic.h>.
1354         * elf/dl-lookup.c: Likewise.
1356 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
1358         * sysdeps/unix/sysv/linux/kernel-features.h
1359         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
1360         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
1361         unconditionally.
1362         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
1363         unconditionally.
1364         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
1365         condition on __ASSUME_CLONE_THREAD_FLAGS.
1367 2012-08-14  Andreas Jaeger  <aj@suse.de>
1369         * sysdeps/i386/fpu/libm-test-ulps: Update.
1371 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
1373         * include/atomic.h (atomic_exchange_and_add): Split into ...
1374         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
1375         New atomic macros.
1377 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
1379         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1381 2012-08-13  Jeff Law <law@redhat.com>
1383         * manual/stdio.texi (snprintf): Clarify handling of the trailing
1384         null byte in the output string.
1386 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
1388         * sysdeps/unix/sysv/linux/kernel-features.h
1389         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
1390         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
1391         (__ASSUME_ARG_MAX_STACK_BASED): Define.
1392         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
1393         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
1394         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
1395         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
1397 2012-08-09  Jeff Law <law@redhat.com>
1399         [BZ #13939]
1400         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
1401         When avoid_arena is set, don't retry in the that arena.  Pick the
1402         next one, whatever it might be.
1403         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
1404         (arena_lock): Pass in new parameter to arena_get2.
1405         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
1406         arena_get2.
1407         (__libc_malloc): Unify retrying after main arena failure with
1408         __libc_memalign version.
1409         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
1411 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
1413         [BZ #14166]
1414         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
1415         to __redirect_strstr.
1416         (__strstr_sse42): Use typeof __redirect_strstr.
1417         (__strstr_ia32): Likewise.
1418         (__libc_strstr): New prototype.
1419         (strstr): Renamed to ...
1420         (__libc_strstr): This.
1421         (strstr): New strong alias of __libc_strstr.
1422         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
1423         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
1424         __redirect_time.
1425         Include <time.h>.
1426         (__libc_time): New prototype.
1427         (time_ifunc): Replace time with __libc_time.
1428         (time): New strong alias and hidden definition of __libc_time.
1429         (__GI_time): Remove strong alias.
1430         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
1431         Include <stddef.h>.
1432         (memmove): Redefined to __redirect_memmove.
1433         (__memmove_sse2): Use typeof __redirect_memmove.
1434         (__memmove_ssse3): Likewise.
1435         (__memmove_ssse3_back): Likewise.
1436         (__libc_memmove): New prototype.
1437         (memmove): Renamed to ...
1438         (__libc_memmove): This.
1439         (memmove): New strong alias of __libc_memmove.
1441 2012-08-08  Mark Salter  <msalter@redhat.com>
1443         * elf/elf.h
1444         (R_MN10300_TLS_GD): Define.
1445         (R_MN10300_TLS_LD): Likewise.
1446         (R_MN10300_TLS_LDO): Likewise.
1447         (R_MN10300_TLS_GOTIE): Likewise.
1448         (R_MN10300_TLS_IE): Likewise.
1449         (R_MN10300_TLS_LE): Likewise.
1450         (R_MN10300_TLS_DTPMOD): Likewise.
1451         (R_MN10300_TLS_DTPOFF): Likewise.
1452         (R_MN10300_TLS_TPOFF): Likewise.
1453         (R_MN10300_SYM_DIFF): Likewise.
1454         (R_MN10300_ALIGN): Likewise.
1455         (R_MN10300_NUM): Update.
1457 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
1459         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
1460         Remove.
1462 2012-08-08  Roland McGrath  <roland@hack.frob.com>
1464         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
1466         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
1467         sysdeps/unix -> sysdeps/posix move.
1468         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
1470 2012-08-07      Allan McRae     <allan@archlinux.org>
1472         [BZ #14303]
1473         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
1474         (SUNOS_CPP): Likewise.
1475         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
1476         not found.
1477         (open_input): Call CPP using execvp.
1479 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
1481         * sysdeps/unix/sysv/linux/kernel-features.h
1482         (__ASSUME_PROT_GROWSUPDOWN): Remove.
1483         (__ASSUME_NO_CLONE_DETACHED): Likewise.
1484         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
1485         (__ASSUME_WAITID_SYSCALL): Likewise.
1486         * sysdeps/unix/sysv/linux/dl-execstack.c
1487         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
1488         code unconditional.
1489         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
1490         conditional code.
1491         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
1492         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
1493         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
1494         code.
1495         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
1496         unconditional.
1497         [__ASSUME_WAITID_SYSCALL]: Likewise.
1498         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
1500 2012-08-07  Roland McGrath  <roland@hack.frob.com>
1502         * sysdeps/unix/closedir.c: Renamed to ...
1503         * sysdeps/posix/closedir.c: ... here.
1504         * sysdeps/unix/dirfd.c: Renamed to ...
1505         * sysdeps/posix/dirfd.c: ... here.
1506         * sysdeps/unix/dirstream.h: Renamed to ...
1507         * sysdeps/posix/dirstream.h: ... here.
1508         * sysdeps/unix/fdopendir.c: Renamed to ...
1509         * sysdeps/posix/fdopendir.c: ... here.
1510         * sysdeps/unix/opendir.c: Renamed to ...
1511         * sysdeps/posix/opendir.c: ... here.
1512         * sysdeps/unix/readdir.c: Renamed to ...
1513         * sysdeps/posix/readdir.c: ... here.
1514         * sysdeps/unix/readdir_r.c: Renamed to ...
1515         * sysdeps/posix/readdir_r.c: ... here.
1516         * sysdeps/unix/rewinddir.c: Renamed to ...
1517         * sysdeps/posix/rewinddir.c: ... here.
1518         * sysdeps/unix/seekdir.c: Renamed to ...
1519         * sysdeps/posix/seekdir.c: ... here.
1520         * sysdeps/unix/telldir.c: Renamed to ...
1521         * sysdeps/posix/telldir.c: ... here.
1522         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
1523         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
1524         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
1525         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
1527         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
1528         * bits/fcntl.h: ... here.
1530         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
1531         not 0.
1532         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
1533         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
1534         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
1535         (struct flock): Move l_start, l_len to the beginning.
1536         Use __pid_t for l_pid.
1537         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
1538         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
1539         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
1540         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
1541         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
1542         [__USE_LARGEFILE64] (struct flock64): New type.
1543         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
1545         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
1546         * bits/dirent.h: ... here.
1548         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
1549         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
1551 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
1553         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
1554         Change from 2.6.0 to 2.6.16.
1555         * sysdeps/unix/sysv/linux/configure: Regenerated.
1556         * sysdeps/unix/sysv/linux/kernel-features.h
1557         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
1558         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
1559         version.
1560         (__ASSUME_UTIMES): Likewise.
1561         (__ASSUME_CLONE_STOPPED): Remove.
1562         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
1563         architectures, not kernel version.
1564         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
1565         (__ASSUME_NO_CLONE_DETACHED): Likewise.
1566         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
1567         (__ASSUME_WAITID_SYSCALL): Likewise.
1568         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
1569         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
1570         * README: State 2.6.16 as minimum Linux kernel version.  Do not
1571         refer to older versions.
1573 2012-08-06  Roland McGrath  <roland@hack.frob.com>
1575         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
1576         Define alphasort64 as an alias.
1577         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
1578         Define versionsort64 as an alias.
1579         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
1580         Define scandir64 as an alias.
1581         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
1582         Define scandirat64 as an alias.
1583         * dirent/alphasort64.c (alphasort64):
1584         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
1585         * dirent/versionsort64.c: Likewise.
1586         * dirent/scandir64.c: Likewise.
1587         * dirent/scandirat64.c: Likewise.
1588         * sysdeps/wordsize-64/alphasort.c: File removed.
1589         * sysdeps/wordsize-64/alphasort64.c: File removed.
1590         * sysdeps/wordsize-64/scandir.c: File removed.
1591         * sysdeps/wordsize-64/scandir64.c: File removed.
1592         * sysdeps/wordsize-64/scandirat.c: File removed.
1593         * sysdeps/wordsize-64/scandirat64.c: File removed.
1594         * sysdeps/wordsize-64/versionsort.c: File removed.
1595         * sysdeps/wordsize-64/versionsort64.c: File removed.
1596         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
1597         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
1598         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
1599         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
1600         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
1601         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
1602         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
1603         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
1605         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
1606         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
1607         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
1608         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
1609         [defined __arch64__ || defined __sparcv9]
1610         (__INO_T_MATCHES_INO64_T): New macro.
1611         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
1612         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
1613         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
1614         * sysdeps/unix/sysv/linux/bits/dirent.h
1615         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
1616         (_DIRENT_MATCHES_DIRENT64): New macro.
1618         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
1619         Define lockf64 as an alias.
1620         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
1621         Define fseeko64 as an alias.
1622         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
1623         Define ftello64 as an alias.
1624         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
1625         Define _IO_fgetpos64 and fgetpos64 as aliases.
1626         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
1627         Define _IO_fsetpos64 and fsetpos64 as aliases.
1628         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
1629         Conditionalize body on this.
1630         * libio/fseeko64.c: Likewise.
1631         * libio/ftello64.c: Likewise.
1632         * libio/iofgetpos64.c: Likewise.
1633         * libio/iofsetpos64.c: Likewise.
1634         * sysdeps/wordsize-64/lockf.c: File removed.
1635         * sysdeps/wordsize-64/lockf64.c: File removed.
1636         * sysdeps/wordsize-64/fseeko.c: File removed.
1637         * sysdeps/wordsize-64/fseeko64.c: File removed.
1638         * sysdeps/wordsize-64/ftello.c: File removed.
1639         * sysdeps/wordsize-64/ftello64.c: File removed.
1640         * sysdeps/wordsize-64/iofgetpos.c: File removed.
1641         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
1642         * sysdeps/wordsize-64/iofsetpos.c: File removed.
1643         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
1644         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
1645         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
1646         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
1647         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
1648         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
1649         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
1650         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
1651         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
1652         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
1653         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
1655         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
1656         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
1657         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
1658         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
1659         [defined __arch64__ || defined __sparcv9]
1660         (__OFF_T_MATCHES_OFF64_T): New macro.
1661         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
1662         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
1663         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
1664         (__OFF_T_MATCHES_OFF64_T): New macro.
1666 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
1668         * stdlib/secure-getenv.c (__secure_getenv): Replace
1669         GLIBC_2_16 with GLIBC_2_17.
1671 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
1673         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
1674         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
1676 2012-08-03  David S. Miller  <davem@davemloft.net>
1678         * sysdeps/sparc/fpu/libm-test-ulps: Update.
1680 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
1682         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
1683         Remove.
1684         (__ASSUME_CORRECT_SI_PID): Likewise.
1685         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
1686         (__ASSUME_TMPFS_NAME): Likewise.
1687         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
1688         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
1689         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
1690         (HAVE_AUX_SECURE): Make definition unconditional.
1691         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
1692         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
1694 2012-08-03  Roland McGrath  <roland@hack.frob.com>
1696         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
1697         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
1698         * sysdeps/mach/hurd/eloop-threshold.h: New file.
1699         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
1700         __eloop_threshold instead of SYMLOOP_MAX.
1702         * sysdeps/generic/eloop-threshold.h: New file.
1703         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
1704         of MAXSYMLINKS.
1705         * elf/chroot_canon.c (chroot_canon): Likewise.
1707 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
1709         [BZ #13717]
1710         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
1711         Change to 2.6.0 everywhere.
1712         * sysdeps/unix/sysv/linux/configure: Regenerated.
1713         * sysdeps/unix/sysv/linux/kernel-features.h
1714         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
1715         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
1716         kernel versions.
1717         (__ASSUME_POSIX_TIMERS): Define unconditionally.
1718         (__ASSUME_FUTEX_REQUEUE): Remove.
1719         (__ASSUME_STATFS64): Define unconditionally.
1720         (__ASSUME_AT_SECURE): Likewise.
1721         (__ASSUME_CORRECT_SI_PID): Likewise.
1722         (__ASSUME_TGKILL): Define without depending on kernel version for
1723         i386.
1724         (__ASSUME_UTIMES): Likewise.
1725         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
1726         kernel version.
1727         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
1728         (__ASSUME_TMPFS_NAME): Likewise.
1729         * README: Update reference to Linux kernel versions.
1731 2012-08-02  Marek Polacek  <polacek@redhat.com>
1733         [BZ# 14150]
1734         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
1735         libc_cv_asm_type_prefix with %.
1736         * configure: Regenerated.
1737         * include/libc-symbols.h: Remove comment about
1738         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
1739         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
1740         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
1741         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
1742         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
1743         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
1744         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
1745         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
1746         * elf/tst-unique2mod1.c: Likewise.
1747         * elf/tst-unique1mod2.c: Likewise.
1748         * elf/tst-unique1mod1.c: Likewise.
1749         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
1750         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
1751         Replace ASM_TYPE_DIRECTIVE with .type.
1752         * sysdeps/s390/s390-64/sysdep.h: Likewise.
1753         * sysdeps/i386/sysdep.h: Likewise.
1754         * sysdeps/x86_64/sysdep.h: Likewise.
1755         * sysdeps/sh/sysdep.h: Likewise.
1756         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
1757         Do not define ASM_TYPE_DIRECTIVE.
1758         * sysdeps/powerpc/sysdep.h: Likewise.
1759         * sysdeps/powerpc/powerpc32/sysdep.h:
1760         Replace ASM_TYPE_DIRECTIVE with .type.
1761         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
1762         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
1763         * sysdeps/i386/fpu/e_powf.S: Likewise.
1764         * sysdeps/i386/fpu/e_expl.S: Likewise.
1765         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
1766         * sysdeps/i386/fpu/e_acosh.S: Likewise.
1767         * sysdeps/i386/fpu/e_pow.S: Likewise.
1768         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
1769         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
1770         * sysdeps/i386/fpu/s_expm1.S: Likewise.
1771         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
1772         * sysdeps/i386/fpu/e_log2.S: Likewise.
1773         * sysdeps/i386/fpu/e_log2l.S: Likewise.
1774         * sysdeps/i386/fpu/e_scalb.S: Likewise.
1775         * sysdeps/i386/fpu/e_powl.S: Likewise.
1776         * sysdeps/i386/fpu/e_log10f.S: Likewise.
1777         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
1778         * sysdeps/i386/fpu/e_logl.S: Likewise.
1779         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
1780         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
1781         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
1782         * sysdeps/i386/fpu/e_log2f.S: Likewise.
1783         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
1784         * sysdeps/i386/fpu/e_log.S: Likewise.
1785         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
1786         * sysdeps/i386/fpu/e_logf.S: Likewise.
1787         * sysdeps/i386/fpu/e_log10l.S: Likewise.
1788         * sysdeps/i386/fpu/e_atanh.S: Likewise.
1789         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
1790         * sysdeps/i386/fpu/e_log10.S: Likewise.
1791         * sysdeps/i386/fpu/s_frexp.S: Likewise.
1792         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
1793         * sysdeps/i386/fpu/s_asinh.S: Likewise.
1794         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
1795         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
1796         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
1797         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
1798         * sysdeps/i386/i686/strtok.S: Likewise.
1799         * sysdeps/i386/i386-mcount.S: Likewise.
1800         * sysdeps/i386/strtok.S: Likewise.
1801         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
1802         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
1803         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
1804         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
1805         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
1806         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
1807         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
1808         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
1809         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
1810         * sysdeps/x86_64/_mcount.S: Likewise.
1811         * sysdeps/x86_64/strtok.S: Likewise.
1812         * sysdeps/sh/_mcount.S: Likewise.
1814 2012-08-01  Roland McGrath  <roland@hack.frob.com>
1816         * libio/iofopen.c: Include <fcntl.h>.
1817         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
1818         (_IO_fopen64, fopen64): Define as aliases.
1819         * libio/iofopen64.c: Include <fcntl.h>.
1820         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
1821         Conditionalize body on this.
1822         * sysdeps/wordsize-64/iofopen.c: File removed.
1823         * sysdeps/wordsize-64/iofopen64.c: File removed.
1825 2012-08-01  Marek Polacek  <polacek@redhat.com>
1827         * libc/Makeconfig: Use elf in place of binfmt-subdir.
1828         Use dlfcn directly instead of a variable.
1829         (binfmt-subdir): Do not define.
1830         (dlfcn): Likewise.
1832 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
1834         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
1835         Remove all definitions.
1836         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
1837         <kernel-features.h>.
1838         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
1839         (miss_F_GETOWN_EX): Remove all definitions.
1840         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
1841         macro definition.
1842         [!__ASSUME_FCNTL64]: Remove conditional code.
1843         [__ASSUME_FCNTL64]: Make code unconditional.
1844         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
1845         <kernel-features.h>.
1846         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
1847         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
1848         (lockf64) [__NR_fcntl64]: Make code unconditional.
1849         (lockf64) [__ASSUME_FCNTL64]: Likewise.
1851         * sysdeps/unix/sysv/linux/kernel-features.h
1852         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
1853         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
1854         Make code unconditional.
1855         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
1856         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
1857         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
1858         [__NR_vfork]: Make code unconditional.
1859         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
1860         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
1861         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
1862         [__NR_vfork]: Make code unconditional.
1863         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
1864         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
1866 2012-08-01  Roland McGrath  <roland@hack.frob.com>
1868         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
1869         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
1871         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
1872         Define mkstemp64 as an alias.
1873         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
1874         Define mkstemps64 as an alias.
1875         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
1876         Define mkostemp64 as an alias.
1877         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
1878         Define mkostemps64 as an alias.
1879         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
1880         Conditionalize body on this.
1881         * misc/mkostemp64.c: Likewise.
1882         * misc/mkostemps64.c: Likewise.
1883         * misc/mkstemps64.c: Likewise.
1884         * sysdeps/wordsize-64/mkstemp64.c: File removed.
1885         * sysdeps/wordsize-64/mkostemp64.c: File removed.
1886         * sysdeps/wordsize-64/mkostemp.c: File removed.
1887         * sysdeps/wordsize-64/mkstemp.c: File removed.
1888         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
1889         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
1890         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
1891         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
1893         [BZ #14138]
1894         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
1895         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
1896         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
1897         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
1899         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
1900         compat_symbol macros from <shlib-compat.h> rather than the underlying
1901         default_symbol_version and symbol_version macros, so that DEFAULT
1902         lines in shlib-versions are respected.
1903         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
1905 2012-08-01  Florian Weimer  <fweimer@redhat.com>
1907         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
1908         Declare with warn_unused_result.
1909         (setgid, setregid, setegid, setresgid): Likewise.
1910         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
1911         Likewise.
1912         * WUR-REPORT: Remove set*id functions.
1914 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
1916         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
1918 2012-07-31  Roland McGrath  <roland@hack.frob.com>
1920         * include/sys/socket.h (__libc_accept, __libc_accept4):
1921         Add attribute_hidden.
1922         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
1924         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
1925         use of PTR_MANGLE.
1926         * inet/getnetgrent_r.c (setup): Likewise.
1928         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
1930 2012-07-31  David S. Miller  <davem@davemloft.net>
1932         * sysdeps/sparc/fpu/libm-test-ulps: Update.
1934 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
1936         [BZ #13629]
1937         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
1938         value between 1.0 and 2.0 and smaller part has absolute value less
1939         than 1.0.
1940         * math/s_clog10.c (__clog10): Likewise.
1941         * math/s_clog10f.c (__clog10f): Likewise.
1942         * math/s_clog10l.c (__clog10l): Likewise.
1943         * math/s_clogf.c (__clogf): Likewise.
1944         * math/s_clogl.c (__clogl): Likewise.
1945         * math/libm-test.inc (clog_test): Add more tests.
1946         (clog10_test): Likewise.
1947         * sysdeps/i386/fpu/libm-test-ulps: Update.
1948         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1950 2012-07-31  Florian Weimer  <fweimer@redhat.com>
1952         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
1953         Exit with zero in case no suitable GID is found, and write a
1954         message to standard error.
1956 2012-07-30  Roland McGrath  <roland@hack.frob.com>
1958         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
1959         rather than to 1.
1960         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
1961         (MAXPATHLEN): Removed.
1962         (NOGROUP, NODEV): New macros.
1963         (setbit, clrbit, isset, isclr): New macros.
1964         (howmany, roundup, powerof2): New macros.
1965         (DEV_BSIZE): New macro.
1967         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
1968         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
1970         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
1971         definition on [!__NO_LONG_DOUBLE_MATH].
1973         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
1974         PTR_MANGLE and PTR_DEMANGLE.
1976         * socket/accept4.c (accept4): Rename to __libc_accept4.
1977         Define accept4 as a weak alias.
1979         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
1980         on [_DIRENT_HAVE_D_TYPE].
1981         * io/ftw.c (ftw_dir): Likewise.
1983         * io/xmknod.c (__xmknod): Don't check PATH for being null.
1985         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
1987         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
1988         Use the BSD numbers rather than the arbitrary ones we had.
1989         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
1990         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
1991         (SIGXCPU, SIGXFSZ): New macros.
1992         (_NSIG): Now 32.
1994         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
1995         initializer on [_LIBC_REENTRANT].
1997         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
1998         definitions inside [_POSIX_MAPPED_FILES].
2000         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
2002         * dirent/opendir.c: Include <fcntl.h>.
2004         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
2005         (__libc_getspecific): Likewise.
2006         (__libc_key_create): Likewise.
2008         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
2009         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
2010         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
2011         (tmpfile64): Define as alias.
2012         * sysdeps/wordsize-64/tmpfile.c: File removed.
2013         * sysdeps/wordsize-64/tmpfile64.c: File removed.
2014         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
2015         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
2017         * stdio-common/vfscanf.c: Include <stdbool.h>.
2018         * nss/makedb.c: Likewise.
2019         * stdio-common/_i18n_number.h: Likewise.
2020         * argp/argp-help.c: Likewise.
2021         * posix/wordexp.c: Likewise.
2022         * sysdeps/posix/spawni.c: Likewise.
2023         * nss/nss_files/files-initgroups.c: Likewise.
2024         * stdio-common/reg-modifier.c: Include <stdlib.h>.
2025         * nss/nss_files/files-initgroups.c: Likewise.
2026         * nss/nss_db/db-netgrp.c: Likewise.
2027         * nss/nss_db/db-initgroups.c: Likewise.
2028         * io/fchmodat.c: Include <sys/stat.h>.
2030         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
2031         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
2033         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
2034         [HAVE_MMAP].
2036         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
2037         Add multiple inclusion protection.
2039 2012-07-27  David S. Miller  <davem@davemloft.net>
2041         * sysdeps/sparc/fpu/libm-test-ulps: Update.
2043 2012-07-27  Gary Benson  <gbenson@redhat.com>
2045         [BZ #14298]
2046         * elf/rtld.c: Include <stap-probe.h>.
2047         (dl_main): Added static probes "init_start" and "init_complete".
2048         * elf/dl-load.c: Include <stap-probe.h>.
2049         (lose): Take new parameter "nsid".
2050         Added static probe "map_failed".
2051         (_dl_map_object_from_fd): Pass namespace id to lose.
2052         Added static probe "map_start".
2053         (open_verify): Pass namespace id to lose.
2054         * elf/dl-open.c: Include <stap-probe.h>.
2055         (dl_open_worker) Added static probes "map_complete", "reloc_start"
2056         and "reloc_complete".
2057         * elf/dl-close.c: Include <stap-probe.h>.
2058         (_dl_close_worker): Added static probes "unmap_start" and
2059         "unmap_complete".
2060         * elf/rtld-debugger-interface.txt: New file documenting the above.
2062 2012-07-26  Roland McGrath  <roland@hack.frob.com>
2064         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
2065         rather than a string variable.
2066         * sunrpc/rpc_main.c (h_output): Likewise.
2067         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
2069 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
2071         * inet/check_native.c: New file.
2073 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
2075         [BZ #13629]
2076         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
2077         if larger part has absolute value 1.0.
2078         * math/s_clog10.c (__clog10): Likewise.
2079         * math/s_clog10f.c (__clog10f): Likewise.
2080         * math/s_clog10l.c (__clog10l): Likewise.
2081         * math/s_clogf.c (__clogf): Likewise.
2082         * math/s_clogl.c (__clogl): Likewise.
2083         * math/libm-test.inc (clog_test): Add more tests.
2084         (clog10_test): Likewise.
2085         * sysdeps/i386/fpu/libm-test-ulps: Update.
2086         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2088         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
2089         (pltexit): Likewise.
2090         (La_regs): Likewise.
2091         (La_retval): Likewise.
2092         (int_retval): Likewise.
2093         Update #error for removed macros to refer only to definitions in
2094         tst-audit.h.
2095         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
2096         macro.
2097         (pltexit): Likewise.
2098         (La_regs): Likewise.
2099         (La_retval): Likewise.
2100         (int_retval): Likewise.
2101         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
2102         macro.
2103         (pltexit): Likewise.
2104         (La_regs): Likewise.
2105         (La_retval): Likewise.
2106         (int_retval): Likewise.
2107         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
2108         macro.
2109         (pltexit): Likewise.
2110         (La_regs): Likewise.
2111         (La_retval): Likewise.
2112         (int_retval): Likewise.
2113         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
2114         macro.
2115         (pltexit): Likewise.
2116         (La_regs): Likewise.
2117         (La_retval): Likewise.
2118         (int_retval): Likewise.
2119         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
2120         macro.
2121         (pltexit): Likewise.
2122         (La_regs): Likewise.
2123         (La_retval): Likewise.
2124         (int_retval): Likewise.
2125         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
2126         macro.
2127         (pltexit): Likewise.
2128         (La_regs): Likewise.
2129         (La_retval): Likewise.
2130         (int_retval): Likewise.
2131         * sysdeps/generic/tst-audit.h: Update comment to refer only to
2132         macro definitions in tst-audit.h.
2133         * sysdeps/i386/tst-audit.h: New file.
2134         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
2135         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
2136         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
2137         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
2138         * sysdeps/sh/tst-audit.h: Likewise.
2139         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
2140         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
2141         * sysdeps/x86_64/tst-audit.h: Likewise.
2143 2012-07-26  Andreas Jaeger  <aj@suse.de>
2145         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
2146         ptrace.
2148         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
2149         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
2150         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
2151         PTRACE_O_MASK.
2152         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
2153         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
2154         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
2156         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
2157         value.
2159         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
2160         _sigsys.
2161         (si_call_addr, si_syscall, si_arch): Define new macro.
2162         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
2163         _sigsys.
2164         (si_call_addr, si_syscall, si_arch): Define new marcro.
2165         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
2166         _sigsys.
2167         (si_call_addr, si_syscall, si_arch): Define new macro.
2168         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
2169         _sigsys.
2170         (si_call_addr, si_syscall, si_arch): Define new macro.
2172 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
2174         [BZ #13717]
2175         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
2176         Change to 2.4.21 where previously 2.4.1.
2177         * sysdeps/unix/sysv/linux/configure: Regenerated.
2178         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
2179         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
2180         Linux kernel version.
2181         (__ASSUME_STD_AUXV): Remove.
2182         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
2183         kernel version.
2184         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
2185         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
2186         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
2187         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
2188         (__ASSUME_NETLINK_SUPPORT): Likewise.
2189         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
2190         (__no_netlink_support): Remove conditional definition.
2191         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
2192         Remove.
2193         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
2194         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
2195         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
2196         (if_nameindex_ioctl): Remove.
2197         (if_nameindex_netlink): Do not handle __no_netlink_support.
2198         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
2199         code.
2200         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
2201         Remove conditional code.
2202         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
2203         code.
2204         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
2205         unconditional.
2206         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
2207         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
2208         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
2209         Remove.
2210         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
2211         [!__ASSUME_STD_AUXV]: Remove conditional code.
2212         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
2213         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
2214         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
2215         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
2216         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
2217         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
2218         code.
2219         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
2220         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
2221         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
2222         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
2223         conditional code.
2224         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
2225         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
2226         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
2227         code.
2228         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
2229         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
2230         conditional code.
2231         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
2232         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
2233         code unconditional.
2234         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
2235         conditional code.
2236         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
2237         unconditional.
2238         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
2239         conditional code.
2240         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
2241         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
2242         unconditional.
2243         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
2244         conditional code.
2245         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
2246         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
2247         code unconditional.
2248         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
2249         conditional code.
2250         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
2251         unconditional.
2252         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
2253         conditional code.
2254         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
2255         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
2256         code unconditional.
2257         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
2258         conditional code.
2259         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
2260         unconditional.
2261         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
2262         conditional code.
2264 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
2266         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
2267         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
2268         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
2269         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
2270         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
2271         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
2272         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
2273         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
2274         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
2275         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
2276         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
2277         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
2278         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
2279         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
2280         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
2281         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
2282         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
2283         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
2284         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
2285         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
2286         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
2287         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
2288         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
2290 2012-07-25  Florian Weimer  <fweimer@redhat.com>
2292         * Versions.def: Add GLIBC_2.17.
2293         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
2294         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
2295         Introduce __libc_secure_getenv.
2296         * stdlib/Versions (2.17): Add secure_getenv
2297         (GLIBC_PRIVATE): Add __libc_secure_getenv.
2298         * stdlib/secure-getenv.c: Rename __secure_getenv to
2299         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
2300         symbol __secure_getenv for GLIBC_2.0.
2301         * stdlib/tst-secure-getenv.c: New.
2302         * stdlib/Makefile (tests): Add testcase.
2303         * manual/startup.texi (Environment Access): Document
2304         secure_getenv.
2305         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
2306         __libc_secure_getenv.
2307         * inet/ruserpass.c (ruserpass): Likewise.
2308         * malloc/mtrace.c (mtrace): Likewise.
2309         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
2310         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
2311         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
2312         * sysdeps/posix/tempname.c: Likewise.  Evaluate
2313         HAVE_SECURE_GETENV.
2314         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
2315         __secure_getenv to __libc_secure_getenv.
2316         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
2317         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
2318         Likewise.
2319         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
2320         Likewise.
2321         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
2322         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
2323         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
2324         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
2325         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
2326         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
2327         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
2329 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
2331         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
2332         (struct La_i86_retval): Likewise.
2333         (struct La_x86_64_regs): Likewise.
2334         (struct La_x86_64_retval): Likewise.
2335         (struct La_x32_regs): Likewise.
2336         (struct La_x32_retval): Likewise.
2337         (struct La_ppc32_regs): Likewise.
2338         (struct La_ppc32_retval): Likewise.
2339         (struct La_ppc64_regs): Likewise.
2340         (struct La_ppc64_retval): Likewise.
2341         (struct La_sh_regs): Likewise.
2342         (struct La_sh_retval): Likewise.
2343         (struct La_s390_32_regs): Likewise.
2344         (struct La_s390_32_retval): Likewise.
2345         (struct La_s390_64_regs): Likewise.
2346         (struct La_s390_64_retval): Likewise.
2347         (struct La_sparc32_regs): Likewise.
2348         (struct La_sparc32_retval): Likewise.
2349         (struct La_sparc64_regs): Likewise.
2350         (struct La_sparc64_retval): Likewise.
2351         (struct audit_ifaces): Remove architecture-specific pltenter and
2352         pltexit members.
2353         * sysdeps/i386/ldsodefs.h: New file.
2354         * sysdeps/powerpc/ldsodefs.h: Likewise.
2355         * sysdeps/s390/ldsodefs.h: Likewise.
2356         * sysdeps/sh/ldsodefs.h: Likewise.
2357         * sysdeps/sparc/ldsodefs.h: Likewise.
2358         * sysdeps/x86_64/ldsodefs.h: Likewise.
2360 2012-07-25  Marek Polacek  <polacek@redhat.com>
2362         [BZ #6808]
2363         * math/libm-test.inc (yn_test): Add another test.
2364         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
2365         to ERANGE when the result is +-Inf.
2366         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
2367         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
2368         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
2369         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
2371 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
2373         * conform/data/time.h-data (NULL): Use macro-constant.  Require
2374         equal to 0.
2375         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
2376         clock_t.
2377         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
2379 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
2381         * configure.in <sysdeps resolving>: Correct printing
2382         Implies_before.
2383         * configure: Regenerate.
2385 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
2387         * math/w_ilogb.c: Include <limits.h>.
2388         * math/w_ilogbl.c: Likewise.
2390 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
2392         * manual/lang.texi (__va_copy): Document primarily as ISO C99
2393         va_copy.  Document allowing for unavailable va_copy only as
2394         pre-C99 compatibility.
2395         * manual/string.texi (Copying and Concatenation): Use va_copy
2396         instead of __va_copy in concat example.
2398 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
2400         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
2401         (__sendto): Use create_address_port.  Initialize APORT and deallocate
2402         it if not null.
2404         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
2405         with O_NOLINK passed to __file_name_lookup.
2407         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
2408         with O_NOLINK passed to __file_name_lookup.
2410         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
2411         negative N or less than NGIDS.
2413         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
2414         type to string_t.  Set ERANGE as errno and return it if NAME is not big
2415         enough.  Use memcpy instead of strncpy.
2417 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
2419         * elf/Makefile (check-data): Remove.
2420         (localplt.data): New vpath directive.
2421         ($(objpfx)check-localplt.out): Use localplt.data from vpath
2422         instead of $(check-data).
2423         * scripts/data/localplt-generic.data: Move to ...
2424         * sysdeps/generic/localplt.data: ... here.
2425         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
2426         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
2427         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
2428         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
2429         ... here.
2430         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
2431         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
2432         ... here.
2433         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
2434         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
2435         ... here.
2436         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
2437         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
2438         ... here.
2439         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
2440         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
2441         ... here.
2442         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
2443         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
2444         ... here.
2446 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2448         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
2449         PPC32 and PPC64 files.
2450         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
2451         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
2453 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
2455         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
2456         __makecontext_ret to ...
2457         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
2458         ... here and call exit if uc_link is NULL.  New file.
2459         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
2460         __makecontext_ret.S.
2461         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
2462         __makecontext_ret to ...
2463         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
2464         ... here and call exit if uc_link is NULL.  New file.
2465         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
2466         __makecontext_ret.S.
2468 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
2470         * elf/elf.h (R_390_IRELATIVE): New definition.
2471         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
2472         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
2473         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
2474         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
2475         (elf_machine_lazy_rel): Likewise.
2476         * sysdeps/s390/dl-irel.h: New file.
2477         * sysdeps/s390/s390-64/memcpy.S: New asm code.
2478         * sysdeps/s390/s390-64/memset.S: New asm code.
2479         * sysdeps/s390/s390-64/memcmp.S: New asm code.
2480         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
2481         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
2482         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
2483         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
2484         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
2485         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
2486         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
2487         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
2488         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
2489         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
2490         * sysdeps/s390/s390-32/memcpy.S: New asm code.
2491         * sysdeps/s390/s390-32/memset.S: New asm code.
2492         * sysdeps/s390/s390-32/memcmp.S: New asm code.
2494 2012-07-17  Marek Polacek  <polacek@redhat.com>
2496         [BZ #14349]
2497         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
2498         * sysdeps/s390/s390-64/configure.in: Likewise.
2499         * sysdeps/sparc/configure.in: Likewise.
2500         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
2501         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
2502         * sysdeps/i386/configure.in: Likewise.
2503         * sysdeps/x86_64/configure.in: Likewise.
2504         * sysdeps/sh/configure.in: Likewise.
2505         * sysdeps/s390/s390-32/configure: Regenerated.
2506         * sysdeps/s390/s390-64/configure: Likewise.
2507         * sysdeps/x86_64/configure: Likewise.
2508         * sysdeps/sh/configure: Likewise.
2509         * sysdeps/powerpc/powerpc64/configure: Likewise.
2510         * sysdeps/powerpc/powerpc32/configure: Likewise.
2511         * sysdeps/sparc/configure: Likwise.
2512         * sysdeps/i386/configure: Likewise.
2514         * elf/dl-open.c: Comment fixes.
2516 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
2518         * Makefile [CXX] (check-data): Remove.
2519         [CXX] (c++-types.data): New vpath directive.
2520         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
2521         vpath.  Do not allow for C++ type data being missing.
2522         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
2523         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
2524         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
2525         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
2526         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
2527         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
2528         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
2529         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
2530         ... here.
2531         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
2532         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
2533         ... here.
2534         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
2535         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
2536         ... here.
2537         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
2538         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
2539         ... here.
2540         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
2541         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
2542         ... here.
2543         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
2544         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
2545         ... here.
2546         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
2547         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
2548         ... here.
2549         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
2550         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
2552         * elf/tls-macros.h (TLS_LE): Move architecture-specific
2553         definitions to architecture-specific files.
2554         (TLS_IE): Likewise.
2555         (TLS_LD): Likewise.
2556         (TLS_GD): Likewise.
2557         * sysdeps/i386/tls-macros.h: New file.
2558         * sysdeps/powerpc/tls-macros.h: Likewise.
2559         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
2560         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
2561         * sysdeps/sh/tls-macros.h: Likewise.
2562         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
2563         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
2564         * sysdeps/x86_64/tls-macros.h: Likewise.
2566 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
2568         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
2569         zero value for regular exit case.
2571         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
2572         (__start_context): Preserve zero value for regular exit case.
2574 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
2575             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
2577         * manual/setjmp.texi (setcontext): Clarify normal process
2578         termination when uc_link is the null pointer.
2579         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
2580         exit call.
2582 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
2584         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
2585         preprocessor.  Test for each exception mask separately.
2587 2012-07-16  Andreas Jaeger  <aj@suse.de>
2589         * po/ru.po: Update from translation team.
2591 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
2593         * conform/data/string.h-data (NULL): Use macro-constant.  Require
2594         equal to 0.
2595         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
2596         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
2597         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
2598         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
2599         [ISO || ISO99 || ISO11] (*_t): Do not allow.
2601 2012-07-13  Andreas Jaeger  <aj@suse.de>
2603         * po/fr.po: Update from translation team.
2605 2012-07-12  Marek Polacek  <polacek@redhat.com>
2607         [BZ #14173]
2608         * math/libm-test.inc (yn_test): Add test for BZ #14173.
2609         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
2610         loop condition.
2612 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
2614         [BZ #13717]
2615         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
2616         Change to 2.4.1 where previously 2.4.0.
2617         * sysdeps/unix/sysv/linux/configure: Regenerated.
2618         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
2619         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
2620         version.
2621         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
2622         (__ASSUME_AT_CLKTCK): Remove.
2623         (__ASSUME_AT_PAGESIZE): Likewise.
2624         (__ASSUME_AT_XID): Likewise.
2625         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
2626         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
2627         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
2628         unconditionally.
2629         (HAVE_AUX_PAGESIZE): Likewise.
2630         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
2631         [__ASSUME_AT_CLKTCK]: Make code unconditional.
2632         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
2634 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
2636         [BZ #14307]
2637         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
2638         the temporary buffer used to invoke __gethostbyname2_r,
2639         __gethostbyaddr_r and gethostbyname4_r to make room for struct
2640         host_data / struct gaih_addrtuple.
2641         * resolv/nss_dns/dns-host.c (global scope): Move definition of
2642         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
2643         header file nss/nsswitch.h.
2644         * nss/nsswitch.h (global scope): Add definition of implementation
2645         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
2646         resolv/nss_dns/dns-host.c).
2648 2012-07-11  Andreas Jaeger  <aj@suse.de>
2650         * po/fr.po: Update from translation team.
2652         * po/sv.po: Update from translation team
2653         * po/fr.po: Another update from translation team.
2655 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2657         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
2658         for subnormals or multiply small sinh result by itself.
2659         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
2660         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2662 2012-07-11  David S. Miller  <davem@davemloft.net>
2664         * sysdeps/sparc/fpu/libm-test-ulps: Update.
2666 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
2668         [BZ #14347]
2669         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
2670         (INTERNAL_MARK): Shift it here.
2672 2012-07-10  Marek Polacek  <polacek@redhat.com>
2674         [BZ #14151]
2675         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
2676         libc_cv_asm_global_directive with .globl.
2677         * configure: Regenerated.
2678         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
2679         with .globl.
2680         * sysdeps/i386/configure: Regenerated.
2681         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
2682         with .globl.
2683         * sysdeps/x86_64/configure: Regenerated.
2684         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
2685         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
2686         * elf/tst-unique2mod2.c: Likewise.
2687         * elf/tst-unique2mod1.c: Likewise.
2688         * elf/tst-unique1mod2.c: Likewise.
2689         * elf/tst-unique1mod1.c: Likewise.
2690         * sysdeps/s390/s390-32/sysdep.h: Likewise.
2691         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
2692         * sysdeps/s390/s390-64/sysdep.h: Likewise.
2693         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
2694         * sysdeps/mach/sysdep.h: Likewise.
2695         * sysdeps/i386/sysdep.h: Likewise.
2696         * sysdeps/i386/i386-mcount.S: Likewise.
2697         * sysdeps/x86_64/_mcount.S: Likewise.
2698         * sysdeps/x86_64/sysdep.h: Likewise.
2699         * sysdeps/sh/_mcount.S: Likewise.
2700         * sysdeps/sh/sysdep.h: Likewise.
2701         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
2702         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
2703         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
2704         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
2705         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
2706         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
2707         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
2708         * locale/localeinfo.h: Likewise.
2709         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
2710         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
2712 2012-07-09  Roland McGrath  <roland@hack.frob.com>
2714         [BZ #14336]
2715         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
2716         system".
2717         * manual/message.texi (The Uniforum approach): Likewise.
2718         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
2719         (glibc iconv Implementation): Likewise.
2721 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
2723         [BZ #14337]
2724         * math/s_clog.c (__clog): Avoid scaling a value down where that
2725         could result in underflow.
2726         * math/s_clog10.c (__clog10): Likewise.
2727         * math/s_clog10f.c (__clog10f): Likewise.
2728         * math/s_clog10l.c (__clog10l): Likewise.
2729         * math/s_clogf.c (__clogf): Likewise.
2730         * math/s_clogl.c (__clogl): Likewise.
2731         * math/libm-test.inc (clog_test): Add more tests.
2732         (clog10_test): Likewise.
2733         * sysdeps/i386/fpu/libm-test-ulps: Update.
2734         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2736 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
2738         [BZ #14283]
2739         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
2740         by 7 not 8 to examine high bit of fractional part.
2742         [BZ #14042]
2743         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
2744         for call to __mcount_internal.
2745         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
2746         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
2747         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
2749 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
2751         [BZ #14154]
2752         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
2753         approximation for values within 0x1p-13f of an odd multiple of
2754         pi/4.
2755         * math/libm-test.inc (tan_test): Do not allow spurious underflow
2756         exception.  Add more tests.
2757         * sysdeps/i386/fpu/libm-test-ulps: Update.
2759         [BZ #6778]
2760         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
2761         inputs and return -1 for them.  Do not check for +Inf in case not
2762         reachable for +Inf.
2763         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
2764         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
2765         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
2766         and return -1 for them.  Do not check for +Inf in case not
2767         reachable for +Inf.
2768         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
2769         define.
2770         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
2771         and return -1 for them.  Do not check for +Inf in case not
2772         reachable for +Inf.
2773         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
2774         spurious underflow.
2775         * sysdeps/i386/fpu/libm-test-ulps: Update.
2776         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2778 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
2780         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
2782 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
2784         [BZ #14157]
2785         [BZ #14331]
2786         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
2787         could result in spurious underflow.  Scale down values above
2788         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
2789         * math/s_csqrtf.c (__csqrtf): Likewise.
2790         * math/s_csqrtl.c (__csqrtl): Likewise.
2791         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
2792         spurious underflow.
2793         * sysdeps/i386/fpu/libm-test-ulps: Update.
2794         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2796 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
2798         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
2799         xopen-msg.sed.
2800         * catgets/xopen-msg.awk: New file.
2801         * catgets/xopen-msg.sed: Removed.
2803         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
2804         po2text.sed.
2805         * intl/po2test.awk: New file.
2806         * intl/po2test.sed: Removed.
2808 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
2810         [BZ #14328]
2811         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
2812         or multiply small sinh result by itself.
2813         * math/s_ctanf.c (__ctanf): Likewise.
2814         * math/s_ctanh.c (__ctanh): Likewise.
2815         * math/s_ctanhf.c (__ctanhf): Likewise.
2816         * math/s_ctanhl.c (__ctanhl): Likewise.
2817         * math/s_ctanl.c (__ctanl): Likewise.
2818         * math/libm-test.inc (ctan_test_tonearest): New function.
2819         (ctan_test_towardzero): Likewise.
2820         (ctan_test_downward): Likewise.
2821         (ctan_test_upward): Likewise.
2822         (ctanh_test_tonearest): Likewise.
2823         (ctanh_test_towardzero): Likewise.
2824         (ctanh_test_downward): Likewise.
2825         (ctanh_test_upward): Likewise.
2826         (main): Call these new functions.
2827         * sysdeps/i386/fpu/libm-test-ulps: Update.
2828         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2830 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
2832         * .gitignore: Delete /ports entry.
2834 2012-07-03  Andreas Jaeger  <aj@suse.de>
2836         * po/bg.po: Update from translation team.
2837         * po/cs.po: Likewise.
2838         * po/de.po: Likewise.
2839         * po/hr.po: Likewise.
2840         * po/nl.pl: Likewise.
2841         * po/pl.po: Likewise.
2842         * po/vi.po: Likewise.
2844 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
2846         * Makeconfig [!+link] (+link-before-libc): New variable.
2847         [!+link] (+link-after-libc): Likewise.
2848         [!+link] (+link-tests): Likewise.
2849         [!+link] (+link): Define in terms of $(+link-before-libc) and
2850         $(+link-after-libc).
2851         [!+link-static] (+link-static-before-libc): New variable.
2852         [!+link-static] (+link-static-after-libc): Likewise.
2853         [!+link-static] (+link-static-tests): Likewise.
2854         [!+link-static] (+link-static): Define in terms of
2855         $(+link-static-before-libc) and $(+link-static-after-libc).
2856         [build-shared] (link-libc-before-gnulib): New variable.
2857         [build-shared] (link-libc-tests): Likewise.
2858         [build-shared] (link-libc): Define in terms of
2859         $(link-libc-before-gnulib).
2860         [!build-shared] (link-libc-tests): New variable.
2861         (link-libc-static-tests): New variable.
2862         [!gnulib] (gnulib-arch): New variable.
2863         [!gnulib] (gnulib-tests): Likewise.
2864         [!gnulib] (static-gnulib-arch): Likewise.
2865         [!gnulib] (static-gnulib-tests): Likewise.
2866         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
2867         Define with "=" instead of ":=".
2868         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
2869         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
2870         * Rules (binaries-all-notests): New variable.
2871         (binaries-all-tests): Likewise.
2872         (binaries-static-notests): Likewise.
2873         (binaries-static-tests): Likewise.
2874         (binaries-all): Define using $(binaries-all-notests) and
2875         $(binaries-all-tests).
2876         (binaries-static): Define using $(binaries-static-notests) and
2877         $(binaries-static-tests).
2878         (binaries-shared-tests): New variable.
2879         (binaries-shared-notests): Likewise.
2880         (binaries-shared): Remove variable.
2881         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
2882         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
2883         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
2884         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
2885         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
2886         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
2887         * elf/Makefile (sln-modules): New variable.
2888         (extra-objs): Add $(sln-modules:=.o).
2889         (ldconfig-modules): Add static-stubs.
2890         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
2891         * elf/static-stubs.c: New file.
2893         [BZ #14283]
2894         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
2895         by 7 not 8 to examine high bit of fractional part.  Use volatile
2896         variables when splitting into final array of floats if
2897         __FLT_EVAL_METHOD__ != 0.
2898         * math/libm-test.inc (cos_test): Add another test.
2899         (sin_test): Likewise.
2900         * sysdeps/i386/fpu/libm-test-ulps: Update.
2902         [BZ #14273]
2903         * math/libm-test.inc (cosh_test): Add more tests.
2905         * version.h (RELEASE): Set to "development".
2906         (VERSION): Set to "2.16.90".
2908 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
2910         * NEWS: Update copyright. Remove last-updated date.
2911         Mention math library bug fixes and timezone data changes.
2912         * README: Mention GNU/Hurd, x32, and HPPA support status.
2914 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
2916         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
2918 2012-06-27  Andreas Jaeger  <aj@suse.de>
2920         * manual/contrib.texi (Contributors): Add Samuel Thibault.
2922 2012-06-25  Andreas Jaeger  <aj@suse.de>
2924         * sysdeps/s390/fpu/libm-test-ulps: Update.
2926 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
2927             Thomas Schwinge  <thomas@codesourcery.com>
2929         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
2930         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
2931         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
2932         fanotify_mark.
2934 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
2936         * sysdeps/mach/start.c: Remove file.
2937         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
2938         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
2939         * sysdeps/sh/init-first.c: Likewise.
2941         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
2942         registers for frame unwinding purposes, add CFI directives.
2943         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
2944         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
2945         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
2946         Likewise.
2948         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
2949         __fortify_fail returning.
2950         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
2952         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
2953         sysdeps/sh/____longjmp_chk.S.
2954         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
2955         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
2956         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
2957         (gen-as-const-headers): Append sigaltstack-offsets.sym.
2959         * sysdeps/sh/abort-instr.h: New file.
2960         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
2961         process in case exit returns.
2963         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
2964         initialize the GOT register before use.
2966         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
2967         calculation of ARGC > 4.
2969         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
2970         meaningful names to some local labels.
2972 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
2973             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
2975         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
2976         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
2977         (__arch_compare_and_exchange_val_16_acq): Likewise.
2978         (__arch_compare_and_exchange_val_32_acq): Likewise.
2979         (atomic_exchange_and_add): Fix gUSA sequence.
2980         (atomic_add): Likewise.
2981         (atomic_add_negative): Likewise.
2982         (atomic_add_zero): Likewise.
2983         (atomic_bit_test_set): Likewise.
2985 2012-06-22  Andreas Schwab  <schwab@redhat.com>
2987         [BZ #13579]
2988         * include/link.h (struct link_map): Add l_free_initfini.
2989         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
2990         l_initfini.
2991         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
2992         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
2993         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
2994         set.
2996 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
2998         * configure.in: Use AC_LANG_SOURCE.
2999         * configure: Regenerate.
3001 2012-06-22  Roland McGrath  <roland@hack.frob.com>
3003         * configure.in (libc_cv_localstatedir): New substituted variable.
3004         * configure: Regenerated.
3005         * config.make.in (localstatedir): New variable, substituted from
3006         libc_cv_localstatedir.
3007         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
3008         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
3009         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
3010         * sysdeps/gnu/configure: Regenerated.
3012 2012-06-21  Jeff Law  <law@redhat.com>
3014         [BZ #14277]
3015         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
3016         free.  Simplify list management for _LIBC case.
3018 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
3020         [BZ #14273]
3021         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
3022         Clear sign bit of 64-bit integer value before comparing against
3023         overflow value.
3025         * sysdeps/mach/configure: Regenerated.
3027 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
3029         [BZ #14278]
3030         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
3032 2012-06-21  Jeff Law  <law@redhat.com>
3034         [BZ #13882]
3035         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
3036         uint16_t for elements in the "seen" array to avoid char overflows.
3037         * elf/dl-fini.c (_dl_sort_fini): Likewise.
3038         * elf/dl-open.c (dl_open_worker): Likewise.
3040 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
3042         * scripts/list-sources.sh: Scan PORTS for translations.
3043         * po/libc.pot: Regenerated.
3045 2012-06-21  Andreas Jaeger  <aj@suse.de>
3047         [BZ #12194]
3048         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
3049         warning.
3050         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
3051         * bits/byteswap-16.h (__bswap_16): Likewise.
3052         * bits/byteswap.h (__bswap_constant_16): Likewise.
3054 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
3056         [BZ #14117]
3057         * sysdeps/i386/fpu_control.h: Removed.
3058         * sysdeps/x86_64/fpu_control.h: Moved to ...
3059         * sysdeps/x86/fpu_control.h: Here.
3061         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
3062         (_FPU_SETCW): Likewise.
3064 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
3066         [BZ #14117]
3067         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
3068         * sysdeps/x86/fpu/bits/mathinline.h: This.
3069         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
3071         [BZ #14050]
3072         [BZ #14117]
3073         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
3074         functions if __x86_64__ is defined.
3076 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
3078         * string/endian.h: Add !__ASSEMBLER__ condition for including
3079         conversion interfaces.
3081 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
3083         [BZ #14241]
3084         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
3085         of ABS(x) in calculating zero to negative powers other than odd
3086         integers.
3087         * math/libm-test.inc (pow_test): Add more tests.
3089 2012-06-15  Andreas Jaeger  <aj@suse.de>
3091         * manual/contrib.texi (Contributors): Update entry of Liubov
3092         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
3093         Machado Filho.
3095 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
3097         * string/string.h: Add __wur to GNU version of strerror_r.
3099 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
3101         [BZ #14229]
3102         * string/Makefile (tests): Add tst-strtok_r.
3103         * string/tst-strtok_r.c: New file.
3104         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
3105         RAX_LP/RDX_LP on SAVE_PTR.
3107 2012-06-14  Roland McGrath  <roland@hack.frob.com>
3109         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
3111 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
3113         * libm_test.inc (csqrt_test): Allow more spurious underflow
3114         exceptions.
3115         (j0_test): Likewise.
3116         (j1_test): Likewise.
3117         (y0_test): Likewise.
3118         (y1_test): Likewise.
3120 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
3122         * po/Makefile (libc.pot): Use UTF-8 charset.
3124 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
3126         [BZ #14210]
3127         Suppress sign-conversion warning from FD_SET.
3128         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
3129         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
3130         not unsigned long int.
3131         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
3133 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
3135         [BZ #14050]
3136         [BZ #14117]
3137         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
3138         __extern_always_inline instead of __extern_inline.
3139         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
3140         (__signbit): Likewise.
3141         (__signbitl): Support C++ namespace.
3142         (lrintf): New inline function.
3143         (lrint): Likewise.
3144         (llrintf): Likewise.
3145         (llrint): Likewise.
3146         (fmaxf): Likewise.
3147         (fmax): Likewise.
3148         (fminf): Likewise.
3149         (fmin): Likewise.
3150         (rint): Likewise.
3151         (rintf): Likewise.
3152         (ceil): Likewise.
3153         (ceilf): Likewise.
3154         (floor): Likewise.
3155         (floorf): Likewise.
3156         (nearbyint): Likewise.
3157         (nearbyintf): Likewise.
3159 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
3161         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
3162         non-default versions.
3164 2012-06-11  Roland McGrath  <roland@hack.frob.com>
3166         [BZ #14218]
3167         * manual/argp.texi (Argp): Reword argp_parse description slightly.
3169 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
3171         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
3172         (FE_UPWARD, FE_DOWNWARD): Don't define.
3173         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
3174         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
3176         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
3177         reading it.
3178         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
3179         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
3181 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
3183         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
3184         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
3185         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
3186         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
3188 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
3190         [BZ #14117]
3191         * sysdeps/i386/fpu/bits/fenv.h: Removed.
3192         * sysdeps/i386/fpu/Implies: New file.
3193         * sysdeps/x86_64/fpu/Implies: Likewise.
3194         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
3195         * sysdeps/x86/fpu/bits/fenv.h: This.
3197         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
3198         __SSE_MATH__.
3200 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
3202         [BZ #14134]
3203         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
3204         character 0xffff that matches the last element of the
3205         conversion table.
3207 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3209         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
3210         fmodl commit.
3212 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3214         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
3215         values higher than 25.6283.
3217 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3219         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
3220         subnormal exponent extraction and add some __builtin_expect.
3221         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
3222         Fix for subnormal mantissa calculation.
3224 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
3226         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
3227         cpu2 is -1 and errno is not ENOSYS.
3229 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
3231         [BZ #14117]
3232         * sysdeps/i386/i486/bits/string.h: Renamed to ...
3233         * sysdeps/x86/bits/string.h: This.
3234         * sysdeps/x86_64/bits/string.h: Removed.
3236         * sysdeps/i386/i486/bits/string.h: Define inline functions only
3237         if not compiling for x86-64, but compiling for >= i486.
3239         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
3240         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
3242         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
3243         New macro from Linux kernel 3.4.0.
3244         (FP_XSTATE_MAGIC2): Likewise.
3245         (FP_XSTATE_MAGIC2_SIZE): Likewise.
3246         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
3247         (struct _fpx_sw_bytes): New struct.
3248         (struct _xsave_hdr): Likewise.
3249         (struct _ymmh_state): Likewise.
3250         (struct _xstate): Likewise.
3252         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
3253         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
3254         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
3255         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
3256         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
3257         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
3259         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
3260         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
3261         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
3262         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
3263         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
3264         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
3266 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
3268         [BZ #13743]
3269         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
3270         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
3271         (sysdep_headers): Include sys/platform/ppc.h.
3272         * sysdeps/powerpc/test-gettimebase.c: Test for
3273         __ppc_get_timebase() to catch future ISA opcode/insn changes.
3274         * manual/Makefile (appendices): Include platform.texi.
3275         * manual/contrib.texi (Contributors): Update @node pointers.
3276         * manual/maint.texi (Maintenance): Likewise.
3277         (Platform): New node.
3278         * manual/platform.texi: New file.  Document the new features.
3280 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
3281             Jakub Jelinek  <jakub@redhat.com>
3283         [BZ #14188]
3284         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
3285         where __builtin_expect is unavailable.
3287 2012-06-03  David S. Miller  <davem@davemloft.net>
3289         * stdlib/longlong.h: Updated from GCC.
3291 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
3293         [BZ #14042]
3294         * sysdeps/powerpc/powerpc32/mcount.c: New file.
3295         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
3296         __mcount_internal.
3297         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
3298         (GLIBC_2.16): Likewise.
3300 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
3302         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
3304 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
3306         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
3307         (default-abi): New variable.
3308         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
3309         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
3310         variable.
3311         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
3312         Likewise.
3313         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
3314         Likewise.
3315         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
3316         Likewise.
3318         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
3319         definition.  Document in comment.
3321 2012-06-01  David S. Miller  <davem@davemloft.net>
3323         * stdlib/longlong.h: Updated from GCC.
3325 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
3327         [BZ #14117]
3328         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
3329         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
3330         sys/debugreg.h sys/io.h here.
3331         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
3332         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
3333         sys/io.h.
3334         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
3335         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
3336         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
3337         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
3338         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
3339         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
3341         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
3342         Define only if __x86_64__ is defined.
3344 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
3346         [BZ #14048]
3347         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
3348         Use int64_t for variable i.
3349         * math/libm-test.inc (fmod_test): Add more tests.
3351         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
3352         z computation is not scheduled after fetestexcept.
3353         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
3354         Use math_force_eval instead of asm to ensure calculation scheduled
3355         before exception test.
3356         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
3357         Ensure a1 + u.d computation is not scheduled after fetestexcept.
3359 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
3361         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
3362         computation is not scheduled after fetestexcept.
3364 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
3366         [BZ #14117]
3367         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
3368         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
3370 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3372         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
3373         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
3375 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
3377         [BZ #14117]
3378         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
3379         <bits/wordsize.h>.
3380         (__WCHAR_MIN): Support __WORDSIZE == 64.
3381         (__WCHAR_MAX): Likewise.
3383         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
3384         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
3386         [BZ #14183]
3387         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
3388         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
3390         [BZ #14117]
3391         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
3392         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
3394         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
3395         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
3397         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
3398         Defined to 1 if __x86_64__ isn't defined.
3399         (_STAT_VER_LINUX_OLD): New.
3400         (st_atime): Remove duplicate.
3401         (st_mtime): Likewise.
3402         (st_ctime): Likewise.
3404 2012-05-31  David S. Miller  <davem@davemloft.net>
3406         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
3407         entries.
3409 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
3411         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
3412         gen-libm-test.pl.
3414         [BZ #14132]
3415         * elf/dl-reloc.c: Include <_itoa.h>.
3416         (_dl_reloc_bad_type): Remove use of INTUSE.
3417         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
3418         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
3419         * stdio-common/psiginfo.c (psiginfo): Likewise.
3420         * stdio-common/psignal.c (psignal): Likewise.
3421         * string/strsignal.c (strsignal): Likewise.
3422         * include/signal.h (_sys_siglist): Declare hidden proto.
3423         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
3424         INTVARDEF with libc_hidden_data_def.
3425         * stdio-common/itoa-udigits.c: Likewise.
3426         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
3427         (_itoa_lower_digits_internal): Remove declaration.
3428         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
3429         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
3430         (_sys_sigabbrev_internal): Remove aliases.
3431         (_sys_siglist): Define hidden alias.
3433 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
3435         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3436         bits/sysctl.h.
3438 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
3440         [BZ #14117]
3441         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
3442         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
3444         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
3445         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
3446         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
3447         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
3448         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
3449         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
3451         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
3452         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
3453         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
3455         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
3456         with __addr.
3457         (insw): Likewise.
3458         (insl): Likewise.
3459         (outsb): Likewise.
3460         (outsw): Likewise.
3461         (outsl): Likewise.
3463         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
3464         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
3465         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
3467         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
3468         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
3469         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
3470         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
3471         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
3472         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
3474         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
3475         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
3477         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
3478         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
3480         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
3481         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
3482         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
3484         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
3485         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
3486         to ...
3487         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
3489         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
3490         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
3491         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
3493         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
3494         for x86-64.
3495         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
3497 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
3499         * math/math.h (M_El): Use two more decimal places.
3500         (M_LOG2El): Likewise.
3501         (M_LOG10El): Likewise.
3502         (M_LN2l): Likewise.
3503         (M_LN10l): Likewise.
3504         (M_PIl): Likewise.
3505         (M_PI_2l): Likewise.
3506         (M_PI_4l): Likewise.
3507         (M_1_PIl): Likewise.
3508         (M_2_PIl): Likewise.
3509         (M_2_SQRTPIl): Likewise.
3510         (M_SQRT2l): Likewise.
3511         (M_SQRT1_2l): Likewise.
3513 2012-05-31  David S. Miller  <davem@davemloft.net>
3515         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
3516         values between float registers.
3517         * sysdeps/sparc/sparc64/memset.S: Likewise.
3518         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
3520 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
3522         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
3523         -D_FORTIFY_SOURCE=1.
3524         (CPPFLAGS-tst-longjmp_chk.c): Define.
3525         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
3526         (CPPFLAGS-tst-longjmp_chk2.c): Define.
3527         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
3528         CFLAGS-tst-wchar-h.c.
3530 2012-05-31  Marek Polacek  <polacek@redhat.com>
3532         [BZ #14132]
3533         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
3534         __endmntent_internal): Remove declaration.
3535         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
3536         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
3537         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
3539 2012-05-30  David S. Miller  <davem@davemloft.net>
3541         * sysdeps/sparc/sparc32/soft-fp/q_util.c
3542         (___Q_simulate_exceptions): Use real FP ops rather than writing
3543         into the %fsr.
3544         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
3545         Likewise.
3547 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
3549         [BZ #14117]
3550         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
3551         * sysdeps/x86/bits/xtitypes.h: This.
3553         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
3554         * sysdeps/x86/bits/wordsize.h: This.
3556         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
3557         * sysdeps/x86/bits/huge_vall.h: This.
3559         * sysdeps/i386/bits/select.h: Removed.
3560         * sysdeps/x86_64/bits/select.h: Renamed to ...
3561         * sysdeps/x86/bits/select.h: This.
3563         * sysdeps/i386/bits/setjmp.h: Removed.
3564         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
3565         * sysdeps/x86/bits/setjmp.h: This.
3567         * sysdeps/i386/bits/mathdef.h: Removed.
3568         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
3569         * sysdeps/x86/bits/mathdef.h: This.
3571 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
3573         [BZ #14132]
3574         * include/sys/socket.h (__connect_internal)
3575         (__libc_sa_len_internal): Remove declaration.
3576         (__connect, __libc_sa_len): Declare hidden_proto.
3577         (SA_LEN): Remove use of INTUSE.
3578         * socket/connect.c: Add libc_hidden_def.
3579         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
3580         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
3581         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
3582         alias.
3583         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
3584         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
3585         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
3586         of adding _internal alias.
3588 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
3590         [BZ #14117]
3591         * sysdeps/i386/bits/link.h: Removed.
3592         * sysdeps/i386/bits/linkmap.h: Likewise.
3593         * sysdeps/x86_64/bits/link.h: Renamed to ...
3594         * sysdeps/x86/bits/link.h: This.
3595         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
3596         * sysdeps/x86/bits/linkmap.h: This.
3598         * sysdeps/i386/bits/endian.h: Removed.
3599         * sysdeps/x86_64/bits/endian.h: Renamed to ...
3600         * sysdeps/x86/bits/endian.h: This.
3602         * sysdeps/i386/bits/byteswap.h: Removed.
3603         * sysdeps/i386/bits/byteswap-16.h: Likewise.
3604         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
3605         * sysdeps/x86/bits/byteswap.h: This.
3606         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
3607         * sysdeps/x86/bits/byteswap-16.h: This.
3608         * sysdeps/i386/Implies: Add x86.
3609         * sysdeps/x86_64/Implies: Likewise.
3611 2012-05-30  David S. Miller  <davem@davemloft.net>
3613         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
3614         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
3615         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
3616         (FP_TRAPPING_EXCEPTIONS): Define.
3617         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
3618         (FP_TRAPPING_EXCEPTIONS): Define.
3619         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
3620         subnormals only when inexact has been signalled or underflow
3621         exceptions are enabled.
3622         (_FP_PACK_CANONICAL): Likewise.
3624 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
3626         [BZ #14183]
3627         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
3628         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
3630 2012-05-30  Richard Henderson  <rth@twiddle.net>
3632         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
3633         with #ifndef NOT_IN_libc.
3635         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
3636         marked to avoid plt entry.
3638 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
3640         [BZ #14112]
3641         * Makeconfig (default-abi): New macro.
3642         (abi-includes): Likewise.
3643         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
3644         $(abi-$(default-abi)-lib-soname) for soname if defined.
3645         ($(common-objpfx)gnu/lib-names.stmp): Generate from
3646         abi-variants.
3647         * Makefile (installed-stubs): Likewise.
3648         * include/stubs-biarch.h: Removed.
3649         * scripts/lib-names.awk: Only handle one library at a time.
3650         * scripts/soversions.awk: Remove WORDSIZE support.
3651         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
3652         entries.
3653         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
3654         Removed.
3655         (syscall-list-default-condition): Likewise.
3656         (syscall-list-default-condition): Likewise.
3657         (syscall-list-includes): Likewise.
3658         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
3659         syscall-list-* with abi-*.  Handle undefined abi-variants.
3660         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
3661         * sysdeps/unix/sysv/linux/i386/Implies: New file.
3662         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
3663         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
3664         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
3665         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
3666         Removed.
3667         (syscall-list-32-options): Likewise.
3668         (syscall-list-32-condition): Likewise.
3669         (syscall-list-64-options): Likewise.
3670         (syscall-list-64-condition): Likewise.
3671         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
3672         macro.
3673         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
3674         Renamed to ...
3675         (abi-*): This.
3676         (abi-64-ld-soname): New macro.
3677         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
3678         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
3679         Renamed to ...
3680         (abi-*): This.
3681         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
3682         * sysdeps/x86_64/x32/shlib-versions: Likewise.
3684 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
3686         * sysdeps/unix/sysv/linux/kernel-features.h
3687         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
3688         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
3689         include <kernel-features.h>.
3690         [!__NR_ftruncate64]: Remove conditional code.
3691         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3692         [__NR_ftruncate64]: Make code unconditional.
3693         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3694         * sysdeps/unix/sysv/linux/truncate64.c: Do not
3695         include <kernel-features.h>.
3696         [!__NR_ftruncate64]: Remove conditional code.
3697         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3698         [__NR_ftruncate64]: Make code unconditional.
3699         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3700         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
3701         include <kernel-features.h>.
3702         [!__NR_ftruncate64]: Remove conditional code.
3703         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3704         [__NR_ftruncate64]: Make code unconditional.
3705         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3706         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
3707         include <kernel-features.h>.
3708         [!__NR_ftruncate64]: Remove conditional code.
3709         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3710         [__NR_ftruncate64]: Make code unconditional.
3711         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3713         * configure.in (libc_cv_fpie): Weaken to a compile test using
3714         LIBC_TRY_CC_OPTION.
3715         * configure: Regenerated.
3717 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
3719         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
3720         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
3721         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
3722         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
3723         Refreshed.
3724         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
3725         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
3726         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
3727         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
3728         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
3729         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
3730         Refreshed.
3732 2012-05-27  David S. Miller  <davem@davemloft.net>
3734         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
3735         (___Q_zero): New.
3736         (__Q_simulate_exceptions): Return void.  Change to simulate
3737         exceptions by writing into the %fsr.
3738         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
3739         (__Qp_handle_exceptions): Likewise.
3740         (numbers): Delete.
3741         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
3742         __Qp_handle_exceptions.
3743         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
3744         __Qp_handle_exceptions.
3745         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
3746         as unused and give dummy FP_RND_NEAREST initializer.
3747         (FP_INHIBIT_RESULTS): Define.
3748         (___Q_simulate_exceptions): Update declaration.
3749         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
3750         formatting.
3751         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
3752         as unused and give dummy FP_RND_NEAREST initializer.
3753         (__Qp_handle_exceptions): Update declaration.
3754         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
3755         formatting.
3757 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
3759         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
3760         the temporary FPU control word.
3761         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
3762         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
3763         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
3764         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
3765         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
3766         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
3767         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
3768         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
3769         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
3770         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
3771         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
3773 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
3775         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
3776         fields.
3778 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
3780         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
3781         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
3782         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
3783         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
3784         Likewise.
3785         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
3786         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
3787         Likewise.
3789 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
3791         * po/h.po: Update from translation team.
3793 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
3795         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
3797         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
3798         handling of denormals.
3799         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
3800         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
3801         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
3802         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
3803         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
3804         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
3805         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
3806         Likewise.
3808 2012-05-26  Marek Polacek  <polacek@redhat.com>
3810         [BZ #14152]
3811         * math/libm-test.inc (fma_test): Don't always expect underflow
3812         exception.
3814 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
3816         [BZ #12416]
3817         * elf/tst-execstack.c: Include stackinfo.h.
3818         (do_test): Adjust test case to ensure that pthread_getattr_np
3819         behaviour remains the same after marking stack executable.
3821 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
3823         * sysdeps/unix/sysv/linux/kernel-features.h
3824         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
3825         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
3826         kernel-features.h.
3827         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
3828         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
3829         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
3830         kernel-features.h.
3831         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
3832         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
3834 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
3836         * configure.in: Define the default includes to being none.
3837         * configure: Regenerated.
3839 2012-05-25  Roland McGrath  <roland@hack.frob.com>
3841         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
3842         * sysdeps/x86_64/setjmp.S: Likewise.
3843         * sysdeps/i386/bsd-setjmp.S: Likewise.
3844         * sysdeps/i386/bsd-_setjmp.S: Likewise.
3845         * sysdeps/i386/setjmp.S: Likewise.
3846         * sysdeps/i386/__longjmp.S: Likewise.
3847         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
3848         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
3850         * include/stap-probe.h: New file.
3851         * configure.in: Handle --enable-systemtap.
3852         * configure: Regenerated.
3853         * config.h.in (USE_STAP_PROBE): New #undef.
3854         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
3855         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
3856         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
3858 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
3860         [BZ #13717]
3861         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
3862         to 2.4.0 where earlier.
3863         * sysdeps/unix/sysv/linux/configure: Regenerated.
3864         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
3865         <kernel-features.h>.
3866         [__ASSUME_32BITUIDS]: Make code unconditional.
3867         [!__ASSUME_32BITUIDS]: Remove conditional code.
3868         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
3869         <kernel-features.h>.
3870         [__ASSUME_32BITUIDS]: Make code unconditional.
3871         [!__ASSUME_32BITUIDS]: Remove conditional code.
3872         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
3873         [__ASSUME_32BITUIDS]: Make code unconditional.
3874         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
3875         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
3876         <kernel-features.h>.
3877         [__ASSUME_32BITUIDS]: Make code unconditional.
3878         [!__ASSUME_32BITUIDS]: Remove conditional code.
3879         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
3880         <kernel-features.h>.
3881         [__ASSUME_32BITUIDS]: Make code unconditional.
3882         [!__ASSUME_32BITUIDS]: Remove conditional code.
3883         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
3884         <kernel-features.h>.
3885         [__ASSUME_32BITUIDS]: Make code unconditional.
3886         [!__ASSUME_32BITUIDS]: Remove conditional code.
3887         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
3888         <kernel-features.h>.
3889         [__ASSUME_32BITUIDS]: Make code unconditional.
3890         [!__ASSUME_32BITUIDS]: Remove conditional code.
3891         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
3892         <kernel-features.h>.
3893         [__ASSUME_32BITUIDS]: Make code unconditional.
3894         [!__ASSUME_32BITUIDS]: Remove conditional code.
3895         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
3896         <kernel-features.h>.
3897         [__ASSUME_32BITUIDS]: Make code unconditional.
3898         [!__ASSUME_32BITUIDS]: Remove conditional code.
3899         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
3900         <kernel-features.h>.
3901         [__ASSUME_32BITUIDS]: Make code unconditional.
3902         [!__ASSUME_32BITUIDS]: Remove conditional code.
3903         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
3904         <kernel-features.h>.
3905         [__ASSUME_32BITUIDS]: Make code unconditional.
3906         [!__ASSUME_32BITUIDS]: Remove conditional code.
3907         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
3908         <kernel-features.h>.
3909         [__ASSUME_32BITUIDS]: Make code unconditional.
3910         [!__ASSUME_32BITUIDS]: Remove conditional code.
3911         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
3912         <kernel-features.h>.
3913         [__ASSUME_32BITUIDS]: Make code unconditional.
3914         [!__ASSUME_32BITUIDS]: Remove conditional code.
3915         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
3916         <kernel-features.h>.
3917         [__NR_setresgid] (__setresgid): Do not declare.
3918         [__ASSUME_32BITUIDS]: Make code unconditional.
3919         [!__ASSUME_32BITUIDS]: Remove conditional code.
3920         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
3921         <kernel-features.h>.
3922         [__NR_setresuid] (__setresuid): Do not declare.
3923         [__ASSUME_32BITUIDS]: Make code unconditional.
3924         [!__ASSUME_32BITUIDS]: Remove conditional code.
3925         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
3926         <kernel-features.h>.
3927         [__ASSUME_32BITUIDS]: Make code unconditional.
3928         [!__ASSUME_32BITUIDS]: Remove conditional code.
3929         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
3930         <kernel-features.h>.
3931         [__ASSUME_32BITUIDS]: Make code unconditional.
3932         [!__ASSUME_32BITUIDS]: Remove conditional code.
3933         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
3934         <kernel-features.h>.
3935         [__ASSUME_32BITUIDS]: Make code unconditional.
3936         [!__ASSUME_32BITUIDS]: Remove conditional code.
3937         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
3938         <kernel-features.h>.
3939         [__ASSUME_32BITUIDS]: Make code unconditional.
3940         [!__ASSUME_32BITUIDS]: Remove conditional code.
3941         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
3942         <kernel-features.h>.
3943         [__ASSUME_32BITUIDS]: Make code unconditional.
3944         [!__ASSUME_32BITUIDS]: Remove conditional code.
3945         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
3946         <kernel-features.h>.
3947         [__ASSUME_32BITUIDS]: Make code unconditional.
3948         [!__ASSUME_32BITUIDS]: Remove conditional code.
3949         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
3950         <kernel-features.h>.
3951         [__ASSUME_32BITUIDS]: Make code unconditional.
3952         [!__ASSUME_32BITUIDS]: Remove conditional code.
3953         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
3954         <kernel-features.h>.
3955         [__ASSUME_32BITUIDS]: Make code unconditional.
3956         [!__ASSUME_32BITUIDS]: Remove conditional code.
3957         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
3958         <kernel-features.h>.
3959         [__ASSUME_32BITUIDS]: Make code unconditional.
3960         [!__ASSUME_32BITUIDS]: Remove conditional code.
3961         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
3962         <kernel-features.h>.
3963         [__ASSUME_32BITUIDS]: Make code unconditional.
3964         [!__ASSUME_32BITUIDS]: Remove conditional code.
3965         * sysdeps/unix/sysv/linux/kernel-features.h
3966         (__ASSUME_SETRESUID_SYSCALL): Remove.
3967         (__ASSUME_SETRESGID_SYSCALL): Likewise.
3968         (__ASSUME_32BITUIDS): Likewise.
3969         (__ASSUME_LDT_WORKS): Likewise.
3970         (__ASSUME_O_DIRECTORY): Likewise.
3971         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
3972         architecture but not kernel version.
3973         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
3974         (__ASSUME_MMAP2_SYSCALL): Likewise.
3975         (__ASSUME_STAT64_SYSCALL): Likewise.
3976         (__ASSUME_IPC64): Likewise.
3977         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
3978         <kernel-features.h>.
3979         [__ASSUME_32BITUIDS]: Make code unconditional.
3980         [!__ASSUME_32BITUIDS]: Remove conditional code.
3981         * sysdeps/unix/sysv/linux/opendir.c: Do not include
3982         <kernel-features.h>.
3983         [__ASSUME_O_DIRECTORY]: Make code unconditional.
3984         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
3985         132096]: Remove conditional code.
3986         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
3987         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
3988         <kernel-features.h>.
3989         [__ASSUME_32BITUIDS]: Make code unconditional.
3990         [!__ASSUME_32BITUIDS]: Remove conditional code.
3991         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
3992         <kernel-features.h>.
3993         [__ASSUME_32BITUIDS]: Make code unconditional.
3994         [!__ASSUME_32BITUIDS]: Remove conditional code.
3995         * sysdeps/unix/sysv/linux/setegid.c: Do not include
3996         <kernel-features.h>.
3997         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
3998         unconditional.
3999         (__setresgid): Do not declare.
4000         [__ASSUME_32BITUIDS]: Make code unconditional.
4001         [!__ASSUME_32BITUIDS]: Remove conditional code.
4002         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
4003         <kernel-features.h>.
4004         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
4005         unconditional.
4006         (__setresuid): Do not declare.
4007         [__ASSUME_32BITUIDS]: Make code unconditional.
4008         [!__ASSUME_32BITUIDS]: Remove conditional code.
4009         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
4010         <kernel-features.h>.
4011         [__ASSUME_32BITUIDS]: Make code unconditional.
4012         [!__ASSUME_32BITUIDS]: Remove conditional code.
4013         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
4014         <kernel-features.h>.
4015         [__ASSUME_32BITUIDS]: Make code unconditional.
4016         [!__ASSUME_32BITUIDS]: Remove conditional code.
4018 2012-05-25  Richard Henderson  <rth@twiddle.net>
4020         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
4021         dl_hwcap to ifunc resolver.
4022         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
4023         elf_ifunc_invoke.
4024         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
4025         dl_hwcap to ifunc resolver.
4026         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
4028 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
4030         [BZ #14153]
4031         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
4032         for |x| <= 2**-26, not 2**-57.
4033         * math/libm-test.inc (acos_test): Do not allow spurious underflow
4034         exception.
4036 2012-05-24  Jeff Law  <law@redhat.com>
4038         * stdio-common/Makefile (tests): Add bug25.
4039         * stdio-common/bug25.c: New test.
4041 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
4043         [BZ #13576]
4044         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
4045         multiple of MALLOC_ALIGNMENT in size.
4046         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
4048 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
4050         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
4051         Require >= 256.
4052         (FILENAME_MAX): Use macro-int-constant.
4053         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
4054         (_IOFBF): Use macro-int-constant.
4055         (_IOLBF): Likewise.
4056         (_IONBF): Likewise.
4057         (SEEK_CUR): Likewise.
4058         (SEEK_END): Likewise.
4059         (SEEK_SET): Likewise.
4060         (TMP_MAX): Likewise.
4061         (EOF): Use macro-int-constant.  Require < 0.
4062         (NULL): Use macro-constant.  Require == 0.
4063         (stdin): Require type to be FILE *.
4064         (stdout): Likewise.
4065         (stderr): Likewise.
4066         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
4067         macro-int-constant.
4068         (EXIT_SUCCESS): Likewise.
4069         (NULL): Use macro-constant.  Require == 0.
4070         (RAND_MAX): Use macro-int-constant.
4071         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
4072         [C99-based standards] (strtof): Require function.
4073         [C99-based standards] (strtold): Likewise.
4074         [C99-based standards] (strtoll): Likewise.
4075         [C99-based standards] (strtoull): Likewise.
4076         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
4077         [ISO || ISO99 || ISO11] (limits.h): Likewise.
4078         [ISO || ISO99 || ISO11] (math.h): Likewise.
4079         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
4080         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
4081         [ISO || ISO99 || ISO11] (*_t): Do not allow.
4083 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
4085         [BZ #14132]
4086         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
4087         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
4088         * intl/dgettext.c (DCGETTEXT): Likewise.
4089         * intl/gettext.c (DCGETTEXT): Likewise.
4090         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
4091         * posix/regex_internal.h (gettext): Likewise.
4092         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
4093         Remove declaration.
4094         * include/argz.h (__argz_count_internal)
4095         (__argz_stringify_internal): Remove declaration.
4096         (__argz_count, __argz_stringify): Declare hidden proto.
4097         * intl/dcgettext.c: Remove use of INTDEF.
4098         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
4099         * string/argz-stringify.c: Likewise.
4100         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
4101         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
4102         Declare hidden proto.
4103         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
4104         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
4105         Declare hidden proto.
4106         * include/stdio.h (__asprintf_internal): Don't declare.
4107         (__asprintf): Don't define as macro.  Declare hidden proto.
4108         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
4109         (__fsetlocking): Declare hidden proto.
4110         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
4111         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
4112         hidden proto.
4113         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
4114         (_IO_setlinebuf): Remove use of INTUSE.
4115         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
4116         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
4117         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
4118         Remove declaration.
4119         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
4120         (_IO_do_flush): Remove use of INTUSE.
4121         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
4122         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
4123         (_IO_adjust_column, _IO_least_wmarker)
4124         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
4125         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
4126         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
4127         (_IO_default_doallocate, _IO_wdefault_doallocate)
4128         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
4129         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
4130         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
4131         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
4132         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
4133         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
4134         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
4135         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
4136         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
4137         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
4138         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
4139         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
4140         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
4141         proto.
4142         (_IO_flush_all_internal, _IO_adjust_column_internal)
4143         (_IO_default_uflow_internal, _IO_default_finish_internal)
4144         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
4145         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
4146         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
4147         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
4148         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
4149         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
4150         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
4151         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
4152         (_IO_file_close_internal, _IO_file_close_it_internal)
4153         (_IO_file_underflow_internal, _IO_file_overflow_internal)
4154         (_IO_file_init_internal, _IO_file_attach_internal)
4155         (_IO_file_fopen_internal, _IO_file_read_internal)
4156         (_IO_file_sync_internal, _IO_file_seek_internal)
4157         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
4158         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
4159         (_IO_str_underflow_internal, _IO_str_overflow_internal)
4160         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
4161         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
4162         (_IO_list_all_internal, _IO_link_in_internal)
4163         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
4164         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
4165         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
4166         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
4167         (_IO_do_write_internal, _IO_padn_internal)
4168         (_IO_getline_info_internal, _IO_getline_internal)
4169         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
4170         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
4171         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
4172         (_IO_vfscanf_internal, _IO_vfprintf_internal)
4173         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
4174         (_IO_init_internal, _IO_un_link_internal): Don't declare.
4175         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
4176         with libc_hidden_ver, remove use of INTUSE.
4177         * libio/genops.c: Likewise.
4178         * libio/freopen.c: Likewise.
4179         * libio/freopen64.c: Likewise.
4180         * libio/iofclose.c: Likewise.
4181         * libio/iofdopen.c: Likewise.
4182         * libio/iofflush.c: Likewise.
4183         * libio/iofflush_u.c: Likewise.
4184         * libio/iofgets.c: Likewise.
4185         * libio/iofgets_u.c: Likewise.
4186         * libio/iofopen.c: Likewise.
4187         * libio/iofopncook.c: Likewise.
4188         * libio/iofread.c: Likewise.
4189         * libio/iofread_u.c: Likewise.
4190         * libio/ioftell.c: Likewise.
4191         * libio/iofwrite.c: Likewise.
4192         * libio/iogetline.c: Likewise.
4193         * libio/iogets.c: Likewise.
4194         * libio/iogetwline.c: Likewise.
4195         * libio/iopadn.c: Likewise.
4196         * libio/iopopen.c: Likewise.
4197         * libio/ioseekoff.c: Likewise.
4198         * libio/ioseekpos.c: Likewise.
4199         * libio/iosetbuffer.c: Likewise.
4200         * libio/iosetvbuf.c: Likewise.
4201         * libio/ioungetc.c: Likewise.
4202         * libio/ioungetwc.c: Likewise.
4203         * libio/iovdprintf.c: Likewise.
4204         * libio/iovsprintf.c: Likewise.
4205         * libio/iovsscanf.c: Likewise.
4206         * libio/memstream.c: Likewise.
4207         * libio/obprintf.c: Likewise.
4208         * libio/oldfileops.c: Likewise.
4209         * libio/oldiofclose.c: Likewise.
4210         * libio/oldiofdopen.c: Likewise.
4211         * libio/oldiofopen.c: Likewise.
4212         * libio/oldiopopen.c: Likewise.
4213         * libio/oldstdfiles.c: Likewise.
4214         * libio/putc.c: Likewise.
4215         * libio/setbuf.c: Likewise.
4216         * libio/setlinebuf.c: Likewise.
4217         * libio/stdfiles.c: Likewise.
4218         * libio/strops.c: Likewise.
4219         * libio/vasprintf.c: Likewise.
4220         * libio/vscanf.c: Likewise.
4221         * libio/vsnprintf.c: Likewise.
4222         * libio/vswprintf.c: Likewise.
4223         * libio/wfiledoalloc.c: Likewise.
4224         * libio/wfileops.c: Likewise.
4225         * libio/wgenops.c: Likewise.
4226         * libio/wmemstream.c: Likewise.
4227         * libio/wstrops.c: Likewise.
4228         * libio/__fpurge.c: Likewise.
4229         * libio/__fsetlocking.c: Likewise.
4230         * assert/assert.c: Likewise.
4231         * debug/fgets_chk.c: Likewise.
4232         * debug/fgets_u_chk.c: Likewise.
4233         * debug/fread_chk.c: Likewise.
4234         * debug/fread_u_chk.c: Likewise.
4235         * debug/gets_chk.c: Likewise.
4236         * debug/obprintf_chk.c: Likewise.
4237         * debug/vasprintf_chk.c: Likewise.
4238         * debug/vdprintf_chk.c: Likewise.
4239         * debug/vsnprintf_chk.c: Likewise.
4240         * debug/vsprintf_chk.c: Likewise.
4241         * malloc/mtrace.c: Likewise.
4242         * misc/error.c: Likewise.
4243         * misc/syslog.c: Likewise.
4244         * stdio-common/asprintf.c: Likewise.
4245         * stdio-common/fxprintf.c: Likewise.
4246         * stdio-common/getw.c: Likewise.
4247         * stdio-common/isoc99_fscanf.c: Likewise.
4248         * stdio-common/isoc99_scanf.c: Likewise.
4249         * stdio-common/isoc99_vfscanf.c: Likewise.
4250         * stdio-common/isoc99_vscanf.c: Likewise.
4251         * stdio-common/isoc99_vsscanf.c: Likewise.
4252         * stdio-common/printf-prs.c: Likewise.
4253         * stdio-common/printf_fp.c: Likewise.
4254         * stdio-common/printf_fphex.c: Likewise.
4255         * stdio-common/printf_size.c: Likewise.
4256         * stdio-common/putw.c: Likewise.
4257         * stdio-common/scanf.c: Likewise.
4258         * stdio-common/sprintf.c: Likewise.
4259         * stdio-common/tmpfile.c: Likewise.
4260         * stdio-common/vfprintf.c: Likewise.
4261         * stdio-common/vfscanf.c: Likewise.
4262         * stdlib/strfmon_l.c: Likewise.
4263         * sunrpc/openchild.c: Likewise.
4264         * sunrpc/xdr_stdio.c: Likewise.
4265         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
4266         * sysdeps/mach/hurd/tmpfile.c: Likewise.
4268 2012-05-24  Roland McGrath  <roland@hack.frob.com>
4270         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
4272         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
4273         in the third column, to generate for the shared library an IFUNC
4274         that uses _dl_vdso_vsym.
4275         * Makerules (COMPILE.c, compile-stdin.c): New variables.
4276         * Makeconfig (object-suffixes-noshared): New variable.
4278         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
4279         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
4280         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
4281         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
4283         [BZ #14132]
4284         * include/sys/time.h (__gettimeofday): Remove macro.
4285         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
4286         * time/gettimeofday.c (__gettimeofday): Remove #undef.
4287         Remove INTDEF.
4288         (__gettimeofday): Add libc_hidden_def.
4289         (gettimeofday): Add libc_hidden_weak.
4290         * sysdeps/mach/gettimeofday.c: Likewise.
4291         * sysdeps/posix/gettimeofday.c: Likewise.
4292         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
4293         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
4294         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
4295         (__gettimeofday_internal): Remove strong_alias.
4296         (__gettimeofday): Add libc_hidden_def.
4297         (gettimeofday): Add libc_hidden_weak.
4298         * sysdeps/unix/syscalls.list (gettimeofday):
4299         Remove __gettimeofday_internal alias.
4301 2012-05-24  Daniel Jacobowitz  <drow@false.org>
4302             H.J. Lu  <hongjiu.lu@intel.com>
4304         [BZ #12495]
4305         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
4306         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
4307         (largebin_index_32_big): New.
4308         (largebin_index): Use it for 16-byte alignment.
4309         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
4310         correction with front_misalign.
4312 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
4314         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
4315         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
4316         Likewise.
4317         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
4318         Likewise.
4319         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
4320         Likewise.
4321         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
4322         Likewise.
4323         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
4324         Likewise.
4325         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
4326         Likewise.
4327         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
4328         Likewise.
4329         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
4330         Likewise.
4331         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
4332         Likewise.
4333         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
4334         Likewise.
4335         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
4336         Likewise.
4337         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
4338         Likewise.
4340         * scripts/data/c++-types-x32-linux-gnu.data: New file.
4341         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
4343 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
4345         [BZ #10846]
4346         [BZ #14036]
4347         * math/libm-test.inc (exp_test): Add test from bug 14036.
4348         (pow_test): Add test from bug 10846.
4350         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
4351         and other flags.
4352         (special_function): Do not include flags in test name.
4353         (parse_args): Likewise.
4354         * sysdeps/i386/fpu/libm-test-ulps: Update.
4355         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
4356         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
4357         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
4358         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4360         * math/gen-libm-test.pl (%beautify): Add entries for underflow
4361         exceptions.
4362         * math/libm-test.inc ("Philosophy"): Update comment about
4363         exception testing.
4364         (UNDERFLOW_EXCEPTION): New macro.
4365         (UNDERFLOW_EXCEPTION_OK): Likewise.
4366         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
4367         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
4368         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
4369         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
4370         (INVALID_EXCEPTION_OK): Update value.
4371         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
4372         (OVERFLOW_EXCEPTION_OK): Likewise.
4373         (IGNORE_ZERO_INF_SIGN): Likewise.
4374         (test_exceptions): Handle underflow exceptions.
4375         (acos_test): Update for underflow exception expectations.
4376         (cexp_test): Likewise.
4377         (clog_test): Likewise.
4378         (clog10_test): Likewise.
4379         (csqrt_test): Likewise.
4380         (ctan_test): Likewise.
4381         (ctanh_test): Likewise.
4382         (exp_test): Likewise.
4383         (exp10_test): Likewise.
4384         (exp2_test): Likewise.
4385         (expm1_test): Likewise.
4386         (fma_test): Likewise.
4387         (j0_test): Likewise.
4388         (jn_test): Likewise.
4389         (nexttoward_test): Likewise.
4390         (pow_test): Likewise.
4391         (scalbn_test): Likewise.
4392         (scalbln_test): Likewise.
4393         (tan_test): Likewise.
4394         (y1_test): Likewise.
4395         * sysdeps/i386/fpu/libm-test-ulps: Update.
4396         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4398 2012-05-23  David S. Miller  <davem@davemloft.net>
4400         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
4401         (__libc_sigaction): Remove unused local variables.
4403 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
4405         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
4407 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
4409         mktime: avoid signed integer overflow
4410         * time/mktime.c (__mktime_internal): Do not mishandle the case
4411         where diff == INT_MIN.
4413         mktime: simplify computation of average
4414         * time/mktime.c (ranged_convert): Use new time_t_avg function
4415         instead of rolling our own (probably-slower) code.
4417         mktime: do not assume signed right shift propagates sign bit
4418         * time/mktime.c (isdst_differ): New static function.
4419         (__mktime_internal): No need to normalize tm_isdst now.
4420         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
4421         tm_isdst values.
4423         mktime: merge another wrapv change from gnulib
4424         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
4425         from some compilers.
4427         mktime: remove incorrect attempt at unusual arithmetics
4428         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
4429         The code didn't really work on such machines anyway.
4430         (TYPE_MINIMUM): Assume two's complement.
4431         (twos_complement_arithmetic): Verify that long_int and time_t
4432         are two's complement (or unsigned, in the latter case).
4434         mktime: check signed shifts on long_int and time_t, too
4435         * time/mktime.c (SHR): Check that shifts work as desired
4436         on the types long_int and time_t too, as SHR is used on
4437         such types.
4439         mktime: do not assume 'long' is wide enough
4440         * time/mktime.c (verify): Move decl up.
4441         (long_int): New type.
4442         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
4443         to remove assumption in the code that 'long' is wide enough to
4444         store year values.  This assumption is not true on x32 and on
4445         some non-glibc platforms.
4447         mktime: merge wrapv change from gnulib
4448         * time/mktime.c (WRAPV): New macro.
4449         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
4450         (guess_time_tm, __mktime_internal): Do not assume that signed
4451         integer overflow wraps around; modern compilers generate code
4452         where this assumption is no longer valid.
4454 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
4456         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
4457         Replace "jmp L(pseudo_end)" with "ret".
4458         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
4459         Likewise.
4461 2012-05-23  Andreas Jaeger  <aj@suse.de>
4463         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
4464         * sysdeps/unix/sysv/linux/poll.c: Remove file.
4466 2012-05-23  Andreas Jaeger  <aj@suse.de>
4467             Maximilian Attems  <max@stro.at>
4469         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
4470         New macros.
4472 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
4474         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
4475         code so that pseudo_end is just ret and the stack pointer is
4476         correct also for static library in error case.
4478 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
4480         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
4481         move to syscalls.list.
4482         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
4483         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
4484         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
4485         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
4487         * manual/install.texi (Running make install): Do not mention Linux
4488         kernel version for which pt_chown is not needed.
4489         (Linux): Do not mention problems with nscd with 2.0 kernels.
4490         * INSTALL: Regenerated.
4492 2012-05-23  Andreas Jaeger  <aj@suse.de>
4494         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
4495         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
4496         macro.
4497         * sysdeps/unix/sysv/linux/s390/bits/mman.h
4498         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
4499         * sysdeps/unix/sysv/linux/sh/bits/mman.h
4500         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
4501         * sysdeps/unix/sysv/linux/i386/bits/mman.h
4502         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
4503         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
4504         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
4505         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
4506         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
4507         * sysdeps/unix/sysv/linux/bits/in.h
4508         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
4510 2012-05-22  Roland McGrath  <roland@hack.frob.com>
4512         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
4513         (PREPARE_VERSION): Just use assert instead, it will be elided
4514         under [NDEBUG] anyway.
4516 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
4518         * sysdeps/unix/sysv/linux/Makefile: Include
4519         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
4520         (sysdep_routines): Remove sysctl.
4521         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
4522         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
4523         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
4524         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
4525         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
4527 2012-05-22  Andreas Jaeger  <aj@suse.de>
4529         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
4530         that pseudo_end is just ret and the stack pointer is correct also
4531         for static library in error case.
4533 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
4535         [BZ #14122]
4536         * nss/nsswitch.c (defconfig_entries): New variable.
4537         (__nss_database_lookup): Don't leak defconfig entries.
4538         (nss_parse_service_list): Don't leak on error paths.
4539         (free_database_entries): New function.
4540         (free_defconfig): New function.
4541         (free_mem): Move common code to free_database_entries.
4543 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
4545         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
4546         Add arch_prctl.
4547         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
4549         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
4550         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
4551         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
4552         New macro.
4553         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
4554         (INTERNAL_SYSCALL_TYPES): Likewise.
4555         (LOAD_ARGS_TYPES_[1-6]): Likewise.
4556         (LOAD_REGS_TYPES_[1-6]): Likewise.
4557         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
4558         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
4560 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4562         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
4563         copysignl for GLIBC_2_0.
4564         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
4565         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
4566         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
4567         logbl for GLIBC_2_0.
4568         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
4569         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
4571 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
4573         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
4574         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
4576         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
4577         Use "neg %eax".
4579         * time/mktime.c: Update copyright years.
4581 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
4583         mktime: merge comment-quoting-style change from gnulib
4584         * time/mktime.c: Quote 'like this' in comments.
4585         The GNU coding standards suggest that we no longer quote `like this',
4586         as "`" and "'" are typically rendered asymmetrically nowadays.
4587         The typical gnulib style is to quote 'like this' when quoting
4588         code, and "like this" when quoting English.
4590         * time/mktime.c (compile-command): Add "-I.".
4592         mktime: merge mktime-internal.h change from gnulib
4593         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
4595         mktime: merge time_r change from gnulib
4596         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
4598         mktime: merge DEBUG change from gnulib
4599         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
4600         case system <time.h> has a #define.
4602         mktime: merge <sys/types.h> change from gnulib
4603         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
4604         since <time.t> is now guaranteed to define time_t.
4606         mktime: merge HAVE_CONFIG_H change from gnulib
4607         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
4609 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
4611         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
4612         Use "neg %eax".
4614         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
4615         __rlim_t cast.
4616         (struct rusage): Use anonymous union to pad each field to
4617         __syscall_slong_t.
4619 2012-05-21  David S. Miller  <davem@davemloft.net>
4621         * Makefules (o-iterator): Remove .s cases.
4622         (compile-command.s): Delete.
4623         (COMPILE.s): Delete.
4624         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
4626 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
4628         * configure.in (libc_cv_predef_stack_protector): Only consider
4629         "foobar" and "__stack_chk_fail" lines in libc_undefs.
4630         * configure: Regenerated.
4632 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
4634         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
4635         New macro.  Use R*LP on int and pointer.
4636         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
4637         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
4638         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
4639         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
4641         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
4642         [__WORDSIZE_TIME64_COMPAT32] instead of
4643         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
4644         (struct utmp): Likewise.
4645         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
4646         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
4647         Renamed to ...
4648         (__WORDSIZE_TIME64_COMPAT32): This.
4649         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
4650         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
4651         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
4652         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
4653         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
4654         (__WORDSIZE_TIME64_COMPAT32): New macro.
4656 2012-05-21  Andreas Jaeger  <aj@suse.de>
4658         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
4659         only if [SHARED]. Add prototype for __wcschr_ia32.
4661 2012-05-21  Roland McGrath  <roland@hack.frob.com>
4663         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
4664         of %rbp unmolested in the jmp_buf while mangling the low bits.
4665         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
4666         unmolested high bits of %rbp while demangling the low bits.
4667         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
4669 2012-05-21  Andreas Jaeger  <aj@suse.de>
4671         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
4672         * sunrpc/svc_simple.c: Use it for registerrpc.
4673         * sunrpc/xcrypt.c: Use it for passwd2des.
4675         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
4677 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
4679         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
4680         Don't define if [__SYSCALL_WORDSIZE != 32].
4681         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
4682         New macro.
4684 2012-05-21  Bruno Haible  <bruno@clisp.org>
4685             Andreas Jaeger  <aj@suse.de>
4687         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
4688         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
4689         inptr and inend for must_buffer_ch.
4690         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
4691         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
4692         * stdio-common/Makefile (tests): Remove bug15.
4693         (bug15-ENV): Remove macro.
4694         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
4695         anymore.
4697 2012-05-19  Andreas Jaeger  <aj@suse.de>
4698             Roland McGrath  <roland@hack.frob.com>
4700         * manual/contrib.texi: Completely rewritten. It contains now an
4701         alphabetical list of contributors and their contributions.
4703 2012-05-21  Richard Henderson  <rth@twiddle.net>
4705         * misc/getauxval.c (__getauxval): Use unsigned long int.
4706         * misc/sys/auxv.h: Include <sys/cdefs.h>.
4707         (getauxval): Use unsigned long int.
4709 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
4711         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
4713 2012-05-21  Roland McGrath  <roland@hack.frob.com>
4715         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
4716         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
4717         __alignof__ (long double).
4719 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4721         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4723 2012-05-20  Richard Henderson  <rth@twiddle.net>
4725         * misc/getauxval.c: New file.
4726         * misc/sys/auxv.h: New file.
4727         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
4728         (routines): Add getauxval.
4729         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
4730         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
4731         * elf/dl-sysdep.c (_dl_auxv): Remove.
4732         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
4733         * elf/dl-support.c (_dl_auxv): New variable.
4734         (_dl_aux_init): Initialize it.
4735         * manual/startup.texi (Auxiliary Vector): New node.
4736         * sysdeps/generic/bits/hwcap.h: New file.
4737         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
4738         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
4739         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
4740         * sysdeps/sparc/sysdep.h: ... here.  Include it.
4741         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
4742         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
4743         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
4744         Update.
4745         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
4746         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
4747         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
4748         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
4749         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
4750         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
4751         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
4752         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
4754 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4756         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4758 2012-05-19  David S. Miller  <davem@davemloft.net>
4760         * sysdeps/sparc/fpu/libm-test-ulps: Update.
4762 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
4764         [BZ #14123]
4765         * math/s_ccosh.c: Include <float.h>
4766         (__ccosh): Avoid internal overflow calculating sinh and cosh
4767         values before multiplying by sin and cos values.
4768         * math/s_ccoshf.c: Likewise.
4769         * math/s_ccoshl.c: Likewise.
4770         * math/s_csin.c: Likewise.
4771         * math/s_csinf.c: Likewise.
4772         * math/s_csinl.c: Likewise.
4773         * math/s_csinh.c: Likewise.
4774         * math/s_csinhf.c: Likewise.
4775         * math/s_csinhl.c: Likewise.
4776         * math/libm-test.inc (ccos_test): Add more tests.
4777         (ccosh_test): Likewise.
4778         (csin_test): Likewise.
4779         (csinh_test): Likewise.
4780         * sysdeps/i386/fpu/libm-test-ulps: Update.
4781         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4783 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
4785         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
4786         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
4788         * sysdeps/x86_64/x32/_itoa.h: Add comment.
4790 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
4792         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
4793         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
4794         * sysdeps/powerpc/soft-fp/Versions: Likewise.
4795         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
4796         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
4797         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
4798         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
4799         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
4800         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
4801         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
4802         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
4803         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
4804         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
4805         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
4806         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
4807         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
4808         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
4809         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
4810         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
4811         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
4812         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
4813         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
4814         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
4815         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
4816         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
4817         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
4818         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
4819         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
4820         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
4821         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
4822         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
4824 2012-05-18  Andreas Jaeger  <aj@suse.de>
4826         * csu/.gitignore: Delete.
4828 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
4830         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
4831         (timex): Use __syscall_slong_t.
4833 2012-05-18  Andreas Jaeger  <aj@suse.de>
4834             Carlos O'Donell  <carlos_odonell@mentor.com>
4836         * manual/install.texi (Configuring and compiling): Update
4837         description about files modified in the source directory.
4838         * INSTALL: Regenerated.
4840 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
4842         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
4843         value.  Use "or" to set return value to -1.
4844         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
4845         negate return value.
4847 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
4849         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
4850         CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
4851         failure if the compiler has Graphite support disabled.
4852         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
4853         Likewise.
4854         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
4855         CFLAGS-memmove.c): Likewise.
4856         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
4857         Likewise.
4859 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
4861         * sysdeps/x86_64/x32/_itoa.h: New file.
4863         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
4864         getdents system call only if kernel and user dirents have the
4865         same d_ino and d_off.
4867         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
4868         LLONG_MAX != LONG_MAX.
4869         (_itoa_word): Use _ITOA_WORD_TYPE on value.
4870         (_fitoa_word): Likewise.
4872         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
4873         years.
4874         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
4875         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
4876         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
4878         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
4879         include <bits/wordsize.h>.  Check __x86_64__ instead of
4880         __WORDSIZE.
4881         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
4882         if __x86_64__ is defined.  Use anonymous union on fpstate.
4884         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
4885         anonymous union.
4887 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
4889         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
4890         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
4891         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
4892         Refer to _rtld_local_ro instead of _rtld_global_ro.
4893         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
4894         Likewise.
4895         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
4896         Likewise.
4897         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
4898         Likewise.
4899         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
4900         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
4901         of _rtld_global, and rtld_progname instead of _dl_argv[0].
4903         * sysdeps/powerpc/powerpc32/dl-machine.c
4904         (__elf_machine_runtime_setup) [PROF]: Don't reference
4905         _dl_prof_resolve.
4907 2012-05-18  Andreas Jaeger  <aj@suse.de>
4909         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
4910         function only available for GCCs before 3.4 since GCC 3.4
4911         introduced a builtin.
4912         (lrint): Likewise.
4913         (llrintf): Likewise.
4914         (llrint): Likewise.
4915         (fmaxf): Likewise.
4916         (fmax): Likewise.
4917         (fminf): Likewise.
4918         (fmin): Likewise.
4919         (rint): Likewise.
4920         (rintf): Likewise.
4921         (nearbyint): Likewise.
4922         (nearbyintf): Likewise.
4923         (ceil): Likewise.
4924         (ceilf): Likewise.
4925         (floor): Likewise.
4926         (floorf): Likewise.
4928 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
4930         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
4931         on both fields and cast pointer to __syscall_ulong_t.
4933         * bits/types.h (__fsword_t): New type.
4934         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
4935         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
4936         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
4937         (__FSWORD_T_TYPE): Likewise.
4938         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
4939         (__FSWORD_T_TYPE): Likewise.
4940         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
4941         (__FSWORD_T_TYPE): Likewise.
4942         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
4943         (__FSWORD_T_TYPE): Likewise.
4944         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
4945         __SWORD_TYPE with __fsword_t.
4946         (statfs64): Likewise.
4948 2012-05-17  David S. Miller  <davem@davemloft.net>
4950         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
4952 2012-05-17  Andreas Jaeger  <aj@suse.de>
4954         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
4955         warning.
4957 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
4959         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
4961 2012-05-17  Andreas Jaeger  <aj@suse.de>
4963         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
4964         when it is used.
4966 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
4968         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
4970 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
4972         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
4973         * sysdeps/x86_64/tst-mallocalign1.c: New file.
4975 2012-05-17  Andreas Jaeger  <aj@suse.de>
4976             Carlos O'Donell  <carlos_odonell@mentor.com>
4978         [BZ #14059]
4979         * sysdeps/x86_64/multiarch/init-arch.h
4980         (bit_YMM_Usable): Rename to...
4981         (bit_AVX_Usable): ... this.
4982         (bit_FMA4_Usable): New macro.
4983         (bit_XMM_state): New macro.
4984         (bit_YMM_state): New macro.
4985         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
4986         [__ASSEMBLER__] (index_AVX_Usable): ... this.
4987         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
4988         (CPUID_OSXSAVE): New macro.
4989         (CPUID_AVX): New macro.
4990         (CPUID_FMA4): New macro.
4991         (index_YMM_Usable): Rename to...
4992         (index_AVX_Usable): ... this.
4993         (HAS_AVX): Use HAS_ARCH_FEATURE.
4994         (HAS_FMA4): Likewise.
4995         (HAS_YMM_USABLE): Remove.
4996         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
4997         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
4998         are present.
4999         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
5000         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
5001         * sysdeps/x86_64/multiarch/Makefile: Likewise.
5002         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
5003         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
5005 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
5007         * math/libm-test.c: Support platforms without multiple rounding modes.
5008         * math/bug-nextafter.c: Support platforms without FP exceptions.
5009         * math/bug-nexttoward.c: Likewise.
5010         * math/test-fenv.c: Likewise.
5011         * math/test-misc.c: Likewise.
5012         * stdlib/bug-getcontext.c: Likewise.
5014 2012-05-17  Andreas Jaeger  <aj@suse.de>
5016         * manual/examples/search.c (critter_cmp): Change signature to
5017         avoid warnings.
5018         * manual/string.texi (Collation Functions): Likewise.
5020 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
5022         * bits/types.h: Fold copyright years.
5023         * bits/typesizes.h: Likewise.
5024         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
5025         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
5026         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
5027         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
5028         * time/time.h: Likewise.
5030 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
5032         [BZ #208]
5033         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
5034         in instead of returning them.  Return void.
5035         (__libc_mallinfo): Accumulate over all arenas.
5036         (__malloc_stats): Adjust for change in int_mallinfo interface.
5038 2012-05-16  Roland McGrath  <roland@hack.frob.com>
5040         [BZ #10375]
5041         * configure.in (NM): Add AC_CHECK_TOOL for it.
5042         (libc_extra_cflags): New substituted variable.
5043         Check for -fstack-protector being used implicitly.
5044         * configure: Regenerated.
5045         * config.make.in (config-extra-cflags): New variable,
5046         gets @libc_extra_cflags@.
5047         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
5049         [BZ #10375]
5050         * configure.in: Check for _FORTIFY_SOURCE being predefined.
5051         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
5052         * configure: Regenerated.
5053         * config.make.in (CPPUNDEFS): New substituted variable.
5054         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
5055         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
5056         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
5058 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
5060         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
5061         (mq_attr): Use __syscall_slong_t.
5063 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
5065         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
5066         Check __x86_64__ instead of __WORDSIZE.
5067         (_STAT_VER_LINUX): Likewise.
5068         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
5069         __syscall_ulong_t and __syscall_slong_t.
5070         (stat64): Likewise.
5072 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
5074         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
5076 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
5078         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
5080 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
5082         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
5083         __syscall_ulong_t.
5085         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
5086         include <bits/wordsize.h>.  Check __x86_64__ instead of
5087         __WORDSIZE.
5088         (greg_t): Use "__extension__ long long int" if __x86_64__ is
5089         defined.
5090         (mcontext_t): Replace "unsigned long" with "unsigned long long".
5092         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
5093         include <bits/wordsize.h>.  Check __x86_64__ instead of
5094         __WORDSIZE.
5095         (user_regs_struct): Use "__extension__ unsigned long long"
5096         instead of "unsigned long" if __x86_64__ is defined.
5097         (user): Likewise.  Pad after pointer field if __ILP32__ is
5098         defined.
5100 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
5102         * configure.in (makeinfo): Require version 4.5 or later.  Allow
5103         versions 5 to 9.
5104         * configure: Regenerated.
5105         * manual/install.texi (texinfo): Increase version requirement to
5106         4.5 or later.
5107         * INSTALL: Regenerated.
5109         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
5111 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
5113         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
5115         * sysdeps/x86_64/x32/ffs.c: New file.
5117         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
5118         __syscall_ulong_t.
5119         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
5120         defined.  Use __syscall_ulong_t.
5121         (shminfo): Use __syscall_ulong_t.
5122         (shm_info): Likewise.
5124         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
5125         __syscall_ulong_t.
5127         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
5128         <bits/wordsize.h>.
5129         (msgqnum_t): Use __syscall_ulong_t.
5130         (msglen_t): Likewise.
5131         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
5132         __syscall_ulong_t.
5134         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
5135         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
5137         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
5139         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
5140         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
5142         * sysvipc/sys/msg.h (msgbuf): Replace long int with
5143         __syscall_slong_t.
5145         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
5146         include <bits/wordsize.h>.  Check __x86_64__ instead of
5147         __WORDSIZE.
5149         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
5150         "unsigned long long int" if __x86_64__ is defined.
5151         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
5153         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
5154         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
5155         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
5157         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
5158         <stdint.h>.
5159         (GET_PC): Cast to uintptr_t first.
5160         (GET_FRAME): Likewise.
5161         (GET_STACK): Likewise.
5163         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
5164         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
5165         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
5166         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
5167         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
5168         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
5169         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
5170         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
5171         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
5172         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
5173         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
5174         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
5175         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
5176         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
5177         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
5178         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
5179         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
5180         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
5181         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
5182         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
5183         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
5184         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
5185         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
5186         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
5187         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
5188         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
5189         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
5190         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
5191         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
5193 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
5195         * Makerules (+depfiles): Also collect depfiles from .oS in
5196         $(extra-objs).
5197         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
5198         .oS, $(libnldbl-routines)).
5200         * Makerules (native-compile-mkdep-flags): Define.
5201         * sunrpc/Makefile (extra-objs): Add $(addprefix
5202         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
5203         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
5204         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
5205         calling $(make-target-directory).
5207 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
5209         * bits/types.h (__snseconds_t): Removed.
5210         * time/time.h (struct timespec): Replace __snseconds_t with
5211         __syscall_slong_t.
5212         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
5213         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
5214         Likewise.
5215         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
5216         (__SNSECONDS_T_TYPE): Likewise.
5217         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
5218         (__SNSECONDS_T_TYPE): Likewise.
5219         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
5220         (__SNSECONDS_T_TYPE): Likewise.
5222 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
5224         * sysdeps/mach/hurd/bits/typesizes.h
5225         (__SYSCALL_SLONG_TYPE): New macro.
5226         (__SYSCALL_ULONG_TYPE): Likewise.
5228 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
5230         * bits/types.h (__syscall_slong_t): New type.
5231         (__syscall_ulong_t): Likewise.
5233         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
5234         (__SYSCALL_ULONG_TYPE): Likewise.
5235         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
5236         (__SYSCALL_SLONG_TYPE): Likewise.
5237         (__SYSCALL_ULONG_TYPE): Likewise.
5238         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
5239         (__SYSCALL_SLONG_TYPE): Likewise.
5240         (__SYSCALL_ULONG_TYPE): Likewise.
5241         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
5242         (__SYSCALL_SLONG_TYPE): Likewise.
5243         (__SYSCALL_ULONG_TYPE): Likewise.
5245 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
5247         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
5248         Add sigaltstack-offsets.sym.
5249         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
5250         <sigaltstack-offsets.h>.
5251         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
5252         longjmp_msg pointer.
5253         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
5254         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
5255         signal stack.
5256         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
5258 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
5260         * elf/stackguard-macros.h: Remove file.
5261         * sysdeps/generic/stackguard-macros.h: New file.
5262         * sysdeps/i386/stackguard-macros.h: Likewise.
5263         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
5264         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
5265         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
5266         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
5267         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
5268         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
5269         * sysdeps/x86_64/stackguard-macros.h: Likewise.
5270         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
5271         <elf/stackguard-macros.h>.
5273         [BZ #14109]
5274         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
5275         __aligned__ in attribute.
5276         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
5277         (gregset_t): Likewise.
5279 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
5281         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
5282         * sysdeps/x86_64/64/Implies-after: Here.  New file.
5283         * sysdeps/x86_64/x32/Implies-after: New file.
5285 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
5287         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
5288         and access return value for _dl_profile_fixup.  Use R10_LP to
5289         load frame size.
5291 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
5293         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
5295 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
5297         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
5298         * sysdeps/x86_64/x32/sysdep.h: New file.
5300 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
5302         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
5303         * sysdeps/x86_64/setjmp.S: Likewise.
5305 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5307         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
5308         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
5309         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
5310         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
5311         remove unused global constant.
5313 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
5315         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
5316         include of <not-cancel.h>.
5318 2012-05-15  Roland McGrath  <roland@hack.frob.com>
5320         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
5322 2012-05-15  Jeff Law  <law@redhat.com>
5323             Andreas Jaeger  <aj@suse.de>
5325         [BZ #13594]
5326         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
5327         out from...
5328         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
5329         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
5330         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
5331         code changing __hst_map_handle.map.
5333 2012-05-15  Roland McGrath  <roland@hack.frob.com>
5335         * configure.in (sysnames): Look for Implies-before and Implies-after
5336         files.
5337         * configure: Regenerated.
5339 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
5341         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
5342         8-byte data alignment with LP_SIZE alignment.
5344 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
5346         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
5347         into R10_LP.
5349 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
5351         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
5353 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
5355         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
5356         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
5357         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
5358         Likewise.
5359         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
5361 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
5363         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
5364         (stackinfo_sub_sp): Likewise.
5366 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
5368         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
5369         RAX_LP.
5371 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
5373         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
5374         into R*_LP.
5376 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
5378         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
5379         sizes into R*_LP.
5381 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
5383         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
5385 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
5387         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
5388         into R11_LP and load __x86_64_shared_cache_size_half into
5389         R8_LP.
5391 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
5393         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
5394         R8_LP.
5396 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5398         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
5399         logb for POWER7.
5400         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
5401         logbf for POWER7.
5402         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
5403         logbl for POWER7.
5404         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
5405         powerpc32/power7/fpu/s_logb.c via #include.
5406         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
5407         powerpc32/power7/fpu/s_logbf.c via #include.
5408         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
5409         powerpc32/power7/fpu/s_logbl.c via #include.
5411 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
5413         * README.libm: Remove file.
5415 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
5417         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
5418         count for x32.  Use R*_LP and omit operand-size suffix.
5420 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
5422         * shlib-versions: Move x86_64-.*-linux.* entries to ...
5423         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
5424         * sysdeps/x86_64/x32/shlib-versions: New file.
5426 2012-05-14  Roland McGrath  <roland@hack.frob.com>
5428         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
5429         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
5430         Use _dl_fatal_printf instead.
5432 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
5434         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
5435         set if not set by the user.  Do not allow for being unset.
5436         * sysdeps/unix/sysv/linux/configure: Regenerated.
5438 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
5440         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
5441         the `q' suffix from lea and replace .quad with ASM_ADDR.
5443 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
5445         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
5446         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
5447         instead of $17.
5448         (PTR_DEMANGLE): Likewise.
5450 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
5452         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
5453         (LP_OP): Likewise.
5454         (ASM_ADDR): Likewise.
5455         (RAX_LP): Likewise.
5456         (RBP_LP): Likewise.
5457         (RBX_LP): Likewise.
5458         (RCX_LP): Likewise.
5459         (RDI_LP): Likewise.
5460         (RSI_LP): Likewise.
5461         (RSP_LP): Likewise.
5462         (R8_LP): Likewise.
5463         (R9_LP): Likewise.
5464         (R10_LP): Likewise.
5465         (R10_LP): Likewise.
5466         (R11_LP): Likewise.
5467         (R12_LP): Likewise.
5468         (R13_LP): Likewise.
5469         (R14_LP): Likewise.
5470         (R15_LP): Likewise.
5472 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
5474         * sysdeps/x86_64/x32/dl-machine.h: New file.
5476 2012-05-14  Andreas Jaeger  <aj@suse.de>
5478         * manual/Makefile (subdir): Remove export of subdir.
5479         (all): Remove target.
5480         (.PHONY): Remove all from list.
5481         (mkinstalldirs): Remove.
5482         (.PHONY): Remove installdirs from list.
5483         ($(inst_infodir)/libc.info): Use make-target-directory.
5484         (installdirs): Remove.
5485         (subdir_%): Remove.
5486         (glibc-targets): Remove.
5487         (lib): Remove.
5488         (stubs): Remove.
5489         ($(objpfx)stubs ../po/manual.pot): Remove.
5490         ($(objpfx)stamp%): Remove.
5491         (make-target-directory): Remove.
5492         (subdir_install): Remove.
5493         (routines): Remove.
5494         (aux): Remove.
5495         (sources): Remove.
5496         (objects): Remove.
5497         (headers): Remove.
5499         [BZ #13750]
5500         * manual/.gitignore: Remove, it's not needed anymore.
5501         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
5502         all files in it.
5503         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
5504         directory.
5505         (texis): Renamed to $(objpfx)texis.
5506         (texis-path): New, contains path to generated files.
5507         (chapters.%): Use texis-path for complete path, add extra argument
5508         libc-texinfo.sh.
5509         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
5510         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
5511         (summary,texi, stamp-summary): Use complete path of
5512         files. Generate files in build dir.
5513         (dir-add.texi): Build in build dir.
5514         (libm-err.texi,stamp-libm-err): Likewise.
5515         (version.texi, stamp-version): Likewise.
5516         (.%c.texi): Likewise.
5517         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
5518         (mostlyclean): Remove target.
5519         (realclean): Remove target.
5520         (generated): Add new variable with contents from mostlyclean and
5521         realclean, remove entries duplicated in common-mostlyclean, add
5522         stamp-libm-err and stamp-version.
5523         (generated-dirs): Add libc directory.
5524         ($(inst_infodir)/libc.info): Install files from build dir.
5526         * manual/install.texi (Configuring and compiling): Adjust since
5527         the info files are not part of the tar ball anymore.
5529 2012-05-14  Andreas Jaeger  <aj@suse.de>
5531         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
5532         variable.
5534 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
5536         [BZ #13717]
5537         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
5538         to 2.2.0 where earlier.
5539         * sysdeps/unix/sysv/linux/configure: Regenerated.
5540         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
5541         Remove conditional code.
5542         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
5543         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
5544         Remove conditional code.
5545         [!__NR_lchown]: Likewise.
5546         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
5547         [__NR_lchown]: Likewise.
5548         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
5549         comment referencing __ASSUME_LCHOWN_SYSCALL.
5550         * sysdeps/unix/sysv/linux/i386/sigaction.c
5551         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
5552         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
5553         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
5554         Remove conditional code.
5555         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
5556         (__protocol_available): Remove #if 0 code.
5557         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
5558         conditional code.
5559         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
5560         * sysdeps/unix/sysv/linux/kernel-features.h
5561         (__ASSUME_GETCWD_SYSCALL): Don't define.
5562         (__ASSUME_REALTIME_SIGNALS): Likewise.
5563         (__ASSUME_PREAD_SYSCALL): Likewise.
5564         (__ASSUME_PWRITE_SYSCALL): Likewise.
5565         (__ASSUME_POLL_SYSCALL): Likewise.
5566         (__ASSUME_LCHOWN_SYSCALL): Likewise.
5567         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
5568         non-SPARC.
5569         (__ASSUME_SIOCGIFNAME): Don't define.
5570         (__ASSUME_MSG_NOSIGNAL): Likewise.
5571         (__ASSUME_SENDFILE): Define unconditionally.
5572         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
5573         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
5574         conditional code.
5575         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
5576         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
5577         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
5578         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
5579         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
5580         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
5581         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
5582         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
5583         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
5584         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5585         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
5586         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
5587         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5588         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
5589         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
5590         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5591         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
5592         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
5593         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5594         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
5595         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
5596         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5597         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
5598         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
5599         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5600         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
5601         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
5602         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5603         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
5604         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
5605         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5606         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
5607         Remove conditional code.
5608         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5609         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
5610         Remove conditional code.
5611         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5612         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
5613         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
5614         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
5615         Remove conditional code.
5616         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5617         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
5618         Remove conditional code.
5619         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5620         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
5621         Remove conditional code.
5622         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5623         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
5624         Remove conditional code.
5625         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5626         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
5627         Remove conditional code.
5628         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5629         * sysdeps/unix/sysv/linux/sh/pwrite64.c
5630         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
5631         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5632         * sysdeps/unix/sysv/linux/sigaction.c
5633         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
5634         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
5635         * sysdeps/unix/sysv/linux/sigpending.c
5636         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
5637         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
5638         * sysdeps/unix/sysv/linux/sigprocmask.c
5639         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
5640         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
5641         * sysdeps/unix/sysv/linux/sigsuspend.c
5642         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
5643         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
5644         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
5645         (__libc_missing_rt_sigs): Remove.
5646         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
5647         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
5648         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
5649         Remove conditional code.
5650         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
5651         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
5652         return 1.
5653         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
5654         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
5655         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
5656         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
5658 2012-05-14  Andreas Jaeger  <aj@suse.de>
5660         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
5661         it's not used in glibc.
5662         (__coshm1): Likewise.
5663         (__acosh1p): Likewise.
5664         (__sgn): Likewise.
5666         * manual/string.texi (Copying and Concatenation): Add missing
5667         variable in concat example.
5668         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
5670 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
5672         [BZ #14103]
5673         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
5674         __builtin_clzl with __builtin_clzll.
5676 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
5678         [BZ #14104]
5679         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
5680         libc_freeres_ptr.
5682 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
5684         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
5685         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
5686         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
5687         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
5689 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
5691         * NEWS: Update ia64 info.
5693 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
5695         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
5696         used as bcopy.
5698 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
5700         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
5701         * sysdeps/unix/syscalls.list (dup3): Likewise.
5702         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
5703         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
5705 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
5707         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
5708         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
5710 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
5712         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
5713         thread pointer.
5714         (TLS_IE): Use mov/add instead of movq/addq to load thread
5715         pointer.
5716         (TLS_GD_PREFIX): New.
5717         (TLS_GD): Use it.
5719 2012-05-11  David S. Miller  <davem@davemloft.net>
5721         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
5722         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
5723         (_FPU_SETCW): Likewise.
5725 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
5727         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
5728         is 32-byte aligned.
5730 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
5732         [BZ #11837]
5733         * iconvdata/gb18030.c: Update tables.
5734         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
5735         characters specially.
5736         (BODY for TO_LOOP): Add encoding of missing ranges.
5738 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
5740         [BZ #13673]
5741         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
5742         * sysdeps/mach/hurd/dup3.c: Likewise.
5743         * sysdeps/mach/hurd/readlinkat.c: Likewise.
5744         * sysdeps/powerpc/memmove.c:: Likewise.
5746 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
5748         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
5749         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
5751 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
5753         * elf/elf.h (R_X86_64_RELATIVE64): New.
5754         (R_X86_64_NUM): Updated.
5755         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
5756         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
5757         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
5758         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
5759         tst-quad1pie tst-quad2pie
5760         (modules-names): Add tst-quadmod1 tst-quadmod2.
5761         ($(objpfx)tst-quad1): New dependency.
5762         ($(objpfx)tst-quad2): Likewise.
5763         ($(objpfx)tst-quad1pie): Likewise.
5764         ($(objpfx)tst-quad2pie): Likewise.
5765         * sysdeps/x86_64/tst-quad1.c: New file.
5766         * sysdeps/x86_64/tst-quad1pie.c: New file.
5767         * sysdeps/x86_64/tst-quad2.c: Likewise.
5768         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
5769         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
5770         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
5771         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
5772         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
5774 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5776         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
5777         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
5778         * streams/stropts.h (t_scalar_t): Define type.
5780         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
5781         (_PATH_PRESERVE): Set to "/var/lib".
5782         (_PATH_RWHODIR): Set to "/var/spool/rwho".
5784         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
5785         instead of int.
5787         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
5788         if __dir_mkfile succeeded.
5790         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
5791         checking for _hurd_dtablesize.  Unlock it right after having
5792         finished _hurd_dtable allocation.
5794 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
5796         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
5797         * sysdeps/mach/hurd/configure: Regenerated.
5798         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
5799         special-casing to...
5800         * sysdeps/gnu/configure.in: ... this new file.
5801         * sysdeps/unix/sysv/linux/configure: Regenerated.
5802         * sysdeps/gnu/configure: New generated file.
5804         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
5805         for Linux: use nsec instead of usec, as well as:
5806         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
5807         members of type struct timespec.
5808         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
5809         New macros.
5810         (struct stat64): Likewise.
5811         (_STATBUF_ST_NSEC): New macro.
5812         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
5814         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
5815         __strtoul_internal rather than strtoul.
5817 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
5819         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
5820         and reject them.
5822 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5824         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
5825         which preserves existing values.
5826         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
5828 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
5830         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
5831         TIMEOUT values.  Return EINVAL for NFDS values either negative or
5832         greater than FD_SETSIZE.
5834 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5836         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
5837         allocated, call __vm_protect to finish enabling the existing space, and
5838         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
5839         allocate the remainder.
5841 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
5843         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
5844         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
5846 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5848         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
5849         sysdeps/mach/hurd/readlink.c.
5851         * posix/tst-sysconf.c (posix_options): Only use
5852         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
5853         _POSIX_SYNCHRONIZED_IO when they are defined
5854         * sysdeps/mach/hurd/bits/posix_opt.h:
5855         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
5856         (_XOPEN_REALTIME): Undefine macro.
5857         (_XOPEN_REALTIME_THREADS): Undefine macro.
5858         (_XOPEN_SHM): Undefine macro.
5859         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
5860         macro to -1.
5861         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
5862         macro to -1.
5863         (_POSIX_ASYNC_IO): Undefine macro.
5864         (_POSIX_PRIORITIZED_IO): Undefine macro.
5865         (_POSIX_SPIN_LOCKS): Define macro to -1.
5867         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
5868         SA_NODEFER, SA_RESETHAND.
5869         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
5870         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
5871         F_DUPFD_CLOEXEC.
5873 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
5875         * elf/Makefile (pldd-modules): Define unconditionally.
5877 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
5879         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
5881 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5883         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
5884         Return ENOENT when name is empty.
5885         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
5887 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
5889         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
5891         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
5893 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5895         Fix mlock in all cases except non-readable pages.
5896         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
5897         instead of VM_PROT_ALL as parameter to __vm_wire function.
5899         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
5900         (__mkdir): When path is `/', just fail with EEXIST.
5901         * sysdeps/mach/hurd/mkdirat.c: Likewise.
5903 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
5905         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
5906         <sys/uio.h> (for writev).
5907         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
5908         and <sys/param.h> (for MIN).
5910 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
5912         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
5913         REQUESTED_TIME.  Properly set the remaining time and return EINTR
5914         if interrupted.
5916 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
5918         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
5919         Depend on against $(link-rpcuserlibs).
5921 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5923         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
5924         (__libc_stack_end): Do not use attribute_relro.
5925         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
5926         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5927         to libthread-provided value.
5928         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
5929         attribute_relro.
5931 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
5933         [BZ #3748]
5934         * bits/libc-lock.h (__libc_once_get): New macro.
5935         * sysdeps/mach/bits/libc-lock.h: Likewise.
5936         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
5937         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
5938         instead of using implementation details.
5940         * libio/fileops.c: Unconditionally include <kernel-features.h>.
5941         * libio/freopen.c: Likewise.
5942         * libio/freopen64.c: Likewise.
5943         * misc/syslog.c: Likewise.
5944         * nscd/connections.c: Likewise.
5945         * nscd/netgroupcache.c: Likewise.
5946         * sysdeps/posix/getcwd.c: Likewise.
5948 2012-05-10  Roland McGrath  <roland@hack.frob.com>
5950         * math/w_ilogbf.c: Add #include <limits.h>.
5952 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5954         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
5955         path instead of returning without unlocking.
5957         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
5958         immediate-write ioctls.
5959         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
5961 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
5963         * sysdeps/mach/hurd/i386/init-first.c (init): Use
5964         __builtin_frame_address instead of making assumptions about the
5965         location of the return address relative to DATA.  Force early load of
5966         the return address.
5967         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
5968         __builtin_frame_address.
5970         dup3 for GNU Hurd.
5971         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
5972         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
5973         implement dup3 and do some further code clean-ups.
5974         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
5975         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
5977 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5979         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
5981         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
5982         HURD_CRITICAL_END around holding _hurd_dtable_lock.
5983         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
5984         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
5985         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
5986         d->port.lock.
5988         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
5989         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
5990         when handler == SIG_ERR, not when handler != SIG_ERR.
5992 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
5994         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
5995         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
5996         definitions.
5998         accept4 for GNU Hurd.
5999         * include/sys/socket.h (__libc_accept4): New prototype.
6000         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
6001         to implement __libc_accept4.
6002         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
6003         __libc_accept4.
6004         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
6006         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
6007         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
6008         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
6009         signal-defines.sym.
6011 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6013         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6015 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
6017         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
6018         assertion on O_CLOEXEC flag.
6019         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
6020         * hurd/intern-fd.c: Likewise.
6021         * hurd/port2fd.c: Likewise.
6023 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6025         [BZ #3906]
6026         * bits/in.h (IPV6_PKTINFO): Define new macro.
6027         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
6029 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6031         [BZ #13954]
6032         [BZ #13955]
6033         [BZ #13956]
6034         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
6035         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
6036         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
6037         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
6038         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
6039         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
6040         * math/libm-test.inc (logb_test) : Additional logb tests.
6042 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
6043             Andreas Jaeger  <aj@suse.de>
6045         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
6046         * configure: Regenerated.
6047         * config.h.in (LINK_OBSOLETE_RPC): New macro.
6048         * config.make.in (link-obsolete-rpc): New substituted variable.
6049         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
6050         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
6051         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
6052         (shared-only-routines): Don't set it under [link-obsolete-rpc],
6053         so that libc.a contains the symbols.
6054         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
6055         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
6056         * sunrpc/auth_none.c: Likewise.
6057         * sunrpc/auth_unix.c: Likewise.
6058         * sunrpc/authdes_prot.c: Likewise.
6059         * sunrpc/authuxprot.c: Likewise.
6060         * sunrpc/clnt_gen.c: Likewise.
6061         * sunrpc/clnt_perr.c: Likewise.
6062         * sunrpc/clnt_raw.c: Likewise.
6063         * sunrpc/clnt_simp.c: Likewise.
6064         * sunrpc/clnt_tcp.c: Likewise.
6065         * sunrpc/clnt_udp.c: Likewise.
6066         * sunrpc/clnt_unix.c: Likewise.
6067         * sunrpc/des_crypt.c: Likewise.
6068         * sunrpc/des_soft.c: Likewise.
6069         * sunrpc/get_myaddr.c: Likewise.
6070         * sunrpc/key_call.c: Likewise.
6071         * sunrpc/key_prot.c: Likewise.
6072         * sunrpc/netname.c: Likewise.
6073         * sunrpc/pm_getmaps.c: Likewise.
6074         * sunrpc/pm_getport.c: Likewise.
6075         * sunrpc/pmap_clnt.c: Likewise.
6076         * sunrpc/pmap_prot.c: Likewise.
6077         * sunrpc/pmap_prot2.c: Likewise.
6078         * sunrpc/pmap_rmt.c: Likewise.
6079         * sunrpc/publickey.c: Likewise.
6080         * sunrpc/rpc_cmsg.c: Likewise.
6081         * sunrpc/rpc_common.c: Likewise.
6082         * sunrpc/rpc_dtable.c: Likewise.
6083         * sunrpc/rpc_prot.c: Likewise.
6084         * sunrpc/rpc_thread.c: Likewise.
6085         * sunrpc/rtime.c: Likewise.
6086         * sunrpc/svc.c: Likewise.
6087         * sunrpc/svc_auth.c: Likewise.
6088         * sunrpc/svc_raw.c: Likewise.
6089         * sunrpc/svc_run.c: Likewise.
6090         * sunrpc/svc_tcp.c: Likewise.
6091         * sunrpc/svc_udp.c: Likewise.
6092         * sunrpc/svc_unix.c: Likewise.
6093         * sunrpc/svcauth_des.c: Likewise.
6094         * sunrpc/xcrypt.c: Likewise.
6095         * sunrpc/xdr.c: Likewise.
6096         * sunrpc/xdr_array.c: Likewise.
6097         * sunrpc/xdr_float.c: Likewise.
6098         * sunrpc/xdr_intXX_t.c: Likewise.
6099         * sunrpc/xdr_mem.c: Likewise.
6100         * sunrpc/xdr_rec.c: Likewise.
6101         * sunrpc/xdr_ref.c: Likewise.
6102         * sunrpc/xdr_sizeof.c: Likewise.
6103         * sunrpc/xdr_stdio.c: Likewise.
6105 2012-05-10  Roland McGrath  <roland@hack.frob.com>
6107         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
6108         change.  Update copyright years.
6110 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
6112         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
6114 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
6115             Joseph Myers  <joseph@codesourcery.com>
6116             Paul Pluzhnikov  <ppluzhnikov@google.com>
6118         [BZ #14012]
6119         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
6120         requiring rpcgen.
6121         [cross-compiling] (extra-libs): Likewise.
6122         [cross-compiling] (extra-libs-others): Likewise.
6123         [cross-compiling] (librpcsvc-routines): Likewise.
6124         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
6125         [cross-compiling] (omit-deps): Likewise.
6126         (sunrpc-CPPFLAGS): New variable.
6127         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
6128         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
6129         (cross-rpcgen-objs): New variable.
6130         (extra-objs): Append $(cross-rpcgen-objs).
6131         ($(cross-rpcgen-objs)): New rule.
6132         ($(objpfx)cross-rpcgen): Likewise.
6133         (rpcgen-cmd): Define to use $(built-program-file).  Expand
6134         comment.
6135         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
6136         ($(objpfx)x%.stmp): Likewise.
6137         * sunrpc/proto.h [IS_IN_build] (_): Define.
6138         [IS_IN_build] (_libc_intl_domainname): Likewise.
6140 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
6142         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
6143         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
6144         and R_X86_64_TPOFF64.
6146 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
6148         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
6149         sysdeps/unix/sysv/syscalls.list.
6150         (stime): Likewise.
6151         (utime): Likewise.
6152         * sysdeps/unix/sysv/syscalls.list: Remove file.
6154 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
6156         [BZ #3440]
6157         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
6158         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
6159         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
6160         (__LC_IDENTIFICATION): Make these macros useful in #if
6161         expressions, as required by C99.
6163 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
6165         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
6166         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
6167         after this.
6169 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
6171         * stdlib/longlong.h: Updated from GCC.
6173 2012-05-09  Andreas Jaeger  <aj@suse.de>
6175         * nscd/nscd.c (run_modes): Make named enum, reorder so that
6176         default is first entry.
6177         (run_mode): Set type.
6178         (main): Remove informal message about syslog.
6179         (options): Fix typo.
6181         [BZ #14053]
6182         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
6183         to asm.
6184         (lrint): Likewise.
6185         (llrintf): Likewise.
6186         (llrint): Likewise.
6187         (rint): Likewise.
6188         (rintf): Likewise.
6189         (nearbyint): Likewise.
6190         (nearbyintf): Likewise.
6192 2012-05-09  Andreas Jaeger  <aj@suse.de>
6193             Pedro Alves  <palves@redhat.com>
6195         * nscd/nscd.c (run_mode): Use enum.
6196         (main): Cleanup coding style issue.
6198 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
6199             Andreas Jaeger  <aj@suse.de>
6201         * nscd/nscd.c (go_background): Replaced with...
6202         (run_mode): ... this.
6203         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
6204         (options): Add -F --foreground.
6205         (main): Implement it.
6206         (parse_opt): Parse it.
6208 2012-05-09  Andreas Jaeger  <aj@suse.de>
6210         [BZ #14083]
6211         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
6212         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
6213         -Wconversion warning.
6214         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
6215         Likewise.
6217 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
6219         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
6220         == 0.
6221         (LC_ALL): Use macro-int-constant.
6222         (LC_COLLATE): Likewise.
6223         (LC_CTYPE): Likewise.
6224         (LC_MESSAGES): Likewise.
6225         (LC_MONETARY): Likewise.
6226         (LC_NUMERIC): Likewise.
6227         (LC_TIME): Likewise.
6228         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
6229         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
6230         [ISO || ISO99 || ISO11] (*_t): Do not allow.
6231         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
6232         Specify type.
6233         [C99-based standards] (float_t): Expect type.
6234         [C99-based standards] (double_t): Expect type.
6235         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
6236         type.
6237         [C99-based standards] (HUGE_VALL): Likewise.
6238         [C99-based standards] (INFINITY): Likewise.
6239         [C99-based standards] (NAN): Likewise.
6240         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
6241         [C99-based standards] (FP_NAN): Likewise.
6242         [C99-based standards] (FP_NORMAL): Likewise.
6243         [C99-based standards] (FP_SUBNORMAL): Likewise.
6244         [C99-based standards] (FP_ZERO): Likewise.
6245         [C99-based standards] (FP_FAST_FMA): Use
6246         optional-macro-int-constant.  Specify type.  Require == 1.
6247         [C99-based standards] (FP_FAST_FMAF): Likewise.
6248         [C99-based standards] (FP_FAST_FMAL): Likewise.
6249         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
6250         [C99-based standards] (FP_ILOGBNAN): Likewise.
6251         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
6252         Specify type.
6253         [C99-based standards] (MATH_ERREXCEPT): Likewise.
6254         [C99-based standards] (math_errhandling): Specify type.
6255         [ISO99 || ISO11] (signgam): Do not allow.
6256         [non-C99-based standards] (copysignf): Do not allow.
6257         [non-C99-based standards] (exp2f): Likewise.
6258         [non-C99-based standards] (log2f): Likewise.
6259         [non-C99-based standards] (modff): Allow.
6260         [non-C99-based standards] (erff): Do not allow.
6261         [non-C99-based standards] (erfcf): Likewise.
6262         [non-C99-based standards] (gammaf): Likewise.
6263         [non-C99-based standards] (hypotf): Likewise.
6264         [non-C99-based standards] (j0f): Likewise.
6265         [non-C99-based standards] (j1f): Likewise.
6266         [non-C99-based standards] (jnf): Likewise.
6267         [non-C99-based standards] (lgammaf): Likewise.
6268         [non-C99-based standards] (tgammaf): Likewise.
6269         [non-C99-based standards] (y0f): Likewise.
6270         [non-C99-based standards] (y1f): Likewise.
6271         [non-C99-based standards] (ynf): Likewise.
6272         [non-C99-based standards] (isnanf): Likewise.
6273         [non-C99-based standards] (acoshf): Likewise.
6274         [non-C99-based standards] (asinhf): Likewise.
6275         [non-C99-based standards] (atanhf): Likewise.
6276         [non-C99-based standards] (cbrtf): Likewise.
6277         [non-C99-based standards] (expm1f): Likewise.
6278         [non-C99-based standards] (ilogbf): Likewise.
6279         [non-C99-based standards] (log1pf): Likewise.
6280         [non-C99-based standards] (logbf): Likewise.
6281         [non-C99-based standards] (nextafterf): Likewise.
6282         [non-C99-based standards] (remainderf): Likewise.
6283         [non-C99-based standards] (rintf): Likewise.
6284         [non-C99-based standards] (scalbf): Likewise.
6285         [non-C99-based standards] (copysignl): Likewise.
6286         [non-C99-based standards] (exp2l): Likewise.
6287         [non-C99-based standards] (log2l): Likewise.
6288         [non-C99-based standards] (modfl): Allow.
6289         [non-C99-based standards] (erfl): Do not allow.
6290         [non-C99-based standards] (erfcl): Likewise.
6291         [non-C99-based standards] (gammal): Likewise.
6292         [non-C99-based standards] (hypotl): Likewise.
6293         [non-C99-based standards] (j0l): Likewise.
6294         [non-C99-based standards] (j1l): Likewise.
6295         [non-C99-based standards] (jnl): Likewise.
6296         [non-C99-based standards] (lgammal): Likewise.
6297         [non-C99-based standards] (tgammal): Likewise.
6298         [non-C99-based standards] (y0l): Likewise.
6299         [non-C99-based standards] (y1l): Likewise.
6300         [non-C99-based standards] (ynl): Likewise.
6301         [non-C99-based standards] (isnanl): Likewise.
6302         [non-C99-based standards] (acoshl): Likewise.
6303         [non-C99-based standards] (asinhl): Likewise.
6304         [non-C99-based standards] (atanhl): Likewise.
6305         [non-C99-based standards] (cbrtl): Likewise.
6306         [non-C99-based standards] (expm1l): Likewise.
6307         [non-C99-based standards] (ilogbl): Likewise.
6308         [non-C99-based standards] (log1pl): Likewise.
6309         [non-C99-based standards] (logbl): Likewise.
6310         [non-C99-based standards] (nextafterl): Likewise.
6311         [non-C99-based standards] (remainderl): Likewise.
6312         [non-C99-based standards] (rintl): Likewise.
6313         [non-C99-based standards] (scalbl): Likewise.
6314         [ISO || ISO99 || ISO11] (*_t): Do not allow.
6315         [non-C99-based standards] (FP_*): Do not allow.
6316         [C99-based standards] (FP_*): Change to
6317         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
6318         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
6319         allow.
6320         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
6321         (SIG_ERR): Likewise.
6322         [X/Open-based standards] (SIG_HOLD): Likewise.
6323         (SIG_IGN): Likewise.
6324         (SIGABRT): Use macro-int-constant.  Specify type.  Require
6325         positive value.
6326         (SIGFPE): Likewise.
6327         (SIGILL): Likewise.
6328         (SIGINT): Likewise.
6329         (SIGSEGV): Likewise.
6330         (SIGTER): Likewise.
6331         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
6332         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
6333         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
6334         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
6335         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
6336         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
6337         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
6338         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
6339         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
6340         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
6341         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
6342         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
6343         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
6344         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
6345         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
6346         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
6347         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
6348         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
6349         [X/Open-based standards] (SIGTRAP): Likewise.
6350         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
6351         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
6352         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
6353         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
6354         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
6355         allow.
6357 2012-05-08  Ian Wienand  <ianw@vmware.com>
6359         [BZ #14080]
6360         * time/tzset.c (__tzset_parse_tz): Update default rules for
6361         daylight time changes in the Energy Policy Act of 2005.
6363 2012-05-09  Andreas Jaeger  <aj@suse.de>
6365         [BZ #13983]
6366         * elf/ldconfig.c (parse_conf): Change string to make clear that
6367         ldconfig only issued a warning if ld.so.conf does not exist.
6369 2012-05-08  David S. Miller  <davem@davemloft.net>
6371         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
6372         movxtod instead of popping the value on the stack.
6374         * sysdeps/sparc/fpu/libm-test-ulps: Update.
6376 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
6378         * config.h.in: Add HAVE_ARM_PCS_VFP.
6380 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
6382         [BZ #13979]
6383         * include/features.h: Warn if user requests __FORTIFY_SOURCE
6384         checking but the checks are disabled for any reason.
6386 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
6388         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
6389         and ELF64_R_TYPE with ELFW(R_TYPE).
6391 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
6393         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
6394         (ulimit): Likewise.
6396         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
6397         (settimeofday): Likewise.
6399 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
6401         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
6402         a struct th_u2 inside the union, and move tu_block/tu_code into
6403         a new th_u3 union of tu_block/tu_code inside of that.  Move
6404         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
6405         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
6406         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
6407         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
6408         (th_stuff): Change to th_u1.tu_stuff.
6409         (th_data): Define.
6410         (th_msg): Change to th_u1.th_u2.tu_data.
6412 2012-05-07  David S. Miller  <davem@davemloft.net>
6414         * sysdeps/sparc/fpu/libm-test-ulps: Update.
6416         [BZ #14074]
6417         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
6418         (SETUP_PIC_REG): Use it.
6419         (SETUP_PIC_REG_LEAF): Use it.
6421 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
6423         [BZ #13885]
6424         [BZ #13923]
6425         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
6426         USE_AS_EXPM1L.
6427         (EXPL_FINITE): Likewise.
6428         (FLDLOG): Likewise.
6429         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
6430         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
6431         e_expl.S.
6432         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
6433         USE_AS_EXPM1L.
6434         (EXPL_FINITE): Likewise.
6435         (FLDLOG): Likewise.
6436         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
6437         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
6438         e_expl.S.
6439         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
6440         test of -max_value argument for long double.
6441         * sysdeps/i386/fpu/libm-test-ulps: Update.
6442         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6444 2012-05-06  David S. Miller  <davem@davemloft.net>
6446         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
6447         quad soft-float symbols whose references which are compiler
6448         generated.
6449         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
6451 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
6453         [BZ #13884]
6454         [BZ #13914]
6455         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
6456         USE_AS_EXP10L.
6457         (EXPL_FINITE): Likewise.
6458         (FLDLOG): Likewise.
6459         (c0): Likewise.
6460         (c1): Likewise.
6461         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
6462         Adjust comments for base varying.
6463         (__expl_finite): Change alias to EXPL_FINITE.
6464         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
6465         e_expl.S.
6466         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
6467         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
6468         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
6469         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
6470         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
6471         USE_AS_EXP10L.
6472         (EXPL_FINITE): Likewise.
6473         (FLDLOG): Likewise.
6474         (c0): Likewise.
6475         (c1): Likewise.
6476         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
6477         Adjust comments for base varying.
6478         (__expl_finite): Change alias to EXPL_FINITE.
6479         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
6480         tests for bugs.
6481         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6483         [BZ #14064]
6484         * math/libm-test.inc (check_float_internal): Correct ulp
6485         calculation for subnormal expected results.
6487 2012-05-06  Andreas Jaeger  <aj@suse.de>
6489         * Makeconfig (+math-flags): New, set to -frounding-math.
6490         (+cflags): Add +math-flags so that all of glibc gets compiled with
6491         it.
6493         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
6495 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
6497         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
6498         Disable one test.
6500         [BZ #13787]
6501         [BZ #13922]
6502         [BZ #14036]
6503         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
6504         (__ieee754_expl): Allow for and saturate large arguments.
6505         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
6506         (u_threshold): Likewise.
6507         (__exp): Call __ieee754_exp before checking for overflow and
6508         underflow.
6509         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
6510         (u_threshold): Likewise.
6511         (__expf): Call __ieee754_expf before checking for overflow and
6512         underflow.
6513         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
6514         (u_threshold): Likewise.
6515         (__expl): Call __ieee754_expl before checking for overflow and
6516         underflow.
6517         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
6518         (__ieee754_expl): Allow for and saturate large arguments.
6519         * math/libm-test.inc (exp_test): Add another test.  Do not allow
6520         missing overflow exception on overflow.
6521         (expm1_test): Do not allow missing overflow exception on overflow.
6523         * sysdeps/i386/fpu/e_expl.c: Move to ...
6524         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
6525         rather than using inline asm.
6526         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
6527         * sysdeps/x86_64/fpu/e_expl.S: Copy from
6528         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
6530         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
6531         (nice): Likewise.
6532         (poll): Likewise.
6533         (signal): Likewise.
6534         (time): Likewise.
6535         (times): Likewise.
6537 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
6539         * sysdeps/unix/syscalls.list (adjtime): Add entry from
6540         sysdeps/unix/common/syscalls.list.
6541         (fchmod): Likewise.
6542         (fchown): Likewise.
6543         (ftruncate): Likewise.
6544         (getrusage): Likewise.
6545         (gettimeofday): Likewise.
6546         (setpgid): Likewise.
6547         (setregid): Likewise.
6548         (setreuid): Likewise.
6549         (sigaction): Likewise.
6550         (truncate): Likewise.
6551         (vhangup): Likewise.
6552         * sysdeps/unix/common/syscalls.list: Remove file.
6553         * sysdeps/unix/bsd/Implies: Don't include unix/common.
6554         * sysdeps/unix/sysv/linux/Implies: Likewise.
6556 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
6558         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
6559         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
6560         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
6561         Moved to ...
6562         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
6563         Here.
6564         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
6565         to ...
6566         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
6567         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
6568         to ...
6569         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
6570         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
6571         to ...
6572         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
6573         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
6574         to ...
6575         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
6576         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
6577         to ...
6578         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
6579         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
6580         to ...
6581         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
6582         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
6583         to ...
6584         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
6585         Here.
6586         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
6587         to ...
6588         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
6589         Here.
6590         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
6591         to ...
6592         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
6593         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
6594         Moved to ...
6595         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
6596         Here.
6597         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
6598         to ...
6599         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
6601 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
6603         * sysdeps/unix/common/bits/dirent.h: Remove file.
6604         * sysdeps/unix/common/bits/fcntl.h: Likewise.
6606         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
6607         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
6608         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
6609         * sysdeps/unix/bsd/isatty.c: Likewise.
6610         * sysdeps/unix/bsd/tcdrain.c: Likewise.
6611         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
6612         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
6614 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6616         [BZ #13563]
6617         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
6618         long double comparison inaccuracies.
6619         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
6620         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6622 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
6624         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
6625         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
6627 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
6629         [BZ #14049]
6630         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
6631         nonzero digits before rounding a hex value.
6632         * stdlib/tst-strtod.c (tests): Add another test.
6634 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
6636         * sysdeps/s390/fpu/libm-test-ulps: Update.
6638 2012-05-03  Andreas Jaeger  <aj@suse.de>
6640         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
6641         does not get optimized out.
6642         (malloc_opt_barrier): New.
6644 2012-05-03  Andreas Jaeger  <aj@suse.de>
6645             Roland McGrath  <roland@hack.frob.com>
6647         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
6648         intermediate file deletion.
6649         (generated): Add .symlist files.
6651 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
6653         [BZ #13775]
6654         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
6655         Redirect under this condition.
6656         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
6657         [__USE_GNU] (__dprintf_chk): Not under this condition.
6658         [__USE_GNU] (__vdprintf_chk): Likewise.
6659         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
6660         under this condition.
6661         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
6662         [__USE_XOPEN2K8] (dprintf): Define under this condition.
6663         [__USE_XOPEN2K8] (vdprintf): Likewise.
6664         [__USE_GNU] (__dprintf_chk): Not under this condition.
6665         [__USE_GNU] (__vdprintf_chk): Likewise.
6666         [__USE_GNU] (dprintf): Likewise.
6667         [__USE_GNU] (vdprintf): Likewise.
6669 2012-05-03  Roland McGrath  <roland@hack.frob.com>
6671         * elf/Makefile (common-generated): Set this instead of generated for
6672         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
6673         $(all-built-dso)-derived lists.
6675 2012-05-03  Andreas Jaeger  <aj@suse.de>
6677         * sysdeps/i386/fpu/libm-test-ulps: Update.
6679         * FAQ: Removed.
6680         * FAQ.in: Likewise.
6681         * scripts/gen-FAQ.pl: Likewise.
6682         * manual/install.texi (Installation): Point to online location of
6683         FAQ.
6684         * Makefile (files-for-dist): Remove FAQ.
6685         (FAQ): Remove.
6687 2012-05-02  Allan McRae  <allan@archlinux.org>
6689         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
6690         (LDFLAGS-reldepmod5.so): Likewise.
6691         (LDFLAGS-reldep6mod1.so): Likewise.
6692         (LDFLAGS-reldep6mod4.so): Likewise.
6693         (LDFLAGS-reldep8mod3.so): Likewise.
6694         (LDFLAGS-unload4mod1.so): Likewise.
6695         (LDFLAGS-unload4mod2.so): Likewise.
6696         (LDFLAGS-tst-initorder): Likewise.
6697         (LDFLAGS-tst-initordera2.so): Likewise.
6698         (LDFLAGS-tst-initordera3.so): Likewise.
6699         (LDFLAGS-tst-initordera4.so): Likewise.
6700         (LDFLAGS-tst-initorderb2.so): Likewise.
6701         (LDFLAGS-noload): Likewise.
6702         (LDFLAGS-next): Likewise.
6703         (LDFLAGS-order2mod1.so): Likewise.
6704         (LDFLAGS-order2mod2.so): Likewise.
6705         (LDFLAGS-tst-initorder2): Likewise.
6706         (LDFLAGS-tst-initorder2a.so): Likewise.
6707         (LDFLAGS-tst-initorder2b.so): Likewise.
6708         (LDFLAGS-tst-initorder2c.so): Likewise.
6709         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
6711 2012-05-02  David S. Miller  <davem@davemloft.net>
6713         * sysdeps/sparc/fpu/libm-test-ulps: Update.
6715 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
6717         [BZ #14055]
6718         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
6720 2012-05-02  Andreas Jaeger  <aj@suse.de>
6722         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
6723         since we manipulate rounding mode.
6724         (CPPFLAGS-test-idouble.c): Likewise.
6725         (CPPFLAGS-test-ifloat.c): Likewise.
6726         (CFLAGS-test-ldouble.c): Likewise.
6727         (CFLAGS-test-double.c): Likewise.
6728         (CFLAGS-test-float.c): Likewise.
6729         (CFLAGS-test-misc.c): Likewise.
6730         (CFLAGS-test-test-fenv.c): Likewise.
6732 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6734         [BZ #2550]
6735         [BZ #2570]
6736         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
6737         comparisons to determine direction to adjust input.
6739 2012-05-01  Roland McGrath  <roland@hack.frob.com>
6741         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
6742         output to the target.
6744         * scripts/localplt.awk: New file.
6745         * elf/Makefile ($(objpfx)check-localplt): Target removed.
6746         (check-localplt-CFLAGS): Variable removed.
6747         ($(all-built-dso:=.jmprel)): New static pattern rule.
6748         (generated): Add those targets.
6749         (localplt-built-dso): New variable.
6750         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
6752         * elf/check-localplt.c: File removed.
6754         * scripts/check-execstack.awk: New file.
6755         * elf/Makefile ($(objpfx)check-execstack): Target removed.
6756         (check-execstack-CFLAGS): Variable removed.
6757         ($(objpfx)check-execstack.h): Target removed.
6758         ($(objpfx)execstack-default): New target.
6759         (generated): Add that instead of check-execstack.h.
6760         ($(all-built-dso:=.phdr)): New static pattern rule.
6761         (generated): Add those targets.
6762         * elf/check-execstack.c: File removed.
6764         * scripts/check-textrel.awk: New file.
6765         * elf/Makefile ($(objpfx)check-textrel): Target removed.
6766         (check-textrel-CFLAGS): Variable removed.
6767         (all-built-dso): Use := to define.o
6768         ($(all-built-dso:=.dyn)): New static pattern rule.
6769         (generated): Add those targets.
6770         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
6771         * config.make.in (READELF): New substituted variable.
6772         * elf/check-textrel.c: File removed.
6774 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
6776         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
6777         allow.
6778         * conform/data/ctype.h-data [C99-based standards] (isblank):
6779         Expect function.
6780         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
6781         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
6782         [ISO || ISO99 || ISO11] (*_t): Do not allow.
6783         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
6784         Specify type.  Require positive value.
6785         (EILSEQ): Likewise.
6786         (ERANGE): Likewise.
6787         [ISO || POSIX] (EILSEQ): Do not expect.
6788         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
6789         Specify type.  Require positive value.
6790         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
6791         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
6792         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
6793         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
6794         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
6795         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
6796         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
6797         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
6798         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
6799         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
6800         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
6801         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
6802         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
6803         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
6804         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
6805         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
6806         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
6807         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
6808         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
6809         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
6810         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
6811         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
6812         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
6813         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
6814         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
6815         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
6816         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
6817         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
6818         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
6819         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
6820         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
6821         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
6822         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
6823         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
6824         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
6825         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
6826         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
6827         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
6828         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
6829         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
6830         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
6831         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
6832         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
6833         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
6834         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
6835         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
6836         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
6837         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
6838         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
6839         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
6840         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
6841         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
6842         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
6843         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
6844         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
6845         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
6846         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
6847         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
6848         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
6849         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
6850         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
6851         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
6852         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
6853         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
6854         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
6855         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
6856         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
6857         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
6858         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
6859         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
6860         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
6861         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
6862         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
6863         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
6864         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
6865         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
6866         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
6867         Require >= 2.
6868         (FLT_ROUNDS): Expect as macro, not constant.
6869         (FLT_MANT_DIG): Use macro-int-constant.
6870         (DBL_MANT_DIG): Likewise.
6871         (LDBL_MANT_DIG): Likewise.
6872         (FLT_DIG): Likewise.
6873         (DBL_DIG): Likewise.
6874         (LDBL_DIG): Likewise.
6875         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
6876         (DBL_MIN_EXP): Likewise.
6877         (LDBL_MIN_EXP): Likewise.
6878         (FLT_MAX_EXP): Use macro-int-constant.
6879         (DBL_MAX_EXP): Likewise.
6880         (LDBL_MAX_EXP): Likewise.
6881         (FLT_MAX_10_EXP): Likewise.
6882         (DBL_MAX_10_EXP): Likewise.
6883         (LDBL_MAX_10_EXP): Likewise.
6884         (FLT_MAX): Use macro-constant.
6885         (DBL_MAX): Likewise.
6886         (LDBL_MAX): Likewise.
6887         (FLT_EPSILON): Use macro-constant.  Give upper bound.
6888         (DBL_EPSILON): Likewise.
6889         (LDBL_EPSILON): Likewise.
6890         (FLT_MIN): Likewise.
6891         (DBL_MIN): Likewise.
6892         (LDBL_MIN): Likewise.
6893         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
6894         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
6895         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
6896         [ISO11] (FLT_HAS_SUBNORM): Likewise.
6897         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
6898         [ISO11] (DBL_DECIMAL_DIG): Likewise.
6899         [ISO11] (FLT_DECIMAL_DIG): Likewise.
6900         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
6901         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
6902         [ISO11] (FLT_TRUE_MIN): Likewise.
6903         [ISO11] (LDBL_TRUE_MIN): Likewise.
6904         [ISO || ISO99 || ISO11] (*_t): Do not allow.
6905         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
6906         (SCHAR_MIN): Use macro-int-constant.  Specify type.
6907         (SCHAR_MAX): Likewise.
6908         (UCHAR_MAX): Likewise.
6909         (CHAR_MIN): Likewise.
6910         (CHAR_MAX): Likewise.
6911         (MB_LEN_MAX): Use macro-int-constant.
6912         (SHRT_MIN): Use macro-int-constant.  Specify type.
6913         (SHRT_MAX): Likewise.
6914         (USHRT_MAX): Likewise.
6915         (INT_MAX): Likewise.
6916         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
6917         bound negative.
6918         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
6919         bound with "U".
6920         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
6921         bound with "L".
6922         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
6923         bound negative.  Suffix upper bound with "L".
6924         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
6925         bound with "UL".
6926         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
6927         Specify type.
6928         [C99-based standards] (LLONG_MAX): Likewise.
6929         [C99-based standards] (ULLONG_MAX): Likewise.
6930         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
6931         == 0.
6932         [ISO11] (max_align_t): Require type.
6933         [ISO || ISO99 || ISO11] (*_t): Do not allow.
6935         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
6936         from $CFLAGS, without defining away __attribute__ calls.
6937         (checknamespace): Use $CFLAGS_namespace.
6939         * conform/conformtest.pl (@keywords): Only include C99 keywords
6940         for standards based on C99 or C11.
6942         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
6943         Disable tests.
6944         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
6945         UNIX98]: Likewise.
6947         * conform/conformtest.pl: Handle "macro-int-constant" and test for
6948         usability of symbols in #if.
6950         * conform/conformtest.pl: If macro or constant types start
6951         "promoted:", expect the symbol to be of the following type
6952         promoted by the integer promotions.
6954         * conform/conformtest.pl: Parse all "constant" and "macro" lines
6955         in one place.  Also handle "macro-constant".
6957         * conform/conformtest.pl: Only accept expected macro values with
6958         "==".  Parse all "macro" lines in one place.
6959         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
6961         * conform/conformtest.pl: Handle braced types on "constant" lines
6962         instead of handling "typed-constant".
6963         * conform/data/signal.h-data: Use "constant" instead of
6964         "typed-constant".
6966         * conform/conformtest.pl: Handle "optional-" at start of lines in
6967         one place rather than duplicating several cases.  Handle each
6968         format of "macro" line with initial "optional-".
6970         * conform/conformtest.pl: Only accept expected constant or
6971         optional-constant values with "==".  Parse all "constant" lines in
6972         one place.  Parse all "optional-constant" lines in one place.
6973         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
6974         * conform/data/fmtmsg.h-data: Likewise.
6975         * conform/data/netinet/in.h-data: Likewise.
6976         * conform/data/tar.h-data: Likewise.
6977         * conform/data/limits.h-data: Use "==" form on "constant" and
6978         "optional-constant" lines.
6980         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
6981         Use -std=c99 for XOPEN2K.
6982         (@knownproblems): Remove.
6983         (newtoken): Don't check %isknown.
6985         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
6986         Do not expect macro.
6987         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
6988         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
6989         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
6990         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
6991         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
6992         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
6993         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
6994         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
6995         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
6996         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
6997         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
6998         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
6999         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
7000         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
7001         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
7002         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
7003         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
7004         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
7005         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
7006         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
7007         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
7008         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
7009         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
7010         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
7011         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
7012         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
7013         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
7014         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
7015         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
7016         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
7017         [XPG3] (acosh): Likewise.
7018         [XPG3] (asinh): Likewise.
7019         [XPG3] (atanh): Likewise.
7020         [XPG3] (cbrt): Likewise.
7021         [XPG3] (expm1): Likewise.
7022         [XPG3] (ilogb): Likewise.
7023         [XPG3] (log1p): Likewise.
7024         [XPG3] (logb): Likewise.
7025         [XPG3] (nextafter): Likewise.
7026         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
7027         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
7028         [XPG3] (remainder): Likewise.
7029         [XPG3] (rint): Likewise.
7030         [XPG3 || XPG4 || UNIX98] (round): Likewise.
7031         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
7032         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
7033         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
7034         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
7035         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
7036         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
7037         [UNIX98 || XOPEN2K] (scalb): Expect.
7038         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
7039         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
7040         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
7041         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
7042         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
7043         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
7044         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
7045         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
7046         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
7047         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
7048         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
7049         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
7050         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
7051         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
7052         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
7053         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
7054         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
7055         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
7056         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
7057         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
7058         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
7059         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
7060         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
7061         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
7062         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
7063         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
7064         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
7065         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
7066         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
7067         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
7068         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
7069         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
7070         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
7071         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
7072         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
7073         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
7074         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
7075         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
7076         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
7077         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
7078         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
7079         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
7080         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
7081         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
7082         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
7083         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
7084         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
7085         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
7086         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
7087         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
7088         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
7089         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
7090         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
7091         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
7092         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
7093         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
7094         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
7095         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
7096         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
7097         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
7098         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
7099         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
7100         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
7101         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
7102         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
7103         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
7104         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
7105         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
7106         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
7107         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
7108         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
7109         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
7110         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
7111         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
7112         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
7113         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
7114         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
7115         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
7116         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
7117         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
7118         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
7119         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
7120         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
7121         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
7122         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
7123         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
7124         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
7125         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
7126         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
7127         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
7128         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
7129         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
7130         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
7131         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
7132         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
7133         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
7134         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
7135         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
7136         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
7137         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
7138         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
7139         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
7140         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
7141         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
7142         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
7143         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
7144         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
7145         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
7146         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
7147         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
7148         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
7149         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
7150         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
7151         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
7152         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
7153         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
7154         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
7155         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
7156         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
7157         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
7158         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
7159         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
7160         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
7161         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
7162         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
7163         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
7164         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
7165         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
7166         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
7167         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
7168         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
7169         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
7170         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
7171         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
7172         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
7173         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
7174         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
7176         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
7177         _XOPEN_SOURCE_EXTENDED for XPG4.
7179         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
7181         * Makeconfig (localtime): Remove variable.
7182         (inst_localtime-file): Likewise.
7184 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
7186         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
7187         Update.
7188         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
7189         Update.
7190         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
7191         Update.
7192         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
7193         Update.
7194         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
7195         Update.
7196         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
7197         Update.
7198         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
7199         Update.
7200         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
7201         Update.
7202         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
7203         Update.
7205 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
7207         [BZ #2550]
7208         [BZ #2570]
7209         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
7210         comparisons to determine direction to adjust input.
7211         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
7212         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
7213         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
7214         Likewise.
7215         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
7216         Likewise.
7217         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
7218         Likewise.
7219         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
7220         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
7221         Likewise.
7222         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
7223         Likewise.
7224         * math/libm-test.inc (nexttoward_test): Add more tests.
7226 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
7228         [BZ #14040]
7229         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
7230         in version GLIBC_2.1, not GLIBC_2.0.
7231         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
7232         Likewise.
7234 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
7236         [BZ #13942]
7237         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
7238         (1 - x) * (1 + x).
7239         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
7240         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
7241         * math/libm-test.inc (acos_test): Add more tests.
7242         (asin_test): Likewise.
7243         * sysdeps/i386/fpu/libm-test-ulps: Update.
7244         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7246         [BZ #14034]
7247         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
7248         of square root.
7249         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
7250         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
7251         * math/libm-test.inc (acos_test_tonearest): New function.
7252         (acos_test_towardzero): Likewise.
7253         (acos_test_downward): Likewise.
7254         (acos_test_upward): Likewise.
7255         (asin_test_tonearest): Likewise.
7256         (asin_test_towardzero): Likewise.
7257         (asin_test_downward): Likewise.
7258         (asin_test_upward): Likewise.
7259         (main): Call the new functions.
7260         * sysdeps/i386/fpu/libm-test-ulps: Update.
7261         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7263         [BZ #13884]
7264         [BZ #13924]
7265         * math/e_exp10.c: Include <float.h>.
7266         (__ieee754_exp10): Handle underflow here rather than multiplying
7267         large negative argument by M_LN10.
7268         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
7269         of __ieee754_expf.
7270         * math/e_exp10l.c: Include <float.h>.
7271         (__ieee754_exp10l): Handle underflow here rather than multiplying
7272         large negative argument by M_LN10l.
7273         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
7274         spurious overflow exception on underflow.
7276 2012-04-29  Marek Polacek  <polacek@redhat.com>
7278         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
7279         (__fortify_function): New macro.
7280         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
7281         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
7282         __extern_always_inline.
7283         * libio/bits/stdio2.h: Likewise.
7284         * libio/bits/stdio.h: Likewise.
7285         * string/string.h: Likewise.
7286         * string/bits/string3.h: Likewise.
7287         * include/stdio.h: Likewise.
7288         * stdlib/bits/stdlib.h: Likewise.
7289         * stdlib/stdlib.h: Likewise.
7290         * rt/bits/mqueue2.h: Likewise.
7291         * rt/mqueue.h: Likewise.
7292         * posix/bits/unistd.h: Likewise.
7293         * posix/unistd.h: Likewise.
7294         * io/bits/poll2.h: Likewise.
7295         * io/bits/fcntl2.h: Likewise.
7296         * io/fcntl.h: Likewise.
7297         * io/sys/poll.h: Likewise.
7298         * misc/bits/syslog.h: Likewise.
7299         * misc/bits/syslog-ldbl.h: Likewise.
7300         * misc/sys/syslog.h: Likewise.
7301         * socket/bits/socket2.h: Likewise.
7302         * socket/sys/socket.h: Likewise.
7303         * debug/tst-chk1.c: Likewise.
7304         * wcsmbs/bits/wchar2.h: Likewise.
7305         * wcsmbs/bits/wchar-ldbl.h: Likewise.
7306         * wcsmbs/wchar.h: Likewise.
7308 2012-04-29  Andreas Jaeger  <aj@suse.de>
7310         * Makerules (tests): Remove enable-check-abi protection.
7311         (check-abi-warn): Remove.
7312         (check-abi-%): Remove check-abi-warn usage.
7314         * configure.in: Remove check-abi configure option.
7315         * configure: Regenerated.
7316         * config.make.in (enable-check-abi): Remove.
7318 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
7320         [BZ #14033]
7321         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
7322         double functions to double *_finite functions.
7324         [BZ #13941]
7325         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
7326         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
7327         LDBL_MIN_EXP.
7328         * stdio-common/Makefile (tests): Add tst-sprintf3.
7329         * stdio-common/tst-sprintf3.c: New file.
7331         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
7332         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
7334 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
7336         * conform/conformtest.pl: Remove duplicate typed-constant
7337         handling.
7339 2012-04-28  David S. Miller  <davem@davemloft.net>
7341         * Makerules (%.abilist): Add vpath on sysdep_dirs.
7342         (check-abi-%): Remove AWK script prerequisite and explicit
7343         abilist directory.
7344         (check-abi): Rewrite to just diff the symlist with the abilist.
7345         (config-tls, config-abi-config): Delete, no longer used.
7346         (update-abi-%): Remove AWK script and explicit abilist directory.
7347         (update-abi): Rewrite to simply compare and conditionally copy the
7348         symlist and the sysdep abilist file.  Remove update-abi-config
7349         checks.
7350         * abilist/ld.abilist: Remove.
7351         * abilist/libBrokenLocale.abilist: Remove.
7352         * abilist/libanl.abilist: Remove.
7353         * abilist/libcrypt.abilist: Remove.
7354         * abilist/libdl.abilist: Remove.
7355         * abilist/librt.abilist: Remove.
7356         * abilist/libthread_db.abilist: Remove.
7357         * abilist/libutil.abilist: Remove.
7358         * scripts/extract-abilist.awk: Remove.
7359         * scripts/merge-abilist.awk: Remove.
7360         * sysdeps/generic/libcidn.abilist: New file.
7361         * sysdeps/generic/libnss_compat.abilist: New file.
7362         * sysdeps/generic/libnss_db.abilist: New file.
7363         * sysdeps/generic/libnss_dns.abilist: New file.
7364         * sysdeps/generic/libnss_files.abilist: New file.
7365         * sysdeps/generic/libnss_hesiod.abilist: New file.
7366         * sysdeps/generic/libnss_nis.abilist: New file.
7367         * sysdeps/generic/libnss_nisplus.abilist: New file.
7368         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
7369         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
7370         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
7371         file.
7372         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
7373         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
7374         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
7375         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
7376         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
7377         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
7378         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
7379         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
7380         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
7381         file.
7382         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
7383         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
7384         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
7385         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
7386         file.
7387         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
7388         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
7389         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
7390         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
7391         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
7392         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
7393         file.
7394         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
7395         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
7396         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
7397         file.
7398         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
7399         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
7400         New file.
7401         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
7402         New file.
7403         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
7404         New file.
7405         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
7406         New file.
7407         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
7408         New file.
7409         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
7410         New file.
7411         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
7412         New file.
7413         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
7414         New file.
7415         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
7416         New file.
7417         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
7418         New file.
7419         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
7420         New file.
7421         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
7422         New file.
7423         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
7424         New file.
7425         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
7426         file.
7427         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
7428         New file.
7429         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
7430         New file.
7431         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
7432         file.
7433         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
7434         New file.
7435         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
7436         New file.
7437         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
7438         file.
7439         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
7440         New file.
7441         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
7442         New file.
7443         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
7444         New file.
7445         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
7446         New file.
7447         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
7448         New file.
7449         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
7450         New file.
7451         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
7452         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
7453         file.
7454         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
7455         New file.
7456         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
7457         file.
7458         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
7459         file.
7460         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
7461         file.
7462         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
7463         file.
7464         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
7465         file.
7466         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
7467         New file.
7468         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
7469         file.
7470         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
7471         file.
7472         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
7473         New file.
7474         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
7475         file.
7476         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
7477         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
7478         file.
7479         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
7480         New file.
7481         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
7482         file.
7483         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
7484         file.
7485         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
7486         file.
7487         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
7488         file.
7489         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
7490         file.
7491         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
7492         New file.
7493         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
7494         file.
7495         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
7496         file.
7497         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
7498         New file.
7499         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
7500         file.
7501         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
7502         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
7503         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
7504         file.
7505         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
7506         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
7507         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
7508         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
7509         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
7510         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
7511         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
7512         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
7513         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
7514         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
7515         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
7516         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
7517         file.
7518         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
7519         New file.
7520         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
7521         file.
7522         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
7523         file.
7524         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
7525         file.
7526         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
7527         file.
7528         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
7529         file.
7530         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
7531         New file.
7532         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
7533         New file.
7534         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
7535         file.
7536         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
7537         New file.
7538         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
7539         file.
7540         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
7541         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
7542         file.
7543         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
7544         New file.
7545         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
7546         file.
7547         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
7548         file.
7549         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
7550         file.
7551         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
7552         file.
7553         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
7554         file.
7555         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
7556         New file.
7557         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
7558         New file.
7559         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
7560         file.
7561         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
7562         New file.
7563         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
7564         file.
7566 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
7568         * conform/conformtest.pl: Fix typo in handling typed-constant from
7569         allow-header.
7571 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
7573         * README: Cut down references to pre-2.6 Linux kernels and
7574         Linuxthreads.  Update lists of configurations in libc and ports
7575         and sort alphabetically.  Say "or newer" with Linux kernel version
7576         requirements.
7578         * config.h.in [IS_IN_build]: Allow compiling without optimization.
7580 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
7582         [BZ #887]
7583         * math/libm-test.inc (logb_test_downward): New test to expose
7584         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
7585         rounding mode.
7587 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
7589         [BZ #14027]
7590         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
7591         to be done.
7592         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
7593         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
7595 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
7597         * sysdeps/unix/i386/brk.S: Remove file.
7598         * sysdeps/unix/i386/dl-brk.S: Likewise.
7599         * sysdeps/unix/i386/pipe.S: Likewise.
7600         * sysdeps/unix/i386/sigreturn.S: Likewise.
7601         * sysdeps/unix/i386/syscall.S: Likewise.
7602         * sysdeps/unix/i386/vfork.S: Likewise.
7603         * sysdeps/unix/i386/wait.S: Likewise.
7605         * sysdeps/unix/common/tcsendbrk.c: Move to ...
7606         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
7608         * configure.in (arm*-none*): Do not allow without
7609         --enable-hacker-mode.
7610         (netbsd*): Remove case setting base_os.
7611         (386bsd*): Likewise.
7612         (freebsd*): Likewise.
7613         (bsdi*): Likewise.
7614         (osf*): Likewise.
7615         (sunos*): Likewise.
7616         (ultrix*): Likewise.
7617         (newsos*): Likewise.
7618         (dynix*): Likewise.
7619         (*bsd*): Likewise.
7620         (sysv*): Likewise.
7621         (isc*): Likewise.
7622         (esix*): Likewise.
7623         (sco*): Likewise.
7624         (minix*): Likewise.
7625         (irix4*): Likewise.
7626         (irix6*): Likewise.
7627         (solaris[2-9]*): Likewise.
7628         (none): Likewise.
7629         * configure: Regenerated.
7631 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7633         [BZ #11521]
7634         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
7635         overflow or cancellation in calculating denominator.
7636         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
7637         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
7638         down expression to avoid unexpected rounding in newer GCCs.
7639         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
7641 2012-04-26  David S. Miller  <davem@davemloft.net>
7643         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
7644         long-double compat symbols.
7645         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
7646         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
7647         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
7648         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
7649         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
7650         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
7651         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
7652         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
7653         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
7654         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
7655         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
7656         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
7657         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
7659 2012-04-25  David S. Miller  <davem@davemloft.net>
7661         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
7662         HWCAP_* values only after the memory barriers have been defined.
7663         (atomic_full_barrier): Define.
7664         (atomic_read_barrier): Define.
7665         (atomic_write_barrier): Define.
7667 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
7669         * shlib-versions: Add libgcc_s version information.
7670         * sysdeps/generic/libgcc_s.h: Remove.
7671         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
7672         libgcc_s.h.
7673         * sysdeps/gnu/unwind-resume.c: Likewise.
7674         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
7676 2012-04-25  David S. Miller  <davem@davemloft.net>
7678         * sysdeps/unix/sparc/brk.S: Delete.
7679         * sysdeps/unix/sparc/dl-brk.S: Delete.
7680         * sysdeps/unix/sparc/pipe.S: Delete.
7681         * sysdeps/unix/sparc/sysdep.S: Delete.
7682         * sysdeps/unix/sparc/sysdep.h: Delete.
7683         * sysdeps/unix/sparc/vfork.S: Delete.
7684         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
7685         SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
7686         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
7687         ret_ERRVAL, r0, r1, MOVE): Define.
7688         (JUMPTARGET): Remove.
7689         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
7690         sysdeps/unix/sparc/sysdep.h
7691         (ENTRY, END): Remove.
7692         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
7694 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
7696         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
7697         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
7698         -DIS_IN_build.
7700         * timezone/README: Update upstream location and email address for
7701         tzcode and tzdata.
7702         * timezone/zdump.c: Update from tzcode 2012b.
7703         * timezone/zic.c: Likewise.
7705         * configure.in (libc_cv_as_needed): Remove test.
7706         * configure: Regenerated.
7707         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
7708         conditional definition.
7709         [$(have-as-needed) != yes] (no-as-needed): Likewise.
7710         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
7711         * config.make.in (have-as-needed): Remove variable.
7713 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
7714             Paul Pluzhnikov  <ppluzhnikov@google.com>
7716         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
7717         strings correctly.
7719 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
7721         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
7722         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
7723         * sysdeps/sh/strlen.S: Likewise.
7725 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
7727         * sysdeps/unix/fork.S: Remove file.
7728         * sysdeps/unix/i386/fork.S: Likewise.
7729         * sysdeps/unix/sparc/fork.S: Likewise.
7731         * sysdeps/unix/system.c: Remove file.
7732         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
7734         * sysdeps/unix/getegid.S: Remove file.
7735         * sysdeps/unix/geteuid.S: Likewise.
7737 2012-04-24  Roland McGrath  <roland@hack.frob.com>
7739         * scripts/check-localplt.awk: New file.
7740         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
7741         of diff.
7742         * scripts/data/localplt-generic.data: Add a comment.
7744         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
7745         NODE when __dir_mkfile failed.
7746         * sysdeps/mach/hurd/symlinkat.c: Likewise.
7747         Reported by Ludovic Courtès <ludo@gnu.org>.
7749 2012-04-24  Andreas Jaeger  <aj@suse.de>
7751         * Makerules (common-clean): Also remove gen-as-const-headers
7752         files.
7754 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
7756         * Makerules (native-compile): Do not change working directory for
7757         build.  Use $(OUTPUT_OPTION) in command.
7758         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
7760 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7762         [BZ #13886]
7763         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
7764         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
7765         * math/libm-test.inc (floor_test): Add more tests.
7766         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
7768 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
7770         * sysdeps/unix/getdents.c: Remove file.
7771         * sysdeps/unix/sysv/getdents.c: Likewise.
7772         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
7774         * sysdeps/unix/syscalls.list (madvise): Add syscall from
7775         sysdeps/unix/mman/syscalls.list.
7776         (mmap): Likewise.
7777         (mprotect): Likewise.
7778         (msync): Likewise.
7779         (munmap): Likewise.
7780         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
7781         * sysdeps/unix/mman/syscalls.list: Remove.
7782         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
7784         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
7785         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
7786         * configure: Regenerated.
7787         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
7788         $(libgcc_s_suffix).
7789         * config.make.in (libgcc_s_suffix): Remove variable.
7791 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
7793         * sysdeps/unix/sysv/gethostname.c: Move to ...
7794         * sysdeps/posix/gethostname.c: ... here.
7796         * sysdeps/unix/execve.S: Remove file.
7798         * sysdeps/unix/_exit.S: Remove file.
7800 2012-04-23  Andreas Jaeger  <aj@suse.de>
7802         [BZ #13739]
7803         * manual/Makefile: Remove make dist support, there's no
7804         need for a stand-alone documentation tar ball.
7805         (TEXI2DVI): Define always, it's not in Makeconfig.
7806         (dist): Removed.
7807         (tar-it): Removed.
7808         (edition): Removed.
7809         (glibc-doc-$(edition).tar): Removed
7810         (%.Z): Removed.
7811         (%.gz): Removed.
7812         (%.uu): Removed.
7813         (ETAGS): Remove, it's in Makeconfig.
7814         (move-if-change): Remove, it's in Makeconfig.
7816 2013-04-23  Paul Eggert  <eggert@cs.ucla.edu>
7818         [BZ #13970]
7819         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
7820         (strtod, strtof, strtold, strtol, strtoul, strtoq)
7821         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
7822         (strtod_l, strtof_l, strtold_l): Remove __wur.
7823         It is not necessarily an error to ignore strtol's return value.
7824         One can reliably look at the stored endptr to decide whether
7825         the number had valid syntax.
7827 2012-04-21  Andreas Jaeger  <aj@suse.de>
7829         [BZ #13739]
7830         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
7832 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
7834         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
7835         * sysdeps/unix/sysv/Versions: Remove file.
7837 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
7839         [BZ #13927]
7840         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7842 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
7844         [BZ #7064]
7845         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
7846         version from __vm86.
7848 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
7850         * sysdeps/unix/common/lxstat.c: Remove file.
7851         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
7853         * sysdeps/unix/sysv/Makefile: Remove file.
7855         * sysdeps/unix/sysv/direct.h: Remove file.
7857         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
7858         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
7859         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
7860         * sysdeps/unix/sysv/bits/signum.h: Likewise.
7861         * sysdeps/unix/sysv/bits/stat.h: Likewise.
7862         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
7863         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
7865         * sysdeps/unix/sysv/setrlimit.c: Remove file.
7867         * sysdeps/unix/xmknod.c: Remove file.
7868         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
7870         * sysdeps/unix/sysv/settimeofday.c: Remove file.
7872         * sysdeps/unix/sysv/i386/time.S: Remove file.
7874         * sysdeps/unix/fxstat.c: Remove file.
7875         * sysdeps/unix/xstat.c: Likewise.
7876         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
7878         * sysdeps/unix/sysv/sigaction.c: Remove file.
7880         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
7881         (sysdep_headers): Remove variable.
7882         [termio.h not in sysdep_headers] (generated): Likewise.
7883         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
7884         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
7885         * sysdeps/unix/sysv/tcdrain.c: Likewise.
7886         * sysdeps/unix/sysv/tcflow.c: Likewise.
7887         * sysdeps/unix/sysv/tcflush.c: Likewise.
7888         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
7889         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
7890         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
7891         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
7892         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
7894         * sysdeps/unix/siglist.c: Remove file.
7896         * sysdeps/unix/getppid.S: Remove file.
7898         * sysdeps/unix/mkdir.c: Remove file.
7899         * sysdeps/unix/rmdir.c: Likewise.
7901 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
7903         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
7904         ERR_MAX value.
7905         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
7906         errlist-compat value.
7908 2012-04-18  David S. Miller  <davem@davemloft.net>
7910         * sysdeps/generic/memcopy.h (reg_char): Delete.
7911         * debug/strcat_chk.c: Use char, not reg_char.
7912         * debug/strcpy_chk.c: Likewise.
7913         * debug/strncat_chk.c: Likewise.
7914         * debug/strncpy_chk.c: Likewise.
7915         * string/memchr.c: Likewise.
7916         * string/memrchr.c: Likewise.
7917         * string/rawmemchr.c: Likewise.
7918         * string/strcat.c: Likewise.
7919         * string/strchr.c: Likewise.
7920         * string/strchrnul.c: Likewise.
7921         * string/strcmp.c: Likewise.
7922         * string/strcpy.c: Likewise.
7923         * string/strncat.c: Likewise.
7924         * string/strncmp.c: Likewise.
7925         * string/strncpy.c: Likewise.
7927 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
7929         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
7930         __builtin_memcopy is called when src and dest ranges are known to not
7931         overlap.
7933 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
7935         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
7936         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
7937         fwd_align_merge macro call.
7938         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
7939         bwd_align_merge macro call.
7940         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
7942 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
7944         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
7945         bwd_align_merge macros.
7946         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
7947         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
7948         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
7950 2012-04-18  David S. Miller  <davem@davemloft.net>
7952         * sysdeps/sparc/sparc64/memcopy.h: Delete.
7954 2012-04-18  Andreas Jaeger  <aj@suse.de>
7956         [BZ# 6794]
7957         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
7958         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
7959         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
7961         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
7962         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
7963         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
7965         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
7966         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
7967         Adjust for changed ldbl-128 files.
7969         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
7970         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
7971         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
7973 2012-04-17  David S. Miller  <davem@davemloft.net>
7975         * sysdeps/sparc/sparc32/memcopy.h: Delete.
7977 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
7979         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
7980         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
7981         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
7982         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
7983         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
7984         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
7986 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7988         [BZ #6794]
7989         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
7990         * math/libm-test.inc: Add ilogb errno and exception tests.
7991         * math/w_ilogb.c: New file: ilogb wrapper.
7992         * math/w_ilogbf.c: New file: ilogbf wrapper.
7993         * math/w_ilogbl.c: New file: ilogbl wrapper.
7994         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
7995         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
7996         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
7997         exception being thrown with 0.0 as argument.
7998         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
7999         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
8000         exception being thrown with 0.0 as argument.
8001         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
8002         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
8003         exception being thrown with 0.0 as argument.
8004         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
8005         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
8006         exception being thrown with 0.0 as argument.
8007         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
8008         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
8009         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
8010         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
8011         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
8012         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
8013         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
8014         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
8015         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
8017 2012-04-17  Petr Baudis  <pasky@ucw.cz>
8019         * include/sys/uio.h: Change __vector to __iovec to avoid clash
8020         with altivec.
8022 2012-04-16  Marek Polacek  <polacek@redhat.com>
8024         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
8026 2012-04-16  Marek Polacek  <polacek@redhat.com>
8028         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
8029         operands of fdivp instruction.
8031 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
8033         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
8034         * elf/tst-auditmod3b.c: Likewise.
8035         * elf/tst-auditmod4b.c: Likewise.
8036         * elf/tst-auditmod5b.c: Likewise.
8037         * elf/tst-auditmod6b.c: Likewise.
8038         * elf/tst-auditmod6c.c: Likewise.
8039         * elf/tst-auditmod7b.c: Likewise.
8040         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
8041         * sysdeps/x86_64/preconfigure.in: Likewise.
8042         * sysdeps/x86_64/preconfigure: Regenerated.
8044 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
8046         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
8047         __ILP32__.
8049 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
8051         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
8052         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
8054 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
8056         [BZ #13973]
8057         * locale/iso-639.def: Fix gl language name. Spotted by
8058         Yaron Shahrabani.
8060 2012-04-12  Roland McGrath  <roland@hack.frob.com>
8062         [BZ #2074]
8063         * libio/libio.h (__io_write_fn): Update comment.
8065 2012-04-12  Petr Baudis  <pasky@ucw.cz>
8067         [BZ #2074]
8068         * stdio.texi (Hook Functions): The user provided writer function
8069         is not allowed to return -1.
8071 2012-04-11  David S. Miller  <davem@davemloft.net>
8073         * sysdeps/sparc/fpu/libm-test-ulps: Update.
8075 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
8077         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
8078         Add a leading slash to rtkaio.
8080 2012-04-11  Jim Meyering  <meyering@redhat.com>
8082         [BZ #11959]
8083         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
8084         It is not necessarily an error to ignore fwrite's return
8085         value.  One can reliably use ferror to test for errors after
8086         the fact.
8088 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
8090         * bits/types.h (__snseconds_t): New type.
8091         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
8093         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
8094         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
8095         (__SNSECONDS_T_TYPE): Likewise.
8096         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
8097         (__SNSECONDS_T_TYPE): Likewise.
8098         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
8099         (__SNSECONDS_T_TYPE): Likewise.
8101 2012-04-10  Andreas Jaeger  <aj@suse.de>
8103         [BZ #2636]
8104         * manual/time.texi (Processor Time): Return type of times is
8105         elapsed real time since an arbitrary point in the past.
8106         (CPU Time): Move CLK_TCK from here...
8107         (Processor Time): ...to here.  Correct description.
8108         * manual/conf.texi (Constants for Sysconf): Correct description of
8109         _SC_CLK_TCK.
8111 2012-04-10  David S. Miller  <davem@davemloft.net>
8113         [BZ #13967]
8114         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
8115         where the is a gap between DT_REL(A) and DT_JMPREL.
8117 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
8119         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
8120         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
8121         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
8123 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
8125         * elf/dl-support.c (_dl_inhibit_cache): New variable.
8126         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
8127         (dl_main): Handle --inhibit-cache.
8128         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
8129         _dl_inhibit_cache.
8130         * elf/dl-load.c (_dl_map_object): Use it.
8131         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
8133 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
8135         [BZ #13872]
8136         * sysdeps/i386/fpu/e_powl.S (p78): New object.
8137         (__ieee754_powl): Saturate large exponents rather than testing for
8138         overflow of y*log2(x).
8139         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
8140         * math/libm-test.inc (pow_test): Do not permit spurious overflow
8141         exceptions.
8143         [BZ #11521]
8144         * math/s_ctan.c: Include <float.h>.
8145         (__ctan): Avoid internal overflow or cancellation in calculating
8146         denominator.
8147         * math/s_ctanf.c: Likewise.
8148         * math/s_ctanl.c: Likewise.
8149         * math/s_ctanh.c: Likewise.
8150         * math/s_ctanhf.c: Likewise.
8151         * math/s_ctanhl.c: Likewise.
8152         * math/libm-test.inc (ctan_test): Add more tests.
8153         (ctanh_test): Likewise.
8154         * sysdeps/i386/fpu/libm-test-ulps: Update.
8155         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8157 2012-04-09  Andreas Jaeger  <aj@suse.de>
8159         [BZ #6894]
8160         * manual/filesys.texi (Directory Entries): Mention that d_namlen
8161         is an optional BSD extension.
8163         [BZ #10254]
8164         * manual/stdio.texi (Opening Streams): Document additional fopen
8165         parameters.
8167 2012-04-09  Roland McGrath  <roland@hack.frob.com>
8169         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
8170         %eax without telling the compiler.
8172 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
8174         [BZ # 13963]
8175         * manual/install.texi: Use sourceware.org.
8177 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
8179         [BZ #13873]
8180         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
8181         (__ieee754_pow): Generate overflow and underflow using huge*huge
8182         and tiny*tiny rather than just returning constant infinity or zero
8183         for large exponents.
8184         * math/libm-test.inc (pow_test): Require overflow exceptions for
8185         applicable cases of large exponents.
8187         [BZ #706]
8188         * sysdeps/i386/fpu/e_pow.S (p10): New object.
8189         (__ieee754_pow): Use iterative multiplication algorithm only for
8190         integer exponents with absolute value below 1024.  Check for odd
8191         integer exponents when using algorithm for real exponents.
8192         * math/libm-test.inc (pow_test): Add more tests.
8193         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8195 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
8197         [BZ #13705]
8198         * math/libm-test.inc (exp_test): Do not allow overflow exception
8199         on underflow test.
8201 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
8203         [BZ #13705]
8204         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
8205         instead of __kernel_standard_f.
8207 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
8209         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
8210         * sysdeps/x86_64/memset_chk.S: Likewise.
8212 2012-04-08  Andreas Jaeger  <aj@suse.de>
8214         [BZ #10153]
8215         * manual/startup.texi (Environment Access): Describe return value
8216         for putenv and setenv.
8218         [BZ #6895]
8219         * manual/filesys.texi (Directory Entries): Add description for
8220         DT_LNK.
8222         [BZ #6890]
8223         * manual/filesys.texi (Directory Entries): Clarify that it's file
8224         system not operating system in the description of DT_UNKNOWN.
8226         [BZ #6578]
8227         * manual/syslog.texi (closelog): Fix reference, it's openlog.
8229 2012-04-08  Stephen Compall  <s11@member.fsf.org>
8231         [BZ #6649]
8232         * manual/llio.texi (Opening and Closing Files): Add cross
8233         reference to explain mode argument.
8235 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
8237         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
8238         * sysdeps/x86_64/memset_chk.S: Likewise.
8240 2012-04-07  David S. Miller  <davem@davemloft.net>
8242         * elf/elf.h (R_SPARC_WDISP10): Define.
8243         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
8244         R_SPARC_SIZE32.
8245         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
8246         R_SPARC_SIZE64 and R_SPARC_H34.
8248 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
8250         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
8251         conditions and remove no longer applicable assertion.
8253 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
8255         * bits/byteswap.h: Include <features.h>.
8256         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
8257         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
8259 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
8261         * bits/byteswap.h (__bswap_16): Removed.
8262         Include <bits/byteswap-16.h> to get __bswap_16.
8263         * sysdeps/i386/bits/byteswap.h: Likewise.
8264         * sysdeps/s390/bits/byteswap.h: Likewise.
8265         * sysdeps/x86_64/bits/byteswap.h: Likewise.
8266         * bits/byteswap-16.h: New file.
8267         * sysdeps/i386/bits/byteswap-16.h: Likewise.
8268         * sysdeps/s390/bits/byteswap-16.h: Likewise.
8269         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
8270         * string/Makefile (headers): Add bits/byteswap-16.h.
8272 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
8274         [BZ #13895]
8275         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
8276         extra indirection.
8277         * nss/Makefile (tests-static, tests): Add tst-nss-static.
8278         * nss/tst-nss-static.c: New.
8280 2012-04-06  Robert Millan  <rmh@gnu.org>
8282         [BZ #6486]
8283         * manual/llio.texi (File Position Primitive): lseek
8284         refers to WHENCE when it really means OFFSET.
8286 2012-04-06  Andreas Jaeger  <aj@suse.de>
8288         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
8289         strncmp declarations.
8291         * abilist/libc.abilist: Add __poll and __ppoll.
8293 2012-04-05  David S. Miller  <davem@davemloft.net>
8295         * scripts/check-local-headers.sh: Accept a host triplet in the
8296         path matched by the exclude regexp.
8298         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
8299         definition.
8300         * sysdeps/powerpc/powerpc32/dl-machine.h
8301         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
8302         * sysdeps/s390/s390-32/dl-machine.h
8303         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
8304         * sysdeps/sparc/sparc32/dl-machine.h
8305         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
8306         * sysdeps/sparc/sparc64/dl-machine.h
8307         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
8309         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
8310         lazy binding.
8311         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
8312         undefined symbol errors.
8314         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
8315         DT_NEEDED entries.
8317 2012-04-05  Michael Matz  <matz@suse.de>
8319         [BZ #13592]
8320         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
8322 2012-04-05  Andreas Jaeger  <aj@suse.de>
8324         [BZ #13908]
8325         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
8326         comment.
8328 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
8330         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
8331         which ROUND is no valid rounding mode.
8333 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
8335         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
8336         read again.
8337         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
8339 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
8341         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
8342         an exception using FPU order intentionally.
8344 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
8346         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
8347         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
8348         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
8349         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
8351 2012-04-05  Simon Josefsson  <simon@josefsson.org>
8353         [BZ #12340]
8354         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
8355         EINVAL when BUFLEN is too smal.
8357 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
8359         [BZ #13553]
8360         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
8361         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
8363 2012-04-03  Andreas Jaeger  <aj@suse.de>
8365         [BZ #13938]
8366         * manual/setjmp.texi (System V contexts): Fix sentence.
8368         [BZ #13926]
8369         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
8370         New macro for this case.
8371         [!__GNUC__] (__bswap_64): New inline function for this case.
8372         * sysdeps/x86_64/bits/byteswap.h: Likewise.
8373         * bits/byteswap.h: Likewise.
8374         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
8375         ull, guard with __GLIBC_HAVE_LONG_LONG.
8377         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
8378         __GLIBC_HAVE_LONG_LONG.
8380         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
8381         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
8383 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
8385         [BZ #13691]
8386         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
8387         inptr and inend, rather than using last_ch.
8389 2012-04-02  David S. Miller  <davem@davemloft.net>
8391         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
8392         * stdio-common/printf-parse.h (read_int): Change return type to
8393         'int', return -1 on INT_MAX overflow.
8394         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
8395         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
8396         overflows INT_MAX.  Check for overflow of in-format-string precision
8397         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
8398         SIZE_MAX not INT_MAX for integer overflow test.
8399         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
8400         skip the construct in the format string but do not record anything.
8401         * stdio-common/bug22.c: Adjust to test both width/prevision
8402         INT_MAX overflow as well as total length INT_MAX overflow.  Check
8403         explicitly for proper errno values.
8405 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
8407         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
8408         CHAR_MAX.
8409         * string/test-strcmp.c [! WIDE]: Likewise.
8410         * time/tst-mktime2.c: Likewise for INT_MAX.
8411         * string/test-string.h: #include <sys/param.h> for MIN.
8413         * csu/init-first.c (__libc_init_first): Call __ctype_init.
8414         * sysdeps/i386/init-first.c (init): Likewise.
8415         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
8416         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
8417         * sysdeps/sh/init-first.c (init): Likewise.
8419 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
8421         * po/ru.po: Update from translation team.
8422         * po/vi.po: Likewise.
8424 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
8426         * resolv/nss_dns/dns-host.c: Merge copyright years.
8428 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
8430         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
8431         Optimize memcpy with prefetch if
8432         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
8433         src, dst pointers have unequal 16 byte alignments.
8435 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
8437         [BZ #13928]
8438         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
8439         from a CNAME entry and return the minimum ttl for the query.
8440         (gaih_getanswer_slice): Likewise.
8442 2012-03-30  Jeff Law  <law@redhat.com>
8444         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
8445         due to long keys.
8446         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
8447         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
8449         * resolv/nss_dns/dns-host.c: Update copyright year.
8451 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
8453         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8454         requests to save a system call.  Fix check that all bytes are sent.
8456         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
8457         comments for sendmmsg.
8459 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
8461         [BZ #13691]
8462         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
8463         with only 1 character between 0x0041 and 0x01b0.
8464         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
8465         * wcsmbs/tst-mbsnrtowcs.c: New file.
8467 2012-03-29  David S. Miller  <davem@davemloft.net>
8469         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
8470         small copies by hand.
8472 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
8474         [BZ #13761]
8475         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
8476         _nss_compat_initgroups_dyn): Fall back to malloc/free
8477         for large group memberships.
8479 2012-03-28  David S. Miller  <davem@davemloft.net>
8481         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
8482         that branches into memcpy.
8483         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
8484         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
8485         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
8486         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
8487         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
8488         bits.
8489         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
8490         implementation too.
8491         * sysdeps/sparc/mempcpy.S: New file.
8493         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
8494         the IFUNC routine in the libc case.
8495         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
8497         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
8498         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
8499         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
8500         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
8501         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
8502         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
8503         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
8504         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
8506         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
8507         loop to 256 bytes instead of 64 bytes and fix test signedness.
8509         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
8510         * sysdeps/sparc/sparc32/Makefile: rather than here...
8511         * sysdeps/sparc/sparc64/Makefile: and here.
8513 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
8515         * malloc/mallocbug.c: Avoid warnings about unused variables.
8517 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
8519         [BZ #13760]
8520         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
8521         in the right place. Discard and retry query if response is
8522         larger than input buffer size.
8524 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
8526         [BZ #369]
8527         [BZ #2678]
8528         [BZ #3866]
8529         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
8530         x for large integer exponent.
8531         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
8532         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
8533         sign of result as needed afterwards.
8534         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
8535         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
8536         result for underflowing pow the same as for overflow.
8537         (__kernel_standard_l): Handle powl overflow and underflow here
8538         rather than calling __kernel_standard.
8539         * math/libm-test.inc (pow_test): Add more tests.
8541         [BZ #3868]
8542         [BZ #13879]
8543         [BZ #13910]
8544         [BZ #13911]
8545         [BZ #13912]
8546         [BZ #13913]
8547         [BZ #13915]
8548         [BZ #13916]
8549         [BZ #13917]
8550         [BZ #13918]
8551         [BZ #13919]
8552         [BZ #13920]
8553         [BZ #13921]
8554         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
8555         * sysdeps/ieee754/k_standard.c: Include <float.h>.
8556         (__kernel_standard_l): New function.
8557         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
8558         __kernel_standard.
8559         * math/w_acosl.c (__acosl): Likewise.
8560         * math/w_asinl.c (__asinl): Likewise.
8561         * math/w_atan2l.c (__atan2l): Likewise.
8562         * math/w_atanhl.c (__atanhl): Likewise.
8563         * math/w_coshl.c (__coshl): Likewise.
8564         * math/w_exp10l.c (__exp10l): Likewise.
8565         * math/w_exp2l.c (__exp2l): Likewise.
8566         * math/w_fmodl.c (__fmodl): Likewise.
8567         * math/w_hypotl.c (__hypotl): Likewise.
8568         * math/w_j0l.c (__j0l, __y0l): Likewise.
8569         * math/w_j1l.c (__j1l, __y1l): Likewise.
8570         * math/w_jnl.c (__jnl, __ynl): Likewise.
8571         * math/w_lgammal.c (__lgammal): Likewise.
8572         * math/w_log10l.c (__log10l): Likewise.
8573         * math/w_log2l.c (__log2l): Likewise.
8574         * math/w_logl.c (__logl): Likewise.
8575         * math/w_powl.c (__powl): Likewise.
8576         * math/w_remainderl.c (__remainderl): Likewise.
8577         * math/w_scalbl.c (sysv_scalbl): Likewise.
8578         * math/w_sinhl.c (__sinhl): Likewise.
8579         * math/w_sqrtl.c (__sqrtl): Likewise.
8580         * math/w_tgammal.c (__tgammal): Likewise.
8581         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
8582         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
8583         * math/libm-test.inc (acos_test): Add more tests.
8584         (acosh_test): Likewise.
8585         (asin_test): Likewise.
8586         (atanh_test): Likewise.
8587         (exp_test): Likewise.
8588         (exp10_test): Likewise.
8589         (exp2_test): Likewise.
8590         (expm1_test): Likewise.
8591         (lgamma_test): Likewise.
8592         (log_test): Likewise.
8593         (log10_test): Likewise.
8594         (log1p_test): Likewise.
8595         (log2_test): Likewise.
8596         (pow_test): Do not allow some spurious overflow exceptions.
8597         (sqrt_test): Add more tests.
8598         (tgamma_test): Likewise.
8599         (y0_test): Likewise.
8600         (y1_test): Likewise.
8601         (yn_test): Likewise.
8603 2012-03-27  Anton Blanchard  <anton@samba.org>
8605         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
8606         MAP_HUGETLB.
8607         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
8608         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
8609         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
8611 2012-03-27  David S. Miller  <davem@davemloft.net>
8613         * conform/Makefile: Run run-conformtest.sh using $(BASH).
8615         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
8616         have-as-vis3 check.
8618 2012-03-27  Andreas Jaeger  <aj@suse.de>
8620         * sysdeps/x86_64/elf/configure.in: Moved to ...
8621         * sysdeps/x86_64/configure.in: ... here.
8622         * sysdeps/x86_64/elf/start.S: Moved to ...
8623         * sysdeps/x86_64/start.S: ... here.
8624         * sysdeps/x86_64/elf/configure: Delete.
8626         * sysdeps/x86_64/configure.in: Merge contents from
8627         sysdeps/i386/configure.in (without i686 check).
8629         * sysdeps/i386/elf/Versions: Merge into ...
8630         * sysdeps/i386/Versions: ... this.
8631         * sysdeps/i386/elf/Versions: Delete file.
8632         * sysdeps/i386/elf/start.S: Moved to ...
8633         * sysdeps/i386/start.S: ...here.
8634         * sysdeps/i386/elf/configure.in: Merge into...
8635         * sysdeps/i386/configure.in: ...here.
8636         * sysdeps/i386/elf/configure.in: Delete file.
8637         * sysdeps/i386/elf/configure: Delete file.
8639         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
8640         * debug/backtracesyms.c: ... here.
8641         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
8642         * debug/backtracesymsfd.c: ... here.
8643         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
8644         * sysdeps/generic/ifunc-sel.h: ... here.
8646         * sysdeps/unix/i386/start.c: Delete file.
8647         * sysdeps/unix/sparc/start.c: Delete file.
8648         * sysdeps/unix/start.c: Delete file.
8650         * sysdeps/sh/elf/configure.in: Moved to ...
8651         * sysdeps/sh/configure.in: ... here.
8652         * sysdeps/sh/elf/start.S: Moved to ...
8653         * sysdeps/sh/start.S: ... here.
8654         * sysdeps/sh/elf/configure: Delete file.
8656         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
8657         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
8658         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
8659         * sysdeps/powerpc/powerpc64/entry.h: ... here.
8660         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
8661         * sysdeps/powerpc/powerpc64/start.S: here.
8662         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
8663         * sysdeps/powerpc/powerpc64/Makefile: ... this.
8664         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
8665         * sysdeps/powerpc/powerpc64/configure.in: ... this.
8666         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
8668         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
8669         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
8670         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
8671         * sysdeps/powerpc/powerpc32/start.S: ... here.
8672         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
8673         * sysdeps/powerpc/powerpc32/configure.in: ... this.
8674         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
8676         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
8677         * sysdeps/powerpc/ifunc-sel.h: ... here.
8678         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
8679         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
8681         * sysdeps/sparc/elf/configure.in: Moved to ...
8682         * sysdeps/sparc/configure.in: ... here.
8683         * sysdeps/sparc/elf/configure: Delete file.
8684         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
8685         * sysdeps/sparc/sparc32/start.S: ... here.
8686         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
8687         * sysdeps/sparc/sparc64/start.S: ... here.
8688         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
8689         * sysdeps/sparc/sparc32/Makefile: ... this.
8690         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
8691         * sysdeps/sparc/sparc64/Makefile: ... this.
8693         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
8694         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
8695         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
8696         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
8697         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
8698         * sysdeps/s390/s390-32/setjmp.S: ... here.
8699         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
8700         * sysdeps/s390/s390-32/configure.in: ... here.
8701         * sysdeps/s390/s390-32/elf/configure: Delete file.
8702         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
8703         * sysdeps/s390/s390-32/start.S: ... here.
8705         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
8706         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
8707         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
8708         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
8709         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
8710         * sysdeps/s390/s390-64/setjmp.S: ... here.
8711         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
8712         * sysdeps/s390/s390-64/configure.in: ... here
8713         * sysdeps/s390/s390-64/elf/configure: Delete file.
8714         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
8715         * sysdeps/s390/s390-64/start.S: ... here.
8716         * sysdeps/s390/s390-64/elf/configure: Delete.
8718         * configure.in: Remove support for elf directories in sysdeps.
8720         * configure: Regenerated.
8721         * sysdeps/i386/configure: Regenerated.
8722         * sysdeps/powerpc/powerpc32/configure: Regenerated.
8723         * sysdeps/powerpc/powerpc64/configure: Regenerated.
8724         * sysdeps/s390/s390-32/configure: Regenerated.
8725         * sysdeps/s390/s390-64/configure: Regenerated.
8726         * sysdeps/sh/configure: Regenerated.
8727         * sysdeps/sparc/configure: Regenerated.
8728         * sysdeps/x86_64/configure: Regenerated.
8730 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
8732         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8734         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
8735         denormal result into account.
8737 2012-03-25  Roland McGrath  <roland@hack.frob.com>
8739         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
8740         Reported by Allan McRae <allan@archlinux.org>.
8742 2012-03-23  Jeff Law  <law@redhat.com>
8744         * nss/getnssent.c (__nss_getent): Fix typo.
8746 2012-03-23  David S. Miller  <davem@davemloft.net>
8748         * sysdeps/sparc/fpu/libm-test-ulps: Update.
8750 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
8752         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
8753         to pad to uint64_t for each field.
8754         (dl_tls_index): Replace unsigned long with uint64_t.
8756 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
8757         Paul Pluzhnikov  <ppluzhnikov@google.com>
8759         [BZ #6528]
8760         * grp/Makefile (otherlibs): Don't set it.
8761         * inet/Makefile (otherlibs): Likewise.
8762         * login/Makefile (otherlibs): Likewise.
8763         * nscd/Makefile (otherlibs): Likewise.
8764         * posix/Makefile (otherlibs): Likewise.
8765         * pwd/Makefile (otherlibs): Likewise.
8766         * rt/Makefile (otherlibs): Likewise.
8767         * sunrpc/Makefile (otherlibs): Likewise.
8768         * nss/Makefile (otherlibs): Likewise.
8769         Add libnss_files to routines and static-only-routines.
8770         ($(objpfx)getent): Remove rule.
8771         * resolv/Makefile: Add libnss_dns and libresolv to routines and
8772         static-only-routines.
8774 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
8776         [BZ #13892]
8777         * math/s_cexp.c: Include <float.h>.
8778         (__cexp): Handle exp result overflowing not necessarily
8779         overflowing both real and imaginary parts of result.
8780         * math/s_cexpf.c: Likewise.
8781         * math/s_cexpl.c: Likewise.
8782         * math/libm-test.inc (cexp_test): Add more tests.
8783         * sysdeps/i386/fpu/libm-test-ulps: Update.
8784         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8786 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
8788         * include/link.h (ELFW): New macro.
8789         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
8790         Replace ELF64_R_TYPE with ELFW(R_TYPE).
8792 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
8794         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
8795         with uint64_t.
8797 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
8799         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
8800         declaration.
8801         (struct La_x32_retval): Likewise.
8803 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
8805         * sysdeps/x86_64/preconfigure.in: New file.
8806         * sysdeps/x86_64/preconfigure: New generated file.
8808 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
8810         [BZ #13824]
8811         * math/e_exp2l.c: Include <float.h>.
8812         (__ieee754_exp2l): Handle overflow and underflow cases
8813         separately.  Only pass fractional part of argument to
8814         __ieee754_expl.
8815         * math/libm-test.inc (exp2_test): Add more tests.
8817         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
8818         negating x to take absolute value.
8819         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
8820         Likewise.
8821         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
8822         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
8823         Likewise.
8824         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
8825         computing low part if x was negated.
8826         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
8828 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
8830         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
8831         la_x32_gnu_pltexit.
8832         (pltexit): Cast int_retval to ptrdiff_t.
8833         * elf/tst-auditmod3b.c: Likewise.
8834         * elf/tst-auditmod4b.c: Likewise.
8835         * elf/tst-auditmod5b.c: Likewise.
8836         * elf/tst-auditmod6b.c: Likewise.
8837         * elf/tst-auditmod6c.c: Likewise.
8838         * elf/tst-auditmod7b.c: Likewise.
8840         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
8841         and x32_gnu_pltexit.
8843         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
8844         __ELF_NATIVE_CLASS.
8845         (La_x32_regs): New macro.
8846         (La_x32_retval): Likewise.
8847         (la_x32_gnu_pltenter): New function prototype.
8848         (la_x32_gnu_pltexit): Likewise.
8850 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
8852         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
8853         exponent.
8855         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8857         * configure.in (libc_cv_cc_nofma): Check for option to disable
8858         generation of FMA instructions.
8859         * configure: Regenerate.
8860         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
8861         * sysdeps/ieee754/dbl-64/Makefile: New file.
8862         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
8863         Remove brandred-fma4.
8864         (CFLAGS-brandred-fma4.c): Remove.
8865         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
8866         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
8867         define.
8868         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
8869         define.
8871 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
8873         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
8874         LLONG_MAX != LONG_MAX.
8875         (_itoa_word): Use _ITOA_WORD_TYPE on value.
8876         (_fitoa_word): Likewise.
8877         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
8878         LLONG_MAX != LONG_MAX.
8879         * stdio-common/_itowa.h: Include <_itoa.h>.
8880         (_itowa_word): Use _ITOA_WORD_TYPE on value.
8881         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
8882         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
8883         only if not defined.
8884         (_ITOA_WORD_TYPE): Likewise.
8885         (_itoa_word): Use _ITOA_WORD_TYPE on value.
8886         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
8888 2012-03-21  David S. Miller  <davem@davemloft.net>
8890         * sysdeps/sparc/fpu/libm-test-ulps: Update.
8892 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
8894         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
8895         of x86_64 when setting libc_cv_slibdir, libdir and
8896         libc_cv_localedir.
8897         * sysdeps/unix/sysv/linux/configure: Regenerated.
8899 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
8901         * manual/lang.texi (Old Varargs): Remove section.
8902         (How Variadic): Update menu.
8903         (va_start): Do not mention varargs.h.
8905 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
8906             Joseph Myers  <joseph@codesourcery.com>
8908         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
8909         link test.
8910         * configure: Regenerated.
8912 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
8914         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
8915         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
8916         conformtest.pl
8918 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
8920         * NOTES: Remove.
8921         * Makefile (files-for-dist): Remove NOTES.
8922         (NOTES): Remove rule.
8923         * README: Don't refer to NOTES.
8924         * manual/creature.texi: Don't include macros.texi.
8925         * manual/intro.texi (creature.texi): Remove comment referring to
8926         NOTES.
8928         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
8929         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
8930         * configure: Regenerated.
8931         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
8932         LIBC_TRY_CC_OPTION.
8933         (libc_cv_as_i686): Likewise.
8934         (libc_cv_cc_avx): Likewise.
8935         (libc_cv_cc_sse2avx): Likewise.
8936         (libc_cv_cc_fma4): Likewise.
8937         (libc_cv_cc_novzeroupper): Likewise.
8938         * sysdeps/i386/configure: Regenerated.
8940         [BZ #13883]
8941         * sysdeps/i386/fpu/s_cexp.S: Remove.
8942         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
8943         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
8944         * math/libm-test.inc (cexp_test): Add more tests.
8945         * sysdeps/i386/fpu/libm-test-ulps: Update.
8946         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8948 2012-03-21  Allan McRae  <allan@archlinux.org>
8950         * timezone/Makefile: Do not install iso3166.tab and zone.tab
8952 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
8954         [BZ #13871]
8955         * math/w_exp2.c: Do not include <float.h>.
8956         (o_threshold, u_threshold): Remove.
8957         (__exp2): Calculate result before checking finiteness and calling
8958         __kernel_standard.
8959         * math/w_exp2f.c: Likewise.
8960         * math/w_exp2l.c: Likewise.
8961         * math/libm-test.inc (exp2_test): Require overflow exception for
8962         1e6 input.
8964         [BZ #3866]
8965         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
8966         range of signed 64-bit integers before using fistpll.  Remove
8967         checks for whether integers fit in mantissa bits.
8968         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
8969         the range of signed 32-bit integers before using fistpl.  Remove
8970         checks for whether integers fit in mantissa bits.
8971         * sysdeps/i386/fpu/e_powl.S (p64): New object.
8972         (__ieee754_powl): Test for y outside the range of signed 64-bit
8973         integers before using fistpll.  Reduce 64-bit values to 63-bit
8974         ones as needed.
8975         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
8976         divide-by-zero is raised for zero to large negative powers.
8977         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
8978         (__ieee754_powl): Test for y outside the range of signed 64-bit
8979         integers before using fistpll.  Reduce 64-bit values to 63-bit
8980         ones as needed.
8981         * math/libm-test.inc (pow_test): Add more tests.
8983 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
8985         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
8986         <stdio-common/_itoa.h>.
8987         * debug/segfault.c: Likewise.
8988         * elf/dl-cache.c: Likewise.
8989         * elf/dl-minimal.c: Likewise.
8990         * elf/dl-misc.c: Likewise.
8991         * elf/dl-sysdep.c: Likewise.
8992         * elf/dl-version.c: Likewise.
8993         * elf/rtld.c: Likewise.
8994         * hurd/hurdsock.c: Likewise.
8995         * hurd/lookup-retry.c: Likewise.
8996         * malloc/malloc.c: Likewise.
8997         * malloc/mtrace.c: Likewise.
8998         * nscd/nscd_getgr_r.c: Likewise.
8999         * nscd/nscd_getpw_r.c: Likewise.
9000         * nscd/nscd_getserv_r.c: Likewise.
9001         * posix/getopt_init.c: Likewise.
9002         * posix/wordexp.c: Likewise.
9003         * stdio-common/_itoa.c: Likewise.
9004         * stdio-common/printf_fphex.c: Likewise.
9005         * stdio-common/vfprintf.c: Likewise.
9006         * string/_strerror.c: Likewise.
9007         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
9008         * sysdeps/i386/i686/hp-timing.h: Likewise.
9009         * sysdeps/mach/_strerror.c: Likewise.
9010         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
9011         * sysdeps/mach/hurd/sethostid.c: Likewise.
9012         * sysdeps/mach/hurd/xmknodat.c: Likewise.
9013         * sysdeps/mach/xpg-strerror.c: Likewise.
9014         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
9015         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
9016         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
9017         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
9018         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
9019         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
9020         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
9021         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
9022         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
9023         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
9024         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
9025         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
9026         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
9027         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
9028         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
9029         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
9030         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
9031         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
9032         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
9033         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
9034         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
9036         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
9038         * stdio-common/_itoa.h: Moved to ...
9039         * sysdeps/generic/_itoa.h: Here.
9041         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
9043         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
9044         instead of "_itoa.h" and "_itowa.h".
9045         * stdio-common/vfprintf.: Likewise.
9047 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
9049         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
9050         <bits/wordsize.h>.
9051         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
9052         (__signbit): Likwise.
9053         (llrintf): Likwise.
9054         (llrint): Likwise.
9056 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
9058         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
9059         __WORDSIZE != 64.
9061 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
9063         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
9064         OVERFLOW_EXCEPTION_OK.
9065         * math/libm-test.inc ("Philosophy"): Update comment about
9066         exception testing.
9067         (OVERFLOW_EXCEPTION): Define.
9068         (OVERFLOW_EXCEPTION_OK): Likewise.
9069         (INVALID_EXCEPTION_OK): Renumber.
9070         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
9071         (IGNORE_ZERO_INF_SIGN): Likewise.
9072         (test_exceptions): Handle FE_OVERFLOW.
9073         (exp10_test): Expect overflow exceptions.
9074         (exp2_test): Likewise.
9075         (expm1_test): Likewise.
9076         (nextafter_test): Likewise.
9077         (pow_test): Likewise.
9078         (scalbn_test): Likewise.
9079         (scalbln_test): Likewise.
9081 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
9083         * sysdeps/x86_64/bits/atomic.h
9084         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
9085         64bit integer.
9086         (atomic_exchange_acq): Likewise.
9087         (__arch_exchange_and_add_body): Likewise.
9088         (__arch_add_body): Likewise.
9089         (atomic_add_negative): Likewise.
9090         (atomic_add_zero): Likewise.
9092 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
9094         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
9095         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
9097 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
9099         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
9100         Check __x86_64__ instead of __WORDSIZE.
9102 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
9104         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
9106 2012-03-19  David S. Miller  <davem@davemloft.net>
9108         * sysdeps/sparc/fpu/libm-test-ulps: Update.
9110         * sysdeps/sparc/fpu/fenv_private.h: New file.
9111         * sysdeps/sparc/fpu/math_private.h: Use it.
9112         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
9113         Remove.
9114         (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
9115         (libc_feholdexcept_setroundl): Remove.
9116         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
9117         Remove.
9118         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
9119         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
9121 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
9123         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
9124         int64_t instead of long int.
9125         (INSERT_WORDS64): Likwise.
9127 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
9129         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
9130         _Unwind_GetCFA return to _Unwind_Ptr first.
9132 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
9134         [BZ #13629]
9135         * math/s_clog.c: Include <float.h>.
9136         (__clog): Scale large or subnormal inputs.
9137         * math/s_clogf.c: Likewise.
9138         * math/s_clogl.c: Likewise.
9139         * math/s_clog10.c: Include <float.h>.
9140         (M_LOG10_2): Define.
9141         (__clog10): Scale large or subnormal inputs.
9142         * math/s_clog10f.c: Likewise.
9143         * math/s_clog10l.c: Likewise.
9144         * math/libm-test.inc (clog_test): Add more tests.
9145         (clog10_test): Likewise.
9146         * sysdeps/i386/fpu/libm-test-ulps: Update.
9147         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9149         [BZ #11451]
9150         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
9151         x and y.
9152         * math/libm-test.inc (atan2_test): Add another test.
9154         * Makerules (common-objdir-compile): Remove.
9155         * sysdeps/unix/Makefile (config-generated): Do not add
9156         $(unix-generated) to variable.
9157         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
9158         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
9159         Remove rule.
9160         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
9161         Likewise.
9162         [generic bits/local_lim.h] (before-compile): Do not append to
9163         variable.
9164         [generic bits/local_lim.h] (common-generated): Likewise.
9165         [generic sys/param.h] (before-compile): Do not append to variable.
9166         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
9167         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
9168         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
9169         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
9170         include.
9171         [generic sys/param.h] (sys/param.h-includes): Remove variable.
9172         [generic sys/param.h] (sys/param.h-includes): Remove rule.
9173         [generic sys/param.h] ($(addprefix
9174         $(common-objpfx),$(sys/param.h-includes))): Likewise.
9175         [generic sys/param.h] (common-generated): Do not append to
9176         variable.
9177         [generic sys/param.h] (sysdep_headers): Likewise.
9178         [generic bits/errno.h] (before-compile): Do not append to
9179         variable.
9180         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
9181         rule.
9182         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
9183         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
9184         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
9185         [generic bits/errno.h] (common-generated): Do not append to
9186         variable.
9187         [generic bits/ioctls.h] (before-compile): Do not append to
9188         variable.
9189         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
9190         rule.
9191         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
9192         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
9193         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
9194         rule.
9195         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
9196         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
9197         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
9198         [generic bits/ioctls.h] (common-generated): Do not append to
9199         variable.
9200         [generic sys/syscall.h] (syscall.h): Remove variable.
9201         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
9202         rule.
9203         [generic sys/syscall.h] (before-compile): Do not append to
9204         variable.
9205         [generic sys/syscall.h] (common-generated): Likewise.
9206         * sysdeps/unix/errnos-tmpl.c: Remove file.
9207         * sysdeps/unix/errnos.awk: Likewise.
9208         * sysdeps/unix/ioctls-tmpl.c: Likewise.
9209         * sysdeps/unix/ioctls.awk: Likewise.
9210         * sysdeps/unix/mk-local_lim.c: Likewise.
9211         * sysdeps/unix/snarf-ioctls: Likewise.
9213 2012-03-19  Richard Henderson  <rth@twiddle.net>
9215         * sysdeps/i386/fpu/fenv_private.h: New file.
9216         * sysdeps/i386/fpu/math_private.h: Use it.
9217         (math_opt_barrier, math_force_eval): Remove.
9218         (libc_feholdexcept_setround_53bit): Remove.
9219         (libc_feupdateenv_53bit): Remove.
9220         * sysdeps/x86_64/fpu/math_private.h: Likewise.
9221         (math_opt_barrier, math_force_eval): Remove.
9222         (libc_feholdexcept): Remove.
9223         (libc_feholdexcept_setround): Remove.
9224         (libc_fetestexcept, libc_fesetenv): Remove.
9225         (libc_feupdateenv_test): Remove.
9226         (libc_feupdateenv, libc_feholdsetround): Remove.
9227         (libc_feresetround): Remove.
9229         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
9230         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
9232         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
9233         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
9234         (libc_feupdateenv_testl): New.
9235         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
9236         (libc_feupdateenv_testf): New.
9237         (libc_feupdateenv): Use libc_feupdateenv_test.
9238         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
9239         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
9241         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
9242         (libc_feholdsetroundf, libc_feholdsetroundl): New.
9243         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
9244         (libc_feresetround_noex): New.
9245         (libc_feresetround_noexf): New.
9246         (libc_feresetround_noexl): New.
9247         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
9248         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
9249         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
9250         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
9251         SET_RESTORE_ROUND.
9252         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
9253         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
9254         (__cos): Likewise.
9255         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
9256         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
9257         SET_RESTORE_ROUND_NOEX.
9258         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
9259         SET_RESTORE_ROUND_NOEXF.
9260         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
9261         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
9262         (libc_feholdsetroundf): New.
9263         (libc_feresetround, libc_feresetroundf): New.
9265         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
9266         (libc_feholdexcept_setround_53bit): Convert from macro to function.
9267         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
9269         * sysdeps/generic/math_private.h: Include <fenv.h>.
9270         (default_libc_feholdexcept): New.
9271         (default_libc_feholdexcept_setround): New.
9272         (default_libc_fesetenv, default_libc_feupdateenv): New.
9273         (libc_feholdexcept): Only define if undefined.
9274         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
9275         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
9276         (libc_feholdexcept_setroundl): Likewise.
9277         (libc_feholdexcept_setround_53bit): Likewise.
9278         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
9279         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
9280         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
9281         (libc_feupdateenv_53bit): Likewise.
9282         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
9283         (libc_feholdexcept): Convert from macro to inline function.
9284         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
9285         (libc_fesetenv, libc_feupdateenv): Likewise.
9287         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
9288         not previously defined.
9289         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
9290         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
9291         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
9292         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
9293         * sysdeps/ieee754/flt-32/math_private.h: New file.
9294         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
9295         math_private.h below SET_FLOAT_WORD.
9296         (__isnan, __isinf_ns, __finite): Remove.
9297         (__isnanf, __isinf_nsf, __finitef): Remove.
9299 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
9301         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9303 2012-03-17  David S. Miller  <davem@davemloft.net>
9305         [BZ #6471]
9306         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
9307         for 2.16.
9309 2012-03-16  David S. Miller  <davem@davemloft.net>
9311         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
9312         warnings.
9314         [BZ #6471]
9315         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
9316         properly.
9317         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
9318         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
9319         sysdep_routines when subdir is sysvipc.
9320         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
9321         __getshmlba helper.
9323         * sysdeps/sparc/fpu/libm-test/ulps: Update.
9325 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
9327         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
9328         [__LP64__].
9330 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
9332         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
9333         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
9334         (__lround): Renamed to ...
9335         (__llround): This.  Replace long int with long long int.
9336         Define lround functions as aliases of llround functions.
9337         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
9339 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
9341         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
9342         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
9343         adresses to uintptr_t.  Replace "long int" and "unsigned long
9344         int" with "greg_t" on va_arg.
9346 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
9348         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
9349         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
9351         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
9352         Move e_machine check before EI_CLASS check.  Handle x32
9353         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
9354         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
9355         SKIP_EM_IA_64 and include
9356         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
9358         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
9359         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
9360         (add_system_dir): New macro.
9362         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
9363         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
9365 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
9367         [BZ #2551]
9368         [BZ #2552]
9369         [BZ #2553]
9370         [BZ #2554]
9371         [BZ #2562]
9372         [BZ #2563]
9373         [BZ #2565]
9374         [BZ #2566]
9375         [BZ #2576]
9376         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
9377         (y0): Likewise.
9378         * math/w_j0f.c (j0f): Likewise.
9379         (y0f): Likewise.
9380         * math/w_j0l.c (__j0l): Likewise.
9381         (__y0l): Likewise.
9382         * math/w_j1.c (j1): Likewise.
9383         (y1): Likewise.
9384         * math/w_j1f.c (j1f): Likewise.
9385         (y1f): Likewise.
9386         * math/w_j1l.c (__j1l): Likewise.
9387         (__y1l): Likewise.
9388         * math/w_jn.c (jn): Likewise.
9389         (yn): Likewise.
9390         * math/w_jnf.c (jnf): Likewise.
9391         (ynf): Likewise.
9392         * math/w_jnl.c (__jnl): Likewise.
9393         (__ynl): Likewise.
9394         * math/libm-test.inc (j0_test): Add more tests.
9395         (j1_test): Likewise.
9396         (jn_test): Likewise.  Add trailing semicolon to existing test.
9397         (y0_test): Likewise.
9398         (y1_test): Likewise.
9399         * sysdeps/i386/fpu/libm-test-ulps: Update.
9400         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9402         [BZ #13851]
9403         [BZ #13854]
9404         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
9405         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
9406         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
9407         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
9408         (__tanl): Set errno for infinite argument.
9409         * sysdeps/i386/fpu/mptan.c: Remove.
9410         * sysdeps/i386/fpu/s_tan.S: Likewise.
9411         * sysdeps/i386/fpu/s_tanl.S: Likewise.
9412         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
9413         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
9414         * math/libm-test.inc (tan_test): Add more tests and enable more
9415         tests for double and long double.
9416         * sysdeps/i386/fpu/libm-test-ulps: Update.
9417         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9419 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
9421         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
9422         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
9424 2012-03-16  Roland McGrath  <roland@hack.frob.com>
9426         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
9427         * configure.in: Use it for both main tree and add-ons.
9428         * configure: Regenerated.
9430 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
9432         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
9434 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
9436         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
9437         in comment.
9439         [BZ #13851]
9440         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
9441         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
9442         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
9443         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
9444         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
9445         infinite argument.
9446         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
9447         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
9448         != 0 for prec == 2.
9449         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
9450         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
9451         * sysdeps/i386/fpu/s_cosl.S: Likewise.
9452         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
9453         * sysdeps/i386/fpu/s_sinl.S: Likewise.
9454         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
9455         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
9456         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
9457         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
9458         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
9459         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
9460         * math/libm-test.inc (cos_test): Add more tests and enable more
9461         tests for long double.
9462         (sin_test): Likewise.
9463         (sincos_test): Likewise.
9464         * sysdeps/i386/fpu/libm-test-ulps: Update.
9465         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9467 2012-03-16  David S. Miller  <davem@davemloft.net>
9469         * sysdeps/sparc/fpu/math_private.h: New file.
9471 2012-03-15  David S. Miller  <davem@davemloft.net>
9473         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
9474         file.
9475         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
9476         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
9477         file.
9478         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
9479         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
9480         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
9481         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
9482         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
9483         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
9484         sysdep routines.
9485         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
9487         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
9488         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
9490         * sysdeps/sparc/sparc-ifunc.h: New file.
9491         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
9492         sparc-ifunc.h
9493         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
9494         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
9495         Likewise.
9496         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
9497         Likewise.
9498         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
9499         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
9500         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
9501         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
9502         Likewise.
9503         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
9504         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
9505         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
9506         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
9507         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
9508         Likewise.
9509         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
9510         Likewise.
9511         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
9512         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
9513         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
9514         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
9515         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
9516         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
9517         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
9518         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
9519         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
9520         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
9521         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
9522         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
9523         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
9524         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
9525         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
9526         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
9527         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
9528         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
9529         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
9530         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
9531         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
9532         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
9533         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
9534         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
9536 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
9538         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
9539         scaling.
9540         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9542 2012-03-15  Andreas Jaeger  <aj@suse.de>
9544         [BZ #13852]
9545         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
9546         ieee754/flt-32 implementation for sin, cos and sincos.
9547         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
9548         * sysdeps/i386/fpu/s_cosf.S: Likewise.
9549         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
9550         * sysdeps/i386/fpu/s_sinf.S: Likewise.
9551         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
9552         ieee754/flt-32 implementation for tan.
9554         * math/libm-test.inc (cos_test): Enable some large input tests for
9555         float as well
9556         (sin_test): Likewise.
9557         (sincos_test): Likewise.
9558         (tan_test): Add tests for large input.
9560         * sysdeps/i386/fpu/libm-test-ulps: Update.
9562 2012-03-15  Andreas Jaeger  <aj@suse.de>
9564         [BZ #13658]
9565         * math/libm-test.inc (cos_test): Add more test cases.
9566         (sin_test): Likewise.
9567         (sincos_test): Likewise.
9569 2012-03-15  Andreas Jaeger  <aj@suse.de>
9571         [BZ #13837]
9572         * math/libm-test.inc (cos_test): Add a test case for large input
9573         value.
9574         (sin_test): Likewise.
9575         (sincos_test): Likewise.
9577 2012-03-15  Andreas Jaeger  <aj@suse.de>,
9578         Joseph Myers  <joseph@codesourcery.com>
9580         [BZ #13658]
9581         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
9582         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
9583         * sysdeps/i386/fpu/branred.c: Likewise.
9584         * sysdeps/i386/fpu/dosincos.c: Likewise.
9585         * sysdeps/i386/fpu/mpa.c: Likewise.
9586         * sysdeps/i386/fpu/s_cos.S: Likewise.
9587         * sysdeps/i386/fpu/s_sin.S: Likewise.
9588         * sysdeps/i386/fpu/s_sincos.S: Likewise.
9589         * sysdeps/i386/fpu/sincos32.c: Likewise.
9591         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
9592         Define.
9593         (libc_feupdateenv_53bit): Define.
9594         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
9595         Define.
9596         (libc_feupdateenv_53bit): Define.
9598         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
9599         53 bit (without extend i386 double precision).
9601         * math/libm-test.inc (sincos_test): Add tests for large input.
9602         (sin): Likewise.
9603         (cos): Likewise.
9605         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
9607 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
9609         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9611 2012-03-15  David S. Miller  <davem@davemloft.net>
9613         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
9614         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
9615         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
9616         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
9617         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
9618         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
9619         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
9620         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
9621         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
9622         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
9623         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
9624         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
9625         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
9626         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
9627         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
9628         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
9629         file.
9630         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
9631         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
9632         file.
9633         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
9634         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
9635         file.
9636         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
9637         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
9638         file.
9639         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
9640         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
9641         fmin/fmax sysdep routines.
9642         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
9644 2012-03-14  David S. Miller  <davem@davemloft.net>
9646         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
9647         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
9648         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
9649         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
9650         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
9651         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
9652         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
9653         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
9654         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
9655         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
9656         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
9657         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
9658         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
9659         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
9660         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
9661         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
9662         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
9663         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
9664         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
9665         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
9666         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
9667         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
9668         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
9669         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
9670         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
9671         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
9672         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
9673         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
9674         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
9675         routines.
9676         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
9677         file.
9678         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
9679         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
9680         file.
9681         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
9682         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
9683         file.
9684         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
9685         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
9686         file.
9687         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
9688         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
9689         file.
9690         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
9691         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
9692         file.
9693         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
9694         file.
9695         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
9696         file.
9697         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
9698         file.
9699         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
9700         New file.
9701         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
9702         file.
9703         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
9704         file.
9705         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
9706         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
9707         file.
9708         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
9709         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
9710         file.
9711         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
9712         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
9713         file.
9714         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
9715         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
9716         VIS3 routines.
9718         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
9719         New file.
9721         * sysdeps/sparc/fpu/libm-test-ulps: Update.
9723         * sysdeps/sparc/configure.in: New file.
9724         * sysdeps/sparc/configure: Generate.
9725         * configure.in (libc_cv_sparc_as_vis3): Substitute.
9726         * configure: Regenerate.
9727         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
9728         * config.make.in (have-as-vis3): New.
9729         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
9730         available use -Av9d instead of -Av9a.
9731         * sysdeps/sparc/sparc64/Makefile: Likewise.
9732         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
9733         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
9734         New file.
9735         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
9736         file.
9737         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
9738         New file.
9739         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
9740         file.
9741         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
9742         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
9743         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
9744         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
9745         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
9747         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
9748         fzeros/fnegs to load 0x80000000 into a float register instead of
9749         using the stack.
9750         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
9752 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
9754         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9755         bits/syscall.h.
9756         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
9757         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
9758         ($(inst_includedir)/bits/syscall.h): Remove rule.
9759         ($(objpfx)bits/syscall.d): Include instead of
9760         $(objpfx)syscall-list.d.
9761         (generated): Change syscall-list.h and syscall-list.d to
9762         bits/syscall.h and bits/syscall.d.
9764 2012-03-14  Roland McGrath  <roland@hack.frob.com>
9766         [BZ #13846]
9767         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
9769 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
9771         [BZ #13841]
9772         * math/s_csqrt.c: Include <float.h>.
9773         (__csqrt): Scale large or subnormal inputs.
9774         * math/s_csqrtf.c: Likewise.
9775         * math/s_csqrtl.c: Likewise.
9776         * math/libm-test.inc (csqrt_test): Add more tests.
9777         * sysdeps/i386/fpu/libm-test-ulps: Update.
9778         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9780         [BZ #13840]
9781         * math/libm-test.inc (hypot_test): Add more tests.
9783 2012-03-13  David S. Miller  <davem@davemloft.net>
9785         [BZ #13840]
9786         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
9787         double-precision for the calculation instead of scaling.
9789 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
9791         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
9792         manipulate bits before adding and subtracting TWO52[sx].
9793         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
9794         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
9795         Likewise.
9796         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
9798 2012-03-13  David S. Miller  <davem@davemloft.net>
9800         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
9801         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
9802         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
9803         rtld-global-offsets.h
9804         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
9806         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
9807         large parameters.
9809         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
9811         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
9812         'err' in the ifdef scope in which it is actually used.
9814         * nss/nss_db/db-init.c: Include string.h
9816 2012-03-12  David S. Miller  <davem@davemloft.net>
9818         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
9819         masking out of the most significant byte of random value used.
9820         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
9821         Fix coding style in previous change.
9823         * sysdeps/unix/sysv/linux/kernel-features.h
9824         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
9825         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
9826         expression.
9827         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
9828         later.
9830 2012-03-11  David S. Miller  <davem@davemloft.net>
9832         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
9833         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
9834         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
9835         for 'resultvar' otherwise things get truncated on 64-bit.
9837         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
9838         Fix masking out of the most significant byte of random value used.
9840         * sysdeps/sparc/fpu/libm-test-ulps: Update.
9842 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
9844         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9846 2012-03-09  David S. Miller  <davem@davemloft.net>
9848         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
9849         variables with appropriate CPP guards.
9850         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
9851         frame pointer, not the stack pointer.  Correct layout comments.  Fix test
9852         on resulting framesize and the management of the outregs buffer for pltexit.
9853         Preserve floating point return values across _dl_call_pltexit call.
9854         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
9855         framesize and the management of the outregs buffer for pltexit.
9856         Preserve floating point return values across _dl_call_pltexit
9857         call.
9858         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
9859         la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
9860         (print_exit): Fix format string for return register value.
9862 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
9864         * sunrpc/Makefile (others): Add rpcgen.
9865         ($(objpfx)rpcgen): Remove special build rule and dependency on
9866         libc.
9867         * sunrpc/rpcgen.c: New file.
9869 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
9871         [BZ #13673]
9872         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
9873         * stdio-common/bug-vfprintf-nargs.c: Likewise.
9874         * sysdeps/i386/crti.S: Likewise.
9875         * sysdeps/i386/crtn.S: Likewise.
9876         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
9877         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
9878         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
9879         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
9880         * sysdeps/sh/crti.S: Likewise.
9881         * sysdeps/sh/crtn.S: Likewise.
9882         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
9884         [BZ #13673]
9885         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
9886         with URL.
9887         * locale/programs/locfile-kw.gperf: Likewise.
9888         * locale/programs/charmap-kw.h: Regenerated.
9889         * locale/programs/locfile-kw.h: Likewise.
9891         [BZ #13673]
9892         * intl/plural.y: Replace FSF snail mail address with URL.
9893         * intl/plural.c: Regenerated.
9895 2012-03-09  Richard Henderson  <rth@twiddle.net>
9897         * include/math_private.h: Remove file.
9898         * math/math_private.h: Move file ...
9899         * sysdeps/generic/math_private.h: ... here.
9901         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
9902         * sysdeps/powerpc/fpu/math_private.h: Likewise.
9903         * sysdeps/x86_64/fpu/math_private.h: Likewise.
9905         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
9906         and <math_private.h>.
9907         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
9908         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
9909         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
9910         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
9911         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
9912         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
9913         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
9914         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
9915         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
9916         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
9917         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
9918         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
9919         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
9920         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
9921         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
9922         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
9923         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
9924         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
9925         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
9926         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
9927         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
9928         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
9929         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
9930         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
9931         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
9932         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
9933         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
9934         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
9935         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
9936         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
9937         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
9938         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
9939         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
9940         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
9941         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
9942         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
9943         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
9944         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
9945         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
9946         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
9947         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
9948         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
9949         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
9950         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
9951         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
9952         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
9953         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
9954         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
9955         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
9956         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
9957         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
9958         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
9959         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
9960         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
9961         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
9962         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
9963         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
9964         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
9965         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
9966         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
9967         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
9968         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
9969         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
9970         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
9971         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
9972         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
9973         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
9974         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
9975         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
9976         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
9977         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
9978         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
9979         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
9980         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
9981         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
9982         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
9983         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
9984         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
9985         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
9986         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
9987         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
9988         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
9989         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
9990         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
9991         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
9992         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
9993         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
9994         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
9995         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
9996         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
9997         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
9998         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
9999         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
10000         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
10001         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
10002         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
10003         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
10004         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
10005         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
10006         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
10007         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
10008         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
10009         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
10010         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
10011         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
10012         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
10013         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
10014         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
10015         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
10016         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
10017         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
10018         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
10019         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
10020         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
10021         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
10022         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
10023         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
10024         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
10025         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
10026         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
10027         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
10028         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
10029         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
10030         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
10031         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
10032         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
10033         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
10034         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
10035         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
10036         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
10037         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
10038         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
10039         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
10040         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
10041         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
10042         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
10043         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
10044         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
10045         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
10046         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
10047         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
10048         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
10049         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
10050         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
10051         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
10052         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
10053         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
10054         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
10055         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
10056         * sysdeps/ieee754/k_standard.c: Likewise.
10057         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
10058         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
10059         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
10060         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
10061         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
10062         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
10063         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
10064         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
10065         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
10066         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
10067         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
10068         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
10069         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
10070         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
10071         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
10072         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
10073         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
10074         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
10075         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
10076         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
10077         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
10078         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
10079         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
10080         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
10081         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
10082         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
10083         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
10084         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
10085         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
10086         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
10087         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
10088         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
10089         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
10090         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
10091         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
10092         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
10093         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
10094         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
10095         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
10096         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
10097         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
10098         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
10099         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
10100         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
10101         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
10102         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
10103         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
10104         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
10105         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
10106         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
10107         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
10108         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
10109         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
10110         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
10111         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
10112         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
10113         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
10114         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
10115         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
10116         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
10117         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
10118         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
10119         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
10120         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
10121         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
10122         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
10123         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
10124         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
10125         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
10126         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
10127         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
10128         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
10129         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
10130         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
10131         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
10132         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
10133         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
10134         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
10135         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
10136         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
10137         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
10138         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
10139         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
10140         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
10141         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
10142         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
10143         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
10144         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
10145         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
10146         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
10147         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
10148         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
10149         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
10150         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
10151         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
10152         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
10153         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
10154         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
10155         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
10156         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
10157         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
10158         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
10159         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
10160         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
10161         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
10162         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
10163         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
10164         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
10165         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
10166         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
10167         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
10168         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
10169         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
10170         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
10171         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
10172         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
10173         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
10174         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
10175         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
10176         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
10177         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
10178         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
10179         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
10180         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
10181         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
10182         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
10183         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
10184         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
10185         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
10186         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
10187         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
10188         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
10189         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
10190         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
10191         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
10192         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
10193         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
10194         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
10195         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
10196         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
10197         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
10198         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
10199         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
10200         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
10201         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
10202         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
10203         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
10204         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
10205         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
10206         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
10207         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
10208         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
10209         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
10210         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
10211         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
10212         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
10213         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
10214         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
10215         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
10216         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
10217         * sysdeps/ieee754/s_lib_version.c: Likewise.
10218         * sysdeps/ieee754/s_matherr.c: Likewise.
10219         * sysdeps/ieee754/s_signgam.c: Likewise.
10220         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
10221         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
10222         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
10223         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
10224         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
10225         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
10226         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
10227         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
10228         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
10229         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
10230         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
10231         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
10232         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
10233         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
10234         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
10235         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
10236         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
10237         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
10238         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
10239         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
10240         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
10242 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
10244         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
10245         * sunrpc/rpc_main.c: Likewise.
10246         * sunrpc/rpc_svcout.c: Likewise.
10248 2012-03-09  David S. Miller  <davem@davemloft.net>
10250         * include/math_private.h: New file.
10252 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
10254         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
10255         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
10256         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
10257         from <bits/socket_type.h>.
10258         (enum __socket_type): Don't define here.
10259         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
10260         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10261         bits/socket_type.h.
10263         [BZ #13566]
10264         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
10265         checking __USE_GNU.
10267         * Makerules ($(inst_includedir)/%.h): New rule.
10268         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
10269         (install-others): Remove variable setting.
10270         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
10272 2012-03-08  Richard Henderson  <rth@twiddle.net>
10274         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
10275         from macro to inline function; merge with the
10276         !__LIBC_INTERNAL_MATH_INLINES version.
10277         (__ieee754_sqrtf): Likewise.
10279         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
10280         to inline function.
10281         (__rintf, __floor, __floorf): Likewise.
10283         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
10284         macro to inline function.
10285         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
10287         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
10288         not <math/math_private.h>.
10290 2012-03-08  David S. Miller  <davem@davemloft.net>
10292         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
10293         copyright year.
10294         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
10296 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
10298         * resolv/gai_misc.c (handle_requests): Fix struct timespec
10299         normalization.
10300         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
10301         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
10303 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
10305         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
10306         be defined individually, they must be defined as a block.  Define
10307         S for printing a string instead of hidint the different by using a
10308         macro for adding the 'l'.
10309         * stdio-common/tst-fphex-wide.c: Adjust.
10311 2012-03-07  Marek Polacek  <polacek@redhat.com>
10313         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
10315 2012-03-08  Marek Polacek  <polacek@redhat.com>
10317         [BZ #13806]
10318         * stdio-common/Makefile (tests): Add tst-fphex-wide.
10319         * stdio-common/tst-fphex.c: Define a few macros to make the
10320         test reusable.  Use them.
10321         * stdio-common/tst-fphex-wide.c: New file.
10323 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
10325         [BZ #6911]
10326         * manual/macros.texi (gnusystems): New macro.
10327         (nongnusystems): Likewise.
10328         (gnulinuxhurdsystems): Likewise.
10329         (gnuhurdsystems): Likewise..
10330         (gnulinuxsystems): Likewise.
10331         * manual/charset.texi: Use new macros or @theglibc{} to refer to
10332         variants of the GNU system, not "GNU system".
10333         * manual/conf.texi: Likewise.
10334         * manual/errno.texi: Likewise.  Update example of errno macro
10335         expansion.
10336         * manual/filesys.texi: Likewise.
10337         (getumask): Document as specific to GNU/Hurd.
10338         * manual/install.texi: Likewise.  Reword some references to
10339         GNU/Linux.
10340         * manual/intro.texi: Likewise.
10341         * manual/io.texi: Likewise.
10342         (File Name Portability): Detail which constraints are inapplicable
10343         to all GNU systems and which are only inapplicable to GNU/Hurd.
10344         * manual/job.texi: Likewise.
10345         * manual/llio.texi: Likewise.
10346         (O_NOCTTY): Document as present on GNU/Linux.
10347         * manual/maint.texi: Likewise.
10348         * manual/memory.texi: Likewise.
10349         * manual/pattern.texi: Likewise.
10350         * manual/pipe.texi: Likewise.
10351         * manual/process.texi: Likewise.
10352         * manual/resource.texi: Likewise.
10353         (RUSAGE_CHILDREN): Remove statement about specifying a particular
10354         child on GNU/Hurd.
10355         * manual/setjmp.texi: Likewise.
10356         * manual/signal.texi: Likewise.
10357         * manual/startup.texi: Likewise.
10358         * manual/stdio.texi: Likewise.
10359         * manual/terminal.texi: Likewise.
10360         (ONLCR): Document as POSIX.
10361         (OXTABS): Document availability on GNU/Linux as XTABS.
10362         (ONOEOT): Document availability separately from other bits.
10363         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
10364         * manual/time.texi: Likewise.
10365         * manual/users.texi: Likewise.
10366         * INSTALL: Regenerated.
10367         * sysdeps/gnu/errlist.c: Regenerated.
10369         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
10370         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
10371         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
10372         puts.
10373         * configure: Regenerated.
10375 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
10377         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
10378         default includes instead of AC_HEADER_CHECK.
10379         * sysdeps/i386/configure: Regenerated.
10381         [BZ #10716]
10382         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
10383         * math/s_cacoshf.c (__cacoshf): Likewise.
10384         * math/s_cacoshl.c (__cacoshl): Likewise.
10385         * math/s_casinh.c (__casinh): Set signs of result from argument.
10386         * math/s_casinhf.c (__casinhf): Likewise.
10387         * math/s_casinhl.c (__casinhl): Likewise.
10388         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
10389         (casinh_test): Add more tests.
10390         * sysdeps/i386/fpu/libm-test-ulps: Update.
10391         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10393 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
10395         * po/zh_TW.po: Update from translation team.
10397         * login/Makefile (distribute): Remove variable.
10398         * catgets/Makefile: Likewise.
10399         * mach/Makefile: Likewise.
10400         * malloc/Makefile: Likewise.
10401         * misc/Makefile: Likewise.
10402         * iconv/Makefile: Likewise.
10403         * nscd/Makefile: Likewise.
10404         * hurd/Makefile: Likewise.
10405         * manual/Makefile: Likewise.
10406         * locale/Makefile: Likewise.
10407         * intl/Makefile: Likewise.
10408         * conform/Makefile: Likewise.
10409         * nss/Makefile: Likewise.
10410         * time/Makefile: Likewise.
10411         * soft-fp/Makefile: Likewise.
10412         * dirent/Makefile: Likewise.
10413         * gmon/Makefile: Likewise.
10414         * po/Makefile: Likewise.
10415         * rt/Makefile: Likewise.
10416         * socket/Makefile: Likewise.
10417         * math/Makefile: Likewise.
10418         * signal/Makefile: Likewise.
10419         * debug/Makefile: Likewise.
10420         * elf/Makefile: Likewise.
10421         * timezone/Makefile: Likewise.
10422         * stdlib/Makefile: Likewise.
10423         * iconvdata/Makefile: Likewise.
10424         * sunrpc/Makefile: Likewise.
10425         * io/Makefile: Likewise.
10426         * argp/Makefile: Likewise.
10427         * inet/Makefile: Likewise.
10428         * hesiod/Makefile: Likewise.
10429         * grp/Makefile: Likewise.
10430         * csu/Makefile: Likewise.
10431         * wctype/Makefile: Likewise.
10432         * crypt/Makefile: Likewise.
10433         * libio/Makefile: Likewise.
10434         * string/Makefile: Likewise.
10435         * nis/Makefile: Likewise.
10436         * resolv/Makefile: Likewise.
10437         * stdio-common/Makefile: Likewise.
10438         * wcsmbs/Makefile: Likewise.
10439         * dlfcn/Makefile: Likewise.
10440         * posix/Makefile: Likewise.
10442         [BZ #6959]
10443         * timezone/Makefile: Don't install timezone files, just the programs
10444         and scripts.
10446 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
10448         * nss/databases.def: Add missing gshadow entry.
10450         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
10452 2012-03-06  Marek Polacek  <polacek@redhat.com>
10454         [BZ #13726]
10455         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
10456         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
10457         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
10458         * stdio-common/tst-long-dbl-fphex.c: New file.
10460 2012-03-06  David S. Miller  <davem@davemloft.net>
10462         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
10463         (set_obp_int): New function.
10464         (get_obp_int): New function.
10465         (__get_clockfreq_via_dev_openprom): Likewise.
10466         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
10467         Avoid unused variable warnings on 'val' and use builtin_expect.
10468         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
10469         __builtin_expect.
10470         (INLINE_CLONE_SYSCALL): Likewise.
10472 2012-03-05  David S. Miller  <davem@davemloft.net>
10474         * sysdeps/sparc/fpu/libm-test-ulps: Update.
10476 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
10478         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10480         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
10481         only for |x| >= 40.
10482         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
10484 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
10486         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
10487         Replace gettimeofday with __vdso_gettimeofday.
10489         * sysdeps/unix/sysv/linux/x86_64/init-first.c
10490         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
10491         __vdso_clock_gettime and __vdso_getcpu.
10493         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
10494         time with __vdso_time.
10496 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
10498         * manual/lang.texi (size_t): Note types to which size_t may be
10499         equivalent with the GNU C Library, but do not describe when
10500         differences between them are significant.
10502 2012-03-05  Andreas Jaeger  <aj@suse.de>
10504         * sysdeps/i386/fpu/libm-test-ulps: Update.
10506 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
10508         [BZ #3976]
10509         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
10510         (__ieee754_pow): Save and restore rounding mode and use
10511         round-to-nearest for main computations.
10512         * math/libm-test.inc (pow_test_tonearest): New function.
10513         (pow_test_towardzero): Likewise.
10514         (pow_test_downward): Likewise.
10515         (pow_test_upward): Likewise.
10516         (main): Call the new functions.
10517         * sysdeps/i386/fpu/libm-test-ulps: Update.
10518         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10520         [BZ #3976]
10521         * math/libm-test.inc (cosh_test_tonearest): New function.
10522         (cosh_test_towardzero): Likewise.
10523         (cosh_test_downward): Likewise.
10524         (cosh_test_upward): Likewise.
10525         (sinh_test_tonearest): Likewise.
10526         (sinh_test_towardzero): Likewise.
10527         (sinh_test_downward): Likewise.
10528         (sinh_test_upward): Likewise.
10529         (main): Call the new functions.
10530         * sysdeps/i386/fpu/libm-test-ulps: Update.
10531         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10533 2012-03-05  Tom de Vries  <tom@codesourcery.com>
10535         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
10536         default stack guard is set in last bytes.
10537         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
10539 2012-03-05  Kees Cook  <keescook@chromium.org>
10541         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
10543         [BZ #13656]
10544         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
10545         possibly allocate from heap instead of stack.
10546         * stdio-common/bug-vfprintf-nargs.c: New file.
10547         * stdio-common/Makefile (tests): Add nargs overflow test.
10549 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
10551         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10553 2012-03-03  Marek Polacek  <polacek@redhat.com>
10555         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
10556         * math/math_private.h: Likewise.
10557         * stdlib/tst-strtod.c: Likewise.
10558         * sysdeps/i386/i486/bits/atomic.h: Likewise.
10559         * sysdeps/x86_64/bits/atomic.h: Likewise.
10561 2012-03-02  David S. Miller  <davem@davemloft.net>
10563         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
10564         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
10565         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
10566         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
10567         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
10568         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
10569         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
10570         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
10572 2012-03-02  Roland McGrath  <roland@hack.frob.com>
10574         [BZ #13792]
10575         * manual/examples/README: New file, says the example source files
10576         can be used under GPL>=2.
10577         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
10578         line containing just "*/".
10579         * manual/examples/add.c: Add copyright header (GPL>=2).
10580         * manual/examples/argp-ex1.c: Likewise.
10581         * manual/examples/argp-ex2.c: Likewise.
10582         * manual/examples/argp-ex3.c: Likewise.
10583         * manual/examples/argp-ex4.c: Likewise.
10584         * manual/examples/atexit.c: Likewise.
10585         * manual/examples/db.c: Likewise.
10586         * manual/examples/dir.c: Likewise.
10587         * manual/examples/dir2.c: Likewise.
10588         * manual/examples/execinfo.c: Likewise.
10589         * manual/examples/filecli.c: Likewise.
10590         * manual/examples/filesrv.c: Likewise.
10591         * manual/examples/fmtmsgexpl.c: Likewise.
10592         * manual/examples/genpass.c: Likewise.
10593         * manual/examples/inetcli.c: Likewise.
10594         * manual/examples/inetsrv.c: Likewise.
10595         * manual/examples/isockad.c: Likewise.
10596         * manual/examples/longopt.c: Likewise.
10597         * manual/examples/memopen.c: Likewise.
10598         * manual/examples/memstrm.c: Likewise.
10599         * manual/examples/mkfsock.c: Likewise.
10600         * manual/examples/mkisock.c: Likewise.
10601         * manual/examples/mygetpass.c: Likewise.
10602         * manual/examples/pipe.c: Likewise.
10603         * manual/examples/popen.c: Likewise.
10604         * manual/examples/rprintf.c: Likewise.
10605         * manual/examples/search.c: Likewise.
10606         * manual/examples/select.c: Likewise.
10607         * manual/examples/setjmp.c: Likewise.
10608         * manual/examples/sigh1.c: Likewise.
10609         * manual/examples/sigusr.c: Likewise.
10610         * manual/examples/stpcpy.c: Likewise.
10611         * manual/examples/strdupa.c: Likewise.
10612         * manual/examples/strftim.c: Likewise.
10613         * manual/examples/strncat.c: Likewise.
10614         * manual/examples/subopt.c: Likewise.
10615         * manual/examples/swapcontext.c: Likewise.
10616         * manual/examples/termios.c: Likewise.
10617         * manual/examples/testopt.c: Likewise.
10618         * manual/examples/testpass.c: Likewise.
10619         * manual/examples/timeval_subtract.c: Likewise.
10621         [BZ #13792]
10622         * manual/time.texi (Elapsed Time): Move timeval_subtract example
10623         function to ...
10624         * manual/timeval_subtract.c.texi: ... here, new file.
10626 2012-03-02  David S. Miller  <davem@davemloft.net>
10628         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
10630 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
10632         [BZ #3976]
10633         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
10634         (__sin): Save and restore rounding mode and use round-to-nearest
10635         for all computations.
10636         (__cos): Save and restore rounding mode and use round-to-nearest
10637         for all computations.
10638         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
10639         <fenv.h>.
10640         (tan): Save and restore rounding mode and use round-to-nearest for
10641         all computations.
10642         * math/libm-test.inc (cos_test_tonearest): New function.
10643         (cos_test_towardzero): Likewise.
10644         (cos_test_downward): Likewise.
10645         (cos_test_upward): Likewise.
10646         (sin_test_tonearest): Likewise.
10647         (sin_test_towardzero): Likewise.
10648         (sin_test_downward): Likewise.
10649         (sin_test_upward): Likewise.
10650         (tan_test_tonearest): Likewise.
10651         (tan_test_towardzero): Likewise.
10652         (tan_test_downward): Likewise.
10653         (tan_test_upward): Likewise.
10654         (main): Call the new functions.
10655         * sysdeps/i386/fpu/libm-test-ulps: Update.
10656         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10658         [BZ #10135]
10659         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
10660         small n, then large n, before computing and testing k+n.
10661         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
10662         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
10663         Likewise.
10664         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
10665         Likewise.
10666         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
10667         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
10668         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
10669         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
10670         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
10671         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
10672         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
10673         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
10674         * math/libm-test.inc (scalbn_test): Add more tests.
10675         (scalbln_test): Likewise.
10677         * manual/filesys.texi (mode_t): Describe constraints on size and
10678         signedness, not exact equivalence to a particular type.
10679         (ino_t): Likewise.
10680         (ino64_t): Likewise.
10681         (dev_t): Likewise.
10682         (nlink_t): Likewise.
10683         (blkcnt_t): Likewise.
10684         (blkcnt64_t): Likewise.
10685         * manual/llio.texi (off_t): Likewise.
10687         [BZ #3976]
10688         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
10689         (__ieee754_exp): Save and restore rounding mode and use
10690         round-to-nearest for all computations.
10691         * math/libm-test.inc (exp_test_tonearest): New function.
10692         (exp_test_towardzero): Likewise.
10693         (exp_test_downward): Likewise.
10694         (exp_test_upward): Likewise.
10695         (main): Call the new functions.
10696         * sysdeps/i386/fpu/libm-test-ulps: Update.
10697         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10699 2012-03-01  Chris Demetriou  <cgd@google.com>
10701         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
10702         have predictable order.
10704 2012-03-01  David S. Miller  <davem@davemloft.net>
10706         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
10708         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
10709         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
10710         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
10711         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
10713         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
10714         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
10715         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
10716         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
10717         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
10718         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
10719         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
10720         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
10721         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
10723         * sysdeps/sparc/fpu/libm-test-ulps: Update.
10725         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
10726         * sysdeps/sparc/fpu/libm-test-ulps: to here.
10727         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
10729         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
10730         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
10731         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
10732         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
10733         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
10734         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
10735         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
10736         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
10737         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
10738         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
10739         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
10740         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
10741         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
10742         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
10743         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
10744         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
10745         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
10746         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
10747         * sysdeps/sparc/elf/configure: Regenerated.
10749 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
10751         * configure.in (AS, LD): Require binutils 2.20 or later.
10752         * configure: Regenerated.
10753         * manual/install.texi (Tools for Compilation): Give binutils 2.20
10754         as required minimum version.
10755         * INSTALL: Regenerated.
10757         [BZ #2541]
10758         [BZ #4108]
10759         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
10760         before squaring exponent.
10761         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
10762         bottom long double and 27 bits of top long double before squaring
10763         exponent.
10764         * math/libm-test.inc (erfc_test): Add more tests.
10765         * sysdeps/i386/fpu/libm-test-ulps: Update.
10766         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
10767         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10769 2012-03-01  Kai Tietz  <ktietz@redhat.com>
10771         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
10772         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
10773         containing bit-fields.
10774         * soft-fp/extended.h (_FP_UNION_E): Likewise.
10775         * soft-fp/single.h (_FP_UNION_S): Likewise.
10776         * soft-fp/double.h (_FP_UNION_D): Likewise.
10778 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
10780         [BZ #13786]
10781         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
10782         not include ../strcmp.S.
10783         [USE_AS_STRNCASECMP_L]: Likewise.
10784         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
10785         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
10786         * sysdeps/i386/i686/multiarch/strncase_l-c.c
10787         (__strncasecmp_l_ia32): Define as alias to
10788         __strncasecmp_l_nonascii.
10790         [BZ #5794]
10791         * math/libm-test.inc (expm1_test): Add test for bug 5794.
10792         * sysdeps/i386/fpu/libm-test-ulps: Update.
10793         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10795         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
10796         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10798 2012-02-29  Jeff Law  <law@redhat.com>
10800         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
10801         out of bounds read.
10803 2012-02-29  Marek Polacek  <polacek@redhat.com>
10805         [BZ #13706]
10806         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
10807         * elf/Makefile: Add rules to run tst-unused-dep.out.
10809 2012-02-28  David S. Miller  <davem@davemloft.net>
10811         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
10812         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
10813         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
10814         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
10815         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
10816         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
10818 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
10820         * math/libm-test.inc (llround_test): Move one test from
10821         lround_test.  Use TEST_f_L in moved test.
10822         (lround_test): Move misplaced test to llround_test.  Add testcase
10823         from bug 2561.
10825 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
10827         * sysdeps/x86_64/fpu/e_expf.S: New file.
10828         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
10830 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
10832         [BZ #13637]
10833         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
10834         of remain_len that may cause incomplete multi-byte character and
10835         false match.
10836         * posix/bug-regex33.c: New file.
10837         * posix/Makefile (tests): Add bug-regex33.
10839 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
10841         * manual/macros.texi: New file.
10842         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
10843         * manual/libc.texinfo: Include macros.texi.
10844         * manual/creatute.texi: Likewise.
10845         * manual/install.texi: Likewise.
10846         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
10847         @glibcadj{} in references to the GNU C Library.
10848         * manual/charset.texi: Likewise.
10849         * manual/conf.texi: Likewise.
10850         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
10851         when not using those macros.
10852         * manual/creature.texi: Likewise.
10853         * manual/crypt.texi: Likewise.
10854         * manual/errno.texi: Likewise.
10855         * manual/filesys.texi: Likewise.
10856         * manual/header.texi: Likewise.
10857         * manual/install.texi: Likewise.
10858         * manual/intro.texi: Likewise.
10859         * manual/io.texi: Likewise.
10860         * manual/job.texi: Likewise.
10861         * manual/lang.texi: Likewise.
10862         * manual/libc.texiinfo: Likewise.
10863         * manual/llio.texi: Likewise.
10864         * manual/locale.texi: Likewise.
10865         * manual/maint.texi: Likewise.
10866         * manual/math.texi: Likewise.
10867         * manual/memory.texi: Likewise.
10868         * manual/message.texi: Likewise.
10869         * manual/nss.texi: Likewise.
10870         * manual/pattern.texi: Likewise.
10871         * manual/process.texi: Likewise.
10872         * manual/resource.texi: Likewise.
10873         * manual/search.texi: Likewise.
10874         * manual/setjmp.texi: Likewise.
10875         * manual/signal.texi: Likewise.
10876         * manual/socket.texi: Likewise.
10877         * manual/startup.texi: Likewise.
10878         * manual/stdio.texi: Likewise.
10879         * manual/string.texi: Likewise.
10880         * manual/sysinfo.texi: Likewise.
10881         * manual/syslog.texi: Likewise.
10882         * manual/terminal.texi: Likewise.
10883         * manual/time.texi: Likewise.
10884         * manual/users.texi: Likewise.
10885         * INSTALL: Regenerated.
10886         * NOTES: Regenerated.
10887         * sysdeps/gnu/errlist.c: Regenerated.
10889 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
10891         * include/dirent.h: Include <dirstream.h> before
10892         <dirent/dirent.h>.
10894 2012-02-28  David S. Miller  <davem@davemloft.net>
10896         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
10897         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
10898         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
10899         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
10901 2012-02-27  David S. Miller  <davem@davemloft.net>
10903         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
10904         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
10905         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
10906         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
10908         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
10909         frame pointer instead of stack pointer relative arg slot.
10910         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
10911         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
10912         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
10914 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
10916         [BZ #3992]
10917         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
10919 2012-02-27  David S. Miller  <davem@davemloft.net>
10921         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
10922         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
10923         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
10924         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
10925         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
10926         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
10927         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
10928         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
10930 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
10932         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
10933         later.  Allow versions 5-9.
10934         * configure: Regenerated.
10935         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
10936         required minimum version and 4.6 as recommended version.  Do not
10937         mention bugs in GCC 2.7 and 2.8.
10938         * INSTALL: Regenerated.
10940 2012-02-27  David S. Miller  <davem@davemloft.net>
10942         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
10943         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
10944         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
10945         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
10946         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
10947         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
10948         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
10949         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
10951         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
10952         manipulate bits before adding and subtracting TWO112[sx].
10953         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
10955 2012-02-27  Roland McGrath  <roland@hack.frob.com>
10957         [BZ #13775]
10958         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
10959         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
10960         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
10961         being in POSIX, because they are in 1003.1-2008.
10963         * rt/tst-aio.c: Include <fcntl.h>.
10964         * rt/tst-aio7.c: Likewise.
10965         * rt/tst-aio64.c: Likewise.
10967         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
10969 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
10971         * manual/install.texi (--with-headers): Describe headers as
10972         interface headers, not private headers.
10973         (Specific advice for GNU/Linux systems): Describe use of headers
10974         from "make headers_install", not private headers from older
10975         kernels.
10976         * INSTALL: Regenerated.
10977         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
10978         Change to 2.6.19.
10979         * sysdeps/unix/sysv/linux/configure: Regenerated.
10981         * manual/llio.texi (fclean): Remove documentation.
10983         * manual/Makefile (libc-texi-generated): New variable.  Include
10984         version.texi.
10985         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
10986         $(libc-texi-generated), not duplicated list of files.
10987         (version.texi, stamp-version): New rules.
10988         (realclean): Remove $(libc-texi-generated), not individual files
10989         from that list.  Do not remove dir-add.texinfo.
10990         * manual/libc.texinfo: Comment out uses of edition numbers and
10991         references to printed manual.  Remove last-updated dates.
10992         (EDITION): Comment out.
10993         (ISBN): Likewise.
10994         (VERSION, UPDATED): Remove.
10995         (version.texi): Include.
10997 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
10999         * sysdeps/posix/spawni.c: Include <signal.h>.
11000         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
11001         * sysdeps/pthread/aio_fsync.c: Likewise.
11003 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
11005         * conform/Makefile (tests): Run only when not cross-compiling and
11006         when fast-check is not defined.
11008         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
11009         * conform/data/limits.h-data: Fixes for POSIX2008.
11010         * conform/run-conformtest.sh: Run all tests.
11011         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
11012         headers.
11013         * include/bits/dlfcn.h: Likewise.
11014         * include/langinfo.h: Likewise.
11015         * include/monetary.h: Likewise.
11016         * include/sys/poll.h: Likewise.
11018         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
11019         for __USE_GNU.
11020         * posix/spawn.h: Define __need_sigset_t.
11021         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
11022         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
11023         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
11024         to get sigevent_t only.
11025         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
11026         only for __USE_GNU.
11027         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
11028         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
11029         process_vm_writev only for __USE_GNU.
11030         * termios/termios.h: Declare tcgetsid also for POSIX2008.
11032         * conform/Makefile: For now ignore errors from run-conformtest.
11033         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
11034         POSIX to avoid namespace pollution.  Don't prepend headers.
11035         * conform/data/aio.h-data: Fixes for POSIX testing.
11036         * conform/data/fcntl.h-data: Likewise.
11037         * conform/data/glob.h-data: Likewise.
11038         * conform/data/grp.h-data: Likewise.
11039         * conform/data/pthread.h-data: Likewise.
11040         * conform/data/pwd.h-data: Likewise.
11041         * conform/data/signal.h-data: Likewise.
11042         * conform/data/spawn.h-data: Likewise.
11043         * conform/data/stdio.h-data: Likewise.
11044         * conform/data/stdlib.h-data: Likewise.
11045         * conform/data/stropts.h-data: Likewise.
11046         * conform/data/sys/mman.h-data: Likewise.
11047         * conform/data/sys/stat.h-data: Likewise.
11048         * conform/data/sys/types.h-data: Likewise.
11049         * conform/data/sys/wait.h-data: Likewise.
11050         * conform/data/time.h-data: Likewise.
11051         * conform/data/unistd.h-data: Likewise.
11052         * conform/data/utime.h-data: Likewise.
11054         * io/sys/stat.h: fchmod was always in POSIX.
11055         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
11056         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
11057         * rt/aio.h: Define __need_timespec before including <time.h>.
11058         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
11059         struct.  Add forward declaration of pthread_attr_t and use it in
11060         sigevent.
11061         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
11062         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
11063         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
11064         always remove CLK_TCK definition.
11066 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
11068         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
11070 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
11072         * conform/run-conformtest.sh: New file.
11073         * conform/Makefile: Run run-conformtest for tests.
11074         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
11075         support.
11077         * conform/data/uchar.h-data: New file.
11078         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
11079         * conform/data/arpa/inet.h-data: Likewise.
11080         * conform/data/assert.h-data: Likewise.
11081         * conform/data/complex.h-data: Likewise.
11082         * conform/data/cpio.h-data: Likewise.
11083         * conform/data/ctype.h-data: Likewise.
11084         * conform/data/dirent.h-data: Likewise.
11085         * conform/data/dlfcn.h-data: Likewise.
11086         * conform/data/errno.h-data: Likewise.
11087         * conform/data/fcntl.h-data: Likewise.
11088         * conform/data/float.h-data: Likewise.
11089         * conform/data/fmtmsg.h-data: Likewise.
11090         * conform/data/fnmatch.h-data: Likewise.
11091         * conform/data/ftw.h-data: Likewise.
11092         * conform/data/glob.h-data: Likewise.
11093         * conform/data/grp.h-data: Likewise.
11094         * conform/data/iconv.h-data: Likewise.
11095         * conform/data/inttypes.h-data: Likewise.
11096         * conform/data/langinfo.h-data: Likewise.
11097         * conform/data/libgen.h-data: Likewise.
11098         * conform/data/limits.h-data: Likewise.
11099         * conform/data/locale.h-data: Likewise.
11100         * conform/data/math.h-data: Likewise.
11101         * conform/data/monetary.h-data: Likewise.
11102         * conform/data/mqueue.h-data: Likewise.
11103         * conform/data/ndbm.h-data: Likewise.
11104         * conform/data/net/if.h-data: Likewise.
11105         * conform/data/netdb.h-data: Likewise.
11106         * conform/data/netinet/in.h-data: Likewise.
11107         * conform/data/nl_types.h-data: Likewise.
11108         * conform/data/poll.h-data: Likewise.
11109         * conform/data/pthread.h-data: Likewise.
11110         * conform/data/pwd.h-data: Likewise.
11111         * conform/data/regex.h-data: Likewise.
11112         * conform/data/sched.h-data: Likewise.
11113         * conform/data/search.h-data: Likewise.
11114         * conform/data/semaphore.h-data: Likewise.
11115         * conform/data/setjmp.h-data: Likewise.
11116         * conform/data/signal.h-data: Likewise.
11117         * conform/data/spawn.h-data: Likewise.
11118         * conform/data/stdarg.h-data: Likewise.
11119         * conform/data/stdio.h-data: Likewise.
11120         * conform/data/stdlib.h-data: Likewise.
11121         * conform/data/string.h-data: Likewise.
11122         * conform/data/strings.h-data: Likewise.
11123         * conform/data/stropts.h-data: Likewise.
11124         * conform/data/sys/ipc.h-data: Likewise.
11125         * conform/data/sys/mman.h-data: Likewise.
11126         * conform/data/sys/msg.h-data: Likewise.
11127         * conform/data/sys/resource.h-data: Likewise.
11128         * conform/data/sys/select.h-data: Likewise.
11129         * conform/data/sys/sem.h-data: Likewise.
11130         * conform/data/sys/shm.h-data: Likewise.
11131         * conform/data/sys/socket.h-data: Likewise.
11132         * conform/data/sys/stat.h-data: Likewise.
11133         * conform/data/sys/statvfs.h-data: Likewise.
11134         * conform/data/sys/time.h-data: Likewise.
11135         * conform/data/sys/timeb.h-data: Likewise.
11136         * conform/data/sys/times.h-data: Likewise.
11137         * conform/data/sys/types.h-data: Likewise.
11138         * conform/data/sys/uio.h-data: Likewise.
11139         * conform/data/sys/un.h-data: Likewise.
11140         * conform/data/sys/utsname.h-data: Likewise.
11141         * conform/data/sys/wait.h-data: Likewise.
11142         * conform/data/syslog.h-data: Likewise.
11143         * conform/data/tar.h-data: Likewise.
11144         * conform/data/termios.h-data: Likewise.
11145         * conform/data/utime.h-data: Likewise.
11146         * conform/data/utmpx.h-data: Likewise.
11147         * conform/data/varargs.h-data: Likewise.
11148         * conform/data/wchar.h-data: Likewise.
11149         * conform/data/wctype.h-data: Likewise.
11150         * conform/data/wordexp.h-data: Likewise.
11152         * include/stropts.h: New file.
11153         * include/uchar.h: New file.
11154         * include/aio.h: Changes to allow conformtest.pl to use the headers.
11155         * include/assert.h: Likewise.
11156         * include/ctype.h: Likewise.
11157         * include/dirent.h: Likewise.
11158         * include/dlfcn.h: Likewise.
11159         * include/fcntl.h: Likewise.
11160         * include/fnmatch.h: Likewise.
11161         * include/glob.h: Likewise.
11162         * include/grp.h: Likewise.
11163         * include/libio.h: Likewise.
11164         * include/locale.h: Likewise.
11165         * include/math.h: Likewise.
11166         * include/net/if.h: Likewise.
11167         * include/netdb.h: Likewise.
11168         * include/netinet/in.h: Likewise.
11169         * include/pthread.h: Likewise.
11170         * include/pwd.h: Likewise.
11171         * include/regex.h: Likewise.
11172         * include/sched.h: Likewise.
11173         * include/search.h: Likewise.
11174         * include/setjmp.h: Likewise.
11175         * include/signal.h: Likewise.
11176         * include/stdio.h: Likewise.
11177         * include/stdlib.h: Likewise.
11178         * include/string.h: Likewise.
11179         * include/sys/cdefs.h: Likewise.
11180         * include/sys/mman.h: Likewise.
11181         * include/sys/msg.h: Likewise.
11182         * include/sys/resource.h: Likewise.
11183         * include/sys/select.h: Likewise.
11184         * include/sys/socket.h: Likewise.
11185         * include/sys/stat.h: Likewise.
11186         * include/sys/statvfs.h: Likewise.
11187         * include/sys/time.h: Likewise.
11188         * include/sys/times.h: Likewise.
11189         * include/sys/uio.h: Likewise.
11190         * include/sys/utsname.h: Likewise.
11191         * include/sys/wait.h: Likewise.
11192         * include/termios.h: Likewise.
11193         * include/time.h: Likewise.
11194         * include/ulimit.h: Likewise.
11195         * include/unistd.h: Likewise.
11196         * include/utime.h: Likewise.
11197         * include/wchar.h: Likewise.
11198         * include/wctype.h: Likewise.
11199         * include/wordexp.h: Likewise.
11201         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
11203         * time/time.h: TIME_UTC must be a macro.
11204         Make timespec_get available for ISO C11 only as well.
11206 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
11208         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
11209         Reported by Peng Haitao <penght@cn.fujitsu.com>.
11211 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
11213         * configure.in: Use -o not -a in test for unsupported multi-arch.
11215 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
11217         * manual/texinfo.tex: Update to version 2012-01-19.16.
11219 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
11221         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
11223 2012-02-24  Roland McGrath  <roland@hack.frob.com>
11225         [BZ #13738]
11226         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
11227         * manual/fdl-1.3.texi: New file.
11228         * manual/fdl-1.1.texi: File removed.
11230         [BZ #13738]
11231         * manual/libc.texinfo (FDL_VERSION): New @set.
11232         Use it for mention of FDL in cover text.
11233         (Documentation License): Use it in @include file name.
11235 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
11236             Roland McGrath  <roland@hack.frob.com>
11238         [BZ #5461]
11239         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
11240         not LONG_LONG_MAX and LONG_LONG_MIN.
11241         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
11242         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
11243         name.
11244         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
11246 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
11248         [BZ #2547]
11249         [BZ #11365]
11250         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
11251         manipulate bits before adding and subtracting TWO23[sx].
11252         * math/libm-test.inc (nearbyint_test): Add more tests.
11254 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
11256         [BZ #2548]
11257         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
11258         bits before adding and subtracting TWO23[sx].
11259         * math/libm-test.inc (rint_test): Add more tests.
11260         (rint_test_tonearest): Likewise.
11261         (rint_test_towardzero): Likewise.
11262         (rint_test_downward): Likewise.
11263         (rint_test_upward: Likewise.
11265 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
11267         [BZ #10110]
11268         * include/stdc-predef.h: New file.  Extracted from features.h.
11269         * include/features.h: Include stdc-predef.h.
11270         * Makefile (headers): Add stdc-predef.h.
11271         * CONFORMANCE (Compiler limitations): Update.
11273 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
11275         * manual/libc.texinfo (VERSION, UPDATED): Revert.
11277 2012-02-21  David S. Miller  <davem@davemloft.net>
11279         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
11280         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
11282 2012-02-20  David S. Miller  <davem@davemloft.net>
11284         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
11285         using a normal save/restore sequence, rather than allocating a
11286         dummy stack frame just to store a frame pointer and restore.
11287         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
11289 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
11291         * manual/install.texi: Fix stray word in line-wrapped comment.
11293 2012-02-20  David S. Miller  <davem@davemloft.net>
11295         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
11296         both binutils and gcc support GOTDATA.
11298         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
11299         "rd %pc" in the PIC register setup sequences.
11301         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
11302         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
11303         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
11304         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
11305         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
11306         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
11307         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
11308         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
11309         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
11310         (SYSCALL_ERROR_HANDLER): Likewise.
11311         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
11312         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
11313         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
11314         (SYSCALL_ERROR_HANDLER): Likewise.
11316         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
11317         (HAVE_GCC_GOTDATA): New.
11318         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
11319         relocation support in both binutils and gcc.
11320         * sysdeps/sparc/elf/configure: Regenerate.
11322         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
11323         * sysdeps/sparc/sparc32/elf/configure: Delete.
11324         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
11325         * sysdeps/sparc/sparc64/elf/configure: Delete.
11326         * sysdeps/sparc/elf/configure.in: New file.
11327         * sysdeps/sparc/elf/configure: Generate.
11329         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
11330         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
11331         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
11332         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
11333         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
11335 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
11337         * manual/install.texi: Do not mention specific glibc version
11338         numbers.
11339         * manual/libc.texinfo (VERSION, UPDATED): Update.
11340         (@copying): Use @copyright{} and range of years.
11342 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
11344         [BZ #13695]
11345         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
11346         [crti.S not in sysdirs] (generated): Do not append.
11347         [crti.S not in sysdirs] (omit-deps): Likewise.
11348         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
11349         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
11350         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
11351         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
11352         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
11353         Likewise.
11354         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
11355         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
11356         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
11357         * csu/defs.awk: Remove file.
11358         * sysdeps/generic/initfini.c: Likewise.
11359         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
11360         variable.
11361         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
11362         Likewise.
11364 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
11366         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
11367         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
11368         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
11369         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
11370         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
11371         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
11372         <bits/epoll.h>.
11373         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
11374         (__EPOLL_PACKED): Define to empty if not defined by
11375         <bits/epoll.h>.
11376         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
11377         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11378         bits/epoll.h.
11380 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
11382         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
11383         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
11384         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
11385         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
11386         <bits/timerfd.h>.
11387         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
11388         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11389         bits/timerfd.h.
11391 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
11393         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
11394         in C locale.
11395         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
11396         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
11397         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
11398         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11400 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
11402         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
11403         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
11405 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
11407         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
11408         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
11409         defined.
11410         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
11411         Likewise.
11412         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
11413         entry for 2.16.
11415 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
11417         * math/w_acos.c: Use non-signaling floating-point comparisons.
11418         * math/w_acosf.c: Likewise.
11419         * math/w_acosh.c: Likewise.
11420         * math/w_acoshf.c: Likewise.
11421         * math/w_acoshl.c: Likewise.
11422         * math/w_acosl.c: Likewise.
11423         * math/w_asin.c: Likewise.
11424         * math/w_asinf.c: Likewise.
11425         * math/w_asinl.c: Likewise.
11426         * math/w_atanh.c: Likewise.
11427         * math/w_atanhf.c: Likewise.
11428         * math/w_atanhl.c: Likewise.
11429         * math/w_exp2.c: Likewise.
11430         * math/w_exp2f.c: Likewise.
11431         * math/w_exp2l.c: Likewise.
11432         * math/w_j0.c: Likewise.
11433         * math/w_j0f.c: Likewise.
11434         * math/w_j0l.c: Likewise.
11435         * math/w_j1.c: Likewise.
11436         * math/w_j1f.c: Likewise.
11437         * math/w_j1l.c: Likewise.
11438         * math/w_jn.c: Likewise.
11439         * math/w_jnf.c: Likewise.
11440         * math/w_log.c: Likewise.
11441         * math/w_log10.c: Likewise.
11442         * math/w_log10f.c: Likewise.
11443         * math/w_log10l.c: Likewise.
11444         * math/w_log2.c: Likewise.
11445         * math/w_log2f.c: Likewise.
11446         * math/w_log2l.c: Likewise.
11447         * math/w_logf.c: Likewise.
11448         * math/w_logl.c: Likewise.
11449         * math/w_sqrt.c: Likewise.
11450         * math/w_sqrtf.c: Likewise.
11451         * math/w_sqrtl.c: Likewise.
11452         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
11453         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
11454         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
11455         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
11456         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
11458 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
11460         [BZ #9739]
11461         * manual/string.texi (strnlen): Use correct parameter name in
11462         equivalent expression.
11464 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
11466         [BZ #11174]
11467         * manual/users.texi (seteuid): Consistently use neweuid for
11468         argument name.
11470 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
11472         [BZ #13704]
11473         * manual/nss.texi (Services in the NSS configuration): Correct
11474         list of services in example configuration file.
11476 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
11478         [BZ #11322]
11479         * manual/arith.texi: Remove statements about negative zero
11480         behaving identically to zero.
11482 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
11484         [BZ #5993]
11485         * manual/install.texi: Do not document upgrading from libc5.
11487 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
11489         [BZ #4596]
11490         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
11492 2012-02-18  David S. Miller  <davem@davemloft.net>
11494         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
11495         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
11496         %o7 across the call.
11497         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
11498         instead.
11499         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
11500         SETUP_PIC_REG_LEAF.
11501         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
11502         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
11503         * sysdeps/sparc/crtn.S: Likewise.
11505 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
11507         * aout/Makefile: Remove.
11509 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
11511         [BZ #13058]
11512         * manual/examples/argp-ex1.c (main): Format definition in GNU
11513         style.
11514         * manual/examples/argp-ex2.c (main): Likewise.
11515         * manual/examples/argp-ex3.c (main): Likewise.
11516         * manual/examples/argp-ex4.c (main): Likewise.
11517         * manual/examples/longopt.c (main): Use new-style prototype
11518         definition.
11519         * manual/examples/strncat.c (main): Specify return type and use
11520         (void) for arguments.
11521         * manual/examples/subopt.c (main): Use char **argv argument.
11523 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
11525         [BZ #5077]
11526         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
11527         rounding modes.
11529 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
11531         [BZ #6907]
11532         * manual/string.texi (strchr): Change when strchrnul is
11533         recommended.
11535 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
11537         [BZ #174]
11538         * manual/locale.texi (setlocale): Document LOCPATH.
11540 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
11542         [BZ #10210]
11543         * manual/process.texi (execle): Move @dots{} before last argument.
11545 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
11547         [BZ #12047]
11548         * manual/charset.texi (Generic Charset Conversion): Fix typo
11549         (LC_TYPE -> LC_CTYPE).
11551 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
11553         [BZ #5805]
11554         * manual/arith.texi (scalbn): Use @var{} on parameter names.
11555         (scalbnf): Likewise.
11556         (scalbnl): Likewise.
11557         (scalbln): Likewise.
11558         (scalblnf): Likewise.
11559         (scalblnl): Likewise.
11560         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
11561         (vwarnx): Likewise.
11562         (verr): Likewise.
11563         (verrx): Likewise.
11564         * manual/filesys.texi (telldir): Use braces around return type.
11565         * manual/llio.texi (mmap): Add space after comma.
11566         (mmap64): Likewise.
11567         * manual/math.texi (jn): Use @var{} on parameter names.
11568         (jnf): Likewise.
11569         (jnl): Likewise.
11570         (yn): Likewise.
11571         (ynf): Likewise.
11572         (ynl): Likewise.
11573         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
11574         line.
11575         * manual/resource.texi (ulimit): Use @dots{} instead of literal
11576         "...".
11577         (sched_get_priority_min): Remove semicolon on @deftypefun line.
11578         (sched_get_priority_max): Likewise.
11579         * manual/signal.texi (sigvec): Add space after comma.
11580         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
11581         names.
11582         (if_indextoname): Likewise.
11583         (if_freenameindex): Likewise.
11584         (sendto): Use ',' instead of '.' in prototype.
11585         * manual/startup.texi (syscall): Use @dots{} instead of literal
11586         "...".
11587         * manual/stdio.texi (__fpending): Separate initial words of
11588         paragraph from @deftypefun line.
11589         * manual/syslog.texi (syslog): Use @dots{} instead of literal
11590         "...".
11591         (vsyslog): Use @var{} on parameter names.
11592         * manual/terminal.texi (stty): Use @var{} on parameter names.
11593         * manual/users.texi (getutmp): Use @var{} on parameter names.
11594         (getutmpx): Likewise.
11596 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
11598         [BZ #6884]
11599         * manual/stdio.texi (fopen): Fix typos in description of
11600         ",ccs=STRING".
11602 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
11604         [BZ #4026]
11605         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
11606         get clock_id definition.
11608 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
11610         [BZ #4822]
11611         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
11612         (madvise): Cast every argument to void on its own.
11614 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
11616         [BZ #9902]
11617         * manual/startup.texi (Exit Status): Fix typo.
11619 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
11621         [BZ #10140]
11622         * manual/examples/argp-ex1.c: Include <stdlib.h>.
11623         * manual/examples/argp-ex2.c: Likewise.
11624         * manual/examples/argp-ex3.c: Likewise.
11626 2012-02-16  Richard Henderson  <rth@redhat.com>
11628         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
11629         * sysdeps/s390/s390-32/initfini.c: Remove.
11630         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
11631         * sysdeps/s390/s390-64/initfini.c: Remove.
11633 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
11635         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
11636         compiler output for sysdeps/generic/initfini.c.
11637         * sysdeps/sh/elf/initfini.c: Remove file.
11639 2012-02-16  David S. Miller  <davem@davemloft.net>
11641         [BZ #11494]
11642         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
11644         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
11645         * sysdeps/sparc/crti.S: New file.
11646         * sysdeps/sparc/crtn.S: New file.
11647         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
11648         * sysdeps/sparc/sparc64/Makefile: Likewise.
11650 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
11652         [BZ #3335]
11653         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
11655 2012-02-15  Roland McGrath  <roland@hack.frob.com>
11657         [BZ #4822]
11658         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
11660         * mach/devstream.c (cookie_io_functions_t): Macro removed.
11661         (write, read, close): Likewise.
11662         Patch by Aurelien Jarno <aurelien@aurel32.net>.
11664 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
11666         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
11667         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
11668         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
11669         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
11670         <bits/signalfd.h>.
11671         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
11672         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11673         bits/signalfd.h.
11675 2012-02-14  Marek Polacek  <polacek@redhat.com>
11677         * sysdeps/x86_64/crti.S: New file.
11678         * sysdeps/x86_64/crtn.S: New file.
11679         * sysdeps/x86_64/elf/initfini.c: Remove file.
11681 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
11683         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
11684         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
11685         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
11686         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
11687         <bits/inotify.h>.
11688         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
11689         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11690         bits/inotify.h.
11692 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
11694         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
11695         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
11696         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
11697         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
11698         <bits/eventfd.h>.
11699         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
11700         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11701         bits/eventfd.h.
11703 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
11705         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
11706         __feraiseexcept instead of feraiseexcept.
11708         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
11709         nanosleep invocations.
11710         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
11711         strings, and add error checking for a nanosleep invocations.
11713 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
11715         Replace FSF snail mail address with URLs, as per GNU coding standards.
11716         Most of the snail mail addresses were wrong anyway, and omitting
11717         them makes the source code easier to maintain.  Almost all of the
11718         changes are to license notices and to locale LC_IDENTIFICATION
11719         addresses, except for this one:
11720         * manual/libc.texinfo: In "Published by", give the FSF's URL,
11721         not its snail mail address.
11723 2012-02-09  Richard Henderson  <rth@twiddle.net>
11725         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
11726         of kernel-features.h.
11728         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
11730 2012-02-08  Marek Polacek  <polacek@redhat.com>
11732         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
11733         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
11734         * sysdeps/gnu/_G_config.h: Likewise.
11735         * sysdeps/generic/_G_config.h: Likewise.
11737 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
11739         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
11740         tests.
11741         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11743         * sysdeps/powerpc/powerpc32/crti.S: New file.
11744         * sysdeps/powerpc/powerpc32/crtn.S: New file.
11745         * sysdeps/powerpc/powerpc64/crti.S: New file.
11746         * sysdeps/powerpc/powerpc64/crtn.S: New file.
11748         * Makeconfig (have-initfini): Don't set.
11749         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
11750         * configure.in (nopic_initfini): Don't substitute.
11751         * config.h.in (HAVE_INITFINI): Don't #undef.
11752         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
11753         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
11755 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
11757         Support crti.S and crtn.S provided directly by architectures.
11758         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
11759         [crti.S in sysdirs] (omit-deps): Likewise.
11760         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
11761         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
11762         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
11763         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
11764         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
11765         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
11766         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
11767         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
11768         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
11769         compiler output for sysdeps/generic/initfini.c.
11770         * sysdeps/i386/elf/Makefile: Remove file.
11771         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
11773 2012-02-07  Marek Polacek  <polacek@redhat.com>
11775         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
11776         * sysdeps/gnu/_G_config.h: Likewise.
11777         * sysdeps/mach/hurd/_G_config.h: Likewise.
11779 2012-02-07  Marek Polacek  <polacek@redhat.com>
11781         * math/Makefile (tests): Add tst-CMPLX2.
11782         * math/tst-CMPLX2.c: New file.
11784 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
11786         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
11788         * math/libm-test.inc (jn_test): Add missing L suffix.
11790 2012-02-06  Marek Polacek  <polacek@redhat.com>
11792         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
11793         * sysdeps/i386/fpu/e_powf.S: Likewise.
11794         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
11795         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
11796         * sysdeps/i386/fpu/e_acosh.S: Likewise.
11797         * sysdeps/i386/fpu/e_pow.S: Likewise.
11798         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
11799         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
11800         * sysdeps/i386/fpu/s_expm1.S: Likewise.
11801         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
11802         * sysdeps/i386/fpu/e_log2.S: Likewise.
11803         * sysdeps/i386/fpu/e_log2l.S: Likewise.
11804         * sysdeps/i386/fpu/e_scalb.S: Likewise.
11805         * sysdeps/i386/fpu/e_powl.S: Likewise.
11806         * sysdeps/i386/fpu/s_log1p.S: Likewise.
11807         * sysdeps/i386/fpu/e_log10f.S: Likewise.
11808         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
11809         * sysdeps/i386/fpu/e_logl.S: Likewise.
11810         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
11811         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
11812         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
11813         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
11814         * sysdeps/i386/fpu/e_log2f.S: Likewise.
11815         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
11816         * sysdeps/i386/fpu/e_log.S: Likewise.
11817         * sysdeps/i386/fpu/s_cexp.S: Likewise.
11818         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
11819         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
11820         * sysdeps/i386/fpu/e_logf.S: Likewise.
11821         * sysdeps/i386/fpu/e_log10l.S: Likewise.
11822         * sysdeps/i386/fpu/e_atanh.S: Likewise.
11823         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
11824         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
11825         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
11826         * sysdeps/i386/fpu/e_log10.S: Likewise.
11827         * sysdeps/i386/fpu/s_frexp.S: Likewise.
11828         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
11829         * sysdeps/i386/fpu/s_asinh.S: Likewise.
11830         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
11831         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
11832         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
11833         * sysdeps/i386/asm-syntax.h: Likewise.
11834         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
11835         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
11836         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
11837         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
11838         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
11839         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
11840         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
11841         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
11842         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
11843         * sysdeps/powerpc/sysdep.h: Likewise.
11844         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
11845         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
11847 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
11849         [BZ #411]
11850         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
11852 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
11854         * sysdeps/i386/sysdep.h: Include <features.h>.
11855         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
11856         version.
11858 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
11860         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
11861         Define.
11862         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
11863         LOAD_PIC_REG_STR.
11865 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
11867         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
11868         (SETUP_PIC_REG): Use GET_PC_THUNK.
11869         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
11870         macro.
11872 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
11874         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
11875         for non-PIC compilation.
11876         (SETUP_PIC_REG): Add .p2align directive.
11877         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
11878         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
11879         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
11880         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
11881         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
11882         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
11883         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
11884         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
11885         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
11886         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
11887         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
11888         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
11889         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
11890         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
11891         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
11892         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
11893         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
11894         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
11895         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
11896         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
11897         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
11898         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
11899         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
11900         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
11901         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
11902         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
11903         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
11904         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
11905         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
11906         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
11907         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
11908         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
11909         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
11910         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
11911         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
11912         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
11913         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
11914         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
11915         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
11916         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
11917         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
11919 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
11921         * math/tst-CMPLX.c: Include <stdio.h>.
11923 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
11925         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
11926         float.
11927         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
11928         * sysdeps/sparc/bits/mathdef.h: Likewise.
11930 2012-01-31  Marek Polacek  <polacek@redhat.com>
11932         * libio/libio.h: Don't define _PARAMS.
11933         * locale/programs/config.h: Don't define PARAMS.
11934         * stdlib/strtol_l.c: Likewise.
11935         (__strtol_l): Remove PARAMS from the prototype.
11937 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
11939         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
11940         names.  Just use the correct names.  Remove unnecessary wrapper
11941         functions.
11942         * malloc/arena.c: Likewise.
11943         * malloc/hooks.c: Likewise.
11945         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
11946         ARENA_TEST says not to.  Simplify test for creation of a new arena.
11947         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
11949 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
11951         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
11952         into tail calls.
11953         (update_get_addr): New function.
11954         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
11955         GET_ADDR_MODULE parameter.
11957 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
11959         * crypt/cert.c: Remove __STDC__ conditionals.
11960         * crypt/crypt-entry.c: Likewise.
11961         * crypt/crypt_util.c: Likewise.
11962         * libio/filedoalloc.c: Likewise.
11963         * libio/fileops.c: Likewise.
11964         * libio/genops.c: Likewise.
11965         * libio/iofclose.c: Likewise.
11966         * libio/iofdopen.c: Likewise.
11967         * libio/iofopen.c: Likewise.
11968         * libio/iofopen64.c: Likewise.
11969         * libio/iogetdelim.c: Likewise.
11970         * libio/iopopen.c: Likewise.
11971         * libio/obprintf.c: Likewise.
11972         * libio/oldfileops.c: Likewise.
11973         * libio/oldiofclose.c: Likewise.
11974         * libio/oldiofdopen.c: Likewise.
11975         * libio/oldiofopen.c: Likewise.
11976         * libio/oldiopopen.c: Likewise.
11977         * libio/wfiledoalloc.c: Likewise.
11978         * libio/wgenops.c: Likewise.
11979         * locale/programs/xmalloc.c: Likewise.
11980         * misc/syslog.c: Likewise.
11981         * stdio-common/xbug.c: Likewise.
11982         * string/memchr.c: Likewise.
11983         * string/memcmp.c: Likewise.
11984         * string/memrchr.c: Likewise.
11985         * string/rawmemchr.c: Likewise.
11986         * sysdeps/posix/getcwd.c: Likewise.
11987         * time/strftime_l.c: Likewise.
11989 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
11991         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
11992         * config.make.in (config-cflags-sse2avx): Define.
11993         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
11994         Fix typo.
11996 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
11998         * scripts/config.guess: Update from upstream config git repository.
11999         * scripts/config.sub: Likewise.
12001 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
12003         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
12004         (EM_NUM): Update.
12005         (R_TILEPRO_*, R_TILEGX_*): New macros.
12007         * scripts/firstversions.awk: Fix bug in version range handling.
12009         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
12011         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
12013         * include/sys/epoll.h: New file.
12014         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
12015         libc_hidden_def.
12017 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
12019         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
12020         Avoid unnecessary __WORDSIZE == 64 test.
12021         (fmaxf): Use VEX format if possible.
12022         (fmax): Likewise.
12023         (fminf): Likewise.
12024         (fmin): Likewise.
12026         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
12027         * math/math_private.h: Remove libc_fegetround* and
12028         libc_fesetround*.
12029         * sysdeps/i386/configure.in: Check for -msse2avx.
12030         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
12031         also if SSE2AVX is defined.
12032         Remove libc_fegetround* and libc_fesetround*.
12033         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
12034         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
12035         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
12036         of HAS_YMM_USABLE.
12037         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
12038         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
12039         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
12040         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
12041         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
12043         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
12045 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12047         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
12048         size is not set.
12049         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
12051 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
12053         [BZ #13618]
12054         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
12055         relocation.
12056         * Makeconfig (libm): Define.
12057         * elf/Makefile: Add rules to build and run tst-relsort1.
12058         * elf/tst-relsort1.c: New file.
12059         * elf/tst-relsort1mod1.c: New file.
12060         * elf/tst-relsort1mod2.c: New file.
12062 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
12064         * math/s_ldexp.c: Remove __STDC__ conditionals.
12065         * math/s_ldexpf.c: Likewise.
12066         * math/s_ldexpl.c: Likewise.
12067         * math/s_nextafter.c: Likewise.
12068         * math/s_nexttowardf.c: Likewise.
12069         * math/s_significand.c: Likewise.
12070         * math/s_significandf.c: Likewise.
12071         * math/s_significandl.c: Likewise.
12072         * math/w_jnl.c: Likewise.
12073         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
12074         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
12075         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
12076         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
12077         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
12078         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
12079         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
12080         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
12081         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
12082         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
12083         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
12084         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
12085         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
12086         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
12087         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
12088         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
12089         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
12090         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
12091         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
12092         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
12093         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
12094         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
12095         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
12096         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
12097         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
12098         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
12099         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
12100         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
12101         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
12102         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
12103         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
12104         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
12105         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
12106         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
12107         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
12108         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
12109         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
12110         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
12111         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
12112         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
12113         * sysdeps/ieee754/k_standard.c: Likewise.
12114         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
12115         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
12116         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
12117         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
12118         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
12119         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
12120         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
12121         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
12122         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
12123         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
12124         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
12125         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
12126         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
12127         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
12128         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
12129         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
12130         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
12131         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
12132         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
12133         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
12134         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
12135         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
12136         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
12137         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
12138         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
12139         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
12140         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
12141         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
12142         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
12143         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
12144         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
12145         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
12146         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
12147         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
12148         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
12149         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
12150         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
12151         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
12152         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
12153         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
12154         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
12155         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
12156         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
12157         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
12158         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
12159         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
12160         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
12161         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
12162         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
12163         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
12164         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
12165         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
12166         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
12167         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
12168         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
12169         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
12170         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
12171         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
12172         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
12173         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
12174         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
12175         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
12176         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
12177         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
12178         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
12179         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
12180         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
12181         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
12182         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
12183         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
12184         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
12185         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
12186         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
12187         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
12188         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
12189         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
12190         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
12191         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
12192         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
12193         * sysdeps/ieee754/s_matherr.c: Likewise.
12194         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
12195         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
12196         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
12197         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
12199 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
12201         * crypt/md5.h: Remove __STDC__ conditionals.
12202         * libio/libioP.h: Likewise.
12203         * locale/programs/config.h: Likewise.
12204         * sysdeps/generic/sysdep.h: Likewise.
12205         * sysdeps/i386/asm-syntax.h: Likewise.
12206         * sysdeps/s390/asm-syntax.h: Likewise.
12207         * sysdeps/unix/sysdep.h: Likewise.
12208         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
12209         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
12211 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
12213         * libio/libio.h: Remove __STDC__ conditionals.
12214         * malloc/obstack.h: Likewise.
12215         * math/complex.h: Likewise.
12216         * math/math.h: Likewise.
12217         * sysdeps/generic/_G_config.h: Likewise.
12218         * sysdeps/gnu/_G_config.h: Likewise.
12219         * sysdeps/mach/hurd/_G_config.h: Likewise.
12220         * sysdeps/powerpc/bits/mathdef.h: Likewise.
12221         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
12222         * sysdeps/sparc/bits/mathdef.h: Likewise.
12224 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
12226         [BZ #13583]
12227         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
12228         Clean up HAS_* macros.
12229         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
12230         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
12231         possible.
12232         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
12233         HAS_AVX.
12234         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
12235         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
12236         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
12237         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
12238         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
12240 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
12242         * elf/tst-unique3.cc (gets): Remove declaration.
12243         * elf/tst-unique3lib.cc (gets): Likewise.
12244         * elf/tst-unique3lib2.cc (gets): Likewise.
12245         * elf/tst-unique4.cc (gets): Likewise.
12247 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
12249         * include/stdio.h: Add C++ protection.  Add gets declarations and
12250         definitions.
12251         * debug/tst-chk1.c: Don't declare gets here.
12252         * stdio-common/tst-gets.c: Likewise.
12254 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
12256         * posix/glob: Remove directory.
12258 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
12260         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
12262 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
12264         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
12265         of the non-standard EPFNOSUPPORT.
12267 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12269         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
12270         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
12271         ANYWHERE set to 1 only on KERN_NO_SPACE error.
12273 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
12275         * wcsmbs/uchar.h: Test __STDC_VERSION__.
12277 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
12279         * nscd/aicache.c (addhstaiX): Do not cache negative results of
12280         transient errors.
12281         * nscd/grpcache.c (cache_addgr): Likewise.
12282         * nscd/hstcache.c (cache_addhst): Likewise.
12283         * nscd/initgrcache.c (addinitgroupsX): Likewise.
12284         * nscd/pwdcache.c (cache_addpw): Likewise.
12285         * nscd/servicescache.c (cache_addserv): Likewise.
12287 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
12289         * malloc/malloc.c: Various cleanups.
12290         * malloc/hooks.c: Likewise.
12292         * stdlib/Makefile (tests): Add bug-fmtmsg1.
12293         * stdlib/bug-fmtmsg1.c: New file.
12295         * stdlib/fmtmsg.c (init): Add missing unlock.
12296         Patch by Peng Haitao <penght@cn.fujitsu.com>.
12298 2012-01-12  Marek Polacek  <polacek@redhat.com>
12300         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
12301         and _GNU_SOURCE.
12303 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
12305         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
12306         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
12307         macro to ensure uniqueness of label name.
12308         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
12309         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
12311 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
12313         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
12315         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
12316         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
12317         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
12318         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
12320 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
12322         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
12324         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
12325         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
12326         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
12328         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
12330         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
12331         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
12332         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
12333         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
12335         * math/bits/math-finite.h: Add ldexp support.
12337 2012-01-10  Marek Polacek  <polacek@redhat.com>
12339         * locale/programs/localedef.h (show_archive_content): Add noreturn
12340         attribute.
12342 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
12344         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
12346 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
12348         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
12350         * io/Makefile (headers): Add bits/poll2.h.
12352 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
12354         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
12355         typo #include statement.
12357 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
12359         * include/sys/cdefs.h: Define __attribute_alloc_size.
12360         * catgets/gencat.c: Add alloc_size attribute and apply consistently
12361         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
12362         * elf/pldd.c: Likewise.
12363         * iconv/iconv_charmap.c: Likewise.
12364         * iconv/iconvconfig.c: Likewise.
12365         * iconv/strtab.c: Likewise.
12366         * locale/programs/locale.c: Likewise.
12367         * locale/programs/localedef.h: Likewise.
12368         * locale/programs/simple-hash.c: Likewise.
12369         * nscd/nscd.h: Likewise.
12370         * nss/makedb.c: Likewise.
12371         * sysdeps/generic/ldconfig.h: Likewise.
12372         * locale/programs/localedef.c: Remove xmalloc prototype.
12373         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
12375 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
12377         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
12378         appropriate.
12380 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
12382         * math/Makefile (tests): Add tst-CMPLX.
12383         * math/tst-CMPLX.c: New file.
12385         * math/complex.h (CMPLXL): Fix typo.
12387         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
12388         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
12389         GLIBC_2.16.
12390         * debug/tst-chk1.c: Add poll and ppoll tests.
12391         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
12392         * include/sys/poll.h: Add hidden proto for ppoll.
12393         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
12394         * sysdeps/mach/hurd/ppoll.c: Likewise.
12395         * io/ppoll.c: Likewise.
12396         * debug/poll_chk.c: New file.
12397         * debug/ppoll_chk.c: New file.
12398         * include/bits/poll2.h: New file.
12399         * io/bits/poll2.h: New file.
12401         [BZ #1350]
12402         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
12404         * configure.in: static is always set to yes.  Remove.
12405         * config.make.in: Don't set build-static.
12406         * Makeconfig: Remove use of build-static.
12407         * dlfcn/Makefile: Likewise.
12408         * elf/Makefile: Likewise.
12409         * math/Makefile: Likewise.
12410         * misc/Makefile: Likewise.
12411         * nptl/Makefile: Likewise.
12412         * sysdeps/mach/hurd/Makefile: Likewise.
12414         * configure.in: PWD_P is not used anymore.
12415         * config.make.in: Remove PWD_P entry.
12417         * configure.in: Remove last remnants of RANLIB.
12418         No need to check for signed size_t anymore.
12419         Don't set libc_commonpagesize and libc_relro_required here for Alpha
12420         and IA-64.
12421         Remove __builtin_expect test because we require at least gcc 3.4.
12422         * aclocal.m4: Likewise.
12424         * wcsmbs/mbrtoc16.c: Implement using towc function.
12425         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
12426         * wcsmbs/wcsmbsload.c: Likewise.
12427         * iconv/gconv_simple.c: Likewise.
12428         * iconv/gconv_int.h: Likewise.
12429         * iconv/gconv_builtin.h: Likewise.
12430         * iconv/iconv_prog.c: Remove CHAR16 handling.
12432         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
12434         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
12436         * configure.in: Remove --with-elf and --enable-bounded options.
12437         Dont set base_machine for ia64.  More non-ELF conditions removed.
12438         Remove testing and setting of leading underscore information.
12439         * config.make.in (build-bounded): Set to no.
12440         * config.h.in: Remove NO_UNDERSCORES entry.
12441         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
12442         them.
12443         * csu/start.c: Remove !NO_UNDERSCORE code.
12444         * locale/localeinfo.h: Likewise.
12445         * sysdeps/generic/machine-gmon.h: Likewise.
12446         * sysdeps/generic/sysdep.h: Likewise.
12447         * sysdeps/i386/sysdep.h: Likewise.
12448         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
12449         * sysdeps/mach/sysdep.h: Likewise.
12450         * sysdeps/s390/s390-32/sysdep.h: Likewise.
12451         * sysdeps/s390/s390-64/sysdep.h: Likewise.
12452         * sysdeps/sh/sysdep.h: Likewise.
12453         * sysdeps/sparc/sparc32/alloca.S: Likewise.
12454         * sysdeps/unix/i386/sysdep.S: Likewise.
12455         * sysdeps/unix/sparc/start.c: Likewise.
12456         * sysdeps/unix/sparc/sysdep.S: Likewise.
12457         * sysdeps/unix/sparc/sysdep.h: Likewise.
12458         * sysdeps/unix/start.c: Likewise.
12459         * sysdeps/unix/x86_64/sysdep.S: Likewise.
12460         * sysdeps/x86_64/sysdep.h: Likewise.
12462 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
12464         [BZ #13553]
12465         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
12466         for non-gcc.
12467         * argp/argp-fmtstream.h: Use const instead __const.
12468         * argp/argp.h: Likewise.
12469         * assert/assert.h: Likewise.
12470         * bits/fenv.h: Likewise.
12471         * bits/sched.h: Likewise.
12472         * bits/sigset.h: Likewise.
12473         * bits/sigthread.h: Likewise.
12474         * catgets/nl_types.h: Likewise.
12475         * conform/data/pthread.h-data: Likewise.
12476         * crypt/crypt-private.h: Likewise.
12477         * crypt/crypt.h: Likewise.
12478         * crypt/crypt_util.c: Likewise.
12479         * ctype/ctype.h: Likewise.
12480         * debug/execinfo.h: Likewise.
12481         * debug/mbsnrtowcs_chk.c: Likewise.
12482         * debug/mbsrtowcs_chk.c: Likewise.
12483         * debug/wcsnrtombs_chk.c: Likewise.
12484         * debug/wcsrtombs_chk.c: Likewise.
12485         * debug/wcstombs_chk.c: Likewise.
12486         * dirent/dirent.h: Likewise.
12487         * dlfcn/dlfcn.h: Likewise.
12488         * elf/neededtest4.c: Likewise.
12489         * grp/grp.h: Likewise.
12490         * gshadow/gshadow.h: Likewise.
12491         * iconv/gconv.h: Likewise.
12492         * iconv/gconv_int.h: Likewise.
12493         * iconv/gconv_simple.c: Likewise.
12494         * iconv/iconv.h: Likewise.
12495         * iconv/loop.c: Likewise.
12496         * iconv/skeleton.c: Likewise.
12497         * include/aio.h: Likewise.
12498         * include/aliases.h: Likewise.
12499         * include/argz.h: Likewise.
12500         * include/arpa/inet.h: Likewise.
12501         * include/assert.h: Likewise.
12502         * include/dirent.h: Likewise.
12503         * include/dlfcn.h: Likewise.
12504         * include/execinfo.h: Likewise.
12505         * include/fcntl.h: Likewise.
12506         * include/fenv.h: Likewise.
12507         * include/glob.h: Likewise.
12508         * include/grp.h: Likewise.
12509         * include/libintl.h: Likewise.
12510         * include/mntent.h: Likewise.
12511         * include/netdb.h: Likewise.
12512         * include/pwd.h: Likewise.
12513         * include/rpc/netdb.h: Likewise.
12514         * include/sched.h: Likewise.
12515         * include/search.h: Likewise.
12516         * include/shadow.h: Likewise.
12517         * include/signal.h: Likewise.
12518         * include/stdio.h: Likewise.
12519         * include/stdlib.h: Likewise.
12520         * include/string.h: Likewise.
12521         * include/sys/socket.h: Likewise.
12522         * include/sys/stat.h: Likewise.
12523         * include/sys/statfs.h: Likewise.
12524         * include/sys/statvfs.h: Likewise.
12525         * include/sys/syslog.h: Likewise.
12526         * include/sys/time.h: Likewise.
12527         * include/sys/uio.h: Likewise.
12528         * include/time.h: Likewise.
12529         * include/unistd.h: Likewise.
12530         * include/utmp.h: Likewise.
12531         * include/wchar.h: Likewise.
12532         * include/wctype.h: Likewise.
12533         * inet/aliases.h: Likewise.
12534         * inet/arpa/inet.h: Likewise.
12535         * inet/netinet/ether.h: Likewise.
12536         * inet/netinet/in.h: Likewise.
12537         * intl/libintl.h: Likewise.
12538         * io/bits/fcntl2.h: Likewise.
12539         * io/fcntl.h: Likewise.
12540         * io/ftw.h: Likewise.
12541         * io/sys/poll.h: Likewise.
12542         * io/sys/stat.h: Likewise.
12543         * io/sys/statfs.h: Likewise.
12544         * io/sys/statvfs.h: Likewise.
12545         * io/utime.h: Likewise.
12546         * libio/bits/stdio.h: Likewise.
12547         * libio/bits/stdio2.h: Likewise.
12548         * libio/libio.h: Likewise.
12549         * libio/libioP.h: Likewise.
12550         * libio/stdio.h: Likewise.
12551         * locale/lc-ctype.c: Likewise.
12552         * locale/locale.h: Likewise.
12553         * login/utmp.h: Likewise.
12554         * malloc/arena.c: Likewise.
12555         * malloc/malloc.c: Likewise.
12556         * malloc/malloc.h: Likewise.
12557         * malloc/mcheck.c: Likewise.
12558         * malloc/mtrace.c: Likewise.
12559         * math/bits/mathcalls.h: Likewise.
12560         * math/fenv.h: Likewise.
12561         * math/math_private.h: Likewise.
12562         * misc/bits/error.h: Likewise.
12563         * misc/bits/syslog.h: Likewise.
12564         * misc/err.h: Likewise.
12565         * misc/error.h: Likewise.
12566         * misc/fstab.h: Likewise.
12567         * misc/mntent.h: Likewise.
12568         * misc/regexp.h: Likewise.
12569         * misc/search.h: Likewise.
12570         * misc/sgtty.h: Likewise.
12571         * misc/sys/mman.h: Likewise.
12572         * misc/sys/syslog.h: Likewise.
12573         * misc/sys/uio.h: Likewise.
12574         * misc/sys/xattr.h: Likewise.
12575         * misc/ttyent.h: Likewise.
12576         * nis/rpcsvc/ypclnt.h: Likewise.
12577         * nss/nss.h: Likewise.
12578         * posix/bits/unistd.h: Likewise.
12579         * posix/fnmatch.h: Likewise.
12580         * posix/glob.h: Likewise.
12581         * posix/sched.h: Likewise.
12582         * posix/spawn.h: Likewise.
12583         * posix/sys/wait.h: Likewise.
12584         * posix/unistd.h: Likewise.
12585         * posix/wordexp.h: Likewise.
12586         * pwd/pwd.h: Likewise.
12587         * resolv/netdb.h: Likewise.
12588         * resource/sys/resource.h: Likewise.
12589         * rt/aio.h: Likewise.
12590         * rt/bits/mqueue2.h: Likewise.
12591         * rt/mqueue.h: Likewise.
12592         * shadow/shadow.h: Likewise.
12593         * signal/signal.h: Likewise.
12594         * socket/send.c: Likewise.
12595         * socket/sendto.c: Likewise.
12596         * socket/sys/socket.h: Likewise.
12597         * stdio-common/printf.h: Likewise.
12598         * stdlib/bits/stdlib.h: Likewise.
12599         * stdlib/fmtmsg.h: Likewise.
12600         * stdlib/monetary.h: Likewise.
12601         * stdlib/stdlib.h: Likewise.
12602         * stdlib/ucontext.h: Likewise.
12603         * streams/stropts.h: Likewise.
12604         * string/argz.h: Likewise.
12605         * string/bits/string2.h: Likewise.
12606         * string/string.h: Likewise.
12607         * string/strings.h: Likewise.
12608         * sunrpc/rpc/auth.h: Likewise.
12609         * sunrpc/rpc/auth_des.h: Likewise.
12610         * sunrpc/rpc/clnt.h: Likewise.
12611         * sunrpc/rpc/netdb.h: Likewise.
12612         * sunrpc/rpc/pmap_clnt.h: Likewise.
12613         * sunrpc/rpc/xdr.h: Likewise.
12614         * sysdeps/generic/inttypes.h: Likewise.
12615         * sysdeps/generic/net/if.h: Likewise.
12616         * sysdeps/generic/sys/swap.h: Likewise.
12617         * sysdeps/gnu/net/if.h: Likewise.
12618         * sysdeps/gnu/utmpx.h: Likewise.
12619         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
12620         * sysdeps/i386/i486/bits/string.h: Likewise.
12621         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
12622         * sysdeps/s390/bits/string.h: Likewise.
12623         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
12624         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
12625         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
12626         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
12627         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
12628         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
12629         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
12630         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
12631         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
12632         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
12633         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
12634         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
12635         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
12636         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
12637         * sysdeps/unix/sysv/linux/readv.c: Likewise.
12638         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
12639         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
12640         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
12641         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
12642         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
12643         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
12644         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
12645         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
12646         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
12647         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
12648         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
12649         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
12650         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
12651         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
12652         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
12653         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
12654         * sysvipc/sys/ipc.h: Likewise.
12655         * sysvipc/sys/msg.h: Likewise.
12656         * sysvipc/sys/sem.h: Likewise.
12657         * sysvipc/sys/shm.h: Likewise.
12658         * termios/termios.h: Likewise.
12659         * time/sys/time.h: Likewise.
12660         * time/time.h: Likewise.
12661         * wcsmbs/bits/wchar2.h: Likewise.
12662         * wcsmbs/uchar.h: Likewise.
12663         * wcsmbs/wchar.h: Likewise.
12664         * wctype/wctype.h: Likewise.
12666         [BZ #13551]
12667         * Makeconfig: Remove all but ELF support including AIX support.
12668         * Makerules: Likewise.
12669         * config.h.in: Likewise.
12670         * config.make.in: Likewise.
12671         * configure: Likewise.
12672         * configure.in: Likewise.
12673         * csu/Makefile: Likewise.
12674         * csu/version.c: Likewise.
12675         * debug/Makefile: Likewise.
12676         * dlfcn/Makefile: Likewise.
12677         * elf/Makefile: Likewise.
12678         * extra-lib.mk: Likewise.
12679         * iconv/Makefile: Likewise.
12680         * include/libc-symbols.h: Likewise.
12681         * include/shlib-compat.h: Likewise.
12682         * resolv/Makefile: Likewise.
12683         * resolv/res_libc.c: Likewise.
12684         * rt/Makefile: Likewise.
12685         * sysdeps/i386/asm-syntax.h: Likewise.
12686         * sysdeps/i386/sysdep.h: Likewise.
12687         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
12688         * sysdeps/mach/sysdep.h: Likewise.
12689         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
12690         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
12691         * sysdeps/s390/asm-syntax.h: Likewise.
12692         * sysdeps/s390/s390-32/sysdep.h: Likewise.
12693         * sysdeps/s390/s390-64/sysdep.h: Likewise.
12694         * sysdeps/sh/sysdep.h: Likewise.
12695         * sysdeps/unix/sparc/sysdep.h: Likewise.
12696         * sysdeps/wordsize-32/divdi3.c: Likewise.
12697         * sysdeps/x86_64/sysdep.h: Likewise.
12699         * argp/Versions: Remove _argp_unlock_xxx.
12701         [BZ #13559]
12702         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
12703         * abilist/libBrokenLocale.abilist: Likewise.
12704         * abilist/libanl.abilist: Likewise.
12705         * abilist/libc.abilist: Likewise.
12706         * abilist/libcrypt.abilist: Likewise.
12707         * abilist/libdl.abilist: Likewise.
12708         * abilist/libm.abilist: Likewise.
12709         * abilist/libnsl.abilist: Likewise.
12710         * abilist/libpthread.abilist: Likewise.
12711         * abilist/libresolv.abilist: Likewise.
12712         * abilist/librt.abilist: Likewise.
12713         * abilist/libthread_db.abilist: Likewise.
12714         * abilist/libutil.abilist: Likewise.
12715         * abilist/libnss_db.abilist: New file.
12717         * scripts/abilist.awk: Add support for indirect functions.
12719         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
12721         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
12723         * shlib-versions: Remove entries for ports architectures.
12725         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
12726         files in ports.
12727         * elf/stackguard-macros.h: Remove support for IA-64.
12728         * elf/tst-auditmod1.c: Likewise.
12729         * sysdeps/generic/ldsodefs.h: Likewise.
12731         * sysdeps/unix/sysv/linux/configure.in: Ports should define
12732         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
12733         configure files.
12735         [BZ #13552]
12736         * configure.in: Remove --enable-omitfp support.
12737         * FAQ.in: Adjust.
12738         * config.make.in: Likewise.
12739         * Makeconfig: Likewise.
12740         * manual/install.texi: Likewise.
12742         In case anyone cares, the IA-64 architecture could move to ports.
12743         * sysdeps/ia64/*: Removed.
12744         * sysdeps/unix/sysv/linux/ia64/*: Removed.
12745         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
12747         [BZ #13555]
12748         * configure.in: Remove entries for unsupported architectures.
12750         [BZ #13533]
12751         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
12752         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
12753         routines.
12754         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
12755         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
12756         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
12757         fall back to using wcrtomb.
12758         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
12759         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
12760         renaming.
12761         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
12762         * wcsmbs/tst-c16c32-1.c: New file.
12764         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
12765         local variable.
12767         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
12769         * elf/tst-unique3.cc: Add explicit declaration of gets.
12770         * elf/tst-unique3lib.cc: Likewise.
12771         * elf/tst-unique3lib2.cc: Likewise.
12772         * elf/tst-unique4.cc: Likewise.
12774         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
12776 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
12778         [BZ #13566]
12779         * assert/assert.h (static_assert): Don't define for C++.
12780         * libio/stdio.h (gets): Do declare for C++ <= C++11.
12781         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
12783 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
12785         * iconv/loop.c (single loop): Fix assertion in storing of
12786         remaining bytes.
12788         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
12790 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
12792         * posix/getconf.c: Update copyright year.
12793         * nss/getent.c: Likewise.
12794         * nss/makedb.c: Likewise.
12795         * iconv/iconvconfig.c: Likewise.
12796         * iconv/iconv_prog.c: Likewise.
12797         * elf/ldconfig.c: Likewise.
12798         * elf/pldd.c: Likewise.
12799         * elf/sotruss.ksh: Likewise.
12800         * catgets/gencat.c: Likewise.
12801         * csu/version.c: Likewise.
12802         * elf/ldd.bash.in: Likewise.
12803         * elf/sprof.c (print_version): Likewise.
12804         * locale/programs/locale.c: Likewise.
12805         * locale/programs/localedef.c: Likewise.
12806         * login/programs/pt_chown.c: Likewise.
12807         * nscd/nscd.c (print_version): Likewise.
12808         * debug/xtrace.sh: Likewise.
12809         * malloc/memusage.sh: Likewise.
12810         * malloc/mtrace.pl: Likewise.
12811         * debug/catchsegv.sh: Likewise.
12813 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
12815         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
12816         pure attribute.
12818 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
12820         [BZ #13533]
12821         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
12822         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
12823         transformations.
12824         * iconv/gconv_int.h: Likewise.
12825         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
12826         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
12827         from libc for GLIBC_2.16.
12828         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
12829         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
12830         * wcsmbs/uchar.h: Really define mbstate_t.
12831         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
12832         * wcsmbs/c16rtomb.c: New file.
12833         * wcsmbs/mbrtoc16.c: New file.
12834         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
12835         for C/POSIX locale.
12836         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
12837         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
12839         * wcsmbs/wchar.h: Add missing __restrict.
12841 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
12843         [BZ #13532]
12844         * time/Makefile (routines): Add timespec_get.
12845         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
12846         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
12847         timespec for ISO C11.
12848         * time/timespec_get.c: New file.
12849         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
12850         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
12852         [BZ #13531]
12853         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
12854         * stdlib/stdlib.h: Declare aligned_alloc.
12855         * Versions.def: Add GLIBC_2.16 for libc.
12856         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
12858         [BZ 13527]
12859         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
12860         ISO C11.
12862         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
12863         code.
12865         [BZ #13528]
12866         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
12868         [BZ #13529]
12869         * assert/assert.h (static_assert): Define.
12871         * version.h: Update for 2.16 development version.
12873         [BZ #13526]
12874         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
12875         _ISOC11_SOURCE.
12877         * version.h (RELEASE): Bump for 2.15 release.
12878         * include/features.h (__GLIBC_MINOR__): Bump to 15.
12880         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
12881         Patch by Marek Polacek <mpolacek@redhat.com>.
12883         * bits/byteswap.h: Protect long long constants with __extension__.
12884         * sysdeps/i386/bits/byteswap.h: Likewise.
12885         * sysdeps/ia64/bits/byteswap.h: Likewise.
12886         * sysdeps/s390/bits/byteswap.h: Likewise.
12887         * sysdeps/x86_64/bits/byteswap.h: Likewise.
12889 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
12891         [BZ #13540]
12892         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
12893         destination buffer.
12894         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
12896 2011-12-23  Marek Polacek  <polacek@redhat.com>
12898         * elf/dl-addr.c (determine_info): Add inline keyword.
12899         * elf/tst-auditmod4b.c (check_avx): Likewise.
12900         * elf/tst-auditmod6b.c (check_avx): Likewise.
12901         * elf/tst-auditmod6c.c (check_avx): Likewise.
12902         * elf/tst-auditmod7b.c (check_avx): Likewise.
12904 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
12906         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
12907         !__SSE_MATH__.
12909 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
12911         [BZ #13540]
12912         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
12913         processing for last bytes.
12915 2011-08-06  Bruno Haible  <bruno@clisp.org>
12917         [BZ #13061]
12918         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
12919         U+0385, not to U+1FEE.
12921         [BZ #13062]
12922         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
12923         entry for U+00A5 U+0301.
12925 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
12927         [BZ #13166]
12928         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
12929         buffer for the output is too small.
12931         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
12932         optimization.
12934         [BZ #13185]
12935         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
12936         SSE flags if possible.
12938 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
12940         [BZ #13540]
12941         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
12942         processing for last bytes.
12944 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
12946         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
12947         (syscall-list-default-options, syscall-list-default-condition)
12948         (syscall-list-includes): Define.
12949         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
12950         list of ABIs and options and #if conditions for each ABI.  Do not
12951         handle common syscalls between ABIs specially.
12952         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
12953         Remove.
12954         (syscall-list-variants, syscall-list-32bit-options)
12955         (syscall-list-32bit-condition, syscall-list-64bit-options)
12956         (syscall-list-64bit-condition): Define.
12957         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
12958         (syscall-list-variants, syscall-list-32bit-options)
12959         (syscall-list-32bit-condition, syscall-list-64bit-options)
12960         (syscall-list-64bit-condition): Define.
12961         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
12962         Remove.
12963         (syscall-list-variants, syscall-list-32bit-options)
12964         (syscall-list-32bit-condition, syscall-list-64bit-options)
12965         (syscall-list-64bit-condition): Define.
12966         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
12967         Remove.
12968         (syscall-list-variants, syscall-list-32bit-options)
12969         (syscall-list-32bit-condition, syscall-list-64bit-options)
12970         (syscall-list-64bit-condition): Define.
12972 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
12974         * locale/iso-639.def: Add brx entry.
12976         [BZ #13328]
12977         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
12978         Proposed by Mariusz_Cukr <marcukr@op.pl>.
12980         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
12981         __feraiseexcept_renamed.
12983 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
12985         [BZ #13538]
12986         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
12987         EPOLLET with unsigned values.
12988         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
12989         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
12991         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
12992         to large cancellation.
12993         * math/s_cacoshf.c: Likewise.
12994         * math/s_cacoshl.c: Likewise.
12996 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
12998         [BZ #13305]
12999         [BZ #12786]
13000         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
13001         * math/s_cacoshf.c: Likewise.
13002         * math/s_cacoshl.c: Likewise.
13004 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
13006         [BZ #13439]
13007         * iconv/gconv.h: Define __GCONV_SWAP.
13008         * iconvdata/unicode.c: The swap bit must be stored in __flags.
13009         * iconvdata/utf-16.c: Likewise.
13010         * iconvdata/utf-32.c: Likewise.
13012 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
13014         [BZ #13524]
13015         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
13016         numerator after shifting it by one limb.
13018 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
13020         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
13021         under [__USE_EXTERN_INLINES].
13023 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
13025         [BZ #13446]
13026         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
13028 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13030         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
13031         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
13032         optimized code.
13033         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
13034         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
13035         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
13036         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
13037         for strncasecmp/strncasecmp_l compilation.
13038         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
13039         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
13041 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
13043         [BZ #13484]
13044         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
13045         of __asm__.
13047 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
13049         [BZ #13506]
13050         * time/tzfile.c (__tzfile_read): Check values from file header.
13052 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
13054         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
13055         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
13056         * powerpc/powerpc32/dl-start.S: Likewise.
13057         * powerpc/powerpc32/elf/start.S: Likewise.
13058         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
13059         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
13060         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
13061         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
13062         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
13063         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
13064         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
13065         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
13066         * powerpc/powerpc32/fpu/s_round.S: Likewise.
13067         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
13068         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
13069         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
13070         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
13071         * powerpc/powerpc32/memset.S: Likewise.
13072         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
13073         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
13074         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
13075         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
13076         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
13077         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
13078         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
13079         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
13080         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
13081         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
13082         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
13083         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
13084         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
13086 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13088         * math/libm-test.inc: Added more nearbyint tests.
13089         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
13090         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
13091         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
13092         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
13094 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
13096         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
13097         FD_CLOEXEC.
13099 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
13101         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
13102         Add wcscpy-ssse3 wcscpy-c.
13103         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
13104         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
13105         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
13106         * sysdeps/x86_64/wcschr.S: New file.
13107         * sysdeps/x86_64/wcsrchr.S: New file.
13108         * string/test-strcmp.c: Remove checking of wcscmp function for
13109         wrong alignments.
13110         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
13111         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
13112         wcsrchr-sse2 wcsrchr-c.
13113         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
13114         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
13115         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
13116         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
13117         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
13118         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
13119         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
13120         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
13121         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
13122         * wcsmbc/wcschr.c (WCSCHR): New macro.
13124 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
13126         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
13127         * wcsmbs/test-wcsrchr.c: New file.
13128         * string/test-strrchr.c: Add wcsrchr support.
13129         (WIDE): New macro.
13130         * wcsmbs/test-wcscpy.c: New file.
13131         * string/test-strcpy.c: Add wcscpy support.
13132         (WIDE): New macro.
13134 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
13136         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
13137         the inner loop.
13139 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
13141         [BZ #13472]
13142         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
13144 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
13146         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
13147         Minor optimizations.
13149         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
13150         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
13151         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
13153 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
13155         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
13156         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
13157         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
13158         for gcc to avoid warnings.
13159         * inet/Makefile (tests): Add tst-checks.
13160         * inet/tst-checks.c: New file.
13162         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
13163         warning.
13165         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
13166         __wmemcmp_sse2.
13168         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
13169         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
13171         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
13173 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
13175         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
13176         problem.
13178         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
13180 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
13182         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
13183         conditional on GCC version.
13184         (__arch_compare_and_exchange_val_8_acq)
13185         (__arch_compare_and_exchange_val_16_acq)
13186         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
13187         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
13188         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
13190 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
13192         * sysdeps/sh/backtrace.c: New file.
13194 2011-12-02  Andreas Schwab  <schwab@redhat.com>
13196         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
13197         parenthesis.
13199 2011-12-01  Andreas Schwab  <schwab@redhat.com>
13201         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
13202         falling back to utime.
13204 2011-11-30  Andreas Schwab  <schwab@redhat.com>
13206         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
13207         expectations for float.
13209 2011-11-29  Andreas Schwab  <schwab@redhat.com>
13211         * locale/weight.h (findidx): Add parameter len.
13212         * locale/weightwc.h (findidx): Likewise.
13213         * posix/fnmatch_loop.c (FCT): Adjust caller.
13214         * posix/regcomp.c (build_equiv_class): Likewise.
13215         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
13216         * posix/regexec.c (check_node_accept_bytes): Likewise.
13217         * string/strcoll_l.c (STRCOLL): Likewise.
13218         * string/strxfrm_l.c (STRXFRM): Likewise.
13220 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
13222         * Makefile.in: Remove CVSOPT handling.
13223         * configure.in: Remove use of AC_REVISION.
13224         * iconvdata/Makefile (distribute): No need to filter out CVS.
13225         * scripts/list-sources.sh: Remove CVS, subversion and monotone
13226         handling.
13228 2011-11-16  Andreas Schwab  <schwab@redhat.com>
13230         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
13231         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
13232         [USE_AS_STRNCASECMP_L]: Likewise.
13233         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
13234         NO_TLS_DIRECT_SEG_REFS.
13235         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
13236         Fix argument offsets for non-PIC.
13237         [USE_AS_STRNCASECMP_L]: Likewise.
13238         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
13239         NO_TLS_DIRECT_SEG_REFS.
13241 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
13243         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
13244         O_CLOEXEC.
13245         * locale/loadlocale.c (_nl_load_locale): Likewise.
13247 2011-11-15  Andreas Schwab  <schwab@redhat.com>
13249         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
13250         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
13251         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
13252         (SYSCALL_GETTIME): Set errno on error.
13254         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
13255         count references to noai6ai_cached.
13257 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
13259         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
13261         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
13262         FD_CLOEXEC for /proc/self/maps.
13264         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
13265         FD_CLOEXEC for /proc/meminfo.
13267         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
13268         gai.conf.
13270         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
13271         FD_CLOEXEC for given file.
13273         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
13275         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
13276         FD_CLOEXEC for /etc/hosts.
13277         (_gethtent): Likewise.
13279         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
13281         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
13282         cancellation and set FD_CLOEXEC for /etc/netgroup.
13284         * nss/nss_files/files-key.c (search): Don't allow cancellation when
13285         reading /etc/publickey.
13287         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
13288         allow cancellation when reading /etc/group.
13290         * nss/nss_files/files-alias.c (internal_setent): Don't allow
13291         cancellation.
13292         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
13294         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
13295         when using data file.
13297         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
13299         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
13300         (write_nis_obj): Use "c" and "e" in fopen.
13302         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
13304         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
13306         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
13308         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
13310         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
13311         locale.alias.
13313         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
13315         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
13317         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
13319         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
13320         file parsing and set FD_CLOEXEC.
13322 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
13324         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
13326 2011-11-14  Andreas Schwab  <schwab@redhat.com>
13328         * malloc/arena.c (arena_get2): Don't call reused_arena when
13329         _int_new_arena failed.
13331 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
13333         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
13334         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
13335         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
13336         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
13337         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
13338         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
13339         to compile strcasecmp and strncasecmp.
13340         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
13341         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
13343         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
13345 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
13347         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
13348         locale-defines.sym to gen-as-const-headers.
13349         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
13350         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
13351         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
13352         to compile strcasecmp and strncasecmp.
13353         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
13354         strcasecmp_l and strncasecmp_l.
13355         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
13356         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
13357         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
13358         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
13359         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
13360         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
13361         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
13362         * sysdeps/i386/i686/multiarch/strncase.S: New file.
13363         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
13364         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
13365         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
13367 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
13369         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
13370         result of SYSDEP_GETTIME_CPU to retval.
13371         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
13372         parameter list to macro.  Remove trailing semicolon.  Adjust users.
13374         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
13375         variable.
13377         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
13378         mantissa words.
13379         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
13381         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
13382         from unused variable.
13384         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
13385         DWARF definitions.
13386         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
13387         for assembling.
13389         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
13390         over namespaces.
13392         * sunrpc/rpc_prot.c (rejected): Fix case value.
13394         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
13395         unsigned long long int to avoid warnings in shift.
13397         * posix/regex_internal.c (re_string_reconstruct): Actually use result
13398         of use of trans.
13399         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
13400         variable tmp.
13402         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
13403         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
13404         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
13406         * nis/nis_table.c (nis_list): Use variable of correct type for
13407         result of __follow_path call.
13409 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13411         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
13412         of math functions ceil, trunc, floor, round, and sqrt, when
13413         avaliable on the platform.
13414         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
13415         name clash.
13416         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
13417         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
13418         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
13420 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
13422         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
13423         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
13425 2011-11-11  Roland McGrath  <roland@hack.frob.com>
13427         * include/unistd.h: Fix __readlink return type.
13428         Reported by Chris Metcalf <cmetcalf@tilera.com>.
13430 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
13432         * stdlib/ucontext.h: Undo last change for makecontext.
13434 2011-11-11  Andreas Schwab  <schwab@redhat.com>
13436         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
13438         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
13439         * setjmp/setjmp.h: Mark functions as non-leaf.
13440         * setjmp/bits/setjmp2.h: Likewise.
13441         * stdlib/ucontext.h: Likewise.
13443 2011-11-10  Andreas Schwab  <schwab@redhat.com>
13445         * malloc/arena.c (_int_new_arena): Don't increment narenas.
13446         (reused_arena): Don't check arena limit.
13447         (arena_get2): Atomically check arena limit.
13449 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
13451         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
13452         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
13454         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
13455         instructions.
13457 2011-11-07  Andreas Schwab  <schwab@redhat.com>
13459         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
13460         handler when locking.
13462         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
13463         Fix size of allocated buffer.
13465 2011-11-04  Andreas Schwab  <schwab@redhat.com>
13467         [BZ #10103]
13468         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
13469         declarations for long double functions.
13470         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
13472         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
13474 2011-11-03  Andreas Schwab  <schwab@redhat.com>
13476         * nscd/nscd.c (main): Don't start AVC thread until credentials are
13477         installed.
13479         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
13480         is disabled.
13482 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13484         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
13486 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
13488         * include/alloca.h (stackinfo_alloca_round): Define.
13489         (extend_alloca): Use it.
13490         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
13491         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
13492         here.
13494         * scripts/check-local-headers.sh: Ignore libaudit.h.
13496         * nscd/Makefile (extra-objs): Make recursively expanded.
13498 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
13500         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
13501         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
13503         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
13504         * posix/tst-rfc3484-2.c: Likewise.
13505         * posix/tst-rfc3484-3.c: Likewise.
13507         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
13508         process_vm_writev.
13509         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
13510         process_vm_writev.
13511         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
13512         process_vm_writev from libc using GLIBC_2.15 version.
13514         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
13516 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
13518         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
13519         stack usage.
13521 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
13523         [BZ #13367]
13524         * nss/getent.c (initgroups_keys): Show error message in case no group
13525         names are given.
13527         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
13528         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
13529         __bump_nl_timestamp.
13530         * nscd/connections (nscd_init): When host database is served open
13531         netlink socket and request notification about configuration changes.
13532         (main_loop_poll): Track netlink file descriptor and bump timestamp
13533         in case data becomes available.
13534         (main_loop_epoll): Likewise.
13535         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
13536         (database_pers_head): Add extra_data fileds.
13537         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
13538         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
13539         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
13540         Adjust caller.
13541         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
13542         in6ai data, call __free_in6ai.
13543         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
13544         Add -DHAVE_NETLINK.
13545         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
13546         interface information.  Reuse previous data if netlink timestamp
13547         is not changed.
13548         (__bump_nl_timestamp): New function.
13549         (__free_in6ai): New function.
13551 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
13553         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
13554         close_not_cancel_no_status here.
13555         (__check_pf): Reorganize code a bit to not call close twice if OOM.
13557 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
13559         [BZ #13276]
13560         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
13561         return value.
13563         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
13564         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
13565         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
13567 2011-07-03  Andreas Jaeger  <aj@suse.de>
13569         [BZ #10709]
13570         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
13571         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
13572         * math/libm-test.inc (sin_test): Add test case.
13574 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
13576         [BZ #13337]
13577         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
13578         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
13580         * elf/chroot_canon.c (chroot_canon): Cleanups.
13582         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
13584         [BZ #13335]
13585         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
13586         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
13588         * string/test-strchr.c: Make usable for strchrnul testing.
13589         * string/test-strchrnul.c: New file.
13590         * string/Makefile (strop-tests): Add strchrnul.
13592         * po/it.po: Update from translation team.
13593         * po/es.po: Likewise.
13595 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
13597         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
13598         the three constants needed as parameters.  Drop the others.
13599         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
13600         __m128i_strloadu_tolower.
13601         Create and initialize variable zero and use it in all the places
13602         where _mm_setzero_si128 was used.
13604         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
13605         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
13606         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
13607         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
13608         anymore.
13609         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
13610         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
13611         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
13612         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
13613         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
13614         __mpranred, __mptan.
13615         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
13616         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
13617         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
13618         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
13619         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
13620         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
13621         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
13622         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
13623         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
13625 2011-10-28  Andreas Schwab  <schwab@redhat.com>
13627         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
13628         redefine if SHARED.
13629         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
13631         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
13632         wide char related routines to wcsmbs subdir.
13634 2011-10-27  Andreas Schwab  <schwab@redhat.com>
13636         [BZ #13344]
13637         * misc/sys/cdefs.h (__THROWNL): Define.
13638         * posix/unistd.h: Use __THREADNL instead of __THREAD
13639         for memory synchronization functions.
13641 2011-10-26  Roland McGrath  <roland@hack.frob.com>
13643         [BZ #13349]
13644         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
13645         doesn't exist.
13646         * manual/stdio.texi (Obstack Streams): Node removed.
13648 2011-10-26  Andreas Schwab  <schwab@redhat.com>
13650         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
13651         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
13652         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
13654         * math/math_private.h (math_force_eval): Allow non-addressable
13655         arguments.
13656         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
13658 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
13660         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
13661         file is not needed.
13663         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
13664         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
13665         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
13666         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
13667         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
13668         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
13669         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
13670         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
13671         Add AVX variants.
13672         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
13673         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
13674         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
13675         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
13676         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
13677         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
13678         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
13679         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
13680         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
13681         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
13682         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
13683         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
13684         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
13685         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
13686         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
13687         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
13688         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
13689         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
13690         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
13692         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
13693         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
13695         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
13696         place.  Use VEX encoding when compiling for AVX.
13698 2011-10-25  Andreas Schwab  <schwab@redhat.com>
13700         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
13701         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
13703         * string/test-strchr.c (do_test): Don't generate NUL bytes.
13705 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
13707         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
13708         useless if() expression.
13709         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
13710         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
13711         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
13712         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
13713         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
13714         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
13715         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
13716         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
13717         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
13718         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
13719         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
13720         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
13721         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
13722         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
13723         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
13724         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
13725         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
13726         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
13727         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
13729         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
13731 2011-10-25  Andreas Schwab  <schwab@redhat.com>
13733         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
13734         condition.
13735         * elf/dl-fini.c (_dl_sort_fini): Likewise.
13737 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
13739         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
13740         .text section.  Avoid duplicate constants.
13741         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
13742         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
13743         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
13744         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13745         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
13746         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13747         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13748         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
13749         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
13750         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
13751         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
13752         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
13753         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
13754         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
13755         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
13756         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
13757         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
13758         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
13759         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
13760         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
13761         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
13762         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
13763         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
13764         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
13765         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
13766         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
13767         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
13768         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
13769         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
13770         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
13771         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
13772         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
13773         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
13774         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
13775         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
13776         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
13777         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
13778         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
13779         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
13780         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
13781         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
13782         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
13783         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
13784         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
13785         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
13787 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
13789         * sysdeps/x86_64/dla.h: Move to ...
13790         * sysdeps/x86_64/fpu/dla.h: ...here.
13791         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
13792         situations.  Use __builtin_fma only for gcc 4.6 and up.
13794         * config.make.in: Add have-mfma4 entry.
13795         * configure.in: Substitute libc_cv_cc_fma4.
13796         * math/Makefile (dbl-only-routines): Add sincostab.
13797         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
13798         Use __sincostab not sincos.
13799         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
13800         name is a macro.
13801         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
13802         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13803         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13804         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
13805         using __copysign.
13806         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
13807         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
13808         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
13809         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
13810         and __inv.
13811         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
13812         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
13813         __copysign.
13814         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
13815         define aliases when function name is a macro.
13816         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
13817         sysdeps/ieee754/dbl-64/sincos.tbl.
13818         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
13819         fma4-enabled routines.
13820         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
13821         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
13822         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
13823         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
13824         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
13825         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
13826         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
13827         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
13828         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
13829         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
13830         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
13831         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
13832         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
13833         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
13834         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
13835         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
13836         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
13837         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
13838         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
13839         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
13840         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
13841         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
13842         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
13843         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
13844         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
13845         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
13846         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
13847         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
13848         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
13849         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
13851         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
13852         rename.
13853         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
13854         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
13855         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13856         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13857         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13858         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
13859         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
13860         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
13862 2011-10-24  Andreas Schwab  <schwab@redhat.com>
13864         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
13866 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
13868         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
13870         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
13871         prediction.
13872         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
13874         * string/strnlen.c: Don't define STRNLEN, reverse logic.
13875         Remove unused variable magic_bits.
13876         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
13878         * string/strnlen.c: Define and use STRNLEN macro.
13879         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
13880         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
13881         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
13882         * wcsmbs/wcslen.c: Define and use WCSLEN.
13883         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
13884         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
13885         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
13886         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
13887         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
13888         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
13889         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
13891 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
13893         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13894         strnlen-sse2-no-bsf.
13895         Rename strlen-no-bsf to strlen-sse2-no-bsf.
13896         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
13897         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
13898         Add strnlen support.
13899         (USE_AS_STRNLEN): New macro.
13900         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
13901         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
13902         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
13903         * sysdeps/x86_64/wcslen.S: New file.
13905 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
13907         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
13908         XMM-moves are used for copying on small sizes.
13910 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
13912         * wcsmbs/Makefile (strop-tests): Add wcschr.
13913         * wcsmbs/test-wcschr.c: New file.
13914         * string/test-strchr.c: Update.
13915         Add wcschr support.
13916         (WIDE): New macro.
13918 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
13920         * wcsmbs/Makefile (strop-tests): Add wcslen.
13921         * wcsmbs/test-wcslen.c: New file.
13922         * string/test-strlen.c: Update.
13923         Add wcslen support.
13924         (WIDE): New macro.
13926 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
13928         * po/it.po: Update from translation team.
13930 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
13932         * sysdeps/x86_64/wcscmp.S: Update.
13933         Fix wrong comparison semantics.
13934         wcscmp shall use signed comparison not unsigned.
13935         Don't use substraction to avoid overflow bug.
13936         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
13937         * wcsmbc/wcscmp.c: Likewise.
13938         * string/test-strcmp.c: Likewise.
13939         Add new tests to check cases with negative values.
13941 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
13943         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
13944         * sysdeps/x86_64/dla.h: ...here.  New file.
13945         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
13946         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
13947         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13948         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13949         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13950         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
13951         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
13952         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
13953         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
13955 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
13957         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
13958         __ynl_finite aliases.
13960 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
13962         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13964         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
13965         define DLA_FMA.
13966         [DLA_FMA] (EMULV): Use DLA_FMA.
13967         [DLA_FMA] (MUL12): Use EMULV.
13968         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
13969         that are not needed.
13970         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
13971         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13972         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13973         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13974         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
13975         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
13976         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
13978 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
13980         * math/s_nan.c: Undef __nan.
13981         * math/s_nanf.c: Undef __nanf.
13982         * math/s_nanl.c: Undef __nanl.
13983         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
13984         "math_private.h".
13986 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
13988         * math/s_catan.c: Add branch predictions.
13989         * math/s_catanf.c: Likewise.
13990         * math/s_catanh.c: Likewise.
13991         * math/s_catanhf.c: Likewise.
13992         * math/s_catanhl.c: Likewise.
13993         * math/s_catanl.c: Likewise.
13994         * math/s_cexp.c: Likewise.
13995         * math/s_cexpf.c: Likewise.
13996         * math/s_cexpl.c: Likewise.
13997         * math/s_clog.c: Likewise.
13998         * math/s_clog10.c: Likewise.
13999         * math/s_clog10f.c: Likewise.
14000         * math/s_clog10l.c: Likewise.
14001         * math/s_clogf.c: Likewise.
14002         * math/s_clogl.c: Likewise.
14003         * math/s_csqrt.c: Likewise.
14004         * math/s_csqrtf.c: Likewise.
14005         * math/s_csqrtl.c: Likewise.
14006         * math/s_ctanf.c: Likewise.
14007         * math/s_ctanh.c: Likewise.
14008         * math/s_ctanhf.c: Likewise.
14009         * math/s_ctanhl.c: Likewise.
14010         * math/s_ctanl.c: Likewise.
14012         * math/math_private.h: Define __nan, __nanf, __nanl.
14013         * math/s_cacosh.c: Include <math_private.h>.
14014         * math/s_cacoshl.c: Likewise.
14015         * math/s_casinh.c: Likewise.
14016         * math/s_casinhf.c: Likewise.
14017         * math/s_casinhl.c: Likewise.
14018         * math/s_ccos.c: Rely entire on ccosh.
14019         * math/s_ccosf.c: Rely entire on ccoshf.
14020         * math/s_ccosl.c: Rely entirely on ccoshl.
14021         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
14022         Remove tests for FE_INVALID.
14023         * math/s_ccoshf.c: Likewise.
14024         * math/s_ccoshl.c: Likewise.
14025         * math/s_csin.c: Likewise.
14026         * math/s_csinf.c: Likewise.
14027         * math/s_csinh.c Likewise.
14028         * math/s_csinhf.c: Likewise.
14029         * math/s_csinhl.c: Likewise.
14030         * math/s_csinl.c: Likewise.
14031         * math/s_ctan.c: Likewise.
14032         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
14033         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
14034         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
14036 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
14038         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
14039         compilation problems.
14041         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
14042         __builtin_expect.
14044 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
14046         * sysdeps/i386/configure.in: Test for -mfma4 option.
14047         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
14048         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
14049         COMMON_CPUID_INDEX_80000001.
14050         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
14051         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
14052         use it if FMA3 is not supported.
14053         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
14055         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
14056         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
14058 2011-10-20  Andreas Schwab  <schwab@redhat.com>
14060         [BZ #12892]
14061         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
14062         it would create a cycle with a link time dependency.
14064 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
14066         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
14067         instruction.
14068         * string/Makefile (strop-tests): Add rawmemchr.
14069         * string/test-rawmemchr.c: New file.
14071         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
14072         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
14073         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
14074         when compiling str{,n}casecmp and when AVX is available.  Hook up
14075         new optimized code in initializers.
14077 2011-10-19  Andreas Schwab  <schwab@redhat.com>
14079         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
14080         __feraiseexcept instead of feraiseexcept.
14082 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
14084         * math/math_private.h: Define defaults for libc_fetestexcept and
14085         libc_feupdateenv.
14086         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
14087         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
14088         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
14089         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
14090         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
14091         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
14092         libc_fetestexcept and libc_feupdateenv.
14094         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
14095         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
14096         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
14097         * sysdeps/x86_64/fpu/math_private.h: Define special version of
14098         libc_feholdexcept_setround.
14100         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
14101         Add s_nearbyint-c and s_nearbyintf-c.
14102         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
14103         nearbyintf inlines.
14104         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
14105         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
14106         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
14107         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
14109         * math/math_private.h: Define defaults for libc_fegetround,
14110         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
14111         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
14112         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
14113         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
14114         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
14115         standard functions.
14116         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
14117         Remove comments and hacks for old compiler versions.
14118         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
14119         libc_fegetround, libc_fesetround, libc_feholdexcept, and
14120         libc_feholdexceptl.
14122 2011-10-18  Andreas Schwab  <schwab@redhat.com>
14124         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
14125         (__feraiseexcept_renamed): Add __NTH.
14126         (feraiseexcept): Add __NTH.  Rename local variables to fix
14127         namespace violations.
14129 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
14131         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
14133         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
14135         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
14136         recently added interfaces.
14137         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
14139         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
14140         about macro parameter expansion.
14142         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
14143         __NO_MATH_INLINES is defined.  Cleanups.
14145         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
14146         and __floorf is target has SSE4.1.
14147         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
14148         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
14149         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
14150         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
14152         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
14153         name.
14154         (floorf): Likewise.
14156         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
14158 2011-10-17  Andreas Schwab  <schwab@redhat.com>
14160         * misc/sys/cdefs.h: Fix last change.
14162         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
14163         database lookup.
14165 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
14167         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
14169         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
14170         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
14171         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
14172         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
14173         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
14174         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
14175         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
14176         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
14177         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
14178         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
14179         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
14180         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
14181         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
14182         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
14183         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
14184         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
14185         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
14186         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
14187         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
14188         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
14189         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
14190         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
14192         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
14193         ceil, ceilf, floor, floorf.
14195         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
14196         Perform IRELATIVE relocations last.
14198         * elf/do-rel.h: Add another parameter nrelative, replacing the
14199         local variable with the same name.  Change name of the function
14200         to end in Rel or Rela (uppercase).
14201         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
14202         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
14203         elf_dynamic_do_##reloc function.
14205 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
14207         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
14208         is sufficient, at least on modern CPUs.
14210         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
14212         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
14213         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
14215         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
14216         __expl_finite.
14217         * math/bits/math-finite.h: Add entries for exp.
14218         * math/e_expl.c: Add __*_finite alias.
14219         * sysdeps/i386/fpu/e_exp.S: Likewise.
14220         * sysdeps/i386/fpu/e_expf.S: Likewise.
14221         * sysdeps/i386/fpu/e_expl.c: Likewise.
14222         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
14223         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
14224         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
14225         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
14226         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
14227         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
14228         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
14230         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
14231         is sufficient, at least on modern CPUs.
14233         * ctype/ctype-info.c (__ctype_init): Define.
14234         * include/ctype.h (__ctype_init): Declare.
14235         (__ctype_b_loc): The variable is always initialized.
14236         (__ctype_toupper_loc): Likewise.
14237         (__ctype_tolower_loc): Likewise.
14238         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
14239         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
14241 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
14243         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
14245         * configure.in: Also look in $cxxmachine/include for C++ system
14246         headers.
14248 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
14250         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
14251         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
14252         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
14253         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
14254         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
14255         (USE_AS_WMEMCMP): New macro.
14256         Fixing indents.
14257         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
14258         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
14259         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
14260         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
14261         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
14262         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
14263         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
14264         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
14265         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
14266         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
14267         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
14268         (USE_AS_WMEMCMP): New macro.
14269         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
14270         * sysdeps/string/test-memcmp.c: Update.
14271         Fix simple_wmemcmp.
14272         Add new tests.
14273         * wcsmbs/wmemcmp.c: Update.
14274         (WMEMCMP): New macro.
14275         Fix overflow bug.
14277 2011-10-12  Andreas Jaeger  <aj@suse.de>
14279         [BZ #13268]
14280         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
14282 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
14284         * libio/iofwide.c (do_length): Avoid warning.
14286         * ctype/ctype.h (__isctype_f): Add missing __THROW.
14288 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
14290         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
14292         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
14293         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
14294         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
14295         * sysdeps/i386/i686/fpu/e_log.S: New file.
14296         * sysdeps/i386/i686/fpu/e_logf.S: New file.
14297         * sysdeps/i386/i686/fpu/e_logl.S: New file.
14299         * ctype/ctype.h: Add support for inlined isXXX functions when
14300         compiling C++ code.
14302 2011-10-14  Andreas Schwab  <schwab@redhat.com>
14304         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
14306         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
14308 2011-10-13  Roland McGrath  <roland@hack.frob.com>
14310         [BZ #13291]
14311         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
14313 2011-10-13  Andreas Schwab  <schwab@redhat.com>
14315         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
14316         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
14317         feraiseexcept.
14319         * sysdeps/x86_64/memrchr.S: Check for zero size.
14321         * string/stratcliff.c: Add memrchr tests.
14323 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
14325         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
14326         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
14327         rawmemchr-sse2 rawmemchr-sse2-bsf.
14328         * sysdeps/i386/i686/multiarch/memchr.S: New file.
14329         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
14330         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
14331         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
14332         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
14333         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
14334         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
14335         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
14336         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
14337         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
14338         * string/memrchr.c (MEMRCHR): New macro.
14340 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
14342         Add integration with gcc's -ffinite-math-only and optimize wrapper
14343         functions in libm.
14344         * Versions.def: Define GLIBC_2.15 version for libm.
14345         * math/Makefile (headers): Add bits/math-finite.h.
14346         * math/bits/math-finite.h: New file.
14347         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
14348         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
14349         * math/e_acoshl.c: Add __*_finite alias.
14350         * math/e_acosl.c: Likewise.
14351         * math/e_asinl.c: Likewise.
14352         * math/e_atan2l.c: Likewise.
14353         * math/e_atanhl.c: Likewise.
14354         * math/e_coshl.c: Likewise.
14355         * math/e_exp10.c: Likewise.
14356         * math/e_exp10f.c: Likewise.
14357         * math/e_exp10l.c: Likewise.
14358         * math/e_exp2l.c: Likewise.
14359         * math/e_fmodl.c: Likewise.
14360         * math/e_gammal_r.c: Likewise.
14361         * math/e_hypotl.c: Likewise.
14362         * math/e_j0l.c: Likewise.
14363         * math/e_j1l.c: Likewise.
14364         * math/e_jnl.c: Likewise.
14365         * math/e_lgammal_r.c: Likewise.
14366         * math/e_log10l.c: Likewise.
14367         * math/e_log2l.c: Likewise.
14368         * math/e_logl.c: Likewise.
14369         * math/e_powl.c: Likewise.
14370         * math/e_sinhl.c: Likewise.
14371         * math/e_sqrtl.c: Likewise.
14372         * math/e_scalb.c: Completely rewritten and optimized.
14373         * math/e_scalbf.c: Likewise.
14374         * math/e_scalbl.c: Likewise.
14375         * math/w_acos.c: Likewise.
14376         * math/w_acosf.c: Likewise.
14377         * math/w_acosl.c: Likewise.
14378         * math/w_acosh.c: Likewise.
14379         * math/w_acoshf.c: Likewise.
14380         * math/w_acoshl.c: Likewise.
14381         * math/w_asin.c: Likewise.
14382         * math/w_asinf.c: Likewise.
14383         * math/w_asinl.c: Likewise.
14384         * math/w_atan2.c: Likewise.
14385         * math/w_atan2f.c: Likewise.
14386         * math/w_atan2l.c: Likewise.
14387         * math/w_atanh.c: Likewise.
14388         * math/w_atanhf.c: Likewise.
14389         * math/w_atanhl.c: Likewise.
14390         * math/w_exp10.c: Likewise.
14391         * math/w_exp10f.c: Likewise.
14392         * math/w_exp10l.c: Likewise.
14393         * math/w_fmod.c: Likewise.
14394         * math/w_fmodf.c: Likewise.
14395         * math/w_fmodl.c: Likewise.
14396         * math/w_j0.c: Likewise.
14397         * math/w_j0f.c: Likewise.
14398         * math/w_j0l.c: Likewise.
14399         * math/w_j1.c: Likewise.
14400         * math/w_j1f.c: Likewise.
14401         * math/w_j1l.c: Likewise.
14402         * math/w_jn.c: Likewise.
14403         * math/w_jnf.c: Likewise.
14404         * math/w_log.c: Likewise.
14405         * math/w_logf.c: Likewise.
14406         * math/w_logl.c: Likewise.
14407         * math/w_log10.c: Likewise.
14408         * math/w_log10f.c: Likewise.
14409         * math/w_log10l.c: Likewise.
14410         * math/w_log2.c: Likewise.
14411         * math/w_log2f.c: Likewise.
14412         * math/w_log2l.c: Likewise.
14413         * math/w_pow.c: Likewise.
14414         * math/w_powf.c: Likewise.
14415         * math/w_powl.c: Likewise.
14416         * math/w_remainder.c: Likewise.
14417         * math/w_remainderf.c: Likewise.
14418         * math/w_remainderl.c: Likewise.
14419         * math/w_scalb.c: Likewise.
14420         * math/w_scalbf.c: Likewise.
14421         * math/w_scalbl.c: Likewise.
14422         * math/w_sqrt.c: Likewise.
14423         * math/w_sqrtf.c: Likewise.
14424         * math/w_sqrtl.c: Likewise.
14425         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
14426         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
14427         used.
14428         * math/math_private.h: Declare __kernel_standard_f.
14429         * math/w_cosh.c: Remove cruft and optimize a bit.
14430         * math/w_coshf.c: Likewise.
14431         * math/w_coshl.c: Likewise.
14432         * math/w_exp2.c: Likewise.
14433         * math/w_exp2f.c: Likewise.
14434         * math/w_exp2l.c: Likewise.
14435         * math/w_hypot.c: Likewise.
14436         * math/w_hypotf.c: Likewise.
14437         * math/w_hypotl.c: Likewise.
14438         * math/w_lgamma.c: Likewise.
14439         * math/w_lgamma_r.c: Likewise.
14440         * math/w_lgammaf.c: Likewise.
14441         * math/w_lgammaf_r.c: Likewise.
14442         * math/w_lgammal.c: Likewise.
14443         * math/w_lgammal_r.c: Likewise.
14444         * math/w_sinh.c: Likewise.
14445         * math/w_sinhf.c: Likewise.
14446         * math/w_sinhl.c: Likewise.
14447         * math/w_tgamma.c: Likewise.
14448         * math/w_tgammaf.c: Likewise.
14449         * math/w_tgammal.c: Likewise.
14450         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
14451         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
14452         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
14453         Minor optimizations.  Pretty printing.  Remove cruft.
14454         * sysdeps/i386/fpu/e_acosf.S: Likewise.
14455         * sysdeps/i386/fpu/e_acosh.S: Likewise.
14456         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
14457         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
14458         * sysdeps/i386/fpu/e_acosl.c: Likewise.
14459         * sysdeps/i386/fpu/e_asin.S: Likewise.
14460         * sysdeps/i386/fpu/e_asinf.S: Likewise.
14461         * sysdeps/i386/fpu/e_atan2.S: Likewise.
14462         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
14463         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
14464         * sysdeps/i386/fpu/e_atanh.S: Likewise.
14465         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
14466         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
14467         * sysdeps/i386/fpu/e_exp10.S: Likewise.
14468         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
14469         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
14470         * sysdeps/i386/fpu/e_exp2.S: Likewise.
14471         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
14472         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
14473         * sysdeps/i386/fpu/e_fmod.S: Likewise.
14474         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
14475         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
14476         * sysdeps/i386/fpu/e_hypot.S: Likewise.
14477         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
14478         * sysdeps/i386/fpu/e_log.S: Likewise.
14479         * sysdeps/i386/fpu/e_log10.S: Likewise.
14480         * sysdeps/i386/fpu/e_log10f.S: Likewise.
14481         * sysdeps/i386/fpu/e_log10l.S: Likewise.
14482         * sysdeps/i386/fpu/e_log2.S: Likewise.
14483         * sysdeps/i386/fpu/e_log2f.S: Likewise.
14484         * sysdeps/i386/fpu/e_log2l.S: Likewise.
14485         * sysdeps/i386/fpu/e_logf.S: Likewise.
14486         * sysdeps/i386/fpu/e_logl.S: Likewise.
14487         * sysdeps/i386/fpu/e_pow.S: Likewise.
14488         * sysdeps/i386/fpu/e_powf.S: Likewise.
14489         * sysdeps/i386/fpu/e_powl.S: Likewise.
14490         * sysdeps/i386/fpu/e_remainder.S: Likewise.
14491         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
14492         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
14493         * sysdeps/i386/fpu/e_scalb.S: Likewise.
14494         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
14495         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
14496         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
14497         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
14498         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
14499         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
14500         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
14501         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
14502         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
14503         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
14504         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
14505         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
14506         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
14507         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
14508         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
14509         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
14510         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
14511         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
14512         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
14513         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
14514         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
14515         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
14516         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
14517         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
14518         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
14519         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
14520         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
14521         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
14522         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
14523         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
14524         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
14525         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
14526         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
14527         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
14528         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
14529         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
14530         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
14531         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
14532         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
14533         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
14534         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
14535         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
14536         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
14537         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
14538         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
14539         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
14540         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
14541         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
14542         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
14543         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
14544         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
14545         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
14546         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
14547         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
14548         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
14549         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
14550         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
14551         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
14552         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
14553         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
14554         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
14555         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
14556         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
14557         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
14558         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
14559         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
14560         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
14561         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
14562         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
14563         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
14564         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
14565         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
14566         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
14567         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
14568         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
14569         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
14570         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
14571         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
14572         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
14573         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
14574         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
14575         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
14576         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
14577         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
14578         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
14579         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
14580         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
14581         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
14582         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
14583         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
14584         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
14585         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
14586         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
14587         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
14588         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
14589         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
14590         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
14591         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
14592         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
14593         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
14594         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
14595         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
14596         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
14597         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
14598         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
14599         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
14600         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
14601         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
14602         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
14603         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
14604         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
14605         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
14606         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
14607         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
14608         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
14609         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
14610         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
14611         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
14612         (__isnanf): Likewise.
14613         (__isinf_ns): Likewise.
14614         (__isinf_nsf): Likewise.
14615         (__finite): Likewise.
14616         (__finitef): Likewise.
14617         (__ieee754_sqrt): Define as macro.
14618         (__ieee754_sqrtf): Define as macro.
14619         (__ieee754_sqrtl): Define as macro.
14620         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
14621         inlined copy.
14622         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
14623         __FINITE_MATH_ONLY__ consistent.
14624         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
14626 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
14628         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
14629         of rawmemchr.
14631         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
14633 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
14635         * po/ja.po: Update from translation team.
14637 2011-10-08  Roland McGrath  <roland@hack.frob.com>
14639         * locale/programs/locarchive.c (prepare_address_space): New function.
14640         (create_archive, enlarge_archive, open_archive): Use it.
14642         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
14643         inside [SHARED], where it is used.
14645         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
14647         * nss/getent.c (netgroup_keys): Remove unused variable.
14648         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
14650 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
14652         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
14653         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
14654         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
14655         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
14656         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
14657         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
14658         * math/Makefile (libm-calls): Add s_isinf_ns.
14659         * math/divtc3.c: Use __isinf_nsl instead of isinf.
14660         * math/multc3.c: Likewise.
14661         * math/s_casin.c: Likewise.
14662         * math/s_casinf.c: Likewise.
14663         * math/s_casinl.c: Likewise.
14664         * math/s_ccos.c: Likewise.
14665         * math/s_ccosf.c: Likewise.
14666         * math/s_ccosl.c: Likewise.
14667         * math/s_ctan.c: Likewise.
14668         * math/s_ctanf.c: Likewise.
14669         * math/s_ctanh.c: Likewise.
14670         * math/s_ctanhf.c: Likewise.
14671         * math/s_ctanhl.c: Likewise.
14672         * math/s_ctanl.c: Likewise.
14673         * math/w_fmod.c: Likewise.
14674         * math/w_fmodf.c: Likewise.
14675         * math/w_fmodl.c: Likewise.
14676         * math/w_remainder.c: Likewise.
14677         * math/w_remainderf.c: Likewise.
14678         * math/w_remainderl.c: Likewise.
14679         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
14680         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
14681         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
14682         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
14683         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
14684         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
14685         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
14686         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
14688         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
14689         of the number.
14690         * stdio-common/printf_fphex.c: Likewise.
14691         * stdio-common/printf_size.c: Likewise.
14693         * math/e_exp10.c: Include math_private.h using <...> not "...".
14694         * math/e_exp10f.c: Likewise.
14695         * math/e_exp10l.c: Likewise.
14696         * math/e_exp2l.c: Likewise.
14697         * math/e_j0l.c: Likewise.
14698         * math/e_j1l.c: Likewise.
14699         * math/e_jnl.c: Likewise.
14700         * math/e_lgammal_r.c: Likewise.
14701         * math/e_rem_pio2l.c: Likewise.
14702         * math/e_scalb.c: Likewise.
14703         * math/e_scalbf.c: Likewise.
14704         * math/e_scalbl.c: Likewise.
14705         * math/k_cosl.c: Likewise.
14706         * math/k_sinl.c: Likewise.
14707         * math/k_tanl.c: Likewise.
14708         * math/s_cacoshf.c: Likewise.
14709         * math/s_catan.c: Likewise.
14710         * math/s_catanf.c: Likewise.
14711         * math/s_catanh.c: Likewise.
14712         * math/s_catanhf.c: Likewise.
14713         * math/s_catanhl.c: Likewise.
14714         * math/s_catanl.c: Likewise.
14715         * math/s_ccosh.c: Likewise.
14716         * math/s_ccoshf.c: Likewise.
14717         * math/s_ccoshl.c: Likewise.
14718         * math/s_cexp.c: Likewise.
14719         * math/s_cexpf.c: Likewise.
14720         * math/s_cexpl.c: Likewise.
14721         * math/s_clog.c: Likewise.
14722         * math/s_clog10.c: Likewise.
14723         * math/s_clog10f.c: Likewise.
14724         * math/s_clog10l.c: Likewise.
14725         * math/s_clogf.c: Likewise.
14726         * math/s_clogl.c: Likewise.
14727         * math/s_csin.c: Likewise.
14728         * math/s_csinf.c: Likewise.
14729         * math/s_csinh.c: Likewise.
14730         * math/s_csinhf.c: Likewise.
14731         * math/s_csinhl.c: Likewise.
14732         * math/s_csinl.c: Likewise.
14733         * math/s_csqrt.c: Likewise.
14734         * math/s_csqrtf.c: Likewise.
14735         * math/s_csqrtl.c: Likewise.
14736         * math/s_ctan.c: Likewise.
14737         * math/s_ctanf.c: Likewise.
14738         * math/s_ctanh.c: Likewise.
14739         * math/s_ctanhf.c: Likewise.
14740         * math/s_ctanhl.c: Likewise.
14741         * math/s_ctanl.c: Likewise.
14742         * math/s_ldexp.c: Likewise.
14743         * math/s_ldexpf.c: Likewise.
14744         * math/s_ldexpl.c: Likewise.
14745         * math/s_significand.c: Likewise.
14746         * math/s_significandf.c: Likewise.
14747         * math/s_significandl.c: Likewise.
14748         * math/w_acos.c: Likewise.
14749         * math/w_acosf.c: Likewise.
14750         * math/w_acosh.c: Likewise.
14751         * math/w_acoshf.c: Likewise.
14752         * math/w_acoshl.c: Likewise.
14753         * math/w_acosl.c: Likewise.
14754         * math/w_asin.c: Likewise.
14755         * math/w_asinf.c: Likewise.
14756         * math/w_asinl.c: Likewise.
14757         * math/w_atan2.c: Likewise.
14758         * math/w_atan2f.c: Likewise.
14759         * math/w_atan2l.c: Likewise.
14760         * math/w_atanh.c: Likewise.
14761         * math/w_atanhf.c: Likewise.
14762         * math/w_atanhl.c: Likewise.
14763         * math/w_cosh.c: Likewise.
14764         * math/w_coshf.c: Likewise.
14765         * math/w_coshl.c: Likewise.
14766         * math/w_dremf.c: Likewise.
14767         * math/w_exp10.c: Likewise.
14768         * math/w_exp10f.c: Likewise.
14769         * math/w_exp10l.c: Likewise.
14770         * math/w_exp2.c: Likewise.
14771         * math/w_exp2f.c: Likewise.
14772         * math/w_fmod.c: Likewise.
14773         * math/w_fmodf.c: Likewise.
14774         * math/w_fmodl.c: Likewise.
14775         * math/w_hypot.c: Likewise.
14776         * math/w_hypotf.c: Likewise.
14777         * math/w_hypotl.c: Likewise.
14778         * math/w_j0.c: Likewise.
14779         * math/w_j0f.c: Likewise.
14780         * math/w_j0l.c: Likewise.
14781         * math/w_j1.c: Likewise.
14782         * math/w_j1f.c: Likewise.
14783         * math/w_j1l.c: Likewise.
14784         * math/w_jn.c: Likewise.
14785         * math/w_jnf.c: Likewise.
14786         * math/w_jnl.c: Likewise.
14787         * math/w_lgamma.c: Likewise.
14788         * math/w_lgamma_r.c: Likewise.
14789         * math/w_lgammaf.c: Likewise.
14790         * math/w_lgammaf_r.c: Likewise.
14791         * math/w_lgammal.c: Likewise.
14792         * math/w_lgammal_r.c: Likewise.
14793         * math/w_log.c: Likewise.
14794         * math/w_log10.c: Likewise.
14795         * math/w_log10f.c: Likewise.
14796         * math/w_log10l.c: Likewise.
14797         * math/w_log2.c: Likewise.
14798         * math/w_log2f.c: Likewise.
14799         * math/w_log2l.c: Likewise.
14800         * math/w_logf.c: Likewise.
14801         * math/w_logl.c: Likewise.
14802         * math/w_pow.c: Likewise.
14803         * math/w_powf.c: Likewise.
14804         * math/w_powl.c: Likewise.
14805         * math/w_remainder.c: Likewise.
14806         * math/w_remainderf.c: Likewise.
14807         * math/w_remainderl.c: Likewise.
14808         * math/w_scalb.c: Likewise.
14809         * math/w_scalbf.c: Likewise.
14810         * math/w_scalbl.c: Likewise.
14811         * math/w_sinh.c: Likewise.
14812         * math/w_sinhf.c: Likewise.
14813         * math/w_sinhl.c: Likewise.
14814         * math/w_sqrt.c: Likewise.
14815         * math/w_sqrtf.c: Likewise.
14816         * math/w_sqrtl.c: Likewise.
14817         * math/w_tgamma.c: Likewise.
14818         * math/w_tgammaf.c: Likewise.
14819         * math/w_tgammal.c: Likewise.
14821         * po/ja.po: Update from translation team.
14823 2011-09-29  Andreas Jaeger  <aj@suse.de>
14825         [BZ #13179]
14826         * sunrpc/netname.c (netname2host): Fix logic.
14828         [BZ #6779]
14829         [BZ #6783]
14830         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
14831         correctly.
14832         * math/w_remainder.c (__remainder): Likewise.
14833         * math/w_remainderf.c (__remainderf): Likewise.
14834         * math/libm-test.inc (remainder_test): Add test cases.
14836 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
14838         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
14839         sdiv_qrnnd.
14841 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
14843         * string/test-memcmp.c: Avoid unncessary #defines.
14844         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
14846 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
14848         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
14849         Use new sse2 version for core i3 - i7 as it's faster
14850         than sse42 version.
14851         (bit_Prefer_PMINUB_for_stringop): New.
14852         * sysdeps/x86_64/rawmemchr.S: Update.
14853         Replace with faster SSE2 version.
14854         * sysdeps/x86_64/memrchr.S: New file.
14855         * sysdeps/x86_64/memchr.S: Update.
14856         Replace with faster SSE2 version.
14858 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
14860         * elf/dl-load.c (lose): Add cast to avoid warning.
14862 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
14864         * po/ca.po: Update from translation team.
14866         * inet/getnetgrent_r.c: Hook up nscd.
14867         * nscd/Makefile (routines): Add nscd_netgroup.
14868         (nscd-modules): Add netgroupcache.
14869         (CFLAGS-netgroupcache.c): Define.
14870         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
14871         (cache_search): Add const to second parameter.
14872         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
14873         INNETGR.
14874         (dbs): Add netgrdb entry.
14875         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
14876         (verify_persistent_db): Handle netgrdb.
14877         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
14878         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
14879         GETFDNETGR.
14880         (netgroup_response_header): Define.
14881         (innetgroup_response_header): Define.
14882         (datahead): Add netgroup_response_header and innetgroup_response_header
14883         elements.
14884         * nscd/nscd.conf: Add entries for netgroup cache.
14885         * nscd/nscd.h (dbtype): Add netgrdb.
14886         (_PATH_NSCD_NETGROUP_DB): Define.
14887         (netgroup_iov_disabled): Declare.
14888         (xmalloc, xcalloc, xrealloc): Move declarations here.
14889         (cache_search): Adjust prototype.
14890         Add netgroup-related prototypes.
14891         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
14892         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
14893         (__nscd_innetgr): Declare.
14894         * nscd/selinux.c (perms): Use access_vector_t as element type and
14895         add netgroup-related initializers.
14896         * nscd/netgroupcache.c: New file.
14897         * nscd/nscd_netgroup.c: New file.
14898         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
14899         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
14900         For four parameters use innetgr.
14901         * nss/nss_files/files-init.c: Add definition and callback for netgr.
14902         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
14903         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
14904         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
14906         * nscd/connections.c (register_traced_file): Don't register file
14907         for disabled databases.
14909 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
14911         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
14913         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
14914         from tree and freeing node.
14916 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
14918         * nss/nsswitch.c (__nss_database_lookup): Handle
14919         nss_parse_service_list out of memory case.
14921 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
14923         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
14924         out of memory case.
14926 2011-10-04  Andreas Schwab  <schwab@redhat.com>
14928         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
14929         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
14930         pass it down.
14931         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
14932         elf_machine_rela, elf_machine_lazy_rel.
14933         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
14934         (ELF_DYNAMIC_DO_REL): Likewise.
14935         (ELF_DYNAMIC_DO_RELA): Likewise.
14936         (ELF_DYNAMIC_RELOCATE): Likewise.
14937         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
14938         to ELF_DYNAMIC_DO_REL.
14939         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
14940         (dl_main): In trace mode always set __RTLD_NOIFUNC.
14941         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
14942         elf_machine_rela.
14943         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
14944         skip_ifunc, don't call ifunc function if non-zero.
14945         (elf_machine_rela): Likewise.
14946         (elf_machine_lazy_rel): Likewise.
14947         (elf_machine_lazy_rela): Likewise.
14948         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
14949         (elf_machine_lazy_rel): Likewise.
14950         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
14951         Likewise.
14952         (elf_machine_lazy_rel): Likewise.
14953         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
14954         Likewise.
14955         (elf_machine_lazy_rel): Likewise.
14956         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
14957         (elf_machine_lazy_rel): Likewise.
14958         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
14959         (elf_machine_lazy_rel): Likewise.
14960         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
14961         (elf_machine_lazy_rel): Likewise.
14962         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
14963         (elf_machine_lazy_rel): Likewise.
14964         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
14965         (elf_machine_lazy_rel): Likewise.
14966         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
14967         (elf_machine_lazy_rel): Likewise.
14969 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
14971         * nss/nss_files/files-init.c (_nss_files_init): Use static
14972         initialization for all the *_traced_file variables.
14974 2011-09-28  Andreas Schwab  <schwab@redhat.com>
14976         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
14978 2011-09-27  Roland McGrath  <roland@hack.frob.com>
14980         [BZ #13226]
14981         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
14983 2011-09-27  Andreas Schwab  <schwab@redhat.com>
14985         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
14986         Reread the line before reparsing it.
14988 2011-09-26  Andreas Schwab  <schwab@redhat.com>
14990         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
14992 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
14993             Maxim Kuvyrkov  <maxim@codesourcery.com>
14994             Joseph Myers  <joseph@codesourcery.com>
14996         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
14997         if needed for __stack_chk_guard.
14999 2011-09-19  Roland McGrath  <roland@hack.frob.com>
15001         * sysdeps/posix/spawni.c (script_execute): Always define it.
15002         It will be optimized away if unused.
15003         (maybe_script_execute): New function.
15004         (__spawni): Call it.
15006         * Makerules: Don't include tls.make.
15007         (config-tls): Always set to thread.
15008         * tls.make.c: File removed.
15010 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
15012         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
15013         * config.make.in (CPPFLAGS-config): New substituted variable.
15015 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
15017         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
15019         [BZ #13192]
15020         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
15021         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
15023 2011-09-15  Roland McGrath  <roland@hack.frob.com>
15025         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
15026         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
15027         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
15028         (CALL_FAIL): Likewise.
15029         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
15030         (CALL_FAIL): Macro removed.
15031         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
15033 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
15035         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
15036         for __FINITE_MATH_ONLY__ == 1.
15038 2011-09-15  Andreas Schwab  <schwab@redhat.com>
15040         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
15041         __ieee754_sqrt instead of sqrt.
15042         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
15043         __ieee754_sqrtf instead of sqrtf.
15044         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
15045         __floorf instead of floorf.
15046         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
15047         __floorf, __truncf instead of floorf, truncf.
15049 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
15051         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
15053         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
15054         __extern_always_inline.
15055         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
15056         32-bit.
15058 2011-09-14  Andreas Schwab  <schwab@redhat.com>
15060         * elf/rtld.c (dl_main): Also relocate in dependency order when
15061         doing symbol dependency testing.
15063 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
15065         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
15066         Always define `refsym'.
15068 2011-09-13  Andreas Schwab  <schwab@redhat.com>
15070         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
15071         (__FD_ELT): Renamed from __FDELT.
15072         * misc/bits/select2.h (__FD_ELT): Likewise.
15073         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
15074         __FD_MASK instead of __FDELT, __FDMASK.
15075         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
15076         Likewise.
15077         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
15078         Likewise.
15080         * elf/Makefile (gen-ldd): Fix pattern.
15082         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
15083         (init_tls): Likewise.
15085 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
15087         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
15089 2011-09-12  Andreas Schwab  <schwab@redhat.com>
15091         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
15092         `struct cmsghdr *' instead of `void *'.
15093         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
15094         Likewise.
15096 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
15098         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
15099         if non-absolute.
15100         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
15101         ldd_rewrite_script.
15103 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
15105         * configure.in: Remove --with-tls option.
15106         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
15107         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
15108         out in case it is missing.
15109         * sysdeps/ia64/elf/configure.in: Likewise.
15110         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
15111         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
15112         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
15113         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
15114         * sysdeps/sh/elf/configure.in: Likewise.
15115         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
15116         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
15117         * sysdeps/x86_64/elf/configure.in: Likewise.
15118         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
15119         * sysdeps/mach/hurd/tls.h: Likewise.
15121         [BZ #13067]
15122         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
15124         [BZ #13090]
15125         * configure.in: Fix use of AC_INIT.
15127         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
15129 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
15131         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
15132         __set_errno.
15133         * malloc/hooks.c: Likewise.
15135         [BZ #11929]
15136         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
15137         variables statically.
15138         (narenas): Initialize.
15139         (list_lock): Initialize.
15140         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
15141         initializtion of main_arena and list_lock.  Small cleanups.
15142         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
15143         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
15144         Add initializers to main_arena and mp_.
15145         (malloc_state): Remove pagesize member.  Change all users to use
15146         GLRO(dl_pagesize).
15148         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
15149         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
15150         is always initialized.
15152         * malloc/malloc.c: Removed unused configurations and dead code.
15153         * malloc/arena.c: Likewise.
15154         * malloc/hooks.c: Likewise.
15155         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
15157         * include/tls.h: Removed.  USE___THREAD must always be defined.
15158         * bits/libc-tsd.h: Don't handle !USE___THREAD.
15159         * elf/dl-libc.c: Likewise.
15160         * elf/dl-tsd.c: Likewise.
15161         * include/errno.h: Likewise.
15162         * include/netdb.h: Likewise.
15163         * include/resolv.h: Likewise.
15164         * inet/herrno-loc.c: Likewise.
15165         * inet/herrno.c: Likewise.
15166         * malloc/arena.c: Likewise.
15167         * malloc/hooks.c: Likewise.
15168         * malloc/malloc.c: Likewise.
15169         * resolv/res-state.c: Likewise.
15170         * resolv/res_libc.c: Likewise.
15171         * sysdeps/i386/dl-machine.h: Likewise.
15172         * sysdeps/ia64/dl-machine.h: Likewise.
15173         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
15174         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
15175         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
15176         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
15177         * sysdeps/sh/dl-machine.h: Likewise.
15178         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
15179         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
15180         * sysdeps/unix/i386/sysdep.S: Likewise.
15181         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
15182         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
15183         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
15184         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
15185         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
15186         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
15187         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
15188         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
15189         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
15190         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
15191         * sysdeps/unix/x86_64/sysdep.S: Likewise.
15192         * sysdeps/x86_64/dl-machine.h: Likewise.
15193         * tls.make.c: Likewise.
15195         * configure.in: Remove --with-__thread option.  Make tests for
15196         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
15197         tls_model attribute fail if no support is available.  Remove
15198         USE_IN_LIBIO.
15199         * Makeconfig: Adjust for dropped configure option.  All features are
15200         now mandatory.
15201         * Makerules: Likewise.
15202         * Versions.def: Likewise.
15203         * argp/argp-fmtstream.c: Likewise.
15204         * argp/argp-fmtstream.h: Likewise.
15205         * argp/argp-help.c: Likewise.
15206         * assert/assert.c: Likewise.
15207         * config.h.in: Likewise.
15208         * config.make.in: Likewise.
15209         * configure: Likewise.
15210         * configure.in: Likewise.
15211         * csu/Versions: Likewise.
15212         * csu/init.c: Likewise.
15213         * elf/tst-audit2.c: Likewise.
15214         * elf/tst-tls10.c: Likewise.
15215         * elf/tst-tls10.h: Likewise.
15216         * elf/tst-tls11.c: Likewise.
15217         * elf/tst-tls12.c: Likewise.
15218         * elf/tst-tls14.c: Likewise.
15219         * elf/tst-tlsmod11.c: Likewise.
15220         * elf/tst-tlsmod12.c: Likewise.
15221         * elf/tst-tlsmod13.c: Likewise.
15222         * elf/tst-tlsmod13a.c: Likewise.
15223         * elf/tst-tlsmod14a.c: Likewise.
15224         * elf/tst-tlsmod15b.c: Likewise.
15225         * elf/tst-tlsmod16a.c: Likewise.
15226         * elf/tst-tlsmod16b.c: Likewise.
15227         * elf/tst-tlsmod7.c: Likewise.
15228         * elf/tst-tlsmod8.c: Likewise.
15229         * elf/tst-tlsmod9.c: Likewise.
15230         * gmon/gmon.c: Likewise.
15231         * grp/fgetgrent_r.c: Likewise.
15232         * grp/putgrent.c: Likewise.
15233         * hurd/fopenport.c: Likewise.
15234         * include/libc-symbols.h: Likewise.
15235         * include/tls.h: Likewise.
15236         * intl/gettextP.h: Likewise.
15237         * intl/loadinfo.h: Likewise.
15238         * locale/global-locale.c: Likewise.
15239         * locale/localeinfo.h: Likewise.
15240         * mach/devstream.c: Likewise.
15241         * malloc/arena.c: Likewise.
15242         * malloc/set-freeres.c: Likewise.
15243         * misc/err.c: Likewise.
15244         * misc/getttyent.c: Likewise.
15245         * misc/mntent_r.c: Likewise.
15246         * posix/getopt.c: Likewise.
15247         * posix/wordexp.c: Likewise.
15248         * pwd/fgetpwent_r.c: Likewise.
15249         * resolv/Versions: Likewise.
15250         * resolv/res_hconf.c: Likewise.
15251         * shadow/fgetspent_r.c: Likewise.
15252         * shadow/putspent.c: Likewise.
15253         * stdio-common/printf_fphex.c: Likewise.
15254         * stdio-common/tmpfile.c: Likewise.
15255         * stdlib/abort.c: Likewise.
15256         * stdlib/fmtmsg.c: Likewise.
15257         * sunrpc/auth_unix.c: Likewise.
15258         * sunrpc/clnt_perr.c: Likewise.
15259         * sunrpc/clnt_tcp.c: Likewise.
15260         * sunrpc/clnt_udp.c: Likewise.
15261         * sunrpc/clnt_unix.c: Likewise.
15262         * sunrpc/openchild.c: Likewise.
15263         * sunrpc/svc_simple.c: Likewise.
15264         * sunrpc/svc_tcp.c: Likewise.
15265         * sunrpc/svc_udp.c: Likewise.
15266         * sunrpc/svc_unix.c: Likewise.
15267         * sunrpc/xdr.c: Likewise.
15268         * sunrpc/xdr_array.c: Likewise.
15269         * sunrpc/xdr_rec.c: Likewise.
15270         * sunrpc/xdr_ref.c: Likewise.
15271         * sunrpc/xdr_stdio.c: Likewise.
15273 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
15275         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
15277 2011-07-03  Andreas Jaeger  <aj@suse.de>
15279         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
15280         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
15281         regenerate with gen-libm-tests.pl.
15283 2010-05-12  Petr Baudis  <pasky@suse.cz>
15285         [BZ #11589]
15286         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
15287         around j0() zero points by switching to j1().
15288         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
15289         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
15290         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
15291         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
15293 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
15295         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
15296         instead of 0.
15297         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
15298         instead of 0.                              .
15299         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
15300         Patch in part by Pavel Roskin <proski@gnu.org>.
15302         [BZ #13138]
15303         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
15304         realloc.
15305         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
15306         Free memory block if necessary.
15308         [BZ #12847]
15309         * libio/genops.c (INTDEF): For string streams the _lock pointer can
15310         be NULL.  Don't lock in this case.
15312 2011-09-09  Roland McGrath  <roland@hack.frob.com>
15314         * elf/elf.h (ELFOSABI_GNU): New macro.
15315         (ELFOSABI_LINUX): Define to that.
15317 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
15319         * string/strncat.c (strncat): Undef the symbol in case it has been
15320         defined in bits/string.h.
15322 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
15324         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
15326         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
15327         link map.
15329 2011-08-17  Andreas Jaeger  <aj@suse.de>
15331         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
15333 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
15334             Ian Lance Taylor  <iant@google.com>
15336         * math/libm-test.inc (lround_test): New testcase.
15337         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
15339 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
15341         * Makefile: Remove support for automatic cvs check-ins.
15342         * Makerules: Likewise.
15343         * config.make.in: Likewise.
15344         * configure.in: Likewise.
15345         * intl/Makefile: Likewise.
15346         * locale/Makefile: Likewise.
15347         * po/Makefile: Likewise.
15348         * posix/Makefile: Likewise.
15349         * sysdeps/gnu/Makefile: Likewise.
15350         * sysdeps/mach/hurd/Makefile: Likewise.
15351         * sysdeps/sparc/sparc32/Makefile: Likewise.
15353         [BZ #13118]
15354         * posix/Makefile (bug-regex32-ENV): Define.
15355         Patch by John Stanley <jpsinthemix@verizon.net>.
15357         * misc/Makefile (headers): Add bits/select2.h.
15358         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
15359         * misc/bits/select2.h: New file.
15360         * include/bits/select2.h: New file.
15361         * debug/Makefile (routines): Add fdelt_chk.
15362         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
15363         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
15364         FD_ISSET.
15365         * debug/fdelt_chk.c: New file.
15367         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
15368         * wcsmbs/test-wmemcmp.c: Likewise.
15369         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
15370         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
15372 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
15374         * string/Makefile (strop-tests): Add memcmp.
15375         * string/test-wmemcmp.c: New file.
15376         * string/test-memcmp.c: Add wmemcmp support.
15378 2011-09-08  Roland McGrath  <roland@hack.frob.com>
15380         [BZ #13153]
15381         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
15382         2011-07-19 change.
15384         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
15385         garbage value in a __mach_port_mod_refs call in the cases of the
15386         task-self and thread-self ports.
15388 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15390         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
15392 2011-09-08  Andreas Schwab  <schwab@redhat.com>
15394         * elf/dl-load.c (lose): Check for non-null L.
15396 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
15398         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
15400         * elf/dl-libc.c (dlerror_run): Pass back error code from
15401         dl_catch_error.
15403         [BZ #13123]
15404         * elf/dl-load.c (lose): Free l_origin if it is valid.
15406         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
15407         names.
15408         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
15409         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
15410         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
15411         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
15412         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
15413         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
15415 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15417         * sysdeps/powerpc/fpu/e_hypot.c: New file.
15418         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
15419         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
15420         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
15421         * sysdeps/powerpc/fpu/k_cosf.c: New file.
15422         * sysdeps/powerpc/fpu/k_sinf.c: New file.
15423         * sysdeps/powerpc/fpu/s_cosf.c: New file.
15424         * sysdeps/powerpc/fpu/s_sinf.c: New file.
15425         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
15426         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
15428 2011-08-15  Alan Modra  <amodra@gmail.com>
15430         [BZ #13092]
15431         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
15432         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
15433         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
15434         ppc_mcount to static-only-routines.
15435         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
15436         __mcount_internal.
15437         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
15438         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
15440 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
15442         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
15443         for finite and infinity parameters.
15445 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
15447         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
15448         and add nop instructions for throughput optimization.
15449         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
15451 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
15453         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
15454         aligned copy for power7 with vector-scalar instructions.
15455         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
15457 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
15459         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
15460         AVX check.
15462 2011-09-07  Andreas Schwab  <schwab@redhat.com>
15464         [BZ #13144]
15465         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
15466         last change.
15468 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
15470         * sysdeps/unix/sysv/linux/x86_64/init-first.c
15471         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
15472         syscall wrapper around clock_gettime in __vdso_clock_gettime.
15473         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
15474         clock_gettime.
15476 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
15478         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
15479         Forgot to demangle the pointer.
15481         * sysdeps/i386/sysdep.h: Define atom_text_section.
15482         * sysdeps/x86_64/sysdep.h: Likewise.
15483         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
15484         section with atom_text_section.
15485         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
15486         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
15487         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
15488         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
15489         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
15491         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
15492         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
15493         already be defined.  Change to take two parameters and don't assign
15494         result to variable.  Adjust all users.
15495         Define INTERNAL_GETTIME if not already defined.
15496         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
15497         call.
15498         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
15499         HAVE_CLOCK_GETTIME_VSYSCALL.
15500         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
15502         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
15503         gettimeofday vsyscall, just use time.
15505 2011-09-06  Andreas Schwab  <schwab@redhat.com>
15507         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
15508         <errno.h>.
15510 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
15512         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
15513         syscall on x86-64.
15514         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
15515         syscall.
15516         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
15517         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
15518         syscall if possible.
15520 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
15522         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
15523         e_ident.  Don't pass to find_mapsXX.
15524         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
15526 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
15528         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15529         strchr-sse2-no-bsf strrchr-sse2-no-bsf
15530         * sysdeps/x86_64/multiarch/strchr.S: Update.
15531         Check bit_slow_BSF bit.
15532         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
15533         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
15534         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
15536 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
15538         [BZ #13134]
15539         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
15540         before glibc 2.15.
15541         (tryshell): Define.
15542         (__spawni): Change last parameter to be flag.  Test
15543         SPAWN_XFLAGS_USE_PATH flag to use path or not.
15544         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
15545         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
15546         * posix/spawni.c: Likewise.
15547         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
15548         * posix/spawnp.c: Likewise.  Change normal version to use
15549         SPAWN_XFLAGS_USE_PATH.
15550         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
15551         SPAWN_XFLAGS_TRY_SHELL.
15553         [BZ #13150]
15554         * posix/glob.h: Remove gcc 1.x support.
15556         [BZ #13068]
15557         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
15559 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
15561         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
15562         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
15563         strrchr-sse2-bsf
15564         * sysdeps/i386/i686/multiarch/strchr.S: New file.
15565         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
15566         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
15567         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
15568         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
15569         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
15571 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
15573         * sysdeps/x86_64/wcscmp.S: New file.
15575         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
15576         wcscmp-c wcscmp-sse2
15577         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
15578         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
15579         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
15580         * wcsmbs/wcscmp.c: Allow renaming.
15582 2011-09-05  David S. Miller  <davem@davemloft.net>
15584         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
15585         stack slot, rather than the struct return pointer slot.
15586         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
15587         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
15588         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
15589         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
15591 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
15593         * po/ja.po: Update from translation team.
15595         [BZ #13144]
15596         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
15597         kernel in 64-bit binaries.
15599 2011-09-01  David S. Miller  <davem@davemloft.net>
15601         * elf/elf.h (HWCAP_SPARC_*): Move to..
15602         * sysdeps/sparc/sysdep.h: this new file and add new values.
15603         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
15604         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
15605         _DL_HWCAP_COUNT to 24.
15606         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
15607         entries.
15608         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
15609         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
15610         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
15611         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
15612         instead of magic constants.
15613         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
15615 2011-08-31  David S. Miller  <davem@davemloft.net>
15617         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
15618         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
15619         Reimplement to do errno handling inline.
15620         (SYSCALL_ERROR_HANDLER): New macro.
15621         (__SYSCALL_STRING): Do not do errno handling in asm.
15622         (__CLONE_SYSCALL_STRING): Delete.
15623         (__INTERNAL_SYSCALL_STRING): Delete.
15624         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
15625         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
15626         (PSEUDO): Reimplement to do errno handling inline.
15627         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
15628         (SYSCALL_ERROR_HANDLER): New macro.
15629         (__SYSCALL_STRING): Do not do errno handling in asm.
15630         (__CLONE_SYSCALL_STRING): Delete.
15631         (__INTERNAL_SYSCALL_STRING): Delete.
15632         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
15633         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
15634         i386.
15635         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
15636         (inline_syscall*): Add 'err' argument.
15637         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
15638         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
15639         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
15640         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
15642         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
15643         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
15645 2011-08-30  Andreas Schwab  <schwab@redhat.com>
15647         * elf/rtld.c (dl_main): Relocate objects in dependency order.
15649 2011-08-29  Jiri Olsa <jolsa@redhat.com>
15651         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
15652         directive.
15654 2011-08-24  David S. Miller  <davem@davemloft.net>
15656         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
15658 2011-08-24  Andreas Schwab  <schwab@redhat.com>
15660         * elf/Makefile: Add rules to build and run unload8 test.
15661         * elf/unload8.c: New file.
15662         * elf/unload8mod1.c: New file.
15663         * elf/unload8mod1x.c: New file.
15664         * elf/unload8mod2.c: New file.
15665         * elf/unload8mod3.c: New file.
15667         * elf/dl-close.c (_dl_close_worker): Reset private search list if
15668         it wasn't used.
15670 2011-08-23  David S. Miller  <davem@davemloft.net>
15672         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
15673         subtract stack bias.
15674         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
15675         %sp not %fp in calculations.
15676         (_JMPBUF_UNWINDS_ADJ): Likewise.
15678         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
15679         (aio_suspend): Call it to force an exception region around the
15680         AIO_MISC_WAIT() invocation.
15682 2011-08-23  Andreas Schwab  <schwab@redhat.com>
15684         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
15685         backslash.
15687 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
15689         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
15690         protection macro.
15691         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
15692         and <dl-machine.h>.
15693         (Elf64_FuncDesc): Remove.
15695 2011-08-22  David S. Miller  <davem@davemloft.net>
15697         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
15698         sigaltstack check, add missing cfi directives.
15699         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
15700         missing cfi directives, and sigaltstack handling.
15702 2011-08-16  Andreas Schwab  <schwab@redhat.com>
15704         [BZ #11724]
15705         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
15706         object is seen twice.
15707         * elf/dl-fini.c (_dl_sort_fini): Likewise.
15709         * elf/Makefile (distribute): Add tst-initorder2.c.
15710         (tests): Add tst-initorder2.
15711         (modules-names): Add tst-initorder2a tst-initorder2b
15712         tst-initorder2c tst-initorder2d.  Add rules to build them.
15713         ($(objpfx)tst-initorder2.out): New rule.
15714         * elf/tst-initorder2.c: New file.
15715         * elf/tst-initorder2.exp: New file.
15717 2011-08-22  Andreas Schwab  <schwab@redhat.com>
15719         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
15721         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
15722         dependencies back to end of function.
15724         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
15725         $(elfobjdir)/ld.so.
15727 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
15729         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
15730         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
15731         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
15732         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
15733         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
15734         of __vdso_gettimeofday.
15735         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
15736         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
15737         attribute_hidden.
15738         (_libc_vdso_platform_setup): Remove initialization of
15739         __vdso_gettimeofday and __vdso_time.
15741 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
15743         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
15744         and fgetc_unlocked.
15745         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
15746         getc_unlocked.
15748         * elf/dl-open.c (add_to_global): Report additions to the global scope
15749         for LD_DEBUG=scopes.
15750         (dl_open_worker): Also print scope of newly loaded dependencies.
15751         (_dl_show_scope): Indicate if there is no scope.
15753         [BZ #13114]
15754         * stdio-common/Makefile (tests): Add bug24.
15755         * stdio-common/bug24.c: New file.
15757 2011-08-19  Andreas Jaeger  <aj@suse.de>
15759         [BZ #13114]
15760         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
15761         non-existant file when using close-on-exec mode.
15763 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
15765         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
15766         the very first instruction.
15768         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
15769         the CFI state in the end.
15770         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
15771         inclusion of dl-trampoline.h.
15772         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
15774 2011-08-19  Andreas Schwab  <schwab@redhat.com>
15776         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
15777         expectations for long double.
15779         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
15780         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
15782 2011-08-14  David S. Miller  <davem@davemloft.net>
15784         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
15785         artificual limit depends upon the system page size.
15787 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
15789         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
15790         * resolv/Makefile: Define CFLAGS-libresolv.
15792 2011-08-17  Andreas Schwab  <schwab@redhat.com>
15794         * nss/makedb.c (compute_tables): Make variables used in nested
15795         function static.
15797 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
15799         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
15800         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
15801         if buffer was too small.
15803         * elf/pldd.c (main): Attach to all threads in the process.
15804         Rewrite /proc handling to use *at functions.
15806 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
15808         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
15809         specifies first scope to show.
15810         (dl_open_worker): Update callers.  Move printing scope of new
15811         object to before the relocation.
15812         * elf/rtld.c (dl_main): Update _dl_show_scope call.
15813         * sysdeps/generic/ldsodefs.h: Update declaration.
15815         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
15816         string for the scope number.
15818 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
15820         * nscd/servicescache.c (cache_addserv): Make sure written is always
15821         initialized.
15823 2011-08-14  Roland McGrath  <roland@hack.frob.com>
15825         * sysdeps/i386/i486/bits/atomic.h
15826         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
15827         statement expression, so as to suppress "set but not used" warning.
15828         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
15830         * string/strncat.c (STRNCAT): Use prototype definition.
15832         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
15833         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
15834         -Iprograms here.
15835         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
15836         (localedef-modules): Add localedef.
15837         (locale-modules): Add locale.
15839         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
15840         * elf/rtld.c (dl_main): Invert order of assignment in last change,
15841         to avoid a warning.
15843 2011-08-14  David S. Miller  <davem@davemloft.net>
15845         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
15846         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
15848 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
15850         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
15851         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
15852         * elf/rtld.c (dl_main): Set l_name of vDSO.
15853         Call _dl_show_scope when DL_DEBUG_SCOPES.
15854         (process_dl_debug): Recognize scopes flag and also set it for all.
15855         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
15856         Declare _dl_show_scope.
15858         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
15859         (do_dlopen): Pass caller_dlopen to dl_open.
15860         (__libc_dlopen_mode): Initialize caller_dlopen.
15862         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
15863         of libc.  Make tolower call locale-independent.  Optimize a bit by
15864         using isdigit instead of isalnum.
15865         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
15867 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
15869         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
15870         was a dependency or dynamically loaded.
15872 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
15874         * intl/l10nflist.c: Allow architecture-specific pop function.
15875         * sysdeps/x86_64/l10nflist.c: New file.
15877         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
15878         classification.
15880 2011-08-10  Andreas Schwab  <schwab@redhat.com>
15882         * include/dirent.h: Add libc_hidden_proto for scandirat and
15883         scandirat64.  Don't declare __scandirat64.
15884         * dirent/scandirat.c: Add libc_hidden_def.
15885         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
15886         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
15888 2011-08-10  David S. Miller  <davem@davemloft.net>
15890         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
15891         enum.
15892         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
15893         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
15894         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
15896 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
15898         * Versions.def [libc]: Add GLIBC_2.15.
15899         * dirent/Makefile (routines): Add scandirat and scandirat64.
15900         * dirent/Versions [libc]: Export scandirat and scandirat64 for
15901         GLIBC_2.15.
15902         * dirent/dirent.h: Declare scandirat and scandirat64.
15903         * dirent/scandirat.c: New file.
15904         * dirent/scandirat64.c: New file.
15905         * sysdeps/wordsize-64/scandirat.c: New file.
15906         * sysdeps/wordsize-64/scandirat64.c: New file.
15907         * dirent/opendir.c: Define opendirat.
15908         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
15909         using scandirat.
15910         * dirent/scandir64.c: Adjust for scandir.c change.
15911         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
15912         __scandirat64, and __scandir_cancel_handler.
15913         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
15914         additional parameter and use openat instead of open (outside of ld.so).
15915         Add new __opendir as wrapper around __opendirat.
15916         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
15917         here without requiring old scandirat implementation.
15919 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
15921         * dirent/scandir.c (cancel_handler): Renamed to
15922         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
15923         defined.  Adjust users.
15924         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
15925         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
15927 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
15929         * string/test-string.h (IMPL): Use __STRING to expand name and then
15930         stringify it.
15932         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
15933         of cleanups.
15935 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
15937         * string/Makefile: Update.
15938         (strop-tests): Append strncat.
15939         * string/test-wcscmp.c: New file.
15940         New comprehensive test for wcscmp.
15941         * string/test-strcmp.c: Update.
15942         (WIDE): New define.
15944 2011-07-22  Andreas Schwab  <schwab@redhat.com>
15946         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
15947         line.
15949 2011-07-26  Andreas Schwab  <schwab@redhat.com>
15951         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
15952         encoding to ACE if AI_IDN.
15954 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
15956         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
15957         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
15959 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
15961         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
15962         Fix overflow bug in strncat.
15963         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
15965         * string/test-strncat.c: Update.
15966         Add new tests for checking overflow bugs.
15968 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
15970         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
15971         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
15972         * sysdeps/i386/i686/multiarch/strcat.S: New file.
15973         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
15974         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
15975         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
15976         * sysdeps/i386/i686/multiarch/strncat.S: New file.
15977         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
15978         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
15980         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
15981         (USE_AS_STRCAT): Define.
15982         Add strcat and strncat support.
15983         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
15985 2011-07-25  Andreas Schwab  <schwab@redhat.com>
15987         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
15988         __n bigger than INT_MAX+1.
15989         (__strncmp_g): Likewise.
15991 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
15993         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
15994         * libio/stido.h: Likewise.
15996         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
15997         (AF_NFC): Define.
15998         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
15999         (AF_NFC): Define.
16001         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
16002         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
16003         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
16004         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
16005         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
16007         [BZ #13021]
16008         * scripts/test-installation.pl: Don't expect libnss_test1 to be
16009         installed.
16011         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
16012         typo.
16013         (_dl_x86_64_save_sse): Likewise.
16015 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
16017         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
16018         OSXSAVE.
16019         (_dl_x86_64_save_sse): Likewise.
16021         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
16023         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
16025 2011-07-21  Andreas Schwab  <schwab@redhat.com>
16027         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
16028         change.
16029         (_dl_x86_64_save_sse): Use correct AVX check.
16031 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
16033         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
16034         bug in strncpy/strncat.
16035         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
16037 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
16039         * string/tester.c (test_strcat): Add tests for different alignments
16040         of source and destination.
16041         (test_strncat): Likewise.
16043 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
16045         [BZ #12852]
16046         * posix/glob.c (glob): Check passed in values before using them in
16047         expressions to avoid some overflows.
16048         (glob_in_dir): Likewise.
16050         [BZ #13007]
16051         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
16052         check for AVX enablement so that we don't crash with old kernels and
16053         new hardware.
16054         * elf/tst-audit4.c: Add same checks here.
16055         * elf/tst-audit6.c: Likewise.
16057         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
16059 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
16061         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
16063 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
16065         * po/cs.po: Update from translation team.
16066         * po/bg.po: Likewise.
16068 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
16070         * misc/sys/cdefs.h: Add support for const attribute.
16071         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
16072         to gnu_dev_{major,minor,makedev} functions.
16074 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
16076         * intl/dcigettext.c (get_output_charset): Add missing bracket.
16078 2011-07-20  Andreas Schwab  <schwab@redhat.com>
16080         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
16081         strlen results.
16083 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
16085         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
16086         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
16087         register in order to avoid conflicts with the soft frame pointer
16088         being held in r11 when necessary.
16089         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
16090         (INTERNAL_VSYSCALL_NCS): Likewise.
16092 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
16094         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
16095         * elf/dl-fini.c (_dl_fini): Adjust caller.
16096         * elf/dl-close.c (_dl_close_worker): Likewise.
16097         * sysdeps/generic/ldsodefs.h: Adjust declaration.
16099 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
16101         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
16102         "aux_cache->nlibs < 0".
16104         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
16105         in the reload-count case.
16107 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
16109         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
16110         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
16111         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
16112         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
16113         * sysdeps/x86_64/multiarch/strcat.S: New file.
16114         * sysdeps/x86_64/multiarch/strncat.S: New file.
16115         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
16116         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
16117         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
16118         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
16119         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
16120         (USE_AS_STRCAT): Define.
16121         Add strcat and strncat support.
16122         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
16123         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
16124         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
16125         * string/strncat.c: Update.
16126         (USE_AS_STRNCAT): Define.
16127         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16128         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
16129         and i7.
16130         * sysdeps/x86_64/multiarch/init-arch.h
16131         (bit_Prefer_PMINUB_for_stringop): New.
16132         (index_Prefer_PMINUB_for_stringop): Likewise.
16133         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
16134         bit_Prefer_PMINUB_for_stringop.
16136 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
16138         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
16139         buffer64.
16140         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
16141         of casting of buffer.
16142         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
16143         buffer32 and buffer64.
16144         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
16145         writes instead of casting of buffer.
16146         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
16147         buffer32.
16148         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
16149         casting of buffer.
16151 2011-07-19  Andreas Schwab  <schwab@redhat.com>
16153         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
16155 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
16157         * nscd/nscd.c (termination_handler): Don't do anything for a database
16158         if it has not yet been initialized.
16160 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
16162         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
16164 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
16166         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
16168 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
16170         * po/nl.po: Update from translation team.
16171         * po/sv.po: Likewise.
16173 2011-07-16  Roland McGrath  <roland@hack.frob.com>
16175         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
16176         now disallowed by GCC.
16178         * configure.in (use-default-link): Default to yes if a test -shared
16179         link meets our qualifications.
16180         * configure: Regenerated.
16182         * config.make.in (output-format): New variable.
16183         * configure.in: Check for ld --print-output-format support.
16184         * configure: Regenerated.
16185         * Makerules ($(common-objpfx)format.lds)
16186         [$(output-format) != unknown]: Just use $(output-format),
16187         instead of the linker-script munging.
16189 2011-07-14  Roland McGrath  <roland@hack.frob.com>
16191         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
16192         of $(common-objpfx)shlib.lds.
16193         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
16195         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
16196         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
16198         * configure.in (-z relro check): Adjust test code to add a large
16199         writable data section after it.
16200         * configure: Regenerated.
16202 2011-07-11  Roland McGrath  <roland@hack.frob.com>
16204         * configure.in (-z relro check): Fix test code to make the variable
16205         truly const.
16206         * configure: Regenerated.
16208 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
16210         * nscd/nscd.h (struct traced_file): Define.
16211         (struct database_dyn): Remove inotify_descr, reset_res, and filename
16212         elements.  Add traced_files.
16213         (inotify_fd): Declare.
16214         (register_traced_file): Declare.
16215         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
16216         (inotify_fd): Export.
16217         (resolv_conf_descr): Remove.
16218         (nscd_init): Move inotify descriptor creation to main.
16219         Don't register files for notification here.
16220         (register_traced_file): New function.
16221         (invalidate_cache): Don't use reset_res to determine whether to call
16222         res_init, go through the list of registered files.
16223         (main_loop_poll): The inotify descriptors are now stored in the
16224         structures for the traced files.
16225         (main_loop_epoll): Likewise
16226         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
16227         to __nss_disable_nscd.
16228         * nscd/cache.c (prune_cache): There is no single inotify descriptor
16229         for a database anymore.  Check the records for all the registered
16230         files instead.
16231         * nss/Makefile (libnss_files-routines): Add files-init.
16232         (libnss_db-routines): Add db-init.
16233         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
16234         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
16235         * nss/nss_db/db-init.c: New file.
16236         * nss/nss_files/files-init.c: New file.
16237         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
16238         __nss_lookup_function.
16239         (__nss_lookup_function): Call nss_load_library.
16240         (nss_load_all_libraries): New function.
16241         (__nss_disable_nscd): Take parameter with callback function for files
16242         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
16243         used for the cached services.
16244         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
16245         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
16246         options for features to all the files in nscd.
16248         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
16250 2011-07-10  Roland McGrath  <roland@hack.frob.com>
16252         * csu/elf-init.c (__libc_csu_init): Comment typo.
16254 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
16256         * po/pl.po: Update from translation team.
16257         * po/ja.po: Likewise.
16258         * po/ru.po: Likewise.
16259         * po/ko.po: Likewise.
16260         * po/fr.po: Likewise.
16262 2011-07-09  Roland McGrath  <roland@hack.frob.com>
16264         * configure.in (.ctors/.dtors header and trailer check):
16265         Use an empirical test on a built program.
16266         * configure: Regenerated.
16268         * configure.in (-z relro check): Use an empirical test on a built DSO.
16269         Detect, but do not require, on ia64.
16270         * configure: Regenerated.
16272         * configure.in (READELF): Find it with AC_CHECK_TOOL.
16273         Update tests that use readelf to use $READELF instead.
16274         * configure: Regenerated.
16276 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
16278         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
16279         if the result is not used.
16281 2011-07-05  Andreas Jaeger  <aj@suse.de>
16283         [BZ#9696]
16284         * stdlib/tst-strtod.c: Add testcase.
16286 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
16288         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
16289         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
16290         The latter has a higher limit.  Take additional parameter to pass to
16291         the new function.
16292         (__pathconf): Pass file to __statfs_link_max.
16293         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
16294         __statfs_link_max.
16295         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
16296         __statfs_link_max.
16298         [BZ #12868]
16299         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
16300         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
16301         Handle Lustre.
16302         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
16303         (__statfs_filesize_max): Likewise.
16304         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
16306 2011-07-05  Andreas Jaeger  <aj@suse.de>
16308         * resolv/res_comp.c (dn_skipname): Remove unused variable.
16310 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
16312         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
16313         `status' variable.
16314         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
16315         Likewise.
16317 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
16319         * Makefile (strop-tests): Add strncat.
16320         * string/test-strncat.c: New file.
16322 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
16324         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
16326 2011-06-21  Andreas Jaeger  <aj@suse.de>
16328         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
16329         Copy rule from iconvdata/Makefile.
16331 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
16333         [BZ #12922]
16334         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
16335         but no long options are defined, just return 'W'.
16337 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
16339         [BZ #9696]
16340         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
16342 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
16344         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
16345         netgroups to read.
16346         (innetgr): Likewise.
16348 2011-07-05  Roland McGrath  <roland@hack.frob.com>
16350         * config.make.in (install_root): Default to $(DESTDIR).
16352 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
16354         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
16356 2011-07-02  Roland McGrath  <roland@hack.frob.com>
16358         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
16360         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
16361         containing directory rather than embedding absolute directory names.
16363         * scripts/check-local-headers.sh: Rewritten using awk.
16364         Match by word, not by line.  Print error messages for matches.
16365         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
16367         * Makerules [shlib-lds-flags empty]:
16368         ($(common-objpfx)libc_pic.opts): New target.
16369         ($(common-objpfx)libc_pic.os.clean): New target.
16370         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
16372         * config.make.in (OBJCOPY): New variable.
16373         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
16374         * configure: Regenerated.
16376         * config.make.in (use-default-link): New variable.
16377         * configure.in (use_default_link): Grok --with-default-link to set it.
16378         * configure: Regenerated.
16379         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
16380         (shlib-lds, shlib-lds-flags): Define to empty.
16382         * Makerules (shlib-lds): New variable.
16383         (shlib-lds-flags): New variable.
16384         (build-shlib, build-moduile, build-module-asneeded): Use it.
16385         ($(common-objpfx)libc.so): Use $(shlib-lds).
16386         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
16387         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
16389         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
16390         DT_FLAGS/DT_FLAGS_1 with zero flags.
16392         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
16393         linker script munging.
16395 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
16397         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
16398         as 128-bit value.
16399         * crypt/sha512.c (sha512_process_block): Perform total addition using
16400         128-bit if possible.
16401         (__sha512_finish_ctx): Likewise.
16402         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
16403         as 64-bit value.
16404         * crypt/sha256.c (SWAP64): Define.
16405         (sha256_process_block): Perform total addition using 64-bit if
16406         possible.
16407         (__sha256_finish_ctx): Likewise.
16409 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
16411         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
16412         * nscd/initgrcache.c (addinitgroupsX): Likewise.
16413         * nscd/hstcache.c (cache_addhst): Likewise.
16414         * nscd/grpcache.c (cache_addgr): Likewise.
16415         * nscd/aicache.c (addhstaiX): Likewise
16416         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
16418 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
16420         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
16421         * nscd/initgrcache.c (addinitgroupsX): Likewise.
16422         * nscd/hstcache.c (cache_addhst): Likewise.
16423         * nscd/grpcache.c (cache_addgr): Likewise.
16424         * nscd/aicache.c (addhstaiX): Likewise
16426 2011-07-01  Andreas Schwab  <schwab@redhat.com>
16428         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
16429         domain only when needed.
16431 2011-06-30  Andreas Schwab  <schwab@redhat.com>
16433         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
16434         is always restored.
16436 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
16438         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
16439         are re-adding the entry.
16440         * nscd/servicescache.c (cache_addserv): Likewise.
16442 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
16444         * sysdeps/generic/dl-irel.h: fix protection against multiple
16445         inclusions.
16446         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
16448 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
16450         [BZ #12935]
16451         * malloc/memusage.sh: Fix quoting in message.
16452         * debug/xtrace.sh: Likewise.
16454         * configure.in: Remove support for --experimental-malloc option, make
16455         it the default.
16456         * config.make.in: Likewise.
16457         * malloc/Makefile: Likewise.
16459 2011-06-27  Andreas Schwab  <schwab@redhat.com>
16461         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
16462         two-byte characters.
16464 2011-06-27  Roland McGrath  <roland@hack.frob.com>
16466         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
16467         AC_CACHE_CHECK invocation.
16468         * configure: Regenerated.
16470         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
16472 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
16474         [BZ #12350]
16475         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
16476         bit from old_res_options.
16478         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
16480         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
16481         value type for setfct.
16483 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
16485         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
16486         __gettimeofday instead of gettimeofday.
16488 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
16490         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
16492 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
16494         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
16496         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
16497         info.
16499 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
16501         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
16502         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
16503         strcpy-sse2-unaligned strncpy-sse2-unaligned
16504         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
16505         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
16506         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
16507         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
16508         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
16509         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
16510         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
16511         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
16512         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
16513         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
16514         (STRCPY): Support SSE2 and SSSE3 versions.
16516 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
16518         [BZ #12874]
16519         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
16520         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
16521         kernels which artificially limit size of requests.
16523 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
16525         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
16526         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
16527         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
16528         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
16529         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
16530         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
16531         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
16532         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
16533         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
16534         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
16535         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
16536         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
16537         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
16538         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
16539         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
16540         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16541         Enable unaligned load optimization for Intel Core i3, i5 and i7
16542         processors.
16543         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
16544         Define.
16545         (index_Fast_Unaligned_Load): Define.
16546         (HAS_FAST_UNALIGNED_LOAD): Define.
16548 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
16550         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
16552 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
16554         [BZ #12907]
16555         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
16556         until it is clear that the information is realy needed.
16557         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
16559 2011-06-22  Andreas Schwab  <schwab@redhat.com>
16561         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
16563 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
16565         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
16566         /sys/devices/system/cpu/online if it is usable.
16568         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
16569         reading the information from the /proc filesystem to once a second.
16571 2011-06-21  Andreas Jaeger  <aj@suse.de>
16573         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
16574         NULL after inclusion of kernel headers.
16576 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
16578         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
16579         calls to internal_setent.
16581         [BZ #12885]
16582         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
16583         addresses using gethostbyname4_r ignore IPv4 addresses.
16585         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
16586         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
16588         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
16590 2011-06-20  David S. Miller  <davem@davemloft.net>
16592         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
16593         inclusions.
16594         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
16596         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
16597         (elf_irel): Use it.
16598         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
16599         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
16600         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
16601         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
16602         * sysdeps/x86_64/dl-irel.h: Likewise.
16604         * elf/dl-runtime.c: Use elf_ifunc_invoke.
16605         * elf/dl-sym.c: Likewise.
16607 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
16609         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
16610         need to dereference resplen2.
16612 2011-06-14  Andreas Schwab  <schwab@redhat.com>
16614         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
16616 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
16618         * Makeconfig: Define vardbdir and inst_vardbdir.
16619         * nss/Makefile: Add rules to install db-Makefile.
16621         * nss/nss_db/db-XXX.c: Cleanup.
16623         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
16624         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
16625         GLIBC_PRIVATE.
16626         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
16627         * nss/makedb.c: Implement -g option to specify that value strings
16628         are generated and should not be added to table iterated over for
16629         get*ent calls.
16630         * nss/nss_db/db-initgroups.c: New file.
16632         * nss/getent.c: Add support for initgroups lookups through getgrouplist
16633         interface.
16635         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
16636         (internal_getgrouplist): Adjust to name change.
16637         Update use_initgroups_entry if this is not the first call.
16638         * nss/databases.def: Add initgroups entry.
16640         * nss/makedb.c (compute_tables): Check result of multiple hash table
16641         sizes to minimize maximum chain length.
16643 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
16645         * Versions.def: Add entry for libnss_db.
16646         * shlib-versions: Likewise.
16647         * nss/Makefile: Add rules to build libnss_db.
16648         * nss/Versions: Add libnss_db information.  Organize libnss_files
16649         entries better.
16650         * nss/db-Makefile: Add gshadow support.  Change rules for the new
16651         makedb progra.  Some minor improvements to generate smaller files.
16652         * nss/nss_db/nss_db.h: Move NSS database header data structures to
16653         here from...
16654         * nss/makedb.c: ...here.
16655         Improve database format to be smaller and require less memory at
16656         runtime.
16657         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
16658         db anymore.
16659         * nss/nss_db/db-netgrp.c: Likewise.
16660         * nss/nss_db/db-open.c: Likewise.
16661         * nss/nss_files/flies-XXX.x: Adjust comments.
16662         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
16663         * nss/nss_files/files-grp.c: Likewise.
16664         * nss/nss_files/files-hosts.c: Likewise.
16665         * nss/nss_files/files-network.c: Likewise.
16666         * nss/nss_files/files-proto.c: Likewise.
16667         * nss/nss_files/files-pwd.c: Likewise.
16668         * nss/nss_files/files-rpc.c: Likewise.
16669         * nss/nss_files/files-service.c: Likewise.
16670         * nss/nss_files/files-sgrp.c: Likewise.
16671         * nss/nss_files/files-spwd.c: Likewise.
16672         * nss/nss_db/db-alias.c: Removed.
16673         * nss/nss_db/dummy-db.h: Removed.
16675 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
16677         * nss/makedb.c: Rewritten to not use database library.
16678         * nss/Makefile: Update to build new makedb program.
16680 2011-06-14  Andreas Jaeger  <aj@suse.de>
16682         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
16683         memset declaration.
16685 2011-06-10  Andreas Schwab  <schwab@redhat.com>
16687         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
16688         tmpbuf.
16690 2011-06-10  Roland McGrath  <roland@hack.frob.com>
16692         * Makerules (shlib.lds): Fail if the linker script comes out empty.
16693         * elf/Makefile ($(objpfx)ld.so): Likewise.
16695         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
16696         Don't list ld.so twice in dependencies.
16698         * posix/bug-regex31.c: Include <stdlib.h>.
16700         * nscd/hstcache.c (cache_addhst): Remove unused variable.
16702         * nis/nss_compat/compat-spwd.c
16703         (getspent_next_nss_netgr): Remove unused variable.
16704         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
16706         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
16707         nonmembers" output to use the right array.
16709         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
16711         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
16713         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
16714         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
16715         * catgets/gencat.c (read_input_file): Likewise.
16716         * locale/programs/locarchive.c (enlarge_archive): Likewise.
16718         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
16719         variable definition inside #if's controlling its use.
16721         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
16723         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
16725         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
16727         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
16728         unreachable code.
16730         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
16732         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
16733         * configure: Regenerated.
16735         * Makerules: Revert last change.
16736         * elf/Makefile: Likewise.
16738 2011-06-09  Roland McGrath  <roland@hack.frob.com>
16740         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
16741         * elf/Makefile ($(objpfx)librtld.os): Likewise.
16742         (reloc-link): Likewise.
16744 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
16746         * elf/Makefile: Add rules to build pldd.
16747         * elf/pldd.c: New file.
16748         * elf/pldd-xx.c: New file.
16750 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
16752         * version.h: Update for 2.15 development version.
16754 2011-06-07  David S. Miller  <davem@davemloft.net>
16756         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
16757         ifuncs.
16758         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
16759         elf_machine_lazy_rel): Likewise.
16760         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
16761         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
16762         elf_machine_lazy_rel): Likewise.
16763         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
16764         dl_hwcap via passed in argument.
16765         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
16766         Likewise.
16768 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
16770         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
16772 2011-06-06  Roland McGrath  <roland@hack.frob.com>
16774         [BZ #12849]
16775         * manual/fdl-1.1.texi: New file, verbatim from:
16776         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
16777         * manual/lgpl-2.1.texi: New file, verbatim from:
16778         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
16779         * manual/Makefile (licenses): New variable, list those new file names.
16780         (texis): Use it.
16781         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
16783         * manual/fdl.texi: File removed.
16784         * manual/lesser.texi: File removed.
16785         * manual/libc.texinfo (Copying, Documentation License):
16786         Use new @include file names, put @appendix directive before @include.
16788 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
16790         [BZ #12841]
16791         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
16792         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
16793         (mq_open): Add __NTH.
16795 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
16797         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16798         Assume Intel Core i3/i5/i7 processor if AVX is available.
16800 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
16802         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
16803         typo.
16805 2011-05-31  Andreas Schwab  <schwab@redhat.com>
16807         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
16808         memory.  Use alloca_account.  Fix memory leak when retrying.
16810 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
16812         * version.h (RELEASE): Bump for 2.14 release.
16813         * include/features.h (__GLIBC_MINOR__): Bump to 14.
16815         * config.make.in (RANLIB): Remove entry.
16817 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
16819         * po/Makefile (po-sed-cmd): Add ksh to extensions.
16820         (libc.pot): Work around missing support for .ksh extension in xgettext.
16822         [BZ #12684]
16823         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
16824         if both request failed.
16825         (send_dg): In case of server errors clear resplen or *resplen2.
16827         [BZ #12454]
16828         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
16829         when there are multiple maps.
16830         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
16831         (_dl_fini): Remove test here.
16833         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
16835 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
16837         [BZ #12350]
16838         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
16839         bit from old_res_options.
16840         (gaih_inet): Likewise.
16842         [BZ #11099]
16843         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
16844         as signed.
16846         * resolv/res_init.c (res_setoptions): Make the code more compact.
16848         [BZ #11558]
16849         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
16850         set RES_USEVC.
16852         [BZ #11634]
16853         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
16855         * malloc/malloc.h: Mark malloc hook variables as deprecated.
16857         [BZ #11781]
16858         * malloc/malloc.h: Declare malloc hook variables as volatile.
16860         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
16861         in last patch.
16863         [BZ #11799]
16864         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
16865         raise in the comment.
16866         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
16867         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
16868         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
16870 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
16872         [BZ #12811]
16873         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
16874         grow the buffers more if it already has to be sufficient.
16875         (build_wcs_upper_buffer): Likewise.
16876         * posix/regexec.c (check_matching): Likewise.
16877         (clean_state_log_if_needed): Likewise.
16878         (extend_buffers): Don't enlarge buffers beyond size of the input
16879         buffer.
16880         Patches mostly by Emil Wojak <emil@wojak.eu>.
16881         * posix/bug-regex32.c: New file.
16882         * posix/Makefile (tests): Add bug-regex32.
16884         * locale/findlocale.c (_nl_find_locale): Return right away if
16885         _nl_explode_name failed.
16886         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
16888         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
16890         * debug/xtrace.sh: Unify messages.
16891         * malloc/memusage.sh: Likewise.
16893         [BZ #12813]
16894         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
16895         time symbol from vDSO.  Substitute with vsyscall if not available.
16896         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
16897         __vdso_time.
16899         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
16900         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
16901         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
16902         Add sendmmsg and internal_sendmmsg.
16903         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
16904         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
16905         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
16907         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
16908         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
16909         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
16911 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
16913         [BZ #12813]
16914         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
16915         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
16916         available.
16917         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
16918         __vdso_getcpu.
16920         [BZ #12814]
16921         * iconvdata/Makefile (tests): Add bug-iconv9.
16922         * iconvdata/bug-iconv9.c: New file.
16924 2011-05-27  Andreas Schwab  <schwab@redhat.com>
16926         [BZ #12814]
16927         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
16929 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
16931         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
16932         (struct user_regs_struct): Change intcs field back to cs.
16934 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
16936         * po/ja.po: Update from translation team.
16938 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
16940         [BZ #12795]
16941         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
16942         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
16944 2011-05-20  Andreas Schwab  <schwab@redhat.com>
16946         * stdlib/longlong.h: Update from GCC.
16948 2011-05-23  Andreas Schwab  <schwab@redhat.com>
16950         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
16951         parameter name.
16952         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
16953         Add parameter name.
16954         (__sysconf): Pass it down.
16956 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
16958         [BZ #12671]
16959         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
16960         some situations.
16961         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
16962         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
16963         add in in __libc_use_alloca calls.  Adjust callers.
16964         (glob): Use malloc in some situations.
16966         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
16967         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
16968         pltexit.
16970 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
16972         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
16973         and CLOCK_BOOTTIME_ALARM.
16975         [BZ #12782]
16976         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
16977         is returned.
16979         * string/_strerror.c (__strerror_r): Print negative errors as signed
16980         numbers.
16982         [BZ #12777]
16983         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
16984         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
16985         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
16987         * configure.in: Fix typo in redirection and correct removal of test
16988         files in two cases.
16990         [BZ #12788]
16991         * locale/setlocale.c (new_composite_name): Fix test to check for
16992         identical name of all categories.
16994         [BZ #12792]
16995         * libio/filedoalloc.c (local_isatty): New function.
16996         (_IO_file_doallocate): Use local_isatty.
16997         * stdio-common/perror.c (perror): In case a new stream is used
16998         forward the stream error.
16999         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
17000         error flag.
17002 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
17004         [BZ #11869]
17005         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
17006         alloca.
17007         * include/alloca.h (extend_alloca_account): Define.
17009         [BZ #11857]
17010         * posix/regex.h: Fix comments with documentation of user-accessible
17011         fields after compilation and describe correct free'ing of pattern
17012         after re_compile_pattern.
17013         Patch by Reuben Thomas <rrt@sc3d.org>.
17015 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
17017         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
17018         and -mno-altivec to prevent the compiler from using Altivec and/or
17019         VSX instructions when the corresponding registers are not available.
17021 2011-05-19  Andreas Schwab  <schwab@redhat.com>
17023         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
17025 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
17027         * libio/freopen.c (freopen): Use __dup2, not dup2.
17028         * libio/freopen64.c (freopen64): Likewise.
17030 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
17032         [BZ #12775]
17033         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
17034         * math/Makefile (tests): Add test-powl.
17035         (CFLAGS-test-powl.c): Define.
17036         * math/test-powl.c: New file.
17038 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
17040         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
17042 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
17044         [BZ #11837]
17045         * iconvdata/gb18030.c: Update to GB18020-2005.
17047 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
17049         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
17050         RE_SYNTAX_POSIX_AWK): Update to match recent development.
17051         Patch by Aharon Robbins <arnold@skeeve.com>.
17053         [BZ #11892]
17054         * stdlib/putenv.c (putenv): Don't always create copy of the variable
17055         on the stack.
17057         [BZ #11895]
17058         * misc/pselect.c (__pselect): Handle timeout value errors hidden
17059         through underflows.
17061         [BZ #12766]
17062         * misc/error.c (error_at_line): Ensure file_name and old_file_name
17063         point to strings before performing equality test for error_one_per_line
17064         mode.
17066         [BZ #11697]
17067         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
17069         [BZ #11820]
17070         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
17071         (struct user_fpregs_struct): Avoid __uint*_t types.
17073         [BZ #6420]
17074         * malloc/mtrace.c (tr_where): Add additional parameter to point to
17075         symbol info.  Use it instead of calling _dl_addr locally.
17076         (lock_and_info): New function.
17077         (tr_freehook): Call lock_and_info and pass symbol info as additional
17078         parameter to tr_where.
17079         (tr_mallochook): Likewise.
17080         (tr_reallochook): Likewise.
17081         (tr_memalignhook): Likewise.
17083         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
17084         used and couldn't be at all thread-safe.
17086 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
17088         * libio/freopen.c (freopen): Don't close old file descriptor
17089         before the new one is opened.  Instead dup the new file descriptor
17090         to the old one after the new stream is created.
17091         * libio/freopen64.c (freopen64): Likewise.
17092         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
17093         * libio/fileops.c (_IO_new_file_close_it): Handle new
17094         _IO_FLAGS2_NOCLOSE flag.
17095         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
17096         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
17097         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
17098         _IO_FLAGS2_NOCLOSE flag.
17099         * include/unistd.h: Add hidden_proto for dup3.
17100         Define __have_dup3.
17101         * io/dup3.c: Define hidden symbol.
17102         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
17104         [BZ #7101]
17105         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
17106         when an incomplete long option is used.
17107         * posix/tst-getopt_long1.c: New file.
17108         * posix/Makefile (tests): Add tst-getopt_long1.
17110         [BZ #10138]
17111         * scripts/config.guess: Update from autoconf-2.68.
17112         * scripts/config.sub: Likewise.
17114         [BZ #10157]
17115         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
17116         tests into ...
17117         (has_cpuclock): ...this.  New function.
17118         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
17119         macro here based on has_cpuclock code.
17121         [BZ #10149]
17122         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
17123         First byte (not low byte) is now always NUL.
17124         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
17126         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
17127         Use non-cancelable interfaces.
17129         [BZ #9809]
17130         * locale/iso-639.def: Add entry for Sorani.
17132         [BZ #11901]
17133         * include/stdlib.h: Move include protection to the right place.
17134         Define abort_msg_s.  Declare __abort_msg with it.
17135         * stdlib/abort.c (__abort_msg): Adjust type.
17136         * assert/assert.c (__assert_fail_base): New function.  Majority
17137         of code from __assert_fail.  Allocate memory for __abort_msg with
17138         mmap.
17139         (__assert_fail): Now call __assert_fail_base.
17140         * assert/assert-perr.c: Remove bulk of implementation.  Use
17141         __assert_fail_base.
17142         * include/assert.hL Declare __assert_fail_base.
17143         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
17144         mmap.
17145         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
17147 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
17149         [BZ #11952]
17150         [BZ #12453]
17151         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
17152         until all modules are registered in the DTV.
17153         * elf/Makefile: Add rules to build and run tst-tls19.
17154         * elf/tst-tls19.c: New file.
17155         * elf/tst-tls19mod1.c: New file.
17156         * elf/tst-tls19mod2.c: New file.
17157         * elf/tst-tls19mod3.c: New file.
17158         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
17160         [BZ #12083]
17161         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
17162         correctly.
17164         [BZ #12601]
17165         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
17166         two-byte sequence errors.
17167         * iconvdata/Makefile (tests): Add bug-iconv8.
17168         * iconvdata/bug-iconv8.c: New file.
17170         [BZ #12626]
17171         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
17172         buf2 definition.
17174         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
17176         [BZ #12432]
17177         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
17178         (dummy_getcfa): New function.
17179         (init): Get _Unwind_GetCFA address, use dummy if not found.
17180         (backtrace_helper): In recursion check, also check whether CFA changes.
17181         (__backtrace): Completely initialize arg.
17183         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
17184         storing incomplete byte sequence in state object.  Avoid testing for
17185         guaranteed too small input if we know there is enough data available.
17187 2011-05-11  Andreas Schwab  <schwab@redhat.com>
17189         * Makeconfig (+link-pie): Indent.
17190         * Rules (binaries-pie): Define if $(have-fpie) and
17191         $(build-shared).
17192         (binaries-shared): Also filter out $(binaries-pie).
17193         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
17194         * nscd/Makefile (others-pie): Add nscd.
17195         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
17196         ($(objpfx)nscd): Remove command override.
17197         * login/Makefile (others-pie): Add pt_chown.
17198         ($(objpfx)pt_chown): Remove command override.
17199         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
17200         remove command overrides.
17202 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
17204         * libio/tst_putwc.c: Fix error messages.
17206         [BZ #12724]
17207         * libio/fileops.c (_IO_new_file_close_it): Always flush when
17208         currently writing and seek to current position when not.
17209         * libio/Makefile (tests): Add bug-fclose1.
17210         * libio/bug-fclose1.c: New file.
17212 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
17214         [BZ #12511]
17215         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
17216         don't set DF_1_NODELETE here.
17217         (do_lookup_x): When entering new entry test for copy relocation
17218         and if necessary set DF_1_NODELETE flag.
17219         * elf/tst-unique4.cc: New file.
17220         * elf/tst-unique4.h: New file.
17221         * elf/tst-unique4lib.cc: New file.
17222         * elf/Makefile: Add rules to build and run tst-unique4.
17223         Patch by Piotr Bury <pbury@goahead.com>.
17225 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
17227         [BZ #12052]
17228         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
17230         [BZ #12625]
17231         * misc/mntent_r.c (addmntent): Flush the stream after the output
17233         [BZ #12393]
17234         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
17235         (is_trusted_path_normalize): Skip initial colon.  Append slash
17236         to empty buffer.  Duplicate is_trusted_path code but allow
17237         constructed patch to be prefix.
17238         (is_dst): Allow $ORIGIN followed by /.
17239         (_dl_dst_substitute): Correct clearing of check_for_trusted.
17240         Correct testing of result of is_trusted_path_normalize
17241         (decompose_rpath): Fix warning.
17243 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
17245         [BZ #11257]
17246         * grp/initgroups.c (internal_getgrouplist): When we found the service
17247         list through the initgroups entry in nsswitch.conf do not always
17248         continue on a successful lookup.  Don't always use the
17249         __nss_group_database value if it is set.
17250         * nss/nsswitch.conf (initgroups): Change action for successful db
17251         lookup to continue for compatibility.
17253 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
17255         [BZ #11532]
17256         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
17257         and CP774 modules.
17258         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
17259         and CP774 modules.
17260         * iconvdata/tst-tables.sh: Likewise.
17261         * iconvdata/cp770.c: New file.
17262         * iconvdata/cp771.c: New file.
17263         * iconvdata/cp772.c: New file.
17264         * iconvdata/cp773.c: New file.
17265         * iconvdata/cp774.c: New file.
17266         * iconvdata/testdata/CP770: New file.
17267         * iconvdata/testdata/CP770..UTF8: New file.
17268         * iconvdata/testdata/CP771: New file.
17269         * iconvdata/testdata/CP771..UTF8: New file.
17270         * iconvdata/testdata/CP772: New file.
17271         * iconvdata/testdata/CP772..UTF8: New file.
17272         * iconvdata/testdata/CP773: New file.
17273         * iconvdata/testdata/CP773..UTF8: New file.
17274         * iconvdata/testdata/CP774: New file.
17275         * iconvdata/testdata/CP774..UTF8: New file.
17277         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
17278         END CHARMAP line.
17279         * iconvdata/gen-8bit-gap.sh: Likewise.
17280         * iconvdata/gen-8bit.sh: Likewise.
17282         * locale/iso-639.def: Add ary entry.
17284         [BZ #11258]
17285         * locale/C-translit.h.in: Add U20A1 transliteration.
17287         [BZ #12178]
17288         * locale/iso-639.def: Add wae entry.
17289         Patch by Kevin Bortis <bortis@translate-wae.ch>.
17291         [BZ #12545]
17292         * locale/programs/localedef.c (construct_output_path): Use ssize_t
17293         for n.
17295         [BZ #12711]
17296         * locale/C-translit.h.in: Add entry for U20B9.
17297         Patch by pravin.d.s@gmail.com.
17299 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
17301         [BZ #12713]
17302         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
17303         ENAMETOOLONG use generic getcwd.
17304         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
17305         in rtld.  Use *stat64.
17306         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
17307         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
17308         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
17309         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
17310         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
17311         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
17312         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
17313         __fstatat64 macros.
17314         * include/dirent.h: Add libc_hidden_proto for rewinddir.
17315         * dirent/rewinddir.c: Add libc_hidden_def.
17316         * sysdeps/mach/hurd/rewinddir.c: Likewise.
17317         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
17319         * include/dirent.h (__alloc_dir): Add flags parameter.
17320         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
17321         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
17322         __alloc_dir.
17323         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
17324         from fdopendir if O_CLOEXEC is already set.
17326 2011-03-15  Alan Modra  <amodra@gmail.com>
17328         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
17329         l_tls_firstbyte_offset non-zero.  Save padding offset in
17330         l_tls_firstbyte_offset for later use.
17331         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
17332         freeing static tls block.
17334 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
17336         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
17337         where #ifdef was intended.  The intent is to prevent ARG_MAX from
17338         being defined by the kernel headers.
17340 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
17342         [BZ #12734]
17343         * resolv/resolv.h: Define RES_NOTLDQUERY.
17344         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
17345         no-tld-query and set RES_NOTLDQUERY.
17346         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
17347         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
17348         modern BIND to search name as TLD unless forbidden.
17350 2011-05-07  Petr Baudis  <pasky@suse.cz>
17351             Ulrich Drepper  <drepper@gmail.com>
17353         [BZ #12393]
17354         * elf/dl-load.c (fillin_rpath): Move trusted path check...
17355         (is_trusted_path): ...to here.
17356         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
17357         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
17358         using is_trusted_path_normalize() in setuid scripts.
17360 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
17362         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
17363         __BEGIN/__END_DECLS.
17365 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
17367         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
17368         NSS_STATUS_NOTFOUND if no record was found.
17370 2011-05-05  Andreas Schwab  <schwab@redhat.com>
17372         * sunrpc/Makefile (headers): Add rpc/netdb.h.
17373         (headers-not-in-tirpc): Remove rpc/netdb.h
17374         * resolv/netdb.h: Revert last change.
17376 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
17378         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
17379         circular dependency between libgcc.a and libc.a.
17381 2011-05-05  Andreas Schwab  <schwab@redhat.com>
17383         * resolv/netdb.h: Don't include <rpc/netdb.h>.
17384         * nis/Makefile: Don't install rpcsvc/*.
17385         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
17386         instead of <rpc/types.h>.
17387         (MAXHOSTNAMELEN): Define.
17389 2011-05-03  Andreas Schwab  <schwab@redhat.com>
17391         * elf/ldconfig.c (add_dir): Don't crash on empty path.
17393 2011-04-28  Maciej Babinski  <mbabinski@google.com>
17395         [BZ #12714]
17396         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
17397         gethostbyname4_r when IPv6 results are possible.
17399 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
17401         [BZ #12723]
17402         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
17403         _PC_PIPE_BUF handling.
17405 2011-04-30  Bruno Haible  <bruno@clisp.org>
17407         [BZ #12717]
17408         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
17409         * resolv/netdb.h (getnameinfo): Change type of flags parameter
17410         to 'int'.
17411         * inet/getnameinfo.c (getnameinfo): Likewise.
17413 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
17415         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
17416         to groups setting in database lookup.
17417         * nss/nsswitch.conf: Add initgroups entry.
17419 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
17421         [BZ #12685]
17422         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
17423         mode string.
17424         Patch by Eric Blake <eblake@redhat.com>.
17426 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
17428         * sunrpc/Makefile (need-export-routines): Add svc_run.
17429         (routines): Remove svc_run.
17430         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
17431         * sunrpc/clnt_perr.c (clnt_perrno): Export.
17432         * sunrpc/svc_run.c (svc_run): Likewise.
17433         * sunrpc/svc_udp.c (svcudp_create): Likewise.
17435 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
17437         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
17438         problem in reallocation in last patch.
17440 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
17442         * sunrpc/Makefile: Move inclusion of Rules.
17444 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
17446         * nss/nss_files/files-initgroups.c: New file.
17447         * nss/Makefile (libnss_files-routines): Add files-initgroups.
17448         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
17449         _nss_files_initgroups_dyn.
17451 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
17453         * elf/elf.h (R_ARM_IRELATIVE): Define.
17455 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
17457         * po/ru.po: Update from translation team.
17459 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
17461         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
17462         dependencies.
17464 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
17466         [BZ #12653]
17467         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
17468         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
17469         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
17470         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
17471         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
17473 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
17475         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
17476         differing bytes.
17477         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
17478         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
17479         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
17481 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
17483         [BZ #12420]
17484         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
17485         storing it.
17486         * stdlib/bug-getcontext.c: New file.
17487         * stdlib/Makefile: Add rules to build and run bug-getcontext.
17489 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
17491         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
17492         instructions into .machine "z9-109".
17493         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
17494         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
17496 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
17498         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
17499         between environment variables and auxiliary vector.
17501 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
17503         * Makefile: Add rules to build linkobj/libc.so.
17504         * include/libc-symbols.h: Define libc_hidden_nolink.
17505         * include/rpc/auth.h: Mark functions which are to be hidden.
17506         * include/rpc/auth_des.h: Likewise.
17507         * include/rpc/auth_unix.h: Likewise.
17508         * include/rpc/clnt.h: Likewise.
17509         * include/rpc/des_crypt.h: Likewise.
17510         * include/rpc/key_prot.h: Likewise.
17511         * include/rpc/pmap_clnt.h: Likewise.
17512         * include/rpc/pmap_prot.h: Likewise.
17513         * include/rpc/pmap_rmt.h: Likewise.
17514         * include/rpc/rpc_msg.h: Likewise.
17515         * include/rpc/svc.h: Likewise.
17516         * include/rpc/svc_auth.h: Likewise.
17517         * include/rpc/xdr.h: Likewise.
17518         * nis/Makefile: Link all DSOs against linkobj/libc.so.
17519         * nss/Makefile: Likewise.
17520         * sunrpc/Makefile: Don't install headers.  Build library with normal
17521         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
17522         * sunrpc/auth_des.c: Hide exported symbols by default, export some
17523         for the compat linking library.  Remove use of INTDEF/INTUSE.
17524         * sunrpc/auth_none.c: Likewise.
17525         * sunrpc/auth_unix.c: Likewise.
17526         * sunrpc/authdes_prot.c: Likewise.
17527         * sunrpc/authuxprot.c: Likewise.
17528         * sunrpc/clnt_gen.c: Likewise.
17529         * sunrpc/clnt_perr.c: Likewise.
17530         * sunrpc/clnt_raw.c: Likewise.
17531         * sunrpc/clnt_simp.c: Likewise.
17532         * sunrpc/clnt_tcp.c: Likewise.
17533         * sunrpc/clnt_udp.c: Likewise.
17534         * sunrpc/clnt_unix.c: Likewise.
17535         * sunrpc/des_crypt.c: Likewise.
17536         * sunrpc/des_soft.c: Likewise.
17537         * sunrpc/get_myaddr.c: Likewise.
17538         * sunrpc/key_call.c: Likewise.
17539         * sunrpc/key_prot.c: Likewise.
17540         * sunrpc/netname.c: Likewise.
17541         * sunrpc/pm_getmaps.c: Likewise.
17542         * sunrpc/pm_getport.c: Likewise.
17543         * sunrpc/pmap_clnt.c: Likewise.
17544         * sunrpc/pmap_prot.c: Likewise.
17545         * sunrpc/pmap_prot2.c: Likewise.
17546         * sunrpc/pmap_rmt.c: Likewise.
17547         * sunrpc/publickey.c: Likewise.
17548         * sunrpc/rpc_cmsg.c: Likewise.
17549         * sunrpc/rpc_common.c: Likewise.
17550         * sunrpc/rpc_dtable.c: Likewise.
17551         * sunrpc/rpc_prot.c: Likewise.
17552         * sunrpc/rpc_thread.c: Likewise.
17553         * sunrpc/rtime.c: Likewise.
17554         * sunrpc/svc.c: Likewise.
17555         * sunrpc/svc_auth.c: Likewise.
17556         * sunrpc/svc_authux.c: Likewise.
17557         * sunrpc/svc_raw.c: Likewise.
17558         * sunrpc/svc_run.c: Likewise.
17559         * sunrpc/svc_simple.c: Likewise.
17560         * sunrpc/svc_tcp.c: Likewise.
17561         * sunrpc/svc_udp.c: Likewise.
17562         * sunrpc/svc_unix.c: Likewise.
17563         * sunrpc/svcauth_des.c: Likewise.
17564         * sunrpc/xcrypt.c: Likewise.
17565         * sunrpc/xdr.c: Likewise.
17566         * sunrpc/xdr_array.c: Likewise.
17567         * sunrpc/xdr_float.c: Likewise.
17568         * sunrpc/xdr_intXX_t.c: Likewise.
17569         * sunrpc/xdr_mem.c: Likewise.
17570         * sunrpc/xdr_rec.c: Likewise.
17571         * sunrpc/xdr_ref.c: Likewise.
17572         * sunrpc/xdr_sizeof.c: Likewise.
17573         * sunrpc/xdr_stdio.c: Likewise.
17575 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
17577         [BZ #12650]
17578         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
17579         * sysdeps/ia64/dl-tls.h: Likewise.
17580         * sysdeps/powerpc/dl-tls.h: Likewise.
17581         * sysdeps/s390/dl-tls.h: Likewise.
17582         * sysdeps/sh/dl-tls.h: Likewise.
17583         * sysdeps/sparc/dl-tls.h: Likewise.
17584         * sysdeps/x86_64/dl-tls.h: Likewise.
17585         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
17587 2011-03-14  Andreas Schwab  <schwab@redhat.com>
17589         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
17590         rpath element also skip the following colon.
17591         (expand_dynamic_string_token): Add is_path parameter and pass
17592         down to DL_DST_REQUIRED and _dl_dst_substitute.
17593         (decompose_rpath): Call expand_dynamic_string_token with
17594         non-zero is_path.  Ignore empty rpaths.
17595         (_dl_map_object_from_fd): Call expand_dynamic_string_token
17596         with zero is_path.
17598 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
17600         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
17601         Make cancelable.
17603 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
17605         [BZ #12655]
17606         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
17607         Patch by Filipe David Manana <fdmanana@apache.org>.
17609 2011-04-07  Andreas Schwab  <schwab@redhat.com>
17611         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
17612         Maintain aligned stack.
17613         (CHECK_RSP): Remove unused macro.
17615 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
17617         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
17618         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
17620 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
17622         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
17624         * include/features.h: Mention __USE_XOPEN2K8 in comment.
17626 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
17628         [BZ #12518]
17629         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
17630         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
17631         * sysdeps/x86_64/memmove.c: New file.
17632         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
17633         (memcpy): Renamed to ...
17634         (__new_memcpy): This.
17635         (memcpy): Provide GLIBC_2_14 memcpy.
17636         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
17637         (memcpy): Provide GLIBC_2_2_5 memcpy.
17639 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
17641         [BZ #12631]
17642         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
17644 2011-03-30  Andreas Schwab  <schwab@redhat.com>
17646         * misc/syncfs.c: New file.
17647         * misc/Makefile (routines): Add syncfs.
17648         * posix/unistd.h: Declare syncfs.
17649         * sysdeps/unix/syscalls.list: Add syncfs.
17651 2011-04-01  Andreas Schwab  <schwab@redhat.com>
17653         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
17654         open_by_handle_at.
17655         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
17656         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
17657         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
17658         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
17659         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
17660         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
17661         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
17663 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
17665         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
17666         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
17667         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
17668         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
17669         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
17670         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
17671         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
17673         * io/Makefile: Compile fallocate.c, fallocate64.c, and
17674         sync_file_range.c with -fexceptions.
17675         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
17676         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
17677         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
17678         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
17679         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
17680         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
17681         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
17682         sync_file_range as cancellation point
17683         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
17684         now a wrapper around __call_sync_file_range with cancellation handling.
17685         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
17686         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
17687         function name to __call_sync_file_range.
17688         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
17689         Add call_sync_file_range.
17691 2011-04-01  Andreas Schwab  <schwab@redhat.com>
17693         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17694         bits/timex.h.
17696 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
17698         * iconv/iconv.h: Fix typo in comment.
17699         * io/fcntl.h: Likewise.
17700         * libio/stdio.h: Likewise.
17701         * posix/spawn.h: Likewise.
17702         * posix/unistd.h: Likewise.
17703         * stdlib/stdlib.h: Likewise.
17704         * time/time.h: Likewise.
17705         * wcsmbs/wchar.h: Likewise.
17707         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
17708         open_by_handle): Add.
17709         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
17710         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
17711         Augment a few comments.
17712         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
17713         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
17714         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
17715         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
17716         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
17717         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
17718         open_by_handle.
17720         * io/fcntl.h (AT_EMPTY_PATH): Define.
17722 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
17724         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
17725         * sysdeps/unix/sysv/linux/bits/time.h: New file.
17726         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
17727         to...
17728         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
17729         * Versions.def: Add GLIBC_2.14.
17730         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
17731         Export.
17733 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
17735         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
17736         round counter.
17737         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
17739 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
17741         [BZ #12597]
17742         * string/test-strncmp.c (do_page_test): New function.
17743         (check2): Likewise.
17744         (test_main): Call check2.
17745         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
17747 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
17749         [BZ #12587]
17750         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
17751         Handle cache information in CPU leaf 4.
17752         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
17754 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
17756         [BZ #12583]
17757         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
17758         character representation.
17759         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
17761 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
17763         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
17764         END(__isnan) to END(__isnanf) to match function entry point/label
17765         EALIGN(__isnanf,...).
17767 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
17769         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
17771 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
17773         [BZ #12510]
17774         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
17775         copy from the symbol referenced in the relocation to initialize the
17776         used variable.
17777         Patch by Piotr Bury <pbury@goahead.com>.
17778         * elf/Makefile: Add rules to build and tst-unique3.
17779         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
17780         * elf/tst-unique3.cc: New file.
17781         * elf/tst-unique3.h: New file.
17782         * elf/tst-unique3lib.cc: New file.
17783         * elf/tst-unique3lib2.cc: New file.
17785         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
17787 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
17789         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
17790         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
17791         to _start.
17793 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
17795         * elf/dl-load.c (_dl_map_object): If we are looking for the first
17796         to-be-loaded object along a path to loader is ld.so.
17798 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
17799             Ulrich Drepper  <drepper@gmail.com>
17801         * sysdeps/x86_64/memset.S: After aligning destination, code
17802         branches to different locations depending on the value of
17803         misalignment, when multiarch is enabled. Fix this.
17805 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
17807         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
17808         Set _x86_64_preferred_memory_instruction for AMD processsors.
17809         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17810         Set bit_Prefer_SSE_for_memop for AMD processors.
17812 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
17814         * libio/fmemopen.c (fmemopen): Optimize a bit.
17816 2011-03-03  Andreas Schwab  <schwab@redhat.com>
17818         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
17820 2011-03-03  Roland McGrath  <roland@redhat.com>
17822         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
17824 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
17826         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
17827         __bzero_ultra1 instead of __memset_ultra1.
17829 2011-02-23  Andreas Schwab  <schwab@redhat.com>
17830             Ulrich Drepper  <drepper@gmail.com>
17832         [BZ #12509]
17833         * include/link.h (struct link_map): Add l_orig_initfini.
17834         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
17835         returning unsuccessfully.
17836         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
17837         close of a file loaded at startup, restore the original l_initfini
17838         list.
17839         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
17840         list, store the pointer.
17841         * elf/Makefile ($(objpfx)noload-mem): New rule.
17842         (noload-ENV): Define.
17843         (tests): Add $(objpfx)noload-mem.
17844         * elf/noload.c: Include <memcheck.h>.
17845         (main): Call mtrace.  Close all opened handles.
17847 2011-02-17  Andreas Schwab  <schwab@redhat.com>
17849         [BZ #12454]
17850         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
17851         dependencies are missing.
17853 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17855         Fix __if_freereq crash: Unlike the generic version which uses free,
17856         Hurd needs munmap.
17857         * sysdeps/mach/hurd/ifreq.h: New file.
17859 2011-01-27  Petr Baudis  <pasky@suse.cz>
17860             Ulrich Drepper  <drepper@gmail.com>
17862         [BZ 12445]#
17863         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
17864         to extend_alloca().
17865         * stdio-common/bug23.c: New file.
17866         * stdio-common/Makefile (tests): Add bug23.
17868 2010-09-28  Andreas Schwab  <schwab@redhat.com>
17869             Ulrich Drepper  <drepper@gmail.com>
17871         [BZ #12489]
17872         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
17873         before performing relro protection.  At old place add assertion
17874         to make sure nothing changed.
17876 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
17877             Glauber de Oliveira Costa  <glommer@gmail.com>
17879         * elf/elf.h: Add new ARM TLS relocs.
17881 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
17883         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
17884         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
17885         cast from r3.
17886         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
17887         'tests' variable.
17888         * sysdeps/wordsize-64/tst-writev.c: New file.
17890 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
17892         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
17893         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
17894         insns in _dl_start to prevent a TOC reference before relocs are
17895         resolved.
17897 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
17899         [BZ #12469]
17900         * Makeconfig: Remove RANLIB definition.
17901         * Makerules: Don't use RANLIB.
17902         * aclocal.m4: Remove ranlib test.
17903         * configure.in: No need to check for ranlib.
17904         * elf/rtld-Rules: Don't use RANLIB.
17906 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17908         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
17909         protection macro.
17910         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
17911         inclusion protection macro.
17913         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
17914         SIGRTMIN and SIGRTMAX and print information in that case only when
17915         SIGRTMIN is defined.
17917 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
17919         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
17920         arginfo fn returning -1.
17922         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
17923         and thousands string is zero terminated.
17925 2011-02-03  Andreas Schwab  <schwab@redhat.com>
17927         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
17928         sysdeps/unix/sysv/linux/bits/socket.h.
17930 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17932         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
17933         (__CPU_COUNT): Remove old macros.
17934         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
17935         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
17936         (__CPU_ALLOC, __CPU_FREE): Add macros.
17937         (__sched_cpualloc, __sched_cpufree): Add declarations.
17939 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
17941         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
17942         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
17943         * nscd/aicache.c (addhstaiX): Return timeout of added value.
17944         (readdhstai): Return value of addhstaiX call.
17945         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
17946         (addgrbyX): Return value returned by cache_addgr.
17947         (readdgrbyname): Return value returned by addgrbyX.
17948         (readdgrbygid): Likewise.
17949         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
17950         (addpwbyX): Return value returned by cache_addpw.
17951         (readdpwbyname): Return value returned by addhstbyX.
17952         (readdpwbyuid): Likewise.
17953         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
17954         (addservbyX): Return value returned by cache_addserv.
17955         (readdservbyname): Return value returned by addservbyX:
17956         (readdservbyport): Likewise.
17957         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
17958         (addhstbyX): Return value returned by cache_addhst.
17959         (readdhstbyname): Return value returned by addhstbyX.
17960         (readdhstbyaddr): Likewise.
17961         (readdhstbynamev6): Likewise.
17962         (readdhstbyaddrv6): Likewise.
17963         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
17964         (readdinitgroups): Return value returned by addinitgroupsX.
17965         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
17966         (prune_cache): Keep track of timeout value of re-added entries.
17967         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
17968         * nscd/nscd.h: Adjust prototypes of readd* functions.
17970 2011-02-04  Roland McGrath  <roland@redhat.com>
17972         * nis/nis_server.c (nis_servstate): Use the right name for 0.
17973         (nis_stats): Likewise.
17974         * nis/nis_modify.c (nis_modify): Likewise.
17975         * nis/nis_remove.c (nis_remove): Likewise.
17976         * nis/nis_add.c (nis_add): Likewise.
17978         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
17980         * posix/fnmatch_loop.c: Add some consts.
17982         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
17984 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
17986         [BZ #12460]
17987         * config.make.in (config-cflags-novzeroupper): Define.
17988         * configure.in: Substitute libc_cv_cc_novzeroupper.
17989         * elf/Makefile (AVX-CFLAGS): Define.
17990         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
17991         (CFLAGS-tst-auditmod4a.c): Likewise.
17992         (CFLAGS-tst-auditmod4b.c): Likewise.
17993         (CFLAGS-tst-auditmod6b.c): Likewise.
17994         (CFLAGS-tst-auditmod6c.c): Likewise.
17995         (CFLAGS-tst-auditmod7b.c): Likewise.
17996         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
17998 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
18000         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
18001         function to the callback.
18002         Patch partly by Jiri Olsa <jolsa@redhat.com>.
18004 2011-02-02  Andreas Schwab  <schwab@redhat.com>
18006         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
18007         of errno.
18009 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
18011         [BZ #11724]
18012         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
18013         of constructors.
18014         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
18015         of destructors.
18016         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
18018         [BZ #11724]
18019         * elf/Makefile: Add rules to build and run new test.
18020         * elf/tst-initorder.c: New file.
18021         * elf/tst-initorder.exp: New file.
18022         * elf/tst-initordera1.c: New file.
18023         * elf/tst-initordera2.c: New file.
18024         * elf/tst-initordera3.c: New file.
18025         * elf/tst-initordera4.c: New file.
18026         * elf/tst-initorderb1.c: New file.
18027         * elf/tst-initorderb2.c: New file.
18028         * elf/tst-order-a1.c: New file.
18029         * elf/tst-order-a2.c: New file.
18030         * elf/tst-order-a3.c: New file.
18031         * elf/tst-order-a4.c: New file.
18032         * elf/tst-order-b1.c: New file.
18033         * elf/tst-order-b2.c: New file.
18034         * elf/tst-order-main.c: New file.
18035         New test case by George Gensure <werkt0@gmail.com>.
18037 2010-10-01  Andreas Schwab  <schwab@redhat.com>
18039         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
18040         decoding ACE if AI_CANONIDN.
18042 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
18044         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
18046 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
18048         * version.h (RELEASE): Bump for 2.13 release.
18049         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
18051         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
18053         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
18054         MADV_NOHUGEPAGE.
18055         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
18056         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
18057         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
18058         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
18059         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
18060         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
18062         * posix/getconf.c: Update copyright year.
18063         * catgets/gencat.c: Likewise.
18064         * csu/version.c: Likewise.
18065         * debug/catchsegv.sh: Likewise.
18066         * debug/xtrace.sh: Likewise.
18067         * elf/ldconfig.c: Likewise.
18068         * elf/ldd.bash.in: Likewise.
18069         * elf/sprof.c (print_version): Likewise.
18070         * iconv/iconv_prog.c: Likewise.
18071         * iconv/iconvconfig.c: Likewise.
18072         * locale/programs/locale.c: Likewise.
18073         * locale/programs/localedef.c: Likewise.
18074         * malloc/memusage.sh: Likewise.
18075         * malloc/mtrace.pl: Likewise.
18076         * nscd/nscd.c (print_version): Likewise.
18077         * nss/getent.c: Likewise.
18079         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
18080         PF_CAIF, and PF_ALG.
18081         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
18083 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
18085         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
18086         (modules-names): Use them.
18087         (ifunc-test-modules, ifunc-pie-tests): Define.
18088         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
18089         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
18090         (test-extras): Likewise.
18091         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
18092         $(compile-command.c).
18093         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
18094         (all-built-dso): Define.
18095         (check-textrel.out, check-execstack.out): Depend on it.
18097         * configure.in: Don't override --enable-multi-arch.
18099 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
18101         [BZ #6812]
18102         * nscd/hstcache.c (tryagain): Define.
18103         (cache_addhst): Return tryagain not notfound for temporary errors.
18104         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
18105         failed.
18107 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
18109         [BZ #10563]
18110         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
18111         to make the syscall.
18112         * sysdeps/unix/sysv/linux/setgroups.c: New file.
18114         [BZ #12378]
18115         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
18116         and fall back to matching as normal character if the string ends before
18117         the matching ']' is found.  This is what POSIX requires.
18118         * posix/testfnm.c: Adjust test result.
18119         * posix/globtest.sh: Adjust test result.  Add new test.
18120         * posix/tst-fnmatch.input: Likewise.
18121         * posix/tst-fnmatch2.c: Add new test.
18123 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
18125         * elf/Makefile (check-execstack): Revert last change.  Depend on
18126         check-execstack.h.
18127         (check-execstack.h): New target.
18128         (generated): Add check-execstack.h.
18129         * elf/check-execstack.c: Include "check-execstack.h".
18130         (main): Revert last change.
18131         (handle_file): Return zero if GNU_STACK is absent and
18132         DEFAULT_STACK_PERMS doesn't include PF_X.
18134 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
18136         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
18137         in child fails because the descriptor is already closed.
18138         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
18139         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
18140         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
18142         [BZ #12397]
18143         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
18144         syscall.
18146         [BZ #10484]
18147         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
18148         temporary buffer used to handle multi lookups locally.
18149         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
18151 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
18153         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
18154         loader is ld.so.
18156 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
18158         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
18159         alignment for SSE2.
18161 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
18163         [BZ #12394]
18164         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
18165         characters.  When rounding increased number of integer digits recompute
18166         number of groups.
18167         * stdio-common/tst-grouping.c: New file.
18168         * stdio-common/Makefile: Add rules to build and run tst-grouping.
18170 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
18172         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
18173         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
18175         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
18176         void.
18177         * bits/select.h: Likewise.
18179 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
18181         * po/ja.po: Update from translation team.
18183 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
18185         [BZ #11155]
18186         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
18187         implementation just like for lxstat, fxstatat, et al.
18189 2010-12-27  Jim Meyering  <meyering@redhat.com>
18191         [BZ #12348]
18192         * posix/regexec.c (build_trtable): Return failure indication upon
18193         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
18195 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
18197         [BZ #12201]
18198         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
18199         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
18200         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
18201         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
18203         [BZ #12207]
18204         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
18206         [BZ #12204]
18207         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
18208         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
18210 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
18212         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
18213         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
18214         script has SORT_BY_INIT_PRIORITY.
18215         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
18216         NO_CTORS_DTORS_SECTIONS is defined.
18217         * elf/soinit.c: Likewise.
18218         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
18219         NO_CTORS_DTORS_SECTIONS is defined.
18220         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
18221         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
18222         * sysdeps/sh/init-first.c: Likewise.
18223         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
18225 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
18227         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
18228         always use the slow path.
18230 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
18232         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
18233         similar rule which adds the sysdep directories to the header search in
18234         order to pick up the correct platform stackinfo.h.
18235         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
18236         perform test if it is, otherwise return successfully without testing.
18237         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
18238         DEFAULT_STACK_PERMS define in stackinfo.h.
18239         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
18240         defined in stackinfo.h.
18241         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
18242         DEFAULT_STACK_PERMS defined in stackinfo.h.
18243         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
18244         * sysdeps/ia64/stackinfo.h: Likewise.
18245         * sysdeps/s390/stackinfo.h: Likewise.
18246         * sysdeps/sh/stackinfo.h: Likewise.
18247         * sysdeps/sparc/stackinfo.h: Likewise.
18248         * sysdeps/x86_64/stackinfo.h: Likewise.
18249         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
18250         PF_X for powerpc64.  Retain PF_X for powerpc32.
18252 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
18254         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
18255         accurately.
18256         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
18257         GETDENTS_64BIT_ALIGNED.
18259 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
18261         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
18263 2010-12-10  Andreas Schwab  <schwab@redhat.com>
18265         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
18266         _GNU_SOURCE.
18268         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
18269         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
18270         Remove __restrict.
18271         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
18272         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
18274 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
18276         [BZ #11655]
18277         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
18278         are initialized.
18280 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
18282         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
18284 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
18286         * po/it.po: Update from translation team.
18288 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
18290         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
18291         unused codes.
18293 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
18295         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
18297 2010-11-24  Andreas Schwab  <schwab@redhat.com>
18299         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
18300         specially.
18301         (gaih_getanswer_slice): Likewise.
18303 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
18305         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
18307 2010-05-31  Petr Baudis  <pasky@suse.cz>
18309         [BZ #11149]
18310         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
18311         silently even in the chroot mode.
18313 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
18315         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
18316         last patch a bit.  Pretty printing
18318 2010-05-31  Petr Baudis <pasky@suse.cz>
18320         [BZ #10085]
18321         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
18322         initialization of skip_initgroups_dyn.
18324 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
18326         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
18327         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
18329 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
18331         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
18333 2010-11-11  Andreas Schwab  <schwab@redhat.com>
18335         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
18336         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
18337         (tst-fnmatch-ENV): Set MALLOC_TRACE.
18338         ($(objpfx)tst-fnmatch-mem): New rule.
18339         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
18340         * posix/tst-fnmatch.c (main): Call mtrace.
18342 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
18344         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18345         Support Intel processor model 6 and model 0x2c.
18347 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
18349         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
18350           signed comparison.
18352 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
18354         [BZ #12205]
18355         * string/test-strncasecmp.c (check_result): New function.
18356         (do_one_test): Use it.
18357         (check1): New function.
18358         (test_main): Use it.
18359         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
18360         Support strcasecmp and strncasecmp.
18362 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
18364         [BZ #12194]
18365         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
18366         * sysdeps/x86_64/bits/byteswap.h: Likewise.
18368 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
18370         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
18371         IFUNC support.
18372         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
18373         memset-x86-64.
18374         * sysdeps/x86_64/multiarch/bzero.S: New file.
18375         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
18376         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
18377         * sysdeps/x86_64/multiarch/memset.S: New file.
18378         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
18379         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18380         Set bit_Prefer_SSE_for_memop for Intel processors.
18381         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
18382         Define.
18383         (index_Prefer_SSE_for_memop): Define.
18384         (HAS_PREFER_SSE_FOR_MEMOP): Define.
18386 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
18388         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
18389         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
18391 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
18393         [BZ #12191]
18394         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
18395         (__x86_64_raw_data_cache_size_half): Likewise.
18396         (__x86_64_raw_shared_cache_size): Likewise.
18397         (__x86_64_raw_shared_cache_size_half): Likewise.
18399         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
18400         (__x86_64_raw_data_cache_size_half): Likewise.
18401         (__x86_64_raw_shared_cache_size): Likewise.
18402         (__x86_64_raw_shared_cache_size_half): Likewise.
18403         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
18404         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
18405         and __x86_64_raw_shared_cache_size_half.  Round
18406         __x86_64_data_cache_size_half, __x86_64_data_cache_size
18407         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
18408         to multiple of 256 bytes.
18410 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
18412         [BZ #12167]
18413         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
18414         of inacessible symlinks.  Verify result of symlink before returning it.
18415         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
18416         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
18418 2010-10-28  Erich Ritz  <erichritz@gmail.com>
18420         * math/math.h (isinf): Fix typo in comment.
18422 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
18424         * po/da.po: Update from translation team.
18426 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
18428         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
18429         is added to the list.
18431 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
18432             Ulrich Drepper  <drepper@gmail.com>
18434         * elf/dl-object.c (_dl_new_object): Don't append the new object to
18435         the global list here.  Move code to...
18436         (_dl_add_to_namespace_list): ...here.  New function.
18437         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
18438         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
18439         * elf/dl-load.c (lose): Don't remove the element from the list.
18440         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
18441         (_dl_map_object): Likewise.
18443 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
18445         [BZ #12159]
18446         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
18447         into all bytes of SSE register.
18448         Patch by Richard Li <richardpku@gmail.com>.
18450 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
18452         [BZ #12140]
18453         * malloc/malloc.c (_int_free): Fill correct number of bytes when
18454         perturbing.
18456 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
18458         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
18459         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
18460         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
18461         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
18462         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
18463         submachine.
18464         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
18466 2010-10-22  Andreas Schwab  <schwab@redhat.com>
18468         * include/dlfcn.h (__RTLD_SECURE): Define.
18469         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
18470         mode & __RTLD_SECURE instead.
18471         (open_path): Rename preloaded parameter to secure.
18472         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
18473         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
18474         * elf/dl-deps.c (openaux): Likewise.
18475         * elf/rtld.c (struct map_args): Remove is_preloaded.
18476         (map_doit): Don't use it.
18477         (dl_main): Likewise.
18478         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
18479         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
18481 2010-09-09  Andreas Schwab  <schwab@redhat.com>
18483         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
18484         (sysd-rules-targets): Remove duplicates.
18485         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
18486         rtld-%.$o dependency.
18488 2010-10-18  Andreas Schwab  <schwab@redhat.com>
18490         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
18491         _dl_map_object do it.
18493 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
18495         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
18496         fast fma builtins, define the macros in the C99 standard.
18497         (FP_FAST_FMAF): Likewise.
18498         (FP_FAST_FMAL): Likewise.
18499         * sysdeps/x86_64/bits/mathdef.h: Likewise.
18501         * bits/mathdef.h: Update copyright year.
18502         * sysdeps/powerpc/bits/mathdef.h: Likewise.
18504 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
18506         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
18507         builtins, define the macros in the C99 standard.
18508         (FP_FAST_FMAF): Likewise.
18509         (FP_FAST_FMAL): Likewise.
18510         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
18511         multiply/add.
18512         (FP_FAST_FMAF): Likewise.
18514 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
18516         [BZ #3268]
18517         * math/libm-test.inc (fma_test): Some new testcases.
18518         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
18519         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
18520         y and infinite z.  Do multiplication by C already in long double.
18521         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
18522         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
18523         y and infinite z.  Do bitwise or of inexact bit into u.d.
18524         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
18525         * sysdeps/i386/fpu/s_fmaf.S: Removed.
18526         * sysdeps/i386/fpu/s_fma.S: Removed.
18527         * sysdeps/i386/fpu/s_fmal.S: Removed.
18529 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
18531         [BZ #3268]
18532         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
18533         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
18534         computation is not scheduled after fetestexcept.  Fix value
18535         of minimum denormal long double.
18537 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
18539         [BZ #3268]
18540         * math/libm-test.inc (fma_test): Add some more tests.
18541         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
18542         correctly.
18544 2010-10-15  Andreas Schwab  <schwab@redhat.com>
18546         * scripts/data/localplt-s390-linux-gnu.data: New file.
18547         * scripts/data/localplt-s390x-linux-gnu.data: New file.
18549 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
18551         [BZ #3268]
18552         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
18553         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
18554         instead of dbl-64.
18555         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
18556         inlines.
18557         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
18558         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
18559         if one of x and y is very large and the other is subnormal.
18560         * sysdeps/s390/fpu/s_fmaf.c: New file.
18561         * sysdeps/s390/fpu/s_fma.c: New file.
18562         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
18563         * sysdeps/powerpc/fpu/s_fma.S: New file.
18564         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
18565         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
18566         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
18568 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
18570         [BZ #3268]
18571         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
18572         fma tests.
18573         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
18574         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
18575         * sysdeps/i386/i686/multiarch/s_fma.c: Include
18576         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
18577         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
18578         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
18579         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
18581 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
18583         [BZ #12078]
18584         * posix/regcomp.c (parse_branch): One more memory leak plugged.
18585         * posix/bug-regex31.input: Add test case.
18587 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
18589         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
18590         * posix/bug-regex31.input: New file.
18592         [BZ #12078]
18593         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
18594         (parse_sub_exp): Fix last change, use postorder.
18596         * posix/bug-regex31.c: New file.
18597         * posix/Makefile: Add rules to build and run bug-regex31.
18599         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
18601         [BZ #12078]
18602         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
18604         [BZ #12108]
18605         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
18606         to have entries in sys_siglist.
18608         [BZ #12093]
18609         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
18610         be NULL.
18612 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
18614         [BZ #3268]
18615         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
18616         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
18617         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
18618         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
18619         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
18620         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
18621         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
18622         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
18623         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
18624         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
18625         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
18626         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
18627         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
18628         * math/ftestexcept.c (fetestexcept): Likewise.
18629         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
18630         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
18631         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
18632         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
18633         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
18634         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
18635         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
18637 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
18639         [BZ #12107]
18640         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
18641         newline.
18643 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
18645         * string/bug-strstr1.c: New file.
18646         * string/Makefile: Add rules to build and run bug-strstr1.
18648 2010-10-05  Eric Blake  <eblake@redhat.com>
18650         [BZ #12092]
18651         * string/str-two-way.h (two_way_long_needle): Always clear memory
18652         when skipping input due to the shift table.
18654 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
18656         [BZ #12005]
18657         * malloc/mcheck.c: Handle large requests.
18659         [BZ #12077]
18660         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
18661         for strncmp and strncasecmp.
18662         * string/stratcliff.c: Add tests for strcmp and strncmp.
18663         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
18665 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
18667         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
18668         __set_fpscr.
18670 2010-09-30  Andreas Jaeger  <aj@suse.de>
18672         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
18673         (CGROUP_SUPER_MAGIC): Define.
18674         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
18675         Handle btrfs and cgroup file systems.
18676         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
18677         Likewise.
18679 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
18681         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
18682         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
18684 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
18686         [BZ #12067]
18687         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
18688         trying to locate the ELF header.
18690 2010-09-27  Andreas Schwab  <schwab@redhat.com>
18692         [BZ #11611]
18693         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
18694         Mask out sign-bit copies when constructing f_fsid.
18696 2010-09-24  Petr Baudis <pasky@suse.cz>
18698         * debug/stack_chk_fail_local.c: Add missing licence exception.
18699         * debug/warning-nop.c: Likewise.
18701 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
18703         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
18704         implementing getdents64 using getdents syscall, set d_type if
18705         __ASSUME_GETDENTS32_D_TYPE.
18707 2010-09-16  Andreas Schwab  <schwab@redhat.com>
18709         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
18710         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
18712 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
18714         [BZ #12037]
18715         * posix/unistd.h: Undo change of feature selection for ftruncate from
18716         2010-01-11.
18718 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
18720         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
18721         detection.
18723 2010-09-20  Andreas Schwab  <schwab@redhat.com>
18725         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
18726         fanotify_mark.
18727         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
18729 2010-09-14  Andreas Schwab  <schwab@redhat.com>
18731         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
18732         variables after CHECK_SP call.
18733         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
18735 2010-09-13  Andreas Schwab  <schwab@redhat.com>
18736             Ulrich Drepper  <drepper@redhat.com>
18738         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
18739         re-relocationg ld.so.
18740         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
18741         _dl_init_paths call.
18742         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
18743         here anymore.
18745 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
18747         * resolv/res_init.c (__res_vinit): Count the default server we added.
18749 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
18750             Ulrich Drepper  <drepper@redhat.com>
18752         [BZ #11968]
18753         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
18754         (____longjmp_chk): Use %ebx for saving value across system call.
18755         Add unwind info.
18757 2010-09-06  Andreas Schwab  <schwab@redhat.com>
18759         * manual/Makefile: Don't mix pattern rules with normal rules.
18761 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
18763         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
18764         operation.
18765         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
18766         * libio/iofopncook.c (_IO_cookie_init): Likewise.
18767         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
18768         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
18769         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
18770         Likewise.
18772 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
18774         [BZ #11979]
18775         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
18776         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
18778 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
18780         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
18781         * sysdeps/x86_64/addmul_1.S: Likewise.
18782         * sysdeps/x86_64/lshift.S: Likewise.
18783         * sysdeps/x86_64/mul_1.S: Likewise.
18784         * sysdeps/x86_64/rshift.S: Likewise.
18785         * sysdeps/x86_64/sub_n.S: Likewise.
18786         * sysdeps/x86_64/submul_1.S: Likewise.
18788 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18790         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
18791         Define __sched_param instead of SCHED_* and sched_param when
18792         <bits/sched.h> is included with __need_schedparam defined.
18793         * bits/sched.h [__need_schedparam]
18794         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
18795         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
18796         (__defined_schedparam): Define to 1.
18797         (__sched_param): New structure, identical to sched_param.
18798         (__need_schedparam): Undefine.
18800 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
18802         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
18803         (epoll_create1): Declare.
18805         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
18807 2010-08-31  Andreas Schwab  <schwab@redhat.com>
18809         [BZ #7066]
18810         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
18811         shifting retval into place.
18813 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
18815         * nis/rpcsvc/nis.h: Update copyright notice.
18816         * nis/rpcsvc/nis.x: Likewise.
18817         * nis/rpcsvc/nis_callback.h: Likewise.
18818         * nis/rpcsvc/nis_callback.x: Likewise.
18819         * nis/rpcsvc/nis_object.x: Likewise.
18820         * nis/rpcsvc/nis_tags.h: Likewise.
18821         * nis/rpcsvc/yp.h: Likewise.
18822         * nis/rpcsvc/yp.x: Likewise.
18823         * nis/rpcsvc/ypupd.h: Likewise.
18824         * nis/yp_xdr.c: Likewise.
18825         * nis/ypupdate_xdr.c: Likewise.
18827         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
18828         mainly the body of pmap_getport.  Add parameters to specify timeouts.
18829         (pmap_getport): Use __libc_rpc_getport.
18830         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
18831         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
18832         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
18834 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
18836         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
18837         fanotify_mark.
18839 2010-08-27  Roland McGrath  <roland@redhat.com>
18841         * sysdeps/i386/i686/multiarch/Makefile
18842         (CFLAGS-varshift.c): New variable.
18844 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
18846         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
18847         * sysdeps/i386/i686/multiarch/varshift.c: New file.
18849         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
18851         * sysdeps/x86_64/strlen.S: Minimal code improvement.
18853 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
18855         * sysdeps/x86_64/strlen.S: Unroll the loop.
18856         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
18857         strlen-sse2 strlen-sse2-bsf.
18858         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
18859         __strlen_no_bsf if bit_Slow_BSF is set.
18860         (__strlen_sse42): Removed.
18861         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
18862         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
18864 2010-08-25  Roland McGrath  <roland@redhat.com>
18866         * sysdeps/x86_64/multiarch/varshift.S: File removed.
18867         * sysdeps/x86_64/multiarch/varshift.c: New file.
18868         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
18869         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
18870         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
18871         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
18873 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
18875         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
18876         strlen-sse2 strlen-sse2-bsf.
18877         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
18878         __strlen_sse2_bsf if bit_Slow_BSF is unset.
18879         (__strlen_sse2): Removed.
18880         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
18881         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
18882         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
18883         bit_Slow_BSF for Atom.
18884         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
18885         (index_Slow_BSF): Define.
18886         (HAS_SLOW_BSF): Define.
18888 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
18890         [BZ #10851]
18891         * resolv/res_init.c (__res_vinit): When no server address at all
18892         is given default to loopback.
18894 2010-08-24  Roland McGrath  <roland@redhat.com>
18896         * configure.in: Remove config-name.h generation.
18897         * configure: Regenerated.
18898         * config-name.in: File removed.
18899         * scripts/config-uname.sh: New file.
18900         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
18901         ($(objdir)config-name.h): New target.
18903         * sunrpc/rpc_parse.h: Avoid nested comment.
18905 2010-08-24  Richard Henderson  <rth@redhat.com>
18906             Ulrich Drepper  <drepper@redhat.com>
18907             H.J. Lu  <hongjiu.lu@intel.com>
18909         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
18910         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
18911         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
18912         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
18913         _mm_alignr_epi8 with _mm_loadu_si128.
18914         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
18915         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
18916         (__m128i_shift_right): Removed.
18917         * sysdeps/i386/i686/multiarch/varshift.h: New file.
18918         * sysdeps/i386/i686/multiarch/varshift.S: New file.
18919         * sysdeps/x86_64/multiarch/varshift.h: New file.
18920         * sysdeps/x86_64/multiarch/varshift.S: New file.
18922 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
18924         * configure.in: Move assembler checks to before sysdep dir checking.
18926 2010-08-20  Petr Baudis  <pasky@suse.cz>
18928         * LICENSES: Sync the sunrpc license.
18930 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
18932         * sunrpc/auth_des.c: Update copyright notice once again.
18933         * sunrpc/auth_none.c: Likewise.
18934         * sunrpc/auth_unix.c: Likewise.
18935         * sunrpc/authdes_prot.c: Likewise.
18936         * sunrpc/authuxprot.c: Likewise.
18937         * sunrpc/bindrsvprt.c: Likewise.
18938         * sunrpc/clnt_gen.c: Likewise.
18939         * sunrpc/clnt_perr.c: Likewise.
18940         * sunrpc/clnt_raw.c: Likewise.
18941         * sunrpc/clnt_simp.c: Likewise.
18942         * sunrpc/clnt_tcp.c: Likewise.
18943         * sunrpc/clnt_udp.c: Likewise.
18944         * sunrpc/clnt_unix.c: Likewise.
18945         * sunrpc/des_crypt.c: Likewise.
18946         * sunrpc/des_soft.c: Likewise.
18947         * sunrpc/get_myaddr.c: Likewise.
18948         * sunrpc/getrpcport.c: Likewise.
18949         * sunrpc/key_call.c: Likewise.
18950         * sunrpc/key_prot.c: Likewise.
18951         * sunrpc/openchild.c: Likewise.
18952         * sunrpc/pm_getmaps.c: Likewise.
18953         * sunrpc/pm_getport.c: Likewise.
18954         * sunrpc/pmap_clnt.c: Likewise.
18955         * sunrpc/pmap_prot.c: Likewise.
18956         * sunrpc/pmap_prot2.c: Likewise.
18957         * sunrpc/pmap_rmt.c: Likewise.
18958         * sunrpc/rpc/auth.h: Likewise.
18959         * sunrpc/rpc/auth_unix.h: Likewise.
18960         * sunrpc/rpc/clnt.h: Likewise.
18961         * sunrpc/rpc/des_crypt.h: Likewise.
18962         * sunrpc/rpc/key_prot.h: Likewise.
18963         * sunrpc/rpc/netdb.h: Likewise.
18964         * sunrpc/rpc/pmap_clnt.h: Likewise.
18965         * sunrpc/rpc/pmap_prot.h: Likewise.
18966         * sunrpc/rpc/pmap_rmt.h: Likewise.
18967         * sunrpc/rpc/rpc.h: Likewise.
18968         * sunrpc/rpc/rpc_des.h: Likewise.
18969         * sunrpc/rpc/rpc_msg.h: Likewise.
18970         * sunrpc/rpc/svc.h: Likewise.
18971         * sunrpc/rpc/svc_auth.h: Likewise.
18972         * sunrpc/rpc/types.h: Likewise.
18973         * sunrpc/rpc/xdr.h: Likewise.
18974         * sunrpc/rpc_clntout.c: Likewise.
18975         * sunrpc/rpc_cmsg.c: Likewise.
18976         * sunrpc/rpc_common.c: Likewise.
18977         * sunrpc/rpc_cout.c: Likewise.
18978         * sunrpc/rpc_dtable.c: Likewise.
18979         * sunrpc/rpc_hout.c: Likewise.
18980         * sunrpc/rpc_main.c: Likewise.
18981         * sunrpc/rpc_parse.c: Likewise.
18982         * sunrpc/rpc_parse.h: Likewise.
18983         * sunrpc/rpc_prot.c: Likewise.
18984         * sunrpc/rpc_sample.c: Likewise.
18985         * sunrpc/rpc_scan.c: Likewise.
18986         * sunrpc/rpc_scan.h: Likewise.
18987         * sunrpc/rpc_svcout.c: Likewise.
18988         * sunrpc/rpc_tblout.c: Likewise.
18989         * sunrpc/rpc_util.c: Likewise.
18990         * sunrpc/rpc_util.h: Likewise.
18991         * sunrpc/rpcinfo.c: Likewise.
18992         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
18993         * sunrpc/rpcsvc/key_prot.x: Likewise.
18994         * sunrpc/rpcsvc/klm_prot.x: Likewise.
18995         * sunrpc/rpcsvc/mount.x: Likewise.
18996         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
18997         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
18998         * sunrpc/rpcsvc/rex.x: Likewise.
18999         * sunrpc/rpcsvc/rstat.x: Likewise.
19000         * sunrpc/rpcsvc/rusers.x: Likewise.
19001         * sunrpc/rpcsvc/sm_inter.x: Likewise.
19002         * sunrpc/rpcsvc/spray.x: Likewise.
19003         * sunrpc/rpcsvc/yppasswd.x: Likewise.
19004         * sunrpc/rtime.c: Likewise.
19005         * sunrpc/svc.c: Likewise.
19006         * sunrpc/svc_auth.c: Likewise.
19007         * sunrpc/svc_authux.c: Likewise.
19008         * sunrpc/svc_raw.c: Likewise.
19009         * sunrpc/svc_run.c: Likewise.
19010         * sunrpc/svc_simple.c: Likewise.
19011         * sunrpc/svc_tcp.c: Likewise.
19012         * sunrpc/svc_udp.c: Likewise.
19013         * sunrpc/svc_unix.c: Likewise.
19014         * sunrpc/svcauth_des.c: Likewise.
19015         * sunrpc/xcrypt.c: Likewise.
19016         * sunrpc/xdr.c: Likewise.
19017         * sunrpc/xdr_array.c: Likewise.
19018         * sunrpc/xdr_float.c: Likewise.
19019         * sunrpc/xdr_mem.c: Likewise.
19020         * sunrpc/xdr_rec.c: Likewise.
19021         * sunrpc/xdr_ref.c: Likewise.
19022         * sunrpc/xdr_sizeof.c: Likewise.
19023         * sunrpc/xdr_stdio.c: Likewise.
19025         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
19026         handling.
19028 2010-08-19  Andreas Schwab  <schwab@redhat.com>
19030         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
19032 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
19034         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
19035         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
19036         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
19037         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
19038         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
19039         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
19040         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
19041         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
19042         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
19043         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
19044         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
19045         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
19046         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
19047         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
19049 2010-07-26  Anton Blanchard  <anton@samba.org>
19051         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
19052         * malloc/arena.c (heap_trim): Likewise.
19054 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
19056         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
19057         here.  Not...
19058         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
19059         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
19061 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
19063         * sysdeps/i386/elf/Makefile: New file.
19065 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
19067         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
19068         from fanotify_init.
19069         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
19070         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
19072 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
19074         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
19075         of strncasecmp_l.
19076         * sysdeps/multiarch/strcmp.S: Likewise.
19078 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
19080         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
19081         strncase_l-nonascii.
19082         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
19083         Add strncase_l-ssse3.
19084         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
19085         * sysdeps/x86_64/strcmp.S: Likewise.
19086         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
19087         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
19088         * sysdeps/x86_64/strncase.S: New file.
19089         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
19090         * sysdeps/x86_64/strncase_l.S: New file.
19091         * string/Makefile (strop-tests): Add strncasecmp.
19092         * string/test-strncasecmp.c: New file.
19094         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
19095         warning.
19097         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
19098         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
19100 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
19102         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
19104 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
19106         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
19107         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
19108         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
19110 2010-05-01  Alan Modra  <amodra@gmail.com>
19112         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
19113         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
19114         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
19115         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
19116         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
19117         tidying.  Don't tail-call __sigjmp_save for static lib.
19118         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
19119         save location.
19120         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
19121         (CALL_MCOUNT): Add eh info, and nop after bl.
19122         (TAIL_CALL_SYSCALL_ERROR): New macro.
19123         (PSEUDO_RET): Use it.
19124         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
19125         Correct save location of integer regs and cr.
19126         (_dl_profile_resolve): Correct cr save location.  Delete nops
19127         after bl when SHARED.  Reduce cfi size a little by better
19128         placement of cfi directives.
19129         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
19130         make a stack frame.  Instead use parm save area as a temp.
19131         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
19132         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
19133         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
19134         Don't make a stack frame for parent, use parm save area.
19135         Increase child stack frame to 112 bytes.  Don't save unused reg,
19136         and adjust reg usage.  Set up cfi on error recovery and
19137         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
19138         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
19139         (__makecontext): Add dummy nop after jump to exit.
19140         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
19141         Use correct parm save area and cr save, reduce stack frame.
19142         Correct cfi for possible PSEUDO_RET frame setup.
19143         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
19144         Branch to local label emitted by PSEUDO_RET rather than
19145         __syscall_error.
19147 2010-08-12  Andreas Schwab  <schwab@redhat.com>
19149         [BZ #11904]
19150         * locale/programs/locale.c (print_assignment): New function.
19151         (show_locale_vars): Use it.
19153 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
19155         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
19156         field.
19157         (struct statfs64): Likewise.
19158         (_STATFS_F_FLAGS): Define.
19159         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
19160         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
19161         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
19162         (ST_VALID): Define locally.
19163         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
19164         __statvfs_getflags, use the provided value.
19165         * sysdeps/unix/sysv/linux/kernel-features.h: Define
19166         __ASSUME_STATFS_F_FLAGS.
19168         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
19170         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
19171         Add sys/fanotify.h.
19172         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
19173         fanotify_mask for GLIBC_2.13.
19174         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
19175         fanotify_init and fanotify_mark.
19176         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
19177         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
19179         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
19180         Add prlimit.
19181         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
19182         prlimit64 for GLIBC_2.13.
19183         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
19184         prlimit64.
19185         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
19186         syscall.
19187         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
19188         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
19189         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
19190         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
19191         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
19192         add prlimit alias.
19193         * sysdeps/unix/sysv/linux/prlimit.c: New file.
19195         [BZ #11903]
19196         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
19197         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
19199         * nss/Makefile: Add rules to build and run tst-nss-test1.
19200         * shlib-versions: Add entry for libnss_test1.
19201         * nss/nss_test1.c: New file.
19202         * nss/tst-nss-test1.c: New file.
19204         * nss/nsswitch.c (__nss_database_custom): Define new variable.
19205         (__nss_configure_lookup): Set appropriate entry in
19206         __nss_configure_lookup to true.
19207         * nss/nsswitch.h: Define enum with indeces of databases in
19208         databases and __nss_database_custom arrays.  Declare
19209         __nss_database_custom.
19210         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
19211         to avoid using nscd when custom rules are installed.
19212         * nss/getXXbyYY_r.c: Likewise.
19213         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
19215         * nss/nss_files/files-parse.c: Whitespace fixes.
19217 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
19219         [BZ #11883]
19220         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
19221         * posix/fnmatch_loop.c: Likewise.
19223 2010-07-17  Andi Kleen  <ak@linux.intel.com>
19225         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
19226         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
19227         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
19228         * Versions.def [GLIBC_2.13]: Add.
19230 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
19232         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
19233         Also fail if tpwd after pwuid call is NULL.
19235 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19237         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
19238         when converting to ms.
19240 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19242         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
19243         EOPNOTSUPP errors with ENOTTY.
19244         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
19245         EOPNOTSUPP errors with ENOTTY.
19247 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
19249         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
19250         Add strcasecmp_l-ssse3.
19251         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
19252         strcasecmp.
19253         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
19254         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
19255         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
19257 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
19259         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
19261         * string/Makefile (strop-tests): Add strcasecmp.
19262         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
19263         strcasecmp_l-nonascii.
19264         (gen-as-const-headers): Add locale-defines.sym.
19265         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
19266         * sysdeps/x86_64/strcasecmp.S: New file.
19267         * sysdeps/x86_64/strcasecmp_l.S: New file.
19268         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
19269         * sysdeps/x86_64/locale-defines.sym: New file.
19270         * string/test-strcasecmp.c: New file.
19272         * string/test-strcasestr.c: Test both ends of the range of characters.
19273         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
19275 2010-07-29  Roland McGrath  <roland@redhat.com>
19277         [BZ #11856]
19278         * manual/locale.texi (Yes-or-No Questions): Fix example code.
19280 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
19282         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
19283         for ld.so.
19285 2010-07-27  Andreas Schwab  <schwab@redhat.com>
19287         * manual/memory.texi (Malloc Tunable Parameters): Document
19288         M_PERTURB.
19290 2010-07-26  Roland McGrath  <roland@redhat.com>
19292         [BZ #11840]
19293         * configure.in (-fgnu89-inline check): Set and substitute
19294         gnu89_inline, not libc_cv_gnu89_inline.
19295         * configure: Regenerated.
19296         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
19298 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
19300         * string/test-strnlen.c: New file.
19301         * string/Makefile (strop-tests): Add strnlen.
19302         * string/tester.c (test_strnlen): Add a few more test cases.
19303         * string/tst-strlen.c: Better error reporting.
19305         * sysdeps/x86_64/strnlen.S: New file.
19307 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
19309         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
19310         lower-latency instructions.
19312 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
19314         * string/test-strcasestr.c: New file.
19315         * string/test-strstr.c: New file.
19316         * string/Makefile (strop-tests): Add strstr and strcasestr.
19317         * string/str-two-way.h: Don't undefine MAX.
19318         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
19320 2010-07-21  Andreas Schwab  <schwab@redhat.com>
19322         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
19323         strcasestr-nonascii.
19324         (CFLAGS-strcasestr-nonascii.c): Define.
19325         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
19326         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
19327         Remove unused attribute.
19329 2010-07-20  Roland McGrath  <roland@redhat.com>
19331         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
19332         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
19333         ld.so.cache was broken.  With it, there is no way to disable dsocaps
19334         like LD_HWCAP_MASK can disable hwcaps.
19336 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
19338         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
19340 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
19342         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
19343         call in strcasestr.
19344         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
19345         __strcasestr_sse42_nonascii.
19346         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
19347         strcasestr-nonascii.c.
19348         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
19350 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
19352         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
19353         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
19354         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
19355         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
19357 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
19359         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
19360         fcntl.
19362 2010-07-06  Andreas Schwab  <schwab@redhat.com>
19364         [BZ #11577]
19365         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
19366         dl_signal_cerror.
19368 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
19370         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
19371         _PC_PIPE_BUF using F_GETPIPE_SZ.
19373 2010-07-05  Roland McGrath  <roland@redhat.com>
19375         * manual/arith.texi (Rounding Functions): Fix rint description
19376         implicit in round description.
19378 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
19380         * elf/Makefile: Fix linking for a few tests to make recent linker
19381         happy.
19383 2010-06-30  Andreas Schwab  <schwab@redhat.com>
19385         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
19386         $(common-objpfx)libc_nonshared.a.
19388 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
19390         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
19391         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
19392         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
19393         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
19394         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
19395         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
19396         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
19397         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
19398         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
19399         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
19400         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
19401         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
19402         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
19403         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
19404         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
19405         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
19406         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
19407         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
19408         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
19409         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
19410         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
19411         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
19412         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
19413         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
19414         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
19415         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
19416         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
19417         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
19418         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
19419         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
19420         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
19421         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
19422         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
19423         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
19424         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
19425         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
19426         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
19427         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
19428         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
19429         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
19430         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
19431         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
19432         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
19433         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
19434         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
19435         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
19436         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
19437         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
19439 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
19441         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
19442         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
19443         * string/memmove.c (memmove): Renamed to ...
19444         (MEMMOVE): ...this.  Default to memmove.
19445         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
19446         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
19447         (END_CHK): Define.
19448         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
19449         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
19450         mempcpy-ssse3-back memmove-ssse3-back.
19451         * sysdeps/x86_64/multiarch/bcopy.S: New file .
19452         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
19453         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
19454         * sysdeps/x86_64/multiarch/memcpy.S: New file.
19455         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
19456         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
19457         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
19458         * sysdeps/x86_64/multiarch/memmove.c: New file.
19459         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
19460         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
19461         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
19462         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
19463         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
19464         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
19465         Define.
19466         (index_Fast_Copy_Backward): Define.
19467         (HAS_ARCH_FEATURE): Define.
19468         (HAS_FAST_REP_STRING): Define.
19469         (HAS_FAST_COPY_BACKWARD): Define.
19471 2010-06-21  Andreas Schwab  <schwab@redhat.com>
19473         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
19474         Restore proper fallback handling.
19476 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
19478         [BZ #11701]
19479         * posix/group_member.c (__group_member): Correct checking loop.
19481         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
19482         OOM in getpwuid_r correctly.  Return error number when the caller
19483         should return, otherwise -1.
19484         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
19485         call returning > 0 value.
19486         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
19488 2010-06-07  Andreas Schwab  <schwab@redhat.com>
19490         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
19491         libc_nonshared.a from targets in modules-names.
19493 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
19495         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
19496         requires it.
19498 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
19500         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
19501         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
19502         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
19503         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
19505 2010-06-02  Andreas Schwab  <schwab@redhat.com>
19507         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
19509 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
19511         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
19512         and F_GETPIPE_SZ.
19513         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
19514         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
19515         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
19516         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
19517         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
19518         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
19520 2010-06-14  Roland McGrath  <roland@redhat.com>
19522         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
19524 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
19526         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
19527         __REDIRECT followed by __THROW.
19528         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
19529         * posix/getopt.h (getopt): Likewise.
19531 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
19533         * hurd/lookup-at.c (__file_name_lookup_at): Accept
19534         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
19535         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
19536         in AT_FLAGS.
19537         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
19538         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
19540 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
19542         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
19544 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
19546         [BZ #11640]
19547         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19548         Properly check family and model.
19550 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
19552         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
19554 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
19556         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
19558 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
19560         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
19561         symbol reference.
19563 2010-05-19  Andreas Schwab  <schwab@redhat.com>
19565         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
19566         symbol reference.
19568 2010-05-21  Andreas Schwab  <schwab@redhat.com>
19570         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
19571         and internal_recvmmsg.
19572         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
19573         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
19574         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
19575         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
19577         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
19578         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
19579         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
19581 2010-05-20  Andreas Schwab  <schwab@redhat.com>
19583         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
19585 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
19587         POWER7 optimizations.
19588         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
19589         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
19591 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
19593         * version.h: Update for 2.13 development version.
19595 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
19597         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
19598         exceptions.  Return 0.
19600 2010-05-07  Roland McGrath  <roland@redhat.com>
19602         * elf/ldconfig.c (main): Add a const.
19604 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
19606         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
19607         (args_options): Add no-idn option.
19608         (ahosts_keys_int): Add idn_flags to ai_flags.
19609         (parse_option): Handle 'i' option to clear idn_flags.
19611         * malloc/malloc.c (_int_free): Possible race in the most recently
19612         added check.  Only act on the data if no current modification
19613         happened.
19615 See ChangeLog.17 for earlier changes.