Remove mips VERSYMIDX macro definition
[glibc.git] / ChangeLog
blob4374c71f229a3505e2d34178fee9968ebb9c716f
1 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
3         * elf/dl-runtime.c (VERSYMIDX): Removed.
4         * elf/dl-version.c (VERSYMIDX): Likewise.
5         * elf/do-rel.h (VERSYMIDX): Likewise.
6         (VALIDX): Likewise.
7         * elf/dynamic-link.h (VERSYMIDX): Likewise.
8         * elf/rtld.c (VALIDX): Likewise.
9         (ADDRIDX): Likewise.
10         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
11         (VALIDX): Likewise.
12         (ADDRIDX): Likewise.
13         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
14         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
15         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
17 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
19         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
21 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
23         [BZ #11438]
24         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
25         to global scope.
26         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
27         addresses are in the same scope as 192.0.2/24.
28         * posix/gai.conf: Document new scope table defaults.
30 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
32         [BZ #5298]
33         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
34         for ftell.  Compute offsets from write pointers instead.
35         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
37 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
39         [BZ #14543]
40         * libio/Makefile (tests): New test case tst-fseek.
41         * libio/tst-fseek.c: New test case to verify that fseek/ftell
42         combination works in wide mode.
43         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
44         state when the external buffer state changes.
46 2012-09-27  David S. Miller  <davem@davemloft.net>
48         [BZ #14376]
49         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
50         pass reloc->r_addend in as the 'high' argument to
51         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
53         * sysdeps/sparc/fpu/libm-test-ulps: Update.
55 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
57         * rt/tst-aio2.c: Include <pthread.h>.
58         * rt/tst-aio3.c: Likewise.
60 2012-09-27  Steve Ellcey  <sellcey@mips.com>
62         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
64 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
66         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
67         contents on [SHARED].
69 2012-09-26  Marek Polacek  <polacek@redhat.com>
71         [BZ #14530]
72         [BZ #13741]
73         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
74         for C++ and GCC <4.3 as well as for non GCC compilers.
76 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
78         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
80 2012-09-25  Roland McGrath  <roland@hack.frob.com>
82         * Makefile.in (all, install): Declare with .PHONY.
83         Reported by Michael Hope <michael.hope@linaro.org>.
85 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
87         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
88         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
89         system header.
90         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
91         Likewise.
92         (sydep_routines): Add the new and the internal functions.
93         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
94         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
95         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
96         (GLIBC_2.17): Add the new function.
97         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
98         (GLIBC_2.17): Likewise.
99         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
100         (GLIBC_2.17): Likewise.
101         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
102         (GLIBC_2.17): Likewise.
103         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
105 2012-09-25  Alan Modra  <amodra@gmail.com>
107         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
108         Add release barrier before setting once_control to say
109         initialisation is done.  Add hints on lwarx.  Use macro in
110         place of isync.
111         (clear_once_control): Add release barrier.
113 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
115         [BZ #13629]
116         * math/s_clog.c (__clog): Handle more values close to |z| = 1
117         specially.
118         * math/s_clog10.c (__clog10): Likewise.
119         * math/s_clog10f.c (__clog10f): Likewise.
120         * math/s_clog10l.c (__clog10l): Likewise.
121         * math/s_clogf.c (__clogf): Likewise.
122         * math/s_clogl.c (__clogl): Likewise.
123         * math/Makefile (libm-calls): Add x2y2m1.
124         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
125         (__x2y2m1): Likewise.
126         (__x2y2m1l): Likewise.
127         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
128         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
129         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
130         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
131         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
132         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
133         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
134         * sysdeps/i386/fpu/libm-test-ulps: Update.
135         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
137         [BZ #14621]
138         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
139         int as type of variable DEPTH.
140         (glob): Use size_t instead of int as type of variables NEWCOUNT
141         and OLD_PATHC.
143 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
145         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
146         Add s_sincosf-sse2.
147         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
148         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
149         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
150         macros for using routine as __sincosf_ia32.
151         Use macro for function declaration and weak_alias.
152         * sysdeps/i386/fpu/libm-test-ulps: Update.
154         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
155         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
157         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
158         subnormal argument.
159         * math/s_cexpf.c (__cexpf): Likewise.
160         * math/s_csinf.c (__csinf): Likewise.
161         * math/s_csinhf.c (__csinhf): Likewise.
162         * math/s_ctanf.c (__ctanf): Likewise.
163         * math/s_ctanhf.c (__ctanhf): Likewise.
164         * math/s_ccosh.c (__ccoshf): Likewise.
165         * math/s_cexp.c (__cexpl): Likewise.
166         * math/s_csin.c (__csin): Likewise.
167         * math/s_csinh.c (__csinh): Likewise.
168         * math/s_ctan.c (__ctan): Likewise.
169         * math/s_ctanh.c (ctanh): Likewise.
170         * math/s_ccoshl.c (__ccoshl): Likewise.
171         * math/s_cexpl.c (__cexpl): Likewise.
172         * math/s_csinl.c (__csinl): Likewise.
173         * math/s_csinhl.c (__csinhl): Likewise.
174         * math/s_ctanl.c (__ctanl): Likewise.
175         * math/s_ctanhl.c (__ctanhl): Likewise.
177 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
179         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
180         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
181         (_IO_off_t): Define to __off_t, not _G_off_t.
182         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
183         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
184         (_IO_wint_t): Define to wint_t, not _G_wint_t.
185         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
186         type of __dummy and __dummy2 fields.
187         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
188         (_G_ssize_t): Likewise.
189         (_G_off_t): Likewise.
190         (_G_pid_t): Likewise.
191         (_G_uid_t): Likewise.
192         (_G_wchar_t): Likewise.
193         (_G_wint_t): Likewise.
194         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
195         (_G_ssize_t): Likewise.
196         (_G_off_t): Likewise.
197         (_G_pid_t): Likewise.
198         (_G_uid_t): Likewise.
199         (_G_wchar_t): Likewise.
200         (_G_wint_t): Likewise.
201         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
202         (_G_ssize_t): Likewise.
203         (_G_off_t): Likewise.
204         (_G_pid_t): Likewise.
205         (_G_uid_t): Likewise.
206         (_G_wchar_t): Likewise.
207         (_G_wint_t): Likewise.
209 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
211         * malloc/arena.c: Include malloc-sysdep.h.
212         (shrink_heap): Use check_may_shrink_heap to decide if madvise
213         is sufficient to shrink the heap or an unmap is needed.
214         * sysdeps/generic/malloc-sysdep.h: New file.  Define
215         new function check_may_shrink_heap.
216         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
217         new function check_may_shrink_heap.
219 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
221         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
222         comments.
224 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
226         * catgets/test-gencat.sh: Add "set -e".
227         * elf/tst-pathopt.sh: Likewise.
228         * grp/tst_fgetgrent.sh: Likewise.
229         * iconvdata/run-iconv-test.sh: Likewise.
230         * intl/tst-gettext.sh: Likewise.
231         * intl/tst-gettext2.sh: Likewise.
232         * intl/tst-gettext4.sh: Likewise.
233         * intl/tst-gettext6.sh: Likewise.
234         * intl/tst-translit.sh: Likewise.
235         * io/ftwtest-sh: Likewise.
236         * libio/test-freopen.sh: Likewise.
237         * malloc/tst-mtrace.sh: Likewise.
238         * posix/globtest.sh: Likewise.
239         * posix/tst-getconf.sh: Likewise.
240         * posix/wordexp-tst.sh: Likewise.
241         * stdio-common/tst-printf.sh: Likewise.
242         * stdio-common/tst-unbputc.sh: Likewise.
243         * stdlib/tst-fmtmsg.sh: Likewise.
244         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
245         * catgets/Makefile: Do not specify -e option when running
246         testsuite shell scripts.
247         * elf/Makefile: Likewise.
248         * grp/Makefile: Likewise.
249         * iconvdata/Makefile: Likewise.
250         * intl/Makefile: Likewise.
251         * io/Makefile: Likewise.
252         * libio/Makefile: Likewise.
253         * malloc/Makefile: Likewise.
254         * posix/Makefile: Likewise.
255         * stdio-common/Makefile: Likewise.
256         * stdlib/Makefile: Likewise.
257         * sysdeps/x86_64/Makefile: Likewise.
259         * io/ftwtest-sh: Add copyright header.
260         * posix/globtest.sh: Likewise.
261         * posix/tst-getconf.sh: Likewise.
262         * posix/wordexp-tst.sh: Likewise.
263         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
265 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
267         [BZ #13679]
268         * Makeconfig (+link): Defined as $(+link-static) if
269         $(build-shared) isn't yes.
270         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
271         isn't yes.
272         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
274         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
276         [BZ #14562]
277         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
278         new chunk size with MALLOC_ALIGN_MASK.
280 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
282         [BZ #5044]
283         * stdio-common/printf_fphex.c: Include <stdbool.h> and
284         <rounding-mode.h>.
285         (__printf_fphex): Determine rounding using get_rounding_mode and
286         round_away.
287         * stdio-common/tst-printf-round.c (struct hex_test): New
288         structure.
289         (hex_tests): New variable.
290         (test_hex_in_one_mode): New function.
291         (do_test): Also run tests for hex float output.
293 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
295         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
296         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
297         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
298         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
299         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
300         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
301         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
302         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
304 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
306         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
307         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
308         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
309         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
311 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
313         [BZ #14579]
314         * elf/rtld.c (dl_main): Limit the check for self loading to normal
315         mode only.
316         * elf/tst-rtld-load-self.sh: New test.
317         * elf/Makefile: Run it.
319 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
321         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
322         (tst-writev-ENV): Remove.
323         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
325 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
327         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
329 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
331         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
332         unconditional.
333         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
334         Likewise.
335         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
336         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
337         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
338         Likewise.
340 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
342         [BZ #14587]
343         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
344         * config.make.in (have-cpp-asm-debuginfo): Removed.
345         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
346         * configure: Regenerated.
348 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
350         [BZ #5044]
351         * stdio-common/printf_fp.c: Include <stdbool.h> and
352         <rounding-mode.h>.
353         (___printf_fp): Determine rounding using get_rounding_mode and
354         round_away.
355         * stdio-common/tst-printf-round.c: New file.
356         * stdio-common/Makefile (tests): Add tst-printf-round.
357         (link-libm): New variable.
358         ($(objpfx)tst-printf-round): Depend in $(link-libm).
360 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
362         [BZ #14576]
363         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
364         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
365         Likewise.
366         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
367         Likewise.
369 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
371         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
372         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
373         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
374         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
376 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
378         [BZ #14518]
379         * include/rounding-mode.h: New file.
380         * sysdeps/generic/get-rounding-mode.h: Likewise.
381         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
382         * stdlib/strtod_l.c: Include <rounding-mode.h>.
383         (MAX_VALUE): New macro.
384         (MIN_VALUE): Likewise.
385         (overflow_value): New function.
386         (underflow_value): Likewise.
387         (round_and_return): Use overflow_value and underflow_value to
388         determine return values in overflow and underflow cases.  Use
389         round_away to determine rounding depending on rounding mode.
390         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
391         determine return values in overflow and underflow cases.
392         * stdlib/tst-strtod-round.c: Include <fenv.h>.
393         (struct test_results): New structure.
394         (struct test): Use struct test_results to store expected results
395         for all rounding modes.
396         (TEST): Include expected results for all rounding modes.
397         (test_in_one_mode): New function.
398         (do_test): Use test_in_one_mode to compute and check results.
399         Check results for all rounding modes.
400         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
401         $(link-libm).
403 2012-12-09  Allan McRae  <allan@archlinux.org>
405         * sysdeps/i386/fpu/libm-test-ulps: Update
407 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
409         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
410         (_G_int32_t): Likewise.
411         (_G_uint16_t): Likewise.
412         (_G_uint32_t): Likewise.
413         (_G_HAVE_BOOL): Likewise.
414         (_G_HAVE_ATEXIT): Likewise.
415         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
416         (_G_HAVE_IO_FILE_OPEN): Likewise.
417         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
418         (_G_int32_t): Likewise.
419         (_G_uint16_t): Likewise.
420         (_G_uint32_t): Likewise.
421         (_G_HAVE_BOOL): Likewise.
422         (_G_HAVE_ATEXIT): Likewise.
423         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
424         (_G_HAVE_IO_FILE_OPEN): Likewise.
425         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
426         (_G_int32_t): Likewise.
427         (_G_uint16_t): Likewise.
428         (_G_uint32_t): Likewise.
429         (_G_HAVE_BOOL): Likewise.
430         (_G_HAVE_ATEXIT): Likewise.
431         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
432         (_G_HAVE_IO_FILE_OPEN): Likewise.
434 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
436         * csu/libc-tls.c: Update copyright years.
438 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
440         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
441         [!_G_USING_THUNKS]: Remove conditional code.
442         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
443         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
445         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
446         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
447         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
448         (_G_VTABLE_LABEL_PREFIX): Likewise.
449         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
450         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
451         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
452         (_G_VTABLE_LABEL_PREFIX): Likewise.
453         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
454         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
455         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
456         (_G_VTABLE_LABEL_PREFIX): Likewise.
457         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
459 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
461         * libio/Makefile: Include ../Makeconfig before tests.
462         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
463         only if $(build-shared) is yes.
465         * iconv/gconv_db.c: Update copyright years.
467 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
469         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
470         unwind info if defined PIC. Fix special cases description.
471         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
473         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
474         DP_HI_MASK entry.
475         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
477 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
479         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
481         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
482         is NULL.
484         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
485         (LDLIBS-tst-chk4): This.
486         (LDFLAGS-tst-chk5): Renamed to ...
487         (LDLIBS-tst-chk5): This.
488         (LDFLAGS-tst-chk6): Renamed to ...
489         (LDLIBS-tst-chk6): This.
490         (LDFLAGS-tst-lfschk4): Renamed to ...
491         (LDLIBS-tst-lfschk4): This.
492         (LDFLAGS-tst-lfschk5): Renamed to ...
493         (LDLIBS-tst-lfschk5): This.
494         (LDFLAGS-tst-lfschk6): Renamed to ...
495         (LDLIBS-tst-lfschk6): This.
497         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
498         on $(common-objpfx)soversions.mk.
500 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
502         [BZ #10014]
503         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
504         example host name.
506 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
508         * malloc/arena.c (arena_get_retry): New function that gets
509         another arena for the caller to try its request on.
510         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
511         current arena cannot fulfill the request.
512         (__libc_memalign): Likewise.
513         (__libc_memalign): Likewise.
514         (__libc_pvalloc): Likewise.
515         (__libc_calloc): Likewise.
517 2012-09-05  John Tobey  <john.tobey@gmail.com>
519         [BZ #13542]
520         * manual/arith.texi (Operations on Complex): Fix description
521         of carg branch cut.
523 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
525         [BZ #10014]
526         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
527         host name.
529         [BZ #10038]
530         * manual/memory.texi (Memory): Make order of menu items match
531         order of sections.
533 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
535         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
536         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
537         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
539 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
541         * csu/libc-tls.c (static_dtv): Renamed to ...
542         (_dl_static_dtv): This.  Make it global.
543         (_dl_initial_dtv): Removed.
544         (__libc_setup_tls): Updated.
545         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
546         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
547         DL_INITIAL_DTV.
549 2012-09-06  Petr Machata  <pmachata@redhat.com>
551         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
552         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
553         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
554         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
556 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
558         [BZ #14545]
559         * csu/libc-tls.c (_dl_initial_dtv): New variable.
560         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
561         freeing dtv[-1].
563 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
565         [BZ #14544]
566         * Makeconfig (link-static-before-libc): Replace $(+prector)
567         with $(+prectorT).
568         (link-static-after-libc): Replace $(+postctor) with
569         $(+postctorT).
570         (link-bounded): Replace $(+prector)/$(+postctor) with
571         $(+prectorT)/$(+postctorT).
572         (+prectorT): New macro.
573         (+postctorT): Likewise.
575 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
577         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
578         (round_str): Handle values above the maximum for IBM long double
579         as inexact.
580         * stdlib/tst-strtod-round.c (tests): Regenerated.
582 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
584         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
585         assembler flag.
586         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
587         zarch_nohighgprs around the zarch optimized routines.
588         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
589         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
590         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
591         for zarch.
593 2012-09-05  David S. Miller  <davem@davemloft.net>
595         * sysdeps/sparc/fpu/libm-test-ulps: Update.
597         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
598         HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
599         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
600         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
601         entries.
603 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
605         * malloc/arena.c: Fold copyright years.
606         * malloc/mcheck.c, malloc/memusage.c: Likewise.
608 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
610         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
612 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
614         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
616 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
618         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
619         change internal state upon failure.
621 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
623         * malloc/mcheck.c (mcheck_check_all): Fix typo.
624         * malloc/memusage.c (mmap): Likewise.
625         (mmap64, mremap): Likewise.  Adjust name in comment.
627 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
629         * libio/fileops.c: Fix typos in comments.
630         * libio/oldfileops.c: Likewise.
631         * libio/wfileops.c: Likewise.
633 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
635         [BZ #1349]
636         * malloc/Makefile (tests): Add tst-malloc-usable test case.
637         (tst-malloc-usable-ENV): Set environment for test case.
638         * malloc/hooks.c (malloc_check_get_size): New function to get
639         requested size.
640         * malloc/malloc.c (musable): Use malloc_check_get_size.
641         * malloc/tst-malloc-usable.c: New test case.
643 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
645         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
647 2012-09-05  Allan McRae  <allan@archlinux.org>
649         [BZ #13966]
650         * configure.in (CXX_SYSINCLUDES): Use compiler output to
651         determine header location.
652         * configure: Regenerated.
654 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
656         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
657         float format.
658         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
659         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
660         format.
661         (test): Regenerate.
663 2012-09-04  David S. Miller  <davem@davemloft.net>
665         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
666         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
667         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
669 2012-09-04  Florian Weimer  <fweimer@redhat.com>
671         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
672         failures.
674         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
676 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
678         [BZ #9914]
679         * libio/iogetdelim.c: Include <limits.h>.
680         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
681         + len + 1 would overflow.
683 2012-09-03  Andreas Jaeger  <aj@suse.de>
685         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
686         * sysdeps/i386/fpu/libm-test-ulps: Update.
688 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
690         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
691         Add s_sinf-sse2, s_conf-sse2.
693         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
694         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
695         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
696         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
698         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
699         for using routine as __sinf_ia32.
700         Use macro for function declaration and weak_alias.
701         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
702         for using routine as __cosf_ia32.
703         Use macro for function declaration and weak_alias.
705         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
706         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
708         * sysdeps/x86_64/fpu/s_sinf.S: New file.
709         * sysdeps/x86_64/fpu/s_cosf.S: New file.
710         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
712         * math/libm-test.inc (cos_test): Add more test cases.
713         (sin_test): Likewise.
714         (sincos_test): Likewise.
716 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
718         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
719         (IFUNC_RESOLVE): Make pointers to the specialized implementations
720         hidden.
721         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
723 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
725         [BZ #14538]
726         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
727         first element of the GOT.
728         (elf_machine_load_address): Return the difference between
729         the runtime address of _DYNAMIC and elf_machine_dynamic ().
731 2012-09-01  Allan McRae  <allan@archlinux.org>
733         [BZ #13412]
734         * configure.in (AWK): Require gawk version 3.0 or later.
735         * configure: Regenerated.
737 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
739         * sysdeps/unix/sysv/linux/kernel-features.h
740         (__ASSUME_POSIX_CPU_TIMERS): Remove.
741         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
742         [__NR_clock_getres]: Make code unconditional.
743         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
744         (clock_getcpuclockid): Remove code left unreachable by removal of
745         conditionals.
746         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
747         code unconditional.
748         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
749         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
750         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
751         Make code unconditional.
752         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
753         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
754         * sysdeps/unix/sysv/linux/clock_settime.c
755         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
756         conditional code.
757         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
758         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
760 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
762         [BZ #14476]
763         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
764         scripts/test-installation.pl.
766         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
767         and $ld_so_version if it is set.
769 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
771         [BZ #14516]
772         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
773         failure if reading from procfs failed.
774         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
776 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
778         * sysdeps/unix/sysv/linux/kernel-features.h
779         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
780         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
781         Remove conditional code.
782         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
783         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
784         Remove conditional code.
785         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
786         * sysdeps/unix/sysv/linux/i386/fxstat.c
787         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
788         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
789         * sysdeps/unix/sysv/linux/i386/fxstatat.c
790         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
791         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
792         * sysdeps/unix/sysv/linux/i386/lxstat.c
793         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
794         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
795         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
796         Remove conditional code.
797         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
798         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
799         Remove conditional code.
800         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
801         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
802         <kernel-features.h>.
803         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
804         Remove.
805         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
806         Remove conditional code.
807         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
808         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
809         Remove conditional.
811 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
813         [BZ #5400]
814         * NEWS: Add fixed bug number.
816 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
818         [BZ #14519]
819         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
820         underflowing exponent in case of negative sign.
821         * stdlib/tst-strtod-round-data: Add more tests.
822         * stdlib/tst-strtod-round.c (tests): Regenerated.
824         [BZ #3479]
825         * stdlib/strtod_l.c (NDIG): Remove.
826         (HEXNDIG): Likewise.
827         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
828         smallest representable value.
829         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
830         lie within an exact representation of 1/2 ulp of the result.
831         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
832         unconditionally.
833         (TENS_P9_IDX): Define unconditionally.
834         (TENS_P9_SIZE): Likewise.
835         (TENS_P10_IDX): Likewise.
836         (TENS_P10_SIZE): Likewise.
837         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
838         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
839         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
840         entries for 10^2^13 and 10^2^14.
841         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
842         (TENS_P13_IDX): Define.
843         (TENS_P13_SIZE): Likewise.
844         (TENS_P14_IDX): Likewise.
845         (TENS_P14_SIZE): Likewise.
846         (_fpioconst_pow10): Change array size to
847         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
848         unconditional.
849         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
850         1024]: Add entries for 10^2^13 and 10^2^14.
851         [LAST_POW10 > _LAST_POW10]: Remove #error.
852         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
853         (_fpioconst_pow10): Change array size to
854         FPIOCONST_POW10_ARRAY_SIZE.
855         * stdlib/gen-fpioconst.c: New file.
856         * stdlib/gen-tst-strtod-round.c: Likewise.
857         * stdlib/tst-strtod-round-data: Likewise.
858         * stdlib/tst-strtod-round.c: Likewise.
859         * stdlib/Makefile (tests): Add tst-strtod-round.
861         [BZ #14459]
862         * stdlib/strtod_l.c: Include <stdint.h>.
863         (NDEBUG): Do not define.
864         (round_and_return): Change EXPONENT parameter to type intmax_t.
865         Rearrange calculations to avoid internal overflow possibilities.
866         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
867         Rearrange calculations to avoid internal overflow possibilities.
868         Assert that number fits inside MPNSIZE limbs.
869         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
870         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
871         calculations and add assertions to avoid internal overflow
872         possibilities.  Add casts to avoid signed/unsigned operations.
873         * stdlib/tst-strtod-overflow.c: New file.
874         * stdlib/Makefile (tests): Add tst-strtod-overflow.
876 2012-08-25  Marek Polacek  <polacek@redhat.com>
878         * time/time.h: Fix some typos in comments.
880 2012-08-23  Roland McGrath  <roland@hack.frob.com>
882         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
883         * posix/tst-rfc3484-2.c: Likewise.
884         * posix/tst-rfc3484-3.c: Likewise.
886 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
888         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
889         (EF_ARM_ABI_FLOAT_HARD): Likewise.
891 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
893         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
894         #include of fxstatat64.c.
896 2012-08-22  Roland McGrath  <roland@hack.frob.com>
898         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
899         * shadow/getspent_r.c: Likewise.
900         * shadow/getspnam.c: Likewise.
901         * shadow/getspnam_r.c: Likewise.
902         * gshadow/getsgent.c: Likewise.
903         * gshadow/getsgent_r.c: Likewise.
904         * gshadow/getsgnam.c: Likewise.
905         * gshadow/getsgnam_r.c: Likewise.
906         * inet/getnetbyad.c: Likewise.
907         * inet/getnetbyad_r.c: Likewise.
908         * inet/getnetbynm.c: Likewise.
909         * inet/getnetbynm_r.c: Likewise.
910         * inet/getnetent.c: Likewise.
911         * inet/getnetent_r.c: Likewise.
912         * inet/getproto.c: Likewise.
913         * inet/getproto_r.c: Likewise.
914         * inet/getprtent.c: Likewise.
915         * inet/getprtent_r.c: Likewise.
916         * inet/getprtname.c: Likewise.
917         * inet/getprtname_r.c: Likewise.
918         * inet/getrpcbyname.c: Likewise.
919         * inet/getrpcbyname_r.c: Likewise.
920         * inet/getrpcbynumber.c: Likewise.
921         * inet/getrpcbynumber_r.c: Likewise.
922         * inet/getrpcent.c: Likewise.
923         * inet/getrpcent_r.c: Likewise.
924         * inet/getaliasent.c: Likewise.
925         * inet/getaliasent_r.c: Likewise.
926         * inet/getaliasname.c: Likewise.
927         * inet/getaliasname_r.c: Likewise.
928         * nscd/getgrgid_r.c: Likewise.
929         * nscd/getgrnam_r.c: Likewise.
930         * nscd/gethstbyad_r.c: Likewise.
931         * nscd/gethstbynm3_r.c: Likewise.
932         * nscd/getpwnam_r.c: Likewise.
933         * nscd/getpwuid_r.c: Likewise.
934         * nscd/getsrvbynm_r.c: Likewise.
935         * nscd/getsrvbypt_r.c: Likewise.
936         * nscd/gai.c: Likewise.
938         * configure.in (build_nscd): New substituted variable, set
939         by --disable-build-nscd and defaults to $use_nscd.
940         * configure: Regenerated.
941         * config.make.in (build-nscd): New substituted variable.
942         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
943         Change conditional to require [$(build-nscd) = yes] as well.
944         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
946         [BZ# 13696]
947         * configure.in (use_nscd): New substituted variable, set by
948         --disable-nscd.  If enabled, define USE_NSCD.
949         * configure: Regenerated.
950         * config.h.in: Add USE_NSCD.
951         * config.make.in (use-nscd): New substituted variable.
952         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
953         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
954         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
955         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
956         (CFLAGS-getgrnam_r.c): Likewise.
957         (CFLAGS-initgroups.c): Likewise.
958         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
959         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
960         Variables removed.
961         * inet/getnetgrent_r.c
962         (nscd_setnetgrent): New function, broken out of ...
963         (setnetgrent): ... here.  Call it.
964         (innetgr): Conditionalize nscd bits on [USE_NSCD].
965         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
966         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
967         * nscd/Makefile (routines, aux): Move definitions after include of
968         Makeconfig.  Conditionalize on [$(use-nscd) != no].
969         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
970         Conditionalize on [USE_NSCD].
971         (is_nscd, nscd_init_cb): Likewise.
972         (nss_load_library): Conditionalize init callback on [USE_NSCD].
973         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
974         * nss/nss_db/db-init.c: Likewise.
975         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
976         [USE_NSCD].
977         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
978         (make_request): Use it.
979         (cache_valid_p): New function.
980         (__check_pf): Use it.
981         * NEWS: Add item for --disable-nscd.
983 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
985         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
986         to support sed >= 4.2.1-20-ga9bf076.
987         * configure: Regenerated.
989 2012-08-22  Roland McGrath  <roland@hack.frob.com>
991         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
992         Conditionalize whole body on [IREL].
994 2012-08-22  Jeff Law <law@redhat.com>
996         [BZ #14505]
997         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
998         if the family is PF_UNSPEC.
1000 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
1002         * Makerules (lib-version): Rename from V.
1003         (install-lib-nosubdir): Change V to lib-version.
1005 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
1007         [BZ #14252]
1008         * powerpc32/power6/wcschr.c: New file.
1009         * powerpc32/power6/wcscpy.c: New file.
1010         * powerpc32/power6/wcsrchr.c: New file.
1011         * powerpc64/power6/wcschr.c: New file.
1012         * powerpc64/power6/wcscpy.c: New file.
1013         * powerpc64/power6/wcsrchr.c: New file.
1015 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
1017         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
1018         (two_way_short_needle): Use it.
1019         * string/strstr.c (AVAILABLE1_USES_J): Define.
1020         * string/strcasestr.c: Likewise.
1022         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
1023         array references.
1024         * string/strcasestr.c (TOLOWER): Make side-effect safe.
1026         [BZ #11607]
1027         * NEWS: Add an entry.
1028         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
1029         define their defaults.
1030         (two_way_short_needle): Detect end-of-string on-the-fly.
1031         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
1032         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
1033         * string/bug-strcasestr1.c: New test.
1034         * string/Makefile: Run it.
1036 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
1038         [BZ #11607]
1039         * string/str-two-way.h (two_way_short_needle): Optimize matching of
1040         the first character.
1042 2012-08-21  Roland McGrath  <roland@hack.frob.com>
1044         * csu/elf-init.c (__libc_csu_irel): Function removed.
1045         * csu/libc-start.c (apply_irel): New function.
1046         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
1048 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
1050         * sysdeps/unix/sysv/linux/kernel-features.h
1051         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
1052         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
1053         <kernel-features.h>.
1054         [__NR_fadvise64_64]: Make code unconditional.
1055         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
1056         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
1057         !__NR_fadvise64_64)]: Likewise.
1058         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
1059         !__NR_fadvise64_64))]: Likewise.
1060         [__NR_fadvise64]: Make code unconditional.
1061         [!__NR_fadvise64]: Remove conditional code.
1062         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
1063         <kernel-features.h>.
1064         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
1065         unconditional.
1066         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
1067         conditional code.
1068         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
1069         not include <kernel-features.h>.
1070         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
1071         unconditional.
1072         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
1073         conditional code.
1074         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
1075         include <kernel-features.h>.
1076         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
1077         unconditional.
1078         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
1079         conditional code.
1081 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
1083         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
1084         slight instruction rearrangements per scrollpipe analysis.
1085         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
1087 2012-08-20  Roland McGrath  <roland@hack.frob.com>
1089         * manual/syslog.texi (syslog; vsyslog, closelog):
1090         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
1091         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
1093         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
1094         DSOCAPS to match condition on defining it.
1096 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
1098         * sysdeps/unix/sysv/linux/kernel-features.h
1099         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
1100         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
1101         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
1102         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
1103         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
1104         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
1105         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
1106         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
1107         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
1108         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
1110         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
1111         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
1113         * sysdeps/unix/sysv/linux/kernel-features.h
1114         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
1115         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
1116         unconditional.
1117         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
1118         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
1119         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
1120         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
1121         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
1122         Make code unconditional.
1123         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
1124         (__mmap64) [!__NR_mmap2]: Likewise.
1125         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
1126         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
1127         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
1128         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
1129         [__NR_mmap2]: Make code unconditional.
1130         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
1131         (__mmap64) [!__NR_mmap2]: Likewise.
1133 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
1135         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
1137 2012-08-18  Andreas Jaeger  <aj@suse.de>
1139         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
1141 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
1143         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
1144         * include/unistd.h (__have_sock_cloexec): Likewise.
1145         (__have_pipe2): Likewise.
1146         (__have_dup3): Likewise.
1148 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
1150         [BZ #9685]
1151         * include/unistd.h (__have_pipe2): Change define into an extern int.
1152         (__have_dup3): Likewise.
1153         * socket/have_sock_cloexec.c: Include fcntl.h.
1154         (__have_pipe2): New variable.
1155         (__have_dup3): Likewise.
1157 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
1159         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
1161 2012-08-17  Marek Polacek  <polacek@redhat.com>
1163         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
1164         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
1166 2012-08-17  Roland McGrath  <roland@hack.frob.com>
1168         * configure.in: Add AC_SUBST for sysheaders.
1169         * configure: Regenerated.
1170         * config.make.in (sysheaders): New substituted variable.
1172         * sysdeps/unix/mkfifo.c: Moved ...
1173         * sysdeps/posix/mkfifo.c: ... here.
1174         * sysdeps/unix/mkfifoat.c: Moved ...
1175         * sysdeps/posix/mkfifoat.c: ... here.
1177         * sysdeps/unix/utime.c: Moved ...
1178         * sysdeps/posix/utime.c: ... here.
1180         * sysdeps/unix/time.c: Moved ...
1181         * sysdeps/posix/time.c: ... here.
1182         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
1183         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
1185         * sysdeps/unix/nice.c: Moved ...
1186         * sysdeps/posix/nice.c: ... here.
1188         * sysdeps/unix/alarm.c: Moved ...
1189         * sysdeps/posix/alarm.c: ... here.
1191         * intl/Makefile ($(codeset_mo)): Depend on the input file.
1193 2012-08-17  Jeff Law <law@redhat.com>
1195         * intl/Makefile (codeset_mo): New variable.
1196         ($(codeset_mo)): New target.
1197         (tst-codeset.out): Depend on that.  Remove explicit rule.
1198         (tst-gettext3.out, tst-gettext5.out): Likewise.
1199         (LOCPATH-ENV, tst-codeset-ENV): New variables.
1200         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
1201         * intl/tst-codeset.sh: Remove.
1202         * intl/tst-gettext3.sh: Likewise.
1203         * intl/tst-gettext5.sh: Likewise.
1205 2012-08-17  Roland McGrath  <roland@hack.frob.com>
1207         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
1208         * sysdeps/unix/syscalls.list: ... here.
1210         * sysdeps/posix/getaddrinfo.c
1211         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
1212         (gaiconf_init, gaiconf_reload): Use them.
1213         [!_STATBUF_ST_NSEC]
1214         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
1215         Define using time_t rather than struct timespec.
1217         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
1218         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
1219         Macros removed.
1220         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
1221         [!NO_THREADS].
1222         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
1223         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
1224         Likewise.
1226         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
1227         __libc_cleanup_push argument.
1229         * bits/param.h: New file.
1230         * misc/sys/param.h: New file.
1231         * include/sys/param.h: New file.
1232         * misc/Makefile (headers): Add bits/param.h.
1233         * sysdeps/generic/sys/param.h: File removed.
1234         * sysdeps/unix/sysv/linux/bits/param.h: New file.
1235         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
1236         * sysdeps/mach/hurd/bits/param.h: New file.
1237         * sysdeps/mach/hurd/sys/param.h: New file.
1239         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
1240         last change.
1242         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
1243         [_IO_MTSAFE_IO].
1244         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
1245         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
1246         New macros.
1248         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
1249         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
1250         rather than -D_IO_MTSAFE_IO conditionally.
1251         * stdio-common/Makefile (CPPFLAGS): Likewise.
1252         * wcsmbs/Makefile (CPPFLAGS): Likewise.
1253         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
1254         Use $(libio-mtsafe).
1255         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
1256         of -D_IO_MTSAFE_IO.
1257         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
1258         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
1259         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
1260         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
1261         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
1262         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
1263         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
1264         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
1265         (CFLAGS-fread_u_chk.c): Likewise.
1266         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
1267         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
1268         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
1269         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
1270         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
1271         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
1272         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
1273         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
1274         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
1276         * libio/Makefile: Test [$(libc-reentrant) = yes]
1277         instead of [$(filter %REENTRANT, $(defines)) nonempty].
1279         * Makeconfig
1280         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
1281         * sysdeps/pthread/configure: File removed.
1282         * sysdeps/pthread/Makeconfig: New file.
1283         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
1284         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
1286 2012-08-16  Gary Benson  <gbenson@redhat.com>
1288         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
1289         unmapping the first object in a namespace.
1291 2012-08-16  Roland McGrath  <roland@hack.frob.com>
1293         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
1294         (__internal_setnetgrent): ... this.  Add internal_function to
1295         definition.  Add libc_hidden_def.
1296         (setnetgrent): Update caller.
1297         (internal_endnetgrent): Renamed to ...
1298         (__internal_endnetgrent): ... this.  Add internal_function to
1299         definition.  Add libc_hidden_def.
1300         (endnetgrent): Update caller.
1301         (internal_getnetgrent_r): Renamed to ...
1302         (__internal_getnetgrent_r): ... this.  Add internal_function to
1303         definition.  Add libc_hidden_def.
1304         (__getnetgrent_r): Update caller.
1305         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
1307 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
1309         * stdlib/longlong.h: Update from GCC.
1311 2012-08-16  Roland McGrath  <roland@hack.frob.com>
1313         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
1314         on _QL, which is set by umul_ppmm but never used.
1315         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
1316         variables, which are set by GMP macros but never used.
1317         * stdio-common/_itowa.c (_itowa): Likewise.
1318         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
1319         * stdlib/mod_1.c (mpn_mod_1): Likewise.
1321 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
1323         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
1324         struct La_sh_regs is not constant.
1325         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
1326         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
1327         and struct La_sparc64_regs are not constant.
1329 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
1331         * sysdeps/unix/sysv/linux/kernel-features.h
1332         (__ASSUME_POSIX_TIMERS): Remove.
1333         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
1334         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
1335         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
1336         Make code unconditional.
1337         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
1338         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
1339         Make code unconditional.
1340         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
1341         * sysdeps/unix/sysv/linux/clock_nanosleep.c
1342         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
1343         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
1344         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
1345         Make code unconditional.
1346         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
1347         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
1348         (__libc_missing_posix_timers): Remove.
1350 2012-08-15  Roland McGrath  <roland@hack.frob.com>
1352         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
1353         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
1355         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
1357         * elf/dl-sym.c: Include <stdlib.h>.
1359         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
1360         constants, which avoids warnings in 32-bit builds.
1362         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
1363         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
1365         * misc/lseek.c: File moved to ...
1366         * io/lseek.c: ... here.
1368         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
1370         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
1371         shifting LEN more than 31 bits at once.
1373 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
1375         [BZ #14195]
1376         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
1377         segmentation fault for a case of two empty input strings.
1378         * string/test-strncasecmp.c (check1): Renamed to...
1379         (bz12205): ...this.
1380         (bz14195): Add new testcase for two empty input strings and N > 0.
1381         (test_main): Call new testcase, adapt for renamed function.
1383 2012-08-15  Andreas Jaeger  <aj@suse.de>
1385         [BZ #14090]
1386         * crypt/md5test2.c: New test, based on test supplied by Serge
1387         Belyshev <belyshev@depni.sinp.msu.ru>.
1388         * crypt/Makefile (xtests): Add md5test-giant..
1389         * crypt/Makefile ($(objpfx)md5test-giant): Add.
1391 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
1393         [BZ #14090]
1394         * crypt/md5.c (md5_process_block): Don't assume the buffer
1395         length is less than 2**32.
1396         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
1397         length is less than 2**64.
1399 2012-08-15  Roland McGrath  <roland@hack.frob.com>
1401         * string/str-two-way.h: Include <sys/param.h>.
1402         (MAX): Macro removed.
1404         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
1405         Move #define and #undef of memmove to just before and after
1406         including <string.h>.
1408         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
1409         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
1410         and after including <string.h>.  Move declarations of
1411         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
1412         to before #include "string/memmove.c".
1414         * include/dirent.h: Declare __getdirentries.
1416         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
1417         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
1419 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
1421         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
1422         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
1423         * sysdeps/i386/configure: Regenerated.
1424         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
1425         STABS_CURRENT_FILE, and STABS_FUN.
1426         (END): Remove call to STABS_FUN_END.
1427         (STABS_CURRENT_FILE1): Delete.
1428         (STABS_CURRENT_FILE): Likewise.
1429         (STABS_FUN): Likewise.
1430         (STABS_FUN_END): Likewise.
1431         (STABS_FUN2): Likewise.
1432         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
1433         * sysdeps/x86_64/configure: Regenerated.
1435 2012-08-14  Roland McGrath  <roland@hack.frob.com>
1437         * elf/dl-open.c: Include <atomic.h>.
1438         * elf/dl-lookup.c: Likewise.
1440 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
1442         * sysdeps/unix/sysv/linux/kernel-features.h
1443         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
1444         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
1445         unconditionally.
1446         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
1447         unconditionally.
1448         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
1449         condition on __ASSUME_CLONE_THREAD_FLAGS.
1451 2012-08-14  Andreas Jaeger  <aj@suse.de>
1453         * sysdeps/i386/fpu/libm-test-ulps: Update.
1455 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
1457         * include/atomic.h (atomic_exchange_and_add): Split into ...
1458         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
1459         New atomic macros.
1461 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
1463         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1465 2012-08-13  Jeff Law <law@redhat.com>
1467         * manual/stdio.texi (snprintf): Clarify handling of the trailing
1468         null byte in the output string.
1470 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
1472         * sysdeps/unix/sysv/linux/kernel-features.h
1473         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
1474         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
1475         (__ASSUME_ARG_MAX_STACK_BASED): Define.
1476         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
1477         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
1478         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
1479         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
1481 2012-08-09  Jeff Law <law@redhat.com>
1483         [BZ #13939]
1484         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
1485         When avoid_arena is set, don't retry in the that arena.  Pick the
1486         next one, whatever it might be.
1487         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
1488         (arena_lock): Pass in new parameter to arena_get2.
1489         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
1490         arena_get2.
1491         (__libc_malloc): Unify retrying after main arena failure with
1492         __libc_memalign version.
1493         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
1495 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
1497         [BZ #14166]
1498         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
1499         to __redirect_strstr.
1500         (__strstr_sse42): Use typeof __redirect_strstr.
1501         (__strstr_ia32): Likewise.
1502         (__libc_strstr): New prototype.
1503         (strstr): Renamed to ...
1504         (__libc_strstr): This.
1505         (strstr): New strong alias of __libc_strstr.
1506         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
1507         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
1508         __redirect_time.
1509         Include <time.h>.
1510         (__libc_time): New prototype.
1511         (time_ifunc): Replace time with __libc_time.
1512         (time): New strong alias and hidden definition of __libc_time.
1513         (__GI_time): Remove strong alias.
1514         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
1515         Include <stddef.h>.
1516         (memmove): Redefined to __redirect_memmove.
1517         (__memmove_sse2): Use typeof __redirect_memmove.
1518         (__memmove_ssse3): Likewise.
1519         (__memmove_ssse3_back): Likewise.
1520         (__libc_memmove): New prototype.
1521         (memmove): Renamed to ...
1522         (__libc_memmove): This.
1523         (memmove): New strong alias of __libc_memmove.
1525 2012-08-08  Mark Salter  <msalter@redhat.com>
1527         * elf/elf.h
1528         (R_MN10300_TLS_GD): Define.
1529         (R_MN10300_TLS_LD): Likewise.
1530         (R_MN10300_TLS_LDO): Likewise.
1531         (R_MN10300_TLS_GOTIE): Likewise.
1532         (R_MN10300_TLS_IE): Likewise.
1533         (R_MN10300_TLS_LE): Likewise.
1534         (R_MN10300_TLS_DTPMOD): Likewise.
1535         (R_MN10300_TLS_DTPOFF): Likewise.
1536         (R_MN10300_TLS_TPOFF): Likewise.
1537         (R_MN10300_SYM_DIFF): Likewise.
1538         (R_MN10300_ALIGN): Likewise.
1539         (R_MN10300_NUM): Update.
1541 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
1543         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
1544         Remove.
1546 2012-08-08  Roland McGrath  <roland@hack.frob.com>
1548         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
1550         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
1551         sysdeps/unix -> sysdeps/posix move.
1552         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
1554 2012-08-07      Allan McRae     <allan@archlinux.org>
1556         [BZ #14303]
1557         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
1558         (SUNOS_CPP): Likewise.
1559         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
1560         not found.
1561         (open_input): Call CPP using execvp.
1563 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
1565         * sysdeps/unix/sysv/linux/kernel-features.h
1566         (__ASSUME_PROT_GROWSUPDOWN): Remove.
1567         (__ASSUME_NO_CLONE_DETACHED): Likewise.
1568         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
1569         (__ASSUME_WAITID_SYSCALL): Likewise.
1570         * sysdeps/unix/sysv/linux/dl-execstack.c
1571         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
1572         code unconditional.
1573         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
1574         conditional code.
1575         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
1576         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
1577         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
1578         code.
1579         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
1580         unconditional.
1581         [__ASSUME_WAITID_SYSCALL]: Likewise.
1582         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
1584 2012-08-07  Roland McGrath  <roland@hack.frob.com>
1586         * sysdeps/unix/closedir.c: Renamed to ...
1587         * sysdeps/posix/closedir.c: ... here.
1588         * sysdeps/unix/dirfd.c: Renamed to ...
1589         * sysdeps/posix/dirfd.c: ... here.
1590         * sysdeps/unix/dirstream.h: Renamed to ...
1591         * sysdeps/posix/dirstream.h: ... here.
1592         * sysdeps/unix/fdopendir.c: Renamed to ...
1593         * sysdeps/posix/fdopendir.c: ... here.
1594         * sysdeps/unix/opendir.c: Renamed to ...
1595         * sysdeps/posix/opendir.c: ... here.
1596         * sysdeps/unix/readdir.c: Renamed to ...
1597         * sysdeps/posix/readdir.c: ... here.
1598         * sysdeps/unix/readdir_r.c: Renamed to ...
1599         * sysdeps/posix/readdir_r.c: ... here.
1600         * sysdeps/unix/rewinddir.c: Renamed to ...
1601         * sysdeps/posix/rewinddir.c: ... here.
1602         * sysdeps/unix/seekdir.c: Renamed to ...
1603         * sysdeps/posix/seekdir.c: ... here.
1604         * sysdeps/unix/telldir.c: Renamed to ...
1605         * sysdeps/posix/telldir.c: ... here.
1606         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
1607         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
1608         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
1609         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
1611         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
1612         * bits/fcntl.h: ... here.
1614         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
1615         not 0.
1616         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
1617         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
1618         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
1619         (struct flock): Move l_start, l_len to the beginning.
1620         Use __pid_t for l_pid.
1621         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
1622         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
1623         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
1624         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
1625         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
1626         [__USE_LARGEFILE64] (struct flock64): New type.
1627         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
1629         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
1630         * bits/dirent.h: ... here.
1632         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
1633         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
1635 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
1637         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
1638         Change from 2.6.0 to 2.6.16.
1639         * sysdeps/unix/sysv/linux/configure: Regenerated.
1640         * sysdeps/unix/sysv/linux/kernel-features.h
1641         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
1642         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
1643         version.
1644         (__ASSUME_UTIMES): Likewise.
1645         (__ASSUME_CLONE_STOPPED): Remove.
1646         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
1647         architectures, not kernel version.
1648         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
1649         (__ASSUME_NO_CLONE_DETACHED): Likewise.
1650         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
1651         (__ASSUME_WAITID_SYSCALL): Likewise.
1652         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
1653         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
1654         * README: State 2.6.16 as minimum Linux kernel version.  Do not
1655         refer to older versions.
1657 2012-08-06  Roland McGrath  <roland@hack.frob.com>
1659         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
1660         Define alphasort64 as an alias.
1661         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
1662         Define versionsort64 as an alias.
1663         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
1664         Define scandir64 as an alias.
1665         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
1666         Define scandirat64 as an alias.
1667         * dirent/alphasort64.c (alphasort64):
1668         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
1669         * dirent/versionsort64.c: Likewise.
1670         * dirent/scandir64.c: Likewise.
1671         * dirent/scandirat64.c: Likewise.
1672         * sysdeps/wordsize-64/alphasort.c: File removed.
1673         * sysdeps/wordsize-64/alphasort64.c: File removed.
1674         * sysdeps/wordsize-64/scandir.c: File removed.
1675         * sysdeps/wordsize-64/scandir64.c: File removed.
1676         * sysdeps/wordsize-64/scandirat.c: File removed.
1677         * sysdeps/wordsize-64/scandirat64.c: File removed.
1678         * sysdeps/wordsize-64/versionsort.c: File removed.
1679         * sysdeps/wordsize-64/versionsort64.c: File removed.
1680         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
1681         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
1682         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
1683         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
1684         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
1685         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
1686         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
1687         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
1689         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
1690         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
1691         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
1692         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
1693         [defined __arch64__ || defined __sparcv9]
1694         (__INO_T_MATCHES_INO64_T): New macro.
1695         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
1696         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
1697         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
1698         * sysdeps/unix/sysv/linux/bits/dirent.h
1699         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
1700         (_DIRENT_MATCHES_DIRENT64): New macro.
1702         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
1703         Define lockf64 as an alias.
1704         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
1705         Define fseeko64 as an alias.
1706         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
1707         Define ftello64 as an alias.
1708         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
1709         Define _IO_fgetpos64 and fgetpos64 as aliases.
1710         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
1711         Define _IO_fsetpos64 and fsetpos64 as aliases.
1712         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
1713         Conditionalize body on this.
1714         * libio/fseeko64.c: Likewise.
1715         * libio/ftello64.c: Likewise.
1716         * libio/iofgetpos64.c: Likewise.
1717         * libio/iofsetpos64.c: Likewise.
1718         * sysdeps/wordsize-64/lockf.c: File removed.
1719         * sysdeps/wordsize-64/lockf64.c: File removed.
1720         * sysdeps/wordsize-64/fseeko.c: File removed.
1721         * sysdeps/wordsize-64/fseeko64.c: File removed.
1722         * sysdeps/wordsize-64/ftello.c: File removed.
1723         * sysdeps/wordsize-64/ftello64.c: File removed.
1724         * sysdeps/wordsize-64/iofgetpos.c: File removed.
1725         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
1726         * sysdeps/wordsize-64/iofsetpos.c: File removed.
1727         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
1728         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
1729         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
1730         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
1731         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
1732         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
1733         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
1734         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
1735         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
1736         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
1737         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
1739         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
1740         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
1741         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
1742         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
1743         [defined __arch64__ || defined __sparcv9]
1744         (__OFF_T_MATCHES_OFF64_T): New macro.
1745         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
1746         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
1747         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
1748         (__OFF_T_MATCHES_OFF64_T): New macro.
1750 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
1752         * stdlib/secure-getenv.c (__secure_getenv): Replace
1753         GLIBC_2_16 with GLIBC_2_17.
1755 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
1757         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
1758         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
1760 2012-08-03  David S. Miller  <davem@davemloft.net>
1762         * sysdeps/sparc/fpu/libm-test-ulps: Update.
1764 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
1766         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
1767         Remove.
1768         (__ASSUME_CORRECT_SI_PID): Likewise.
1769         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
1770         (__ASSUME_TMPFS_NAME): Likewise.
1771         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
1772         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
1773         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
1774         (HAVE_AUX_SECURE): Make definition unconditional.
1775         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
1776         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
1778 2012-08-03  Roland McGrath  <roland@hack.frob.com>
1780         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
1781         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
1782         * sysdeps/mach/hurd/eloop-threshold.h: New file.
1783         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
1784         __eloop_threshold instead of SYMLOOP_MAX.
1786         * sysdeps/generic/eloop-threshold.h: New file.
1787         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
1788         of MAXSYMLINKS.
1789         * elf/chroot_canon.c (chroot_canon): Likewise.
1791 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
1793         [BZ #13717]
1794         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
1795         Change to 2.6.0 everywhere.
1796         * sysdeps/unix/sysv/linux/configure: Regenerated.
1797         * sysdeps/unix/sysv/linux/kernel-features.h
1798         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
1799         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
1800         kernel versions.
1801         (__ASSUME_POSIX_TIMERS): Define unconditionally.
1802         (__ASSUME_FUTEX_REQUEUE): Remove.
1803         (__ASSUME_STATFS64): Define unconditionally.
1804         (__ASSUME_AT_SECURE): Likewise.
1805         (__ASSUME_CORRECT_SI_PID): Likewise.
1806         (__ASSUME_TGKILL): Define without depending on kernel version for
1807         i386.
1808         (__ASSUME_UTIMES): Likewise.
1809         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
1810         kernel version.
1811         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
1812         (__ASSUME_TMPFS_NAME): Likewise.
1813         * README: Update reference to Linux kernel versions.
1815 2012-08-02  Marek Polacek  <polacek@redhat.com>
1817         [BZ# 14150]
1818         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
1819         libc_cv_asm_type_prefix with %.
1820         * configure: Regenerated.
1821         * include/libc-symbols.h: Remove comment about
1822         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
1823         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
1824         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
1825         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
1826         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
1827         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
1828         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
1829         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
1830         * elf/tst-unique2mod1.c: Likewise.
1831         * elf/tst-unique1mod2.c: Likewise.
1832         * elf/tst-unique1mod1.c: Likewise.
1833         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
1834         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
1835         Replace ASM_TYPE_DIRECTIVE with .type.
1836         * sysdeps/s390/s390-64/sysdep.h: Likewise.
1837         * sysdeps/i386/sysdep.h: Likewise.
1838         * sysdeps/x86_64/sysdep.h: Likewise.
1839         * sysdeps/sh/sysdep.h: Likewise.
1840         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
1841         Do not define ASM_TYPE_DIRECTIVE.
1842         * sysdeps/powerpc/sysdep.h: Likewise.
1843         * sysdeps/powerpc/powerpc32/sysdep.h:
1844         Replace ASM_TYPE_DIRECTIVE with .type.
1845         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
1846         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
1847         * sysdeps/i386/fpu/e_powf.S: Likewise.
1848         * sysdeps/i386/fpu/e_expl.S: Likewise.
1849         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
1850         * sysdeps/i386/fpu/e_acosh.S: Likewise.
1851         * sysdeps/i386/fpu/e_pow.S: Likewise.
1852         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
1853         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
1854         * sysdeps/i386/fpu/s_expm1.S: Likewise.
1855         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
1856         * sysdeps/i386/fpu/e_log2.S: Likewise.
1857         * sysdeps/i386/fpu/e_log2l.S: Likewise.
1858         * sysdeps/i386/fpu/e_scalb.S: Likewise.
1859         * sysdeps/i386/fpu/e_powl.S: Likewise.
1860         * sysdeps/i386/fpu/e_log10f.S: Likewise.
1861         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
1862         * sysdeps/i386/fpu/e_logl.S: Likewise.
1863         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
1864         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
1865         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
1866         * sysdeps/i386/fpu/e_log2f.S: Likewise.
1867         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
1868         * sysdeps/i386/fpu/e_log.S: Likewise.
1869         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
1870         * sysdeps/i386/fpu/e_logf.S: Likewise.
1871         * sysdeps/i386/fpu/e_log10l.S: Likewise.
1872         * sysdeps/i386/fpu/e_atanh.S: Likewise.
1873         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
1874         * sysdeps/i386/fpu/e_log10.S: Likewise.
1875         * sysdeps/i386/fpu/s_frexp.S: Likewise.
1876         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
1877         * sysdeps/i386/fpu/s_asinh.S: Likewise.
1878         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
1879         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
1880         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
1881         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
1882         * sysdeps/i386/i686/strtok.S: Likewise.
1883         * sysdeps/i386/i386-mcount.S: Likewise.
1884         * sysdeps/i386/strtok.S: Likewise.
1885         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
1886         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
1887         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
1888         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
1889         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
1890         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
1891         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
1892         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
1893         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
1894         * sysdeps/x86_64/_mcount.S: Likewise.
1895         * sysdeps/x86_64/strtok.S: Likewise.
1896         * sysdeps/sh/_mcount.S: Likewise.
1898 2012-08-01  Roland McGrath  <roland@hack.frob.com>
1900         * libio/iofopen.c: Include <fcntl.h>.
1901         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
1902         (_IO_fopen64, fopen64): Define as aliases.
1903         * libio/iofopen64.c: Include <fcntl.h>.
1904         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
1905         Conditionalize body on this.
1906         * sysdeps/wordsize-64/iofopen.c: File removed.
1907         * sysdeps/wordsize-64/iofopen64.c: File removed.
1909 2012-08-01  Marek Polacek  <polacek@redhat.com>
1911         * libc/Makeconfig: Use elf in place of binfmt-subdir.
1912         Use dlfcn directly instead of a variable.
1913         (binfmt-subdir): Do not define.
1914         (dlfcn): Likewise.
1916 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
1918         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
1919         Remove all definitions.
1920         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
1921         <kernel-features.h>.
1922         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
1923         (miss_F_GETOWN_EX): Remove all definitions.
1924         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
1925         macro definition.
1926         [!__ASSUME_FCNTL64]: Remove conditional code.
1927         [__ASSUME_FCNTL64]: Make code unconditional.
1928         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
1929         <kernel-features.h>.
1930         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
1931         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
1932         (lockf64) [__NR_fcntl64]: Make code unconditional.
1933         (lockf64) [__ASSUME_FCNTL64]: Likewise.
1935         * sysdeps/unix/sysv/linux/kernel-features.h
1936         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
1937         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
1938         Make code unconditional.
1939         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
1940         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
1941         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
1942         [__NR_vfork]: Make code unconditional.
1943         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
1944         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
1945         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
1946         [__NR_vfork]: Make code unconditional.
1947         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
1948         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
1950 2012-08-01  Roland McGrath  <roland@hack.frob.com>
1952         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
1953         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
1955         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
1956         Define mkstemp64 as an alias.
1957         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
1958         Define mkstemps64 as an alias.
1959         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
1960         Define mkostemp64 as an alias.
1961         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
1962         Define mkostemps64 as an alias.
1963         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
1964         Conditionalize body on this.
1965         * misc/mkostemp64.c: Likewise.
1966         * misc/mkostemps64.c: Likewise.
1967         * misc/mkstemps64.c: Likewise.
1968         * sysdeps/wordsize-64/mkstemp64.c: File removed.
1969         * sysdeps/wordsize-64/mkostemp64.c: File removed.
1970         * sysdeps/wordsize-64/mkostemp.c: File removed.
1971         * sysdeps/wordsize-64/mkstemp.c: File removed.
1972         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
1973         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
1974         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
1975         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
1977         [BZ #14138]
1978         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
1979         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
1980         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
1981         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
1983         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
1984         compat_symbol macros from <shlib-compat.h> rather than the underlying
1985         default_symbol_version and symbol_version macros, so that DEFAULT
1986         lines in shlib-versions are respected.
1987         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
1989 2012-08-01  Florian Weimer  <fweimer@redhat.com>
1991         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
1992         Declare with warn_unused_result.
1993         (setgid, setregid, setegid, setresgid): Likewise.
1994         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
1995         Likewise.
1996         * WUR-REPORT: Remove set*id functions.
1998 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
2000         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
2002 2012-07-31  Roland McGrath  <roland@hack.frob.com>
2004         * include/sys/socket.h (__libc_accept, __libc_accept4):
2005         Add attribute_hidden.
2006         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
2008         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
2009         use of PTR_MANGLE.
2010         * inet/getnetgrent_r.c (setup): Likewise.
2012         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
2014 2012-07-31  David S. Miller  <davem@davemloft.net>
2016         * sysdeps/sparc/fpu/libm-test-ulps: Update.
2018 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
2020         [BZ #13629]
2021         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
2022         value between 1.0 and 2.0 and smaller part has absolute value less
2023         than 1.0.
2024         * math/s_clog10.c (__clog10): Likewise.
2025         * math/s_clog10f.c (__clog10f): Likewise.
2026         * math/s_clog10l.c (__clog10l): Likewise.
2027         * math/s_clogf.c (__clogf): Likewise.
2028         * math/s_clogl.c (__clogl): Likewise.
2029         * math/libm-test.inc (clog_test): Add more tests.
2030         (clog10_test): Likewise.
2031         * sysdeps/i386/fpu/libm-test-ulps: Update.
2032         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2034 2012-07-31  Florian Weimer  <fweimer@redhat.com>
2036         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
2037         Exit with zero in case no suitable GID is found, and write a
2038         message to standard error.
2040 2012-07-30  Roland McGrath  <roland@hack.frob.com>
2042         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
2043         rather than to 1.
2044         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
2045         (MAXPATHLEN): Removed.
2046         (NOGROUP, NODEV): New macros.
2047         (setbit, clrbit, isset, isclr): New macros.
2048         (howmany, roundup, powerof2): New macros.
2049         (DEV_BSIZE): New macro.
2051         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
2052         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
2054         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
2055         definition on [!__NO_LONG_DOUBLE_MATH].
2057         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
2058         PTR_MANGLE and PTR_DEMANGLE.
2060         * socket/accept4.c (accept4): Rename to __libc_accept4.
2061         Define accept4 as a weak alias.
2063         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
2064         on [_DIRENT_HAVE_D_TYPE].
2065         * io/ftw.c (ftw_dir): Likewise.
2067         * io/xmknod.c (__xmknod): Don't check PATH for being null.
2069         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
2071         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
2072         Use the BSD numbers rather than the arbitrary ones we had.
2073         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
2074         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
2075         (SIGXCPU, SIGXFSZ): New macros.
2076         (_NSIG): Now 32.
2078         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
2079         initializer on [_LIBC_REENTRANT].
2081         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
2082         definitions inside [_POSIX_MAPPED_FILES].
2084         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
2086         * dirent/opendir.c: Include <fcntl.h>.
2088         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
2089         (__libc_getspecific): Likewise.
2090         (__libc_key_create): Likewise.
2092         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
2093         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
2094         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
2095         (tmpfile64): Define as alias.
2096         * sysdeps/wordsize-64/tmpfile.c: File removed.
2097         * sysdeps/wordsize-64/tmpfile64.c: File removed.
2098         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
2099         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
2101         * stdio-common/vfscanf.c: Include <stdbool.h>.
2102         * nss/makedb.c: Likewise.
2103         * stdio-common/_i18n_number.h: Likewise.
2104         * argp/argp-help.c: Likewise.
2105         * posix/wordexp.c: Likewise.
2106         * sysdeps/posix/spawni.c: Likewise.
2107         * nss/nss_files/files-initgroups.c: Likewise.
2108         * stdio-common/reg-modifier.c: Include <stdlib.h>.
2109         * nss/nss_files/files-initgroups.c: Likewise.
2110         * nss/nss_db/db-netgrp.c: Likewise.
2111         * nss/nss_db/db-initgroups.c: Likewise.
2112         * io/fchmodat.c: Include <sys/stat.h>.
2114         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
2115         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
2117         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
2118         [HAVE_MMAP].
2120         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
2121         Add multiple inclusion protection.
2123 2012-07-27  David S. Miller  <davem@davemloft.net>
2125         * sysdeps/sparc/fpu/libm-test-ulps: Update.
2127 2012-07-27  Gary Benson  <gbenson@redhat.com>
2129         [BZ #14298]
2130         * elf/rtld.c: Include <stap-probe.h>.
2131         (dl_main): Added static probes "init_start" and "init_complete".
2132         * elf/dl-load.c: Include <stap-probe.h>.
2133         (lose): Take new parameter "nsid".
2134         Added static probe "map_failed".
2135         (_dl_map_object_from_fd): Pass namespace id to lose.
2136         Added static probe "map_start".
2137         (open_verify): Pass namespace id to lose.
2138         * elf/dl-open.c: Include <stap-probe.h>.
2139         (dl_open_worker) Added static probes "map_complete", "reloc_start"
2140         and "reloc_complete".
2141         * elf/dl-close.c: Include <stap-probe.h>.
2142         (_dl_close_worker): Added static probes "unmap_start" and
2143         "unmap_complete".
2144         * elf/rtld-debugger-interface.txt: New file documenting the above.
2146 2012-07-26  Roland McGrath  <roland@hack.frob.com>
2148         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
2149         rather than a string variable.
2150         * sunrpc/rpc_main.c (h_output): Likewise.
2151         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
2153 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
2155         * inet/check_native.c: New file.
2157 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
2159         [BZ #13629]
2160         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
2161         if larger part has absolute value 1.0.
2162         * math/s_clog10.c (__clog10): Likewise.
2163         * math/s_clog10f.c (__clog10f): Likewise.
2164         * math/s_clog10l.c (__clog10l): Likewise.
2165         * math/s_clogf.c (__clogf): Likewise.
2166         * math/s_clogl.c (__clogl): Likewise.
2167         * math/libm-test.inc (clog_test): Add more tests.
2168         (clog10_test): Likewise.
2169         * sysdeps/i386/fpu/libm-test-ulps: Update.
2170         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2172         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
2173         (pltexit): Likewise.
2174         (La_regs): Likewise.
2175         (La_retval): Likewise.
2176         (int_retval): Likewise.
2177         Update #error for removed macros to refer only to definitions in
2178         tst-audit.h.
2179         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
2180         macro.
2181         (pltexit): Likewise.
2182         (La_regs): Likewise.
2183         (La_retval): Likewise.
2184         (int_retval): Likewise.
2185         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
2186         macro.
2187         (pltexit): Likewise.
2188         (La_regs): Likewise.
2189         (La_retval): Likewise.
2190         (int_retval): Likewise.
2191         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
2192         macro.
2193         (pltexit): Likewise.
2194         (La_regs): Likewise.
2195         (La_retval): Likewise.
2196         (int_retval): Likewise.
2197         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
2198         macro.
2199         (pltexit): Likewise.
2200         (La_regs): Likewise.
2201         (La_retval): Likewise.
2202         (int_retval): Likewise.
2203         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
2204         macro.
2205         (pltexit): Likewise.
2206         (La_regs): Likewise.
2207         (La_retval): Likewise.
2208         (int_retval): Likewise.
2209         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
2210         macro.
2211         (pltexit): Likewise.
2212         (La_regs): Likewise.
2213         (La_retval): Likewise.
2214         (int_retval): Likewise.
2215         * sysdeps/generic/tst-audit.h: Update comment to refer only to
2216         macro definitions in tst-audit.h.
2217         * sysdeps/i386/tst-audit.h: New file.
2218         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
2219         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
2220         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
2221         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
2222         * sysdeps/sh/tst-audit.h: Likewise.
2223         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
2224         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
2225         * sysdeps/x86_64/tst-audit.h: Likewise.
2227 2012-07-26  Andreas Jaeger  <aj@suse.de>
2229         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
2230         ptrace.
2232         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
2233         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
2234         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
2235         PTRACE_O_MASK.
2236         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
2237         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
2238         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
2240         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
2241         value.
2243         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
2244         _sigsys.
2245         (si_call_addr, si_syscall, si_arch): Define new macro.
2246         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
2247         _sigsys.
2248         (si_call_addr, si_syscall, si_arch): Define new marcro.
2249         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
2250         _sigsys.
2251         (si_call_addr, si_syscall, si_arch): Define new macro.
2252         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
2253         _sigsys.
2254         (si_call_addr, si_syscall, si_arch): Define new macro.
2256 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
2258         [BZ #13717]
2259         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
2260         Change to 2.4.21 where previously 2.4.1.
2261         * sysdeps/unix/sysv/linux/configure: Regenerated.
2262         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
2263         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
2264         Linux kernel version.
2265         (__ASSUME_STD_AUXV): Remove.
2266         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
2267         kernel version.
2268         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
2269         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
2270         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
2271         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
2272         (__ASSUME_NETLINK_SUPPORT): Likewise.
2273         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
2274         (__no_netlink_support): Remove conditional definition.
2275         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
2276         Remove.
2277         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
2278         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
2279         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
2280         (if_nameindex_ioctl): Remove.
2281         (if_nameindex_netlink): Do not handle __no_netlink_support.
2282         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
2283         code.
2284         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
2285         Remove conditional code.
2286         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
2287         code.
2288         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
2289         unconditional.
2290         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
2291         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
2292         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
2293         Remove.
2294         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
2295         [!__ASSUME_STD_AUXV]: Remove conditional code.
2296         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
2297         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
2298         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
2299         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
2300         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
2301         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
2302         code.
2303         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
2304         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
2305         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
2306         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
2307         conditional code.
2308         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
2309         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
2310         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
2311         code.
2312         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
2313         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
2314         conditional code.
2315         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
2316         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
2317         code unconditional.
2318         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
2319         conditional code.
2320         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
2321         unconditional.
2322         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
2323         conditional code.
2324         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
2325         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
2326         unconditional.
2327         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
2328         conditional code.
2329         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
2330         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
2331         code unconditional.
2332         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
2333         conditional code.
2334         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
2335         unconditional.
2336         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
2337         conditional code.
2338         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
2339         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
2340         code unconditional.
2341         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
2342         conditional code.
2343         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
2344         unconditional.
2345         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
2346         conditional code.
2348 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
2350         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
2351         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
2352         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
2353         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
2354         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
2355         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
2356         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
2357         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
2358         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
2359         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
2360         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
2361         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
2362         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
2363         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
2364         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
2365         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
2366         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
2367         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
2368         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
2369         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
2370         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
2371         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
2372         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
2374 2012-07-25  Florian Weimer  <fweimer@redhat.com>
2376         * Versions.def: Add GLIBC_2.17.
2377         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
2378         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
2379         Introduce __libc_secure_getenv.
2380         * stdlib/Versions (2.17): Add secure_getenv
2381         (GLIBC_PRIVATE): Add __libc_secure_getenv.
2382         * stdlib/secure-getenv.c: Rename __secure_getenv to
2383         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
2384         symbol __secure_getenv for GLIBC_2.0.
2385         * stdlib/tst-secure-getenv.c: New.
2386         * stdlib/Makefile (tests): Add testcase.
2387         * manual/startup.texi (Environment Access): Document
2388         secure_getenv.
2389         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
2390         __libc_secure_getenv.
2391         * inet/ruserpass.c (ruserpass): Likewise.
2392         * malloc/mtrace.c (mtrace): Likewise.
2393         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
2394         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
2395         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
2396         * sysdeps/posix/tempname.c: Likewise.  Evaluate
2397         HAVE_SECURE_GETENV.
2398         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
2399         __secure_getenv to __libc_secure_getenv.
2400         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
2401         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
2402         Likewise.
2403         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
2404         Likewise.
2405         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
2406         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
2407         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
2408         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
2409         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
2410         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
2411         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
2413 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
2415         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
2416         (struct La_i86_retval): Likewise.
2417         (struct La_x86_64_regs): Likewise.
2418         (struct La_x86_64_retval): Likewise.
2419         (struct La_x32_regs): Likewise.
2420         (struct La_x32_retval): Likewise.
2421         (struct La_ppc32_regs): Likewise.
2422         (struct La_ppc32_retval): Likewise.
2423         (struct La_ppc64_regs): Likewise.
2424         (struct La_ppc64_retval): Likewise.
2425         (struct La_sh_regs): Likewise.
2426         (struct La_sh_retval): Likewise.
2427         (struct La_s390_32_regs): Likewise.
2428         (struct La_s390_32_retval): Likewise.
2429         (struct La_s390_64_regs): Likewise.
2430         (struct La_s390_64_retval): Likewise.
2431         (struct La_sparc32_regs): Likewise.
2432         (struct La_sparc32_retval): Likewise.
2433         (struct La_sparc64_regs): Likewise.
2434         (struct La_sparc64_retval): Likewise.
2435         (struct audit_ifaces): Remove architecture-specific pltenter and
2436         pltexit members.
2437         * sysdeps/i386/ldsodefs.h: New file.
2438         * sysdeps/powerpc/ldsodefs.h: Likewise.
2439         * sysdeps/s390/ldsodefs.h: Likewise.
2440         * sysdeps/sh/ldsodefs.h: Likewise.
2441         * sysdeps/sparc/ldsodefs.h: Likewise.
2442         * sysdeps/x86_64/ldsodefs.h: Likewise.
2444 2012-07-25  Marek Polacek  <polacek@redhat.com>
2446         [BZ #6808]
2447         * math/libm-test.inc (yn_test): Add another test.
2448         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
2449         to ERANGE when the result is +-Inf.
2450         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
2451         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
2452         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
2453         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
2455 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
2457         * conform/data/time.h-data (NULL): Use macro-constant.  Require
2458         equal to 0.
2459         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
2460         clock_t.
2461         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
2463 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
2465         * configure.in <sysdeps resolving>: Correct printing
2466         Implies_before.
2467         * configure: Regenerate.
2469 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
2471         * math/w_ilogb.c: Include <limits.h>.
2472         * math/w_ilogbl.c: Likewise.
2474 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
2476         * manual/lang.texi (__va_copy): Document primarily as ISO C99
2477         va_copy.  Document allowing for unavailable va_copy only as
2478         pre-C99 compatibility.
2479         * manual/string.texi (Copying and Concatenation): Use va_copy
2480         instead of __va_copy in concat example.
2482 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
2484         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
2485         (__sendto): Use create_address_port.  Initialize APORT and deallocate
2486         it if not null.
2488         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
2489         with O_NOLINK passed to __file_name_lookup.
2491         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
2492         with O_NOLINK passed to __file_name_lookup.
2494         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
2495         negative N or less than NGIDS.
2497         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
2498         type to string_t.  Set ERANGE as errno and return it if NAME is not big
2499         enough.  Use memcpy instead of strncpy.
2501 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
2503         * elf/Makefile (check-data): Remove.
2504         (localplt.data): New vpath directive.
2505         ($(objpfx)check-localplt.out): Use localplt.data from vpath
2506         instead of $(check-data).
2507         * scripts/data/localplt-generic.data: Move to ...
2508         * sysdeps/generic/localplt.data: ... here.
2509         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
2510         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
2511         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
2512         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
2513         ... here.
2514         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
2515         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
2516         ... here.
2517         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
2518         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
2519         ... here.
2520         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
2521         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
2522         ... here.
2523         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
2524         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
2525         ... here.
2526         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
2527         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
2528         ... here.
2530 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2532         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
2533         PPC32 and PPC64 files.
2534         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
2535         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
2537 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
2539         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
2540         __makecontext_ret to ...
2541         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
2542         ... here and call exit if uc_link is NULL.  New file.
2543         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
2544         __makecontext_ret.S.
2545         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
2546         __makecontext_ret to ...
2547         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
2548         ... here and call exit if uc_link is NULL.  New file.
2549         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
2550         __makecontext_ret.S.
2552 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
2554         * elf/elf.h (R_390_IRELATIVE): New definition.
2555         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
2556         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
2557         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
2558         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
2559         (elf_machine_lazy_rel): Likewise.
2560         * sysdeps/s390/dl-irel.h: New file.
2561         * sysdeps/s390/s390-64/memcpy.S: New asm code.
2562         * sysdeps/s390/s390-64/memset.S: New asm code.
2563         * sysdeps/s390/s390-64/memcmp.S: New asm code.
2564         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
2565         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
2566         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
2567         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
2568         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
2569         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
2570         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
2571         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
2572         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
2573         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
2574         * sysdeps/s390/s390-32/memcpy.S: New asm code.
2575         * sysdeps/s390/s390-32/memset.S: New asm code.
2576         * sysdeps/s390/s390-32/memcmp.S: New asm code.
2578 2012-07-17  Marek Polacek  <polacek@redhat.com>
2580         [BZ #14349]
2581         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
2582         * sysdeps/s390/s390-64/configure.in: Likewise.
2583         * sysdeps/sparc/configure.in: Likewise.
2584         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
2585         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
2586         * sysdeps/i386/configure.in: Likewise.
2587         * sysdeps/x86_64/configure.in: Likewise.
2588         * sysdeps/sh/configure.in: Likewise.
2589         * sysdeps/s390/s390-32/configure: Regenerated.
2590         * sysdeps/s390/s390-64/configure: Likewise.
2591         * sysdeps/x86_64/configure: Likewise.
2592         * sysdeps/sh/configure: Likewise.
2593         * sysdeps/powerpc/powerpc64/configure: Likewise.
2594         * sysdeps/powerpc/powerpc32/configure: Likewise.
2595         * sysdeps/sparc/configure: Likwise.
2596         * sysdeps/i386/configure: Likewise.
2598         * elf/dl-open.c: Comment fixes.
2600 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
2602         * Makefile [CXX] (check-data): Remove.
2603         [CXX] (c++-types.data): New vpath directive.
2604         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
2605         vpath.  Do not allow for C++ type data being missing.
2606         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
2607         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
2608         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
2609         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
2610         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
2611         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
2612         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
2613         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
2614         ... here.
2615         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
2616         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
2617         ... here.
2618         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
2619         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
2620         ... here.
2621         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
2622         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
2623         ... here.
2624         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
2625         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
2626         ... here.
2627         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
2628         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
2629         ... here.
2630         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
2631         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
2632         ... here.
2633         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
2634         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
2636         * elf/tls-macros.h (TLS_LE): Move architecture-specific
2637         definitions to architecture-specific files.
2638         (TLS_IE): Likewise.
2639         (TLS_LD): Likewise.
2640         (TLS_GD): Likewise.
2641         * sysdeps/i386/tls-macros.h: New file.
2642         * sysdeps/powerpc/tls-macros.h: Likewise.
2643         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
2644         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
2645         * sysdeps/sh/tls-macros.h: Likewise.
2646         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
2647         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
2648         * sysdeps/x86_64/tls-macros.h: Likewise.
2650 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
2652         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
2653         zero value for regular exit case.
2655         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
2656         (__start_context): Preserve zero value for regular exit case.
2658 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
2659             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
2661         * manual/setjmp.texi (setcontext): Clarify normal process
2662         termination when uc_link is the null pointer.
2663         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
2664         exit call.
2666 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
2668         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
2669         preprocessor.  Test for each exception mask separately.
2671 2012-07-16  Andreas Jaeger  <aj@suse.de>
2673         * po/ru.po: Update from translation team.
2675 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
2677         * conform/data/string.h-data (NULL): Use macro-constant.  Require
2678         equal to 0.
2679         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
2680         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
2681         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
2682         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
2683         [ISO || ISO99 || ISO11] (*_t): Do not allow.
2685 2012-07-13  Andreas Jaeger  <aj@suse.de>
2687         * po/fr.po: Update from translation team.
2689 2012-07-12  Marek Polacek  <polacek@redhat.com>
2691         [BZ #14173]
2692         * math/libm-test.inc (yn_test): Add test for BZ #14173.
2693         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
2694         loop condition.
2696 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
2698         [BZ #13717]
2699         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
2700         Change to 2.4.1 where previously 2.4.0.
2701         * sysdeps/unix/sysv/linux/configure: Regenerated.
2702         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
2703         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
2704         version.
2705         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
2706         (__ASSUME_AT_CLKTCK): Remove.
2707         (__ASSUME_AT_PAGESIZE): Likewise.
2708         (__ASSUME_AT_XID): Likewise.
2709         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
2710         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
2711         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
2712         unconditionally.
2713         (HAVE_AUX_PAGESIZE): Likewise.
2714         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
2715         [__ASSUME_AT_CLKTCK]: Make code unconditional.
2716         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
2718 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
2720         [BZ #14307]
2721         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
2722         the temporary buffer used to invoke __gethostbyname2_r,
2723         __gethostbyaddr_r and gethostbyname4_r to make room for struct
2724         host_data / struct gaih_addrtuple.
2725         * resolv/nss_dns/dns-host.c (global scope): Move definition of
2726         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
2727         header file nss/nsswitch.h.
2728         * nss/nsswitch.h (global scope): Add definition of implementation
2729         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
2730         resolv/nss_dns/dns-host.c).
2732 2012-07-11  Andreas Jaeger  <aj@suse.de>
2734         * po/fr.po: Update from translation team.
2736         * po/sv.po: Update from translation team
2737         * po/fr.po: Another update from translation team.
2739 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2741         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
2742         for subnormals or multiply small sinh result by itself.
2743         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
2744         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2746 2012-07-11  David S. Miller  <davem@davemloft.net>
2748         * sysdeps/sparc/fpu/libm-test-ulps: Update.
2750 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
2752         [BZ #14347]
2753         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
2754         (INTERNAL_MARK): Shift it here.
2756 2012-07-10  Marek Polacek  <polacek@redhat.com>
2758         [BZ #14151]
2759         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
2760         libc_cv_asm_global_directive with .globl.
2761         * configure: Regenerated.
2762         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
2763         with .globl.
2764         * sysdeps/i386/configure: Regenerated.
2765         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
2766         with .globl.
2767         * sysdeps/x86_64/configure: Regenerated.
2768         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
2769         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
2770         * elf/tst-unique2mod2.c: Likewise.
2771         * elf/tst-unique2mod1.c: Likewise.
2772         * elf/tst-unique1mod2.c: Likewise.
2773         * elf/tst-unique1mod1.c: Likewise.
2774         * sysdeps/s390/s390-32/sysdep.h: Likewise.
2775         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
2776         * sysdeps/s390/s390-64/sysdep.h: Likewise.
2777         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
2778         * sysdeps/mach/sysdep.h: Likewise.
2779         * sysdeps/i386/sysdep.h: Likewise.
2780         * sysdeps/i386/i386-mcount.S: Likewise.
2781         * sysdeps/x86_64/_mcount.S: Likewise.
2782         * sysdeps/x86_64/sysdep.h: Likewise.
2783         * sysdeps/sh/_mcount.S: Likewise.
2784         * sysdeps/sh/sysdep.h: Likewise.
2785         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
2786         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
2787         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
2788         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
2789         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
2790         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
2791         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
2792         * locale/localeinfo.h: Likewise.
2793         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
2794         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
2796 2012-07-09  Roland McGrath  <roland@hack.frob.com>
2798         [BZ #14336]
2799         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
2800         system".
2801         * manual/message.texi (The Uniforum approach): Likewise.
2802         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
2803         (glibc iconv Implementation): Likewise.
2805 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
2807         [BZ #14337]
2808         * math/s_clog.c (__clog): Avoid scaling a value down where that
2809         could result in underflow.
2810         * math/s_clog10.c (__clog10): Likewise.
2811         * math/s_clog10f.c (__clog10f): Likewise.
2812         * math/s_clog10l.c (__clog10l): Likewise.
2813         * math/s_clogf.c (__clogf): Likewise.
2814         * math/s_clogl.c (__clogl): Likewise.
2815         * math/libm-test.inc (clog_test): Add more tests.
2816         (clog10_test): Likewise.
2817         * sysdeps/i386/fpu/libm-test-ulps: Update.
2818         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2820 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
2822         [BZ #14283]
2823         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
2824         by 7 not 8 to examine high bit of fractional part.
2826         [BZ #14042]
2827         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
2828         for call to __mcount_internal.
2829         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
2830         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
2831         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
2833 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
2835         [BZ #14154]
2836         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
2837         approximation for values within 0x1p-13f of an odd multiple of
2838         pi/4.
2839         * math/libm-test.inc (tan_test): Do not allow spurious underflow
2840         exception.  Add more tests.
2841         * sysdeps/i386/fpu/libm-test-ulps: Update.
2843         [BZ #6778]
2844         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
2845         inputs and return -1 for them.  Do not check for +Inf in case not
2846         reachable for +Inf.
2847         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
2848         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
2849         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
2850         and return -1 for them.  Do not check for +Inf in case not
2851         reachable for +Inf.
2852         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
2853         define.
2854         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
2855         and return -1 for them.  Do not check for +Inf in case not
2856         reachable for +Inf.
2857         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
2858         spurious underflow.
2859         * sysdeps/i386/fpu/libm-test-ulps: Update.
2860         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2862 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
2864         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
2866 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
2868         [BZ #14157]
2869         [BZ #14331]
2870         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
2871         could result in spurious underflow.  Scale down values above
2872         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
2873         * math/s_csqrtf.c (__csqrtf): Likewise.
2874         * math/s_csqrtl.c (__csqrtl): Likewise.
2875         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
2876         spurious underflow.
2877         * sysdeps/i386/fpu/libm-test-ulps: Update.
2878         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2880 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
2882         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
2883         xopen-msg.sed.
2884         * catgets/xopen-msg.awk: New file.
2885         * catgets/xopen-msg.sed: Removed.
2887         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
2888         po2text.sed.
2889         * intl/po2test.awk: New file.
2890         * intl/po2test.sed: Removed.
2892 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
2894         [BZ #14328]
2895         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
2896         or multiply small sinh result by itself.
2897         * math/s_ctanf.c (__ctanf): Likewise.
2898         * math/s_ctanh.c (__ctanh): Likewise.
2899         * math/s_ctanhf.c (__ctanhf): Likewise.
2900         * math/s_ctanhl.c (__ctanhl): Likewise.
2901         * math/s_ctanl.c (__ctanl): Likewise.
2902         * math/libm-test.inc (ctan_test_tonearest): New function.
2903         (ctan_test_towardzero): Likewise.
2904         (ctan_test_downward): Likewise.
2905         (ctan_test_upward): Likewise.
2906         (ctanh_test_tonearest): Likewise.
2907         (ctanh_test_towardzero): Likewise.
2908         (ctanh_test_downward): Likewise.
2909         (ctanh_test_upward): Likewise.
2910         (main): Call these new functions.
2911         * sysdeps/i386/fpu/libm-test-ulps: Update.
2912         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2914 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
2916         * .gitignore: Delete /ports entry.
2918 2012-07-03  Andreas Jaeger  <aj@suse.de>
2920         * po/bg.po: Update from translation team.
2921         * po/cs.po: Likewise.
2922         * po/de.po: Likewise.
2923         * po/hr.po: Likewise.
2924         * po/nl.pl: Likewise.
2925         * po/pl.po: Likewise.
2926         * po/vi.po: Likewise.
2928 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
2930         * Makeconfig [!+link] (+link-before-libc): New variable.
2931         [!+link] (+link-after-libc): Likewise.
2932         [!+link] (+link-tests): Likewise.
2933         [!+link] (+link): Define in terms of $(+link-before-libc) and
2934         $(+link-after-libc).
2935         [!+link-static] (+link-static-before-libc): New variable.
2936         [!+link-static] (+link-static-after-libc): Likewise.
2937         [!+link-static] (+link-static-tests): Likewise.
2938         [!+link-static] (+link-static): Define in terms of
2939         $(+link-static-before-libc) and $(+link-static-after-libc).
2940         [build-shared] (link-libc-before-gnulib): New variable.
2941         [build-shared] (link-libc-tests): Likewise.
2942         [build-shared] (link-libc): Define in terms of
2943         $(link-libc-before-gnulib).
2944         [!build-shared] (link-libc-tests): New variable.
2945         (link-libc-static-tests): New variable.
2946         [!gnulib] (gnulib-arch): New variable.
2947         [!gnulib] (gnulib-tests): Likewise.
2948         [!gnulib] (static-gnulib-arch): Likewise.
2949         [!gnulib] (static-gnulib-tests): Likewise.
2950         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
2951         Define with "=" instead of ":=".
2952         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
2953         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
2954         * Rules (binaries-all-notests): New variable.
2955         (binaries-all-tests): Likewise.
2956         (binaries-static-notests): Likewise.
2957         (binaries-static-tests): Likewise.
2958         (binaries-all): Define using $(binaries-all-notests) and
2959         $(binaries-all-tests).
2960         (binaries-static): Define using $(binaries-static-notests) and
2961         $(binaries-static-tests).
2962         (binaries-shared-tests): New variable.
2963         (binaries-shared-notests): Likewise.
2964         (binaries-shared): Remove variable.
2965         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
2966         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
2967         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
2968         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
2969         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
2970         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
2971         * elf/Makefile (sln-modules): New variable.
2972         (extra-objs): Add $(sln-modules:=.o).
2973         (ldconfig-modules): Add static-stubs.
2974         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
2975         * elf/static-stubs.c: New file.
2977         [BZ #14283]
2978         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
2979         by 7 not 8 to examine high bit of fractional part.  Use volatile
2980         variables when splitting into final array of floats if
2981         __FLT_EVAL_METHOD__ != 0.
2982         * math/libm-test.inc (cos_test): Add another test.
2983         (sin_test): Likewise.
2984         * sysdeps/i386/fpu/libm-test-ulps: Update.
2986         [BZ #14273]
2987         * math/libm-test.inc (cosh_test): Add more tests.
2989         * version.h (RELEASE): Set to "development".
2990         (VERSION): Set to "2.16.90".
2992 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
2994         * NEWS: Update copyright. Remove last-updated date.
2995         Mention math library bug fixes and timezone data changes.
2996         * README: Mention GNU/Hurd, x32, and HPPA support status.
2998 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
3000         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
3002 2012-06-27  Andreas Jaeger  <aj@suse.de>
3004         * manual/contrib.texi (Contributors): Add Samuel Thibault.
3006 2012-06-25  Andreas Jaeger  <aj@suse.de>
3008         * sysdeps/s390/fpu/libm-test-ulps: Update.
3010 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
3011             Thomas Schwinge  <thomas@codesourcery.com>
3013         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
3014         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
3015         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
3016         fanotify_mark.
3018 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
3020         * sysdeps/mach/start.c: Remove file.
3021         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
3022         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
3023         * sysdeps/sh/init-first.c: Likewise.
3025         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
3026         registers for frame unwinding purposes, add CFI directives.
3027         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
3028         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
3029         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
3030         Likewise.
3032         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
3033         __fortify_fail returning.
3034         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
3036         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
3037         sysdeps/sh/____longjmp_chk.S.
3038         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
3039         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
3040         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
3041         (gen-as-const-headers): Append sigaltstack-offsets.sym.
3043         * sysdeps/sh/abort-instr.h: New file.
3044         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
3045         process in case exit returns.
3047         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
3048         initialize the GOT register before use.
3050         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
3051         calculation of ARGC > 4.
3053         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
3054         meaningful names to some local labels.
3056 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
3057             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
3059         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
3060         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
3061         (__arch_compare_and_exchange_val_16_acq): Likewise.
3062         (__arch_compare_and_exchange_val_32_acq): Likewise.
3063         (atomic_exchange_and_add): Fix gUSA sequence.
3064         (atomic_add): Likewise.
3065         (atomic_add_negative): Likewise.
3066         (atomic_add_zero): Likewise.
3067         (atomic_bit_test_set): Likewise.
3069 2012-06-22  Andreas Schwab  <schwab@redhat.com>
3071         [BZ #13579]
3072         * include/link.h (struct link_map): Add l_free_initfini.
3073         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
3074         l_initfini.
3075         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
3076         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
3077         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
3078         set.
3080 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
3082         * configure.in: Use AC_LANG_SOURCE.
3083         * configure: Regenerate.
3085 2012-06-22  Roland McGrath  <roland@hack.frob.com>
3087         * configure.in (libc_cv_localstatedir): New substituted variable.
3088         * configure: Regenerated.
3089         * config.make.in (localstatedir): New variable, substituted from
3090         libc_cv_localstatedir.
3091         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
3092         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
3093         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
3094         * sysdeps/gnu/configure: Regenerated.
3096 2012-06-21  Jeff Law  <law@redhat.com>
3098         [BZ #14277]
3099         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
3100         free.  Simplify list management for _LIBC case.
3102 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
3104         [BZ #14273]
3105         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
3106         Clear sign bit of 64-bit integer value before comparing against
3107         overflow value.
3109         * sysdeps/mach/configure: Regenerated.
3111 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
3113         [BZ #14278]
3114         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
3116 2012-06-21  Jeff Law  <law@redhat.com>
3118         [BZ #13882]
3119         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
3120         uint16_t for elements in the "seen" array to avoid char overflows.
3121         * elf/dl-fini.c (_dl_sort_fini): Likewise.
3122         * elf/dl-open.c (dl_open_worker): Likewise.
3124 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
3126         * scripts/list-sources.sh: Scan PORTS for translations.
3127         * po/libc.pot: Regenerated.
3129 2012-06-21  Andreas Jaeger  <aj@suse.de>
3131         [BZ #12194]
3132         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
3133         warning.
3134         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
3135         * bits/byteswap-16.h (__bswap_16): Likewise.
3136         * bits/byteswap.h (__bswap_constant_16): Likewise.
3138 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
3140         [BZ #14117]
3141         * sysdeps/i386/fpu_control.h: Removed.
3142         * sysdeps/x86_64/fpu_control.h: Moved to ...
3143         * sysdeps/x86/fpu_control.h: Here.
3145         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
3146         (_FPU_SETCW): Likewise.
3148 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
3150         [BZ #14117]
3151         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
3152         * sysdeps/x86/fpu/bits/mathinline.h: This.
3153         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
3155         [BZ #14050]
3156         [BZ #14117]
3157         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
3158         functions if __x86_64__ is defined.
3160 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
3162         * string/endian.h: Add !__ASSEMBLER__ condition for including
3163         conversion interfaces.
3165 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
3167         [BZ #14241]
3168         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
3169         of ABS(x) in calculating zero to negative powers other than odd
3170         integers.
3171         * math/libm-test.inc (pow_test): Add more tests.
3173 2012-06-15  Andreas Jaeger  <aj@suse.de>
3175         * manual/contrib.texi (Contributors): Update entry of Liubov
3176         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
3177         Machado Filho.
3179 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
3181         * string/string.h: Add __wur to GNU version of strerror_r.
3183 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
3185         [BZ #14229]
3186         * string/Makefile (tests): Add tst-strtok_r.
3187         * string/tst-strtok_r.c: New file.
3188         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
3189         RAX_LP/RDX_LP on SAVE_PTR.
3191 2012-06-14  Roland McGrath  <roland@hack.frob.com>
3193         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
3195 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
3197         * libm_test.inc (csqrt_test): Allow more spurious underflow
3198         exceptions.
3199         (j0_test): Likewise.
3200         (j1_test): Likewise.
3201         (y0_test): Likewise.
3202         (y1_test): Likewise.
3204 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
3206         * po/Makefile (libc.pot): Use UTF-8 charset.
3208 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
3210         [BZ #14210]
3211         Suppress sign-conversion warning from FD_SET.
3212         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
3213         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
3214         not unsigned long int.
3215         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
3217 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
3219         [BZ #14050]
3220         [BZ #14117]
3221         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
3222         __extern_always_inline instead of __extern_inline.
3223         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
3224         (__signbit): Likewise.
3225         (__signbitl): Support C++ namespace.
3226         (lrintf): New inline function.
3227         (lrint): Likewise.
3228         (llrintf): Likewise.
3229         (llrint): Likewise.
3230         (fmaxf): Likewise.
3231         (fmax): Likewise.
3232         (fminf): Likewise.
3233         (fmin): Likewise.
3234         (rint): Likewise.
3235         (rintf): Likewise.
3236         (ceil): Likewise.
3237         (ceilf): Likewise.
3238         (floor): Likewise.
3239         (floorf): Likewise.
3240         (nearbyint): Likewise.
3241         (nearbyintf): Likewise.
3243 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
3245         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
3246         non-default versions.
3248 2012-06-11  Roland McGrath  <roland@hack.frob.com>
3250         [BZ #14218]
3251         * manual/argp.texi (Argp): Reword argp_parse description slightly.
3253 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
3255         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
3256         (FE_UPWARD, FE_DOWNWARD): Don't define.
3257         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
3258         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
3260         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
3261         reading it.
3262         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
3263         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
3265 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
3267         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
3268         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
3269         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
3270         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
3272 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
3274         [BZ #14117]
3275         * sysdeps/i386/fpu/bits/fenv.h: Removed.
3276         * sysdeps/i386/fpu/Implies: New file.
3277         * sysdeps/x86_64/fpu/Implies: Likewise.
3278         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
3279         * sysdeps/x86/fpu/bits/fenv.h: This.
3281         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
3282         __SSE_MATH__.
3284 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
3286         [BZ #14134]
3287         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
3288         character 0xffff that matches the last element of the
3289         conversion table.
3291 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3293         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
3294         fmodl commit.
3296 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3298         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
3299         values higher than 25.6283.
3301 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3303         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
3304         subnormal exponent extraction and add some __builtin_expect.
3305         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
3306         Fix for subnormal mantissa calculation.
3308 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
3310         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
3311         cpu2 is -1 and errno is not ENOSYS.
3313 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
3315         [BZ #14117]
3316         * sysdeps/i386/i486/bits/string.h: Renamed to ...
3317         * sysdeps/x86/bits/string.h: This.
3318         * sysdeps/x86_64/bits/string.h: Removed.
3320         * sysdeps/i386/i486/bits/string.h: Define inline functions only
3321         if not compiling for x86-64, but compiling for >= i486.
3323         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
3324         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
3326         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
3327         New macro from Linux kernel 3.4.0.
3328         (FP_XSTATE_MAGIC2): Likewise.
3329         (FP_XSTATE_MAGIC2_SIZE): Likewise.
3330         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
3331         (struct _fpx_sw_bytes): New struct.
3332         (struct _xsave_hdr): Likewise.
3333         (struct _ymmh_state): Likewise.
3334         (struct _xstate): Likewise.
3336         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
3337         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
3338         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
3339         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
3340         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
3341         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
3343         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
3344         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
3345         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
3346         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
3347         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
3348         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
3350 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
3352         [BZ #13743]
3353         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
3354         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
3355         (sysdep_headers): Include sys/platform/ppc.h.
3356         * sysdeps/powerpc/test-gettimebase.c: Test for
3357         __ppc_get_timebase() to catch future ISA opcode/insn changes.
3358         * manual/Makefile (appendices): Include platform.texi.
3359         * manual/contrib.texi (Contributors): Update @node pointers.
3360         * manual/maint.texi (Maintenance): Likewise.
3361         (Platform): New node.
3362         * manual/platform.texi: New file.  Document the new features.
3364 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
3365             Jakub Jelinek  <jakub@redhat.com>
3367         [BZ #14188]
3368         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
3369         where __builtin_expect is unavailable.
3371 2012-06-03  David S. Miller  <davem@davemloft.net>
3373         * stdlib/longlong.h: Updated from GCC.
3375 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
3377         [BZ #14042]
3378         * sysdeps/powerpc/powerpc32/mcount.c: New file.
3379         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
3380         __mcount_internal.
3381         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
3382         (GLIBC_2.16): Likewise.
3384 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
3386         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
3388 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
3390         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
3391         (default-abi): New variable.
3392         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
3393         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
3394         variable.
3395         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
3396         Likewise.
3397         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
3398         Likewise.
3399         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
3400         Likewise.
3402         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
3403         definition.  Document in comment.
3405 2012-06-01  David S. Miller  <davem@davemloft.net>
3407         * stdlib/longlong.h: Updated from GCC.
3409 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
3411         [BZ #14117]
3412         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
3413         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
3414         sys/debugreg.h sys/io.h here.
3415         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
3416         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
3417         sys/io.h.
3418         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
3419         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
3420         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
3421         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
3422         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
3423         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
3425         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
3426         Define only if __x86_64__ is defined.
3428 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
3430         [BZ #14048]
3431         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
3432         Use int64_t for variable i.
3433         * math/libm-test.inc (fmod_test): Add more tests.
3435         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
3436         z computation is not scheduled after fetestexcept.
3437         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
3438         Use math_force_eval instead of asm to ensure calculation scheduled
3439         before exception test.
3440         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
3441         Ensure a1 + u.d computation is not scheduled after fetestexcept.
3443 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
3445         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
3446         computation is not scheduled after fetestexcept.
3448 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
3450         [BZ #14117]
3451         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
3452         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
3454 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3456         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
3457         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
3459 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
3461         [BZ #14117]
3462         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
3463         <bits/wordsize.h>.
3464         (__WCHAR_MIN): Support __WORDSIZE == 64.
3465         (__WCHAR_MAX): Likewise.
3467         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
3468         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
3470         [BZ #14183]
3471         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
3472         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
3474         [BZ #14117]
3475         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
3476         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
3478         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
3479         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
3481         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
3482         Defined to 1 if __x86_64__ isn't defined.
3483         (_STAT_VER_LINUX_OLD): New.
3484         (st_atime): Remove duplicate.
3485         (st_mtime): Likewise.
3486         (st_ctime): Likewise.
3488 2012-05-31  David S. Miller  <davem@davemloft.net>
3490         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
3491         entries.
3493 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
3495         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
3496         gen-libm-test.pl.
3498         [BZ #14132]
3499         * elf/dl-reloc.c: Include <_itoa.h>.
3500         (_dl_reloc_bad_type): Remove use of INTUSE.
3501         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
3502         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
3503         * stdio-common/psiginfo.c (psiginfo): Likewise.
3504         * stdio-common/psignal.c (psignal): Likewise.
3505         * string/strsignal.c (strsignal): Likewise.
3506         * include/signal.h (_sys_siglist): Declare hidden proto.
3507         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
3508         INTVARDEF with libc_hidden_data_def.
3509         * stdio-common/itoa-udigits.c: Likewise.
3510         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
3511         (_itoa_lower_digits_internal): Remove declaration.
3512         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
3513         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
3514         (_sys_sigabbrev_internal): Remove aliases.
3515         (_sys_siglist): Define hidden alias.
3517 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
3519         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3520         bits/sysctl.h.
3522 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
3524         [BZ #14117]
3525         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
3526         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
3528         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
3529         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
3530         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
3531         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
3532         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
3533         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
3535         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
3536         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
3537         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
3539         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
3540         with __addr.
3541         (insw): Likewise.
3542         (insl): Likewise.
3543         (outsb): Likewise.
3544         (outsw): Likewise.
3545         (outsl): Likewise.
3547         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
3548         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
3549         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
3551         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
3552         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
3553         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
3554         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
3555         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
3556         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
3558         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
3559         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
3561         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
3562         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
3564         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
3565         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
3566         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
3568         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
3569         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
3570         to ...
3571         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
3573         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
3574         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
3575         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
3577         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
3578         for x86-64.
3579         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
3581 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
3583         * math/math.h (M_El): Use two more decimal places.
3584         (M_LOG2El): Likewise.
3585         (M_LOG10El): Likewise.
3586         (M_LN2l): Likewise.
3587         (M_LN10l): Likewise.
3588         (M_PIl): Likewise.
3589         (M_PI_2l): Likewise.
3590         (M_PI_4l): Likewise.
3591         (M_1_PIl): Likewise.
3592         (M_2_PIl): Likewise.
3593         (M_2_SQRTPIl): Likewise.
3594         (M_SQRT2l): Likewise.
3595         (M_SQRT1_2l): Likewise.
3597 2012-05-31  David S. Miller  <davem@davemloft.net>
3599         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
3600         values between float registers.
3601         * sysdeps/sparc/sparc64/memset.S: Likewise.
3602         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
3604 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
3606         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
3607         -D_FORTIFY_SOURCE=1.
3608         (CPPFLAGS-tst-longjmp_chk.c): Define.
3609         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
3610         (CPPFLAGS-tst-longjmp_chk2.c): Define.
3611         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
3612         CFLAGS-tst-wchar-h.c.
3614 2012-05-31  Marek Polacek  <polacek@redhat.com>
3616         [BZ #14132]
3617         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
3618         __endmntent_internal): Remove declaration.
3619         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
3620         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
3621         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
3623 2012-05-30  David S. Miller  <davem@davemloft.net>
3625         * sysdeps/sparc/sparc32/soft-fp/q_util.c
3626         (___Q_simulate_exceptions): Use real FP ops rather than writing
3627         into the %fsr.
3628         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
3629         Likewise.
3631 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
3633         [BZ #14117]
3634         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
3635         * sysdeps/x86/bits/xtitypes.h: This.
3637         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
3638         * sysdeps/x86/bits/wordsize.h: This.
3640         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
3641         * sysdeps/x86/bits/huge_vall.h: This.
3643         * sysdeps/i386/bits/select.h: Removed.
3644         * sysdeps/x86_64/bits/select.h: Renamed to ...
3645         * sysdeps/x86/bits/select.h: This.
3647         * sysdeps/i386/bits/setjmp.h: Removed.
3648         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
3649         * sysdeps/x86/bits/setjmp.h: This.
3651         * sysdeps/i386/bits/mathdef.h: Removed.
3652         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
3653         * sysdeps/x86/bits/mathdef.h: This.
3655 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
3657         [BZ #14132]
3658         * include/sys/socket.h (__connect_internal)
3659         (__libc_sa_len_internal): Remove declaration.
3660         (__connect, __libc_sa_len): Declare hidden_proto.
3661         (SA_LEN): Remove use of INTUSE.
3662         * socket/connect.c: Add libc_hidden_def.
3663         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
3664         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
3665         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
3666         alias.
3667         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
3668         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
3669         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
3670         of adding _internal alias.
3672 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
3674         [BZ #14117]
3675         * sysdeps/i386/bits/link.h: Removed.
3676         * sysdeps/i386/bits/linkmap.h: Likewise.
3677         * sysdeps/x86_64/bits/link.h: Renamed to ...
3678         * sysdeps/x86/bits/link.h: This.
3679         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
3680         * sysdeps/x86/bits/linkmap.h: This.
3682         * sysdeps/i386/bits/endian.h: Removed.
3683         * sysdeps/x86_64/bits/endian.h: Renamed to ...
3684         * sysdeps/x86/bits/endian.h: This.
3686         * sysdeps/i386/bits/byteswap.h: Removed.
3687         * sysdeps/i386/bits/byteswap-16.h: Likewise.
3688         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
3689         * sysdeps/x86/bits/byteswap.h: This.
3690         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
3691         * sysdeps/x86/bits/byteswap-16.h: This.
3692         * sysdeps/i386/Implies: Add x86.
3693         * sysdeps/x86_64/Implies: Likewise.
3695 2012-05-30  David S. Miller  <davem@davemloft.net>
3697         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
3698         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
3699         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
3700         (FP_TRAPPING_EXCEPTIONS): Define.
3701         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
3702         (FP_TRAPPING_EXCEPTIONS): Define.
3703         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
3704         subnormals only when inexact has been signalled or underflow
3705         exceptions are enabled.
3706         (_FP_PACK_CANONICAL): Likewise.
3708 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
3710         [BZ #14183]
3711         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
3712         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
3714 2012-05-30  Richard Henderson  <rth@twiddle.net>
3716         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
3717         with #ifndef NOT_IN_libc.
3719         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
3720         marked to avoid plt entry.
3722 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
3724         [BZ #14112]
3725         * Makeconfig (default-abi): New macro.
3726         (abi-includes): Likewise.
3727         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
3728         $(abi-$(default-abi)-lib-soname) for soname if defined.
3729         ($(common-objpfx)gnu/lib-names.stmp): Generate from
3730         abi-variants.
3731         * Makefile (installed-stubs): Likewise.
3732         * include/stubs-biarch.h: Removed.
3733         * scripts/lib-names.awk: Only handle one library at a time.
3734         * scripts/soversions.awk: Remove WORDSIZE support.
3735         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
3736         entries.
3737         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
3738         Removed.
3739         (syscall-list-default-condition): Likewise.
3740         (syscall-list-default-condition): Likewise.
3741         (syscall-list-includes): Likewise.
3742         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
3743         syscall-list-* with abi-*.  Handle undefined abi-variants.
3744         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
3745         * sysdeps/unix/sysv/linux/i386/Implies: New file.
3746         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
3747         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
3748         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
3749         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
3750         Removed.
3751         (syscall-list-32-options): Likewise.
3752         (syscall-list-32-condition): Likewise.
3753         (syscall-list-64-options): Likewise.
3754         (syscall-list-64-condition): Likewise.
3755         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
3756         macro.
3757         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
3758         Renamed to ...
3759         (abi-*): This.
3760         (abi-64-ld-soname): New macro.
3761         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
3762         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
3763         Renamed to ...
3764         (abi-*): This.
3765         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
3766         * sysdeps/x86_64/x32/shlib-versions: Likewise.
3768 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
3770         * sysdeps/unix/sysv/linux/kernel-features.h
3771         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
3772         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
3773         include <kernel-features.h>.
3774         [!__NR_ftruncate64]: Remove conditional code.
3775         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3776         [__NR_ftruncate64]: Make code unconditional.
3777         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3778         * sysdeps/unix/sysv/linux/truncate64.c: Do not
3779         include <kernel-features.h>.
3780         [!__NR_ftruncate64]: Remove conditional code.
3781         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3782         [__NR_ftruncate64]: Make code unconditional.
3783         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3784         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
3785         include <kernel-features.h>.
3786         [!__NR_ftruncate64]: Remove conditional code.
3787         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3788         [__NR_ftruncate64]: Make code unconditional.
3789         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3790         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
3791         include <kernel-features.h>.
3792         [!__NR_ftruncate64]: Remove conditional code.
3793         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3794         [__NR_ftruncate64]: Make code unconditional.
3795         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3797         * configure.in (libc_cv_fpie): Weaken to a compile test using
3798         LIBC_TRY_CC_OPTION.
3799         * configure: Regenerated.
3801 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
3803         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
3804         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
3805         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
3806         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
3807         Refreshed.
3808         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
3809         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
3810         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
3811         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
3812         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
3813         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
3814         Refreshed.
3816 2012-05-27  David S. Miller  <davem@davemloft.net>
3818         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
3819         (___Q_zero): New.
3820         (__Q_simulate_exceptions): Return void.  Change to simulate
3821         exceptions by writing into the %fsr.
3822         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
3823         (__Qp_handle_exceptions): Likewise.
3824         (numbers): Delete.
3825         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
3826         __Qp_handle_exceptions.
3827         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
3828         __Qp_handle_exceptions.
3829         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
3830         as unused and give dummy FP_RND_NEAREST initializer.
3831         (FP_INHIBIT_RESULTS): Define.
3832         (___Q_simulate_exceptions): Update declaration.
3833         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
3834         formatting.
3835         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
3836         as unused and give dummy FP_RND_NEAREST initializer.
3837         (__Qp_handle_exceptions): Update declaration.
3838         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
3839         formatting.
3841 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
3843         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
3844         the temporary FPU control word.
3845         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
3846         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
3847         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
3848         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
3849         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
3850         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
3851         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
3852         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
3853         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
3854         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
3855         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
3857 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
3859         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
3860         fields.
3862 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
3864         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
3865         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
3866         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
3867         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
3868         Likewise.
3869         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
3870         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
3871         Likewise.
3873 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
3875         * po/h.po: Update from translation team.
3877 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
3879         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
3881         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
3882         handling of denormals.
3883         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
3884         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
3885         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
3886         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
3887         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
3888         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
3889         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
3890         Likewise.
3892 2012-05-26  Marek Polacek  <polacek@redhat.com>
3894         [BZ #14152]
3895         * math/libm-test.inc (fma_test): Don't always expect underflow
3896         exception.
3898 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
3900         [BZ #12416]
3901         * elf/tst-execstack.c: Include stackinfo.h.
3902         (do_test): Adjust test case to ensure that pthread_getattr_np
3903         behaviour remains the same after marking stack executable.
3905 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
3907         * sysdeps/unix/sysv/linux/kernel-features.h
3908         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
3909         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
3910         kernel-features.h.
3911         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
3912         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
3913         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
3914         kernel-features.h.
3915         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
3916         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
3918 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
3920         * configure.in: Define the default includes to being none.
3921         * configure: Regenerated.
3923 2012-05-25  Roland McGrath  <roland@hack.frob.com>
3925         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
3926         * sysdeps/x86_64/setjmp.S: Likewise.
3927         * sysdeps/i386/bsd-setjmp.S: Likewise.
3928         * sysdeps/i386/bsd-_setjmp.S: Likewise.
3929         * sysdeps/i386/setjmp.S: Likewise.
3930         * sysdeps/i386/__longjmp.S: Likewise.
3931         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
3932         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
3934         * include/stap-probe.h: New file.
3935         * configure.in: Handle --enable-systemtap.
3936         * configure: Regenerated.
3937         * config.h.in (USE_STAP_PROBE): New #undef.
3938         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
3939         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
3940         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
3942 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
3944         [BZ #13717]
3945         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
3946         to 2.4.0 where earlier.
3947         * sysdeps/unix/sysv/linux/configure: Regenerated.
3948         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
3949         <kernel-features.h>.
3950         [__ASSUME_32BITUIDS]: Make code unconditional.
3951         [!__ASSUME_32BITUIDS]: Remove conditional code.
3952         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
3953         <kernel-features.h>.
3954         [__ASSUME_32BITUIDS]: Make code unconditional.
3955         [!__ASSUME_32BITUIDS]: Remove conditional code.
3956         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
3957         [__ASSUME_32BITUIDS]: Make code unconditional.
3958         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
3959         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
3960         <kernel-features.h>.
3961         [__ASSUME_32BITUIDS]: Make code unconditional.
3962         [!__ASSUME_32BITUIDS]: Remove conditional code.
3963         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
3964         <kernel-features.h>.
3965         [__ASSUME_32BITUIDS]: Make code unconditional.
3966         [!__ASSUME_32BITUIDS]: Remove conditional code.
3967         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
3968         <kernel-features.h>.
3969         [__ASSUME_32BITUIDS]: Make code unconditional.
3970         [!__ASSUME_32BITUIDS]: Remove conditional code.
3971         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
3972         <kernel-features.h>.
3973         [__ASSUME_32BITUIDS]: Make code unconditional.
3974         [!__ASSUME_32BITUIDS]: Remove conditional code.
3975         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
3976         <kernel-features.h>.
3977         [__ASSUME_32BITUIDS]: Make code unconditional.
3978         [!__ASSUME_32BITUIDS]: Remove conditional code.
3979         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
3980         <kernel-features.h>.
3981         [__ASSUME_32BITUIDS]: Make code unconditional.
3982         [!__ASSUME_32BITUIDS]: Remove conditional code.
3983         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
3984         <kernel-features.h>.
3985         [__ASSUME_32BITUIDS]: Make code unconditional.
3986         [!__ASSUME_32BITUIDS]: Remove conditional code.
3987         * sysdeps/unix/sysv/linux/i386/lchown.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/i386/msgctl.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/i386/semctl.c: Do not include
3996         <kernel-features.h>.
3997         [__ASSUME_32BITUIDS]: Make code unconditional.
3998         [!__ASSUME_32BITUIDS]: Remove conditional code.
3999         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
4000         <kernel-features.h>.
4001         [__NR_setresgid] (__setresgid): Do not declare.
4002         [__ASSUME_32BITUIDS]: Make code unconditional.
4003         [!__ASSUME_32BITUIDS]: Remove conditional code.
4004         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
4005         <kernel-features.h>.
4006         [__NR_setresuid] (__setresuid): Do not declare.
4007         [__ASSUME_32BITUIDS]: Make code unconditional.
4008         [!__ASSUME_32BITUIDS]: Remove conditional code.
4009         * sysdeps/unix/sysv/linux/i386/setfsgid.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/i386/setfsuid.c: Do not include
4014         <kernel-features.h>.
4015         [__ASSUME_32BITUIDS]: Make code unconditional.
4016         [!__ASSUME_32BITUIDS]: Remove conditional code.
4017         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
4018         <kernel-features.h>.
4019         [__ASSUME_32BITUIDS]: Make code unconditional.
4020         [!__ASSUME_32BITUIDS]: Remove conditional code.
4021         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
4022         <kernel-features.h>.
4023         [__ASSUME_32BITUIDS]: Make code unconditional.
4024         [!__ASSUME_32BITUIDS]: Remove conditional code.
4025         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
4026         <kernel-features.h>.
4027         [__ASSUME_32BITUIDS]: Make code unconditional.
4028         [!__ASSUME_32BITUIDS]: Remove conditional code.
4029         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
4030         <kernel-features.h>.
4031         [__ASSUME_32BITUIDS]: Make code unconditional.
4032         [!__ASSUME_32BITUIDS]: Remove conditional code.
4033         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
4034         <kernel-features.h>.
4035         [__ASSUME_32BITUIDS]: Make code unconditional.
4036         [!__ASSUME_32BITUIDS]: Remove conditional code.
4037         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
4038         <kernel-features.h>.
4039         [__ASSUME_32BITUIDS]: Make code unconditional.
4040         [!__ASSUME_32BITUIDS]: Remove conditional code.
4041         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
4042         <kernel-features.h>.
4043         [__ASSUME_32BITUIDS]: Make code unconditional.
4044         [!__ASSUME_32BITUIDS]: Remove conditional code.
4045         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
4046         <kernel-features.h>.
4047         [__ASSUME_32BITUIDS]: Make code unconditional.
4048         [!__ASSUME_32BITUIDS]: Remove conditional code.
4049         * sysdeps/unix/sysv/linux/kernel-features.h
4050         (__ASSUME_SETRESUID_SYSCALL): Remove.
4051         (__ASSUME_SETRESGID_SYSCALL): Likewise.
4052         (__ASSUME_32BITUIDS): Likewise.
4053         (__ASSUME_LDT_WORKS): Likewise.
4054         (__ASSUME_O_DIRECTORY): Likewise.
4055         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
4056         architecture but not kernel version.
4057         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
4058         (__ASSUME_MMAP2_SYSCALL): Likewise.
4059         (__ASSUME_STAT64_SYSCALL): Likewise.
4060         (__ASSUME_IPC64): Likewise.
4061         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
4062         <kernel-features.h>.
4063         [__ASSUME_32BITUIDS]: Make code unconditional.
4064         [!__ASSUME_32BITUIDS]: Remove conditional code.
4065         * sysdeps/unix/sysv/linux/opendir.c: Do not include
4066         <kernel-features.h>.
4067         [__ASSUME_O_DIRECTORY]: Make code unconditional.
4068         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
4069         132096]: Remove conditional code.
4070         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
4071         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
4072         <kernel-features.h>.
4073         [__ASSUME_32BITUIDS]: Make code unconditional.
4074         [!__ASSUME_32BITUIDS]: Remove conditional code.
4075         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
4076         <kernel-features.h>.
4077         [__ASSUME_32BITUIDS]: Make code unconditional.
4078         [!__ASSUME_32BITUIDS]: Remove conditional code.
4079         * sysdeps/unix/sysv/linux/setegid.c: Do not include
4080         <kernel-features.h>.
4081         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
4082         unconditional.
4083         (__setresgid): Do not declare.
4084         [__ASSUME_32BITUIDS]: Make code unconditional.
4085         [!__ASSUME_32BITUIDS]: Remove conditional code.
4086         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
4087         <kernel-features.h>.
4088         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
4089         unconditional.
4090         (__setresuid): Do not declare.
4091         [__ASSUME_32BITUIDS]: Make code unconditional.
4092         [!__ASSUME_32BITUIDS]: Remove conditional code.
4093         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
4094         <kernel-features.h>.
4095         [__ASSUME_32BITUIDS]: Make code unconditional.
4096         [!__ASSUME_32BITUIDS]: Remove conditional code.
4097         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
4098         <kernel-features.h>.
4099         [__ASSUME_32BITUIDS]: Make code unconditional.
4100         [!__ASSUME_32BITUIDS]: Remove conditional code.
4102 2012-05-25  Richard Henderson  <rth@twiddle.net>
4104         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
4105         dl_hwcap to ifunc resolver.
4106         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
4107         elf_ifunc_invoke.
4108         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
4109         dl_hwcap to ifunc resolver.
4110         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
4112 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
4114         [BZ #14153]
4115         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
4116         for |x| <= 2**-26, not 2**-57.
4117         * math/libm-test.inc (acos_test): Do not allow spurious underflow
4118         exception.
4120 2012-05-24  Jeff Law  <law@redhat.com>
4122         * stdio-common/Makefile (tests): Add bug25.
4123         * stdio-common/bug25.c: New test.
4125 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
4127         [BZ #13576]
4128         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
4129         multiple of MALLOC_ALIGNMENT in size.
4130         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
4132 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
4134         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
4135         Require >= 256.
4136         (FILENAME_MAX): Use macro-int-constant.
4137         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
4138         (_IOFBF): Use macro-int-constant.
4139         (_IOLBF): Likewise.
4140         (_IONBF): Likewise.
4141         (SEEK_CUR): Likewise.
4142         (SEEK_END): Likewise.
4143         (SEEK_SET): Likewise.
4144         (TMP_MAX): Likewise.
4145         (EOF): Use macro-int-constant.  Require < 0.
4146         (NULL): Use macro-constant.  Require == 0.
4147         (stdin): Require type to be FILE *.
4148         (stdout): Likewise.
4149         (stderr): Likewise.
4150         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
4151         macro-int-constant.
4152         (EXIT_SUCCESS): Likewise.
4153         (NULL): Use macro-constant.  Require == 0.
4154         (RAND_MAX): Use macro-int-constant.
4155         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
4156         [C99-based standards] (strtof): Require function.
4157         [C99-based standards] (strtold): Likewise.
4158         [C99-based standards] (strtoll): Likewise.
4159         [C99-based standards] (strtoull): Likewise.
4160         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
4161         [ISO || ISO99 || ISO11] (limits.h): Likewise.
4162         [ISO || ISO99 || ISO11] (math.h): Likewise.
4163         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
4164         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
4165         [ISO || ISO99 || ISO11] (*_t): Do not allow.
4167 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
4169         [BZ #14132]
4170         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
4171         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
4172         * intl/dgettext.c (DCGETTEXT): Likewise.
4173         * intl/gettext.c (DCGETTEXT): Likewise.
4174         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
4175         * posix/regex_internal.h (gettext): Likewise.
4176         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
4177         Remove declaration.
4178         * include/argz.h (__argz_count_internal)
4179         (__argz_stringify_internal): Remove declaration.
4180         (__argz_count, __argz_stringify): Declare hidden proto.
4181         * intl/dcgettext.c: Remove use of INTDEF.
4182         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
4183         * string/argz-stringify.c: Likewise.
4184         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
4185         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
4186         Declare hidden proto.
4187         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
4188         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
4189         Declare hidden proto.
4190         * include/stdio.h (__asprintf_internal): Don't declare.
4191         (__asprintf): Don't define as macro.  Declare hidden proto.
4192         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
4193         (__fsetlocking): Declare hidden proto.
4194         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
4195         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
4196         hidden proto.
4197         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
4198         (_IO_setlinebuf): Remove use of INTUSE.
4199         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
4200         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
4201         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
4202         Remove declaration.
4203         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
4204         (_IO_do_flush): Remove use of INTUSE.
4205         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
4206         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
4207         (_IO_adjust_column, _IO_least_wmarker)
4208         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
4209         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
4210         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
4211         (_IO_default_doallocate, _IO_wdefault_doallocate)
4212         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
4213         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
4214         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
4215         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
4216         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
4217         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
4218         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
4219         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
4220         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
4221         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
4222         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
4223         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
4224         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
4225         proto.
4226         (_IO_flush_all_internal, _IO_adjust_column_internal)
4227         (_IO_default_uflow_internal, _IO_default_finish_internal)
4228         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
4229         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
4230         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
4231         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
4232         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
4233         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
4234         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
4235         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
4236         (_IO_file_close_internal, _IO_file_close_it_internal)
4237         (_IO_file_underflow_internal, _IO_file_overflow_internal)
4238         (_IO_file_init_internal, _IO_file_attach_internal)
4239         (_IO_file_fopen_internal, _IO_file_read_internal)
4240         (_IO_file_sync_internal, _IO_file_seek_internal)
4241         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
4242         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
4243         (_IO_str_underflow_internal, _IO_str_overflow_internal)
4244         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
4245         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
4246         (_IO_list_all_internal, _IO_link_in_internal)
4247         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
4248         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
4249         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
4250         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
4251         (_IO_do_write_internal, _IO_padn_internal)
4252         (_IO_getline_info_internal, _IO_getline_internal)
4253         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
4254         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
4255         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
4256         (_IO_vfscanf_internal, _IO_vfprintf_internal)
4257         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
4258         (_IO_init_internal, _IO_un_link_internal): Don't declare.
4259         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
4260         with libc_hidden_ver, remove use of INTUSE.
4261         * libio/genops.c: Likewise.
4262         * libio/freopen.c: Likewise.
4263         * libio/freopen64.c: Likewise.
4264         * libio/iofclose.c: Likewise.
4265         * libio/iofdopen.c: Likewise.
4266         * libio/iofflush.c: Likewise.
4267         * libio/iofflush_u.c: Likewise.
4268         * libio/iofgets.c: Likewise.
4269         * libio/iofgets_u.c: Likewise.
4270         * libio/iofopen.c: Likewise.
4271         * libio/iofopncook.c: Likewise.
4272         * libio/iofread.c: Likewise.
4273         * libio/iofread_u.c: Likewise.
4274         * libio/ioftell.c: Likewise.
4275         * libio/iofwrite.c: Likewise.
4276         * libio/iogetline.c: Likewise.
4277         * libio/iogets.c: Likewise.
4278         * libio/iogetwline.c: Likewise.
4279         * libio/iopadn.c: Likewise.
4280         * libio/iopopen.c: Likewise.
4281         * libio/ioseekoff.c: Likewise.
4282         * libio/ioseekpos.c: Likewise.
4283         * libio/iosetbuffer.c: Likewise.
4284         * libio/iosetvbuf.c: Likewise.
4285         * libio/ioungetc.c: Likewise.
4286         * libio/ioungetwc.c: Likewise.
4287         * libio/iovdprintf.c: Likewise.
4288         * libio/iovsprintf.c: Likewise.
4289         * libio/iovsscanf.c: Likewise.
4290         * libio/memstream.c: Likewise.
4291         * libio/obprintf.c: Likewise.
4292         * libio/oldfileops.c: Likewise.
4293         * libio/oldiofclose.c: Likewise.
4294         * libio/oldiofdopen.c: Likewise.
4295         * libio/oldiofopen.c: Likewise.
4296         * libio/oldiopopen.c: Likewise.
4297         * libio/oldstdfiles.c: Likewise.
4298         * libio/putc.c: Likewise.
4299         * libio/setbuf.c: Likewise.
4300         * libio/setlinebuf.c: Likewise.
4301         * libio/stdfiles.c: Likewise.
4302         * libio/strops.c: Likewise.
4303         * libio/vasprintf.c: Likewise.
4304         * libio/vscanf.c: Likewise.
4305         * libio/vsnprintf.c: Likewise.
4306         * libio/vswprintf.c: Likewise.
4307         * libio/wfiledoalloc.c: Likewise.
4308         * libio/wfileops.c: Likewise.
4309         * libio/wgenops.c: Likewise.
4310         * libio/wmemstream.c: Likewise.
4311         * libio/wstrops.c: Likewise.
4312         * libio/__fpurge.c: Likewise.
4313         * libio/__fsetlocking.c: Likewise.
4314         * assert/assert.c: Likewise.
4315         * debug/fgets_chk.c: Likewise.
4316         * debug/fgets_u_chk.c: Likewise.
4317         * debug/fread_chk.c: Likewise.
4318         * debug/fread_u_chk.c: Likewise.
4319         * debug/gets_chk.c: Likewise.
4320         * debug/obprintf_chk.c: Likewise.
4321         * debug/vasprintf_chk.c: Likewise.
4322         * debug/vdprintf_chk.c: Likewise.
4323         * debug/vsnprintf_chk.c: Likewise.
4324         * debug/vsprintf_chk.c: Likewise.
4325         * malloc/mtrace.c: Likewise.
4326         * misc/error.c: Likewise.
4327         * misc/syslog.c: Likewise.
4328         * stdio-common/asprintf.c: Likewise.
4329         * stdio-common/fxprintf.c: Likewise.
4330         * stdio-common/getw.c: Likewise.
4331         * stdio-common/isoc99_fscanf.c: Likewise.
4332         * stdio-common/isoc99_scanf.c: Likewise.
4333         * stdio-common/isoc99_vfscanf.c: Likewise.
4334         * stdio-common/isoc99_vscanf.c: Likewise.
4335         * stdio-common/isoc99_vsscanf.c: Likewise.
4336         * stdio-common/printf-prs.c: Likewise.
4337         * stdio-common/printf_fp.c: Likewise.
4338         * stdio-common/printf_fphex.c: Likewise.
4339         * stdio-common/printf_size.c: Likewise.
4340         * stdio-common/putw.c: Likewise.
4341         * stdio-common/scanf.c: Likewise.
4342         * stdio-common/sprintf.c: Likewise.
4343         * stdio-common/tmpfile.c: Likewise.
4344         * stdio-common/vfprintf.c: Likewise.
4345         * stdio-common/vfscanf.c: Likewise.
4346         * stdlib/strfmon_l.c: Likewise.
4347         * sunrpc/openchild.c: Likewise.
4348         * sunrpc/xdr_stdio.c: Likewise.
4349         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
4350         * sysdeps/mach/hurd/tmpfile.c: Likewise.
4352 2012-05-24  Roland McGrath  <roland@hack.frob.com>
4354         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
4356         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
4357         in the third column, to generate for the shared library an IFUNC
4358         that uses _dl_vdso_vsym.
4359         * Makerules (COMPILE.c, compile-stdin.c): New variables.
4360         * Makeconfig (object-suffixes-noshared): New variable.
4362         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
4363         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
4364         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
4365         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
4367         [BZ #14132]
4368         * include/sys/time.h (__gettimeofday): Remove macro.
4369         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
4370         * time/gettimeofday.c (__gettimeofday): Remove #undef.
4371         Remove INTDEF.
4372         (__gettimeofday): Add libc_hidden_def.
4373         (gettimeofday): Add libc_hidden_weak.
4374         * sysdeps/mach/gettimeofday.c: Likewise.
4375         * sysdeps/posix/gettimeofday.c: Likewise.
4376         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
4377         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
4378         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
4379         (__gettimeofday_internal): Remove strong_alias.
4380         (__gettimeofday): Add libc_hidden_def.
4381         (gettimeofday): Add libc_hidden_weak.
4382         * sysdeps/unix/syscalls.list (gettimeofday):
4383         Remove __gettimeofday_internal alias.
4385 2012-05-24  Daniel Jacobowitz  <drow@false.org>
4386             H.J. Lu  <hongjiu.lu@intel.com>
4388         [BZ #12495]
4389         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
4390         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
4391         (largebin_index_32_big): New.
4392         (largebin_index): Use it for 16-byte alignment.
4393         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
4394         correction with front_misalign.
4396 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
4398         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
4399         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
4400         Likewise.
4401         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
4402         Likewise.
4403         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
4404         Likewise.
4405         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
4406         Likewise.
4407         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
4408         Likewise.
4409         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
4410         Likewise.
4411         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
4412         Likewise.
4413         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
4414         Likewise.
4415         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
4416         Likewise.
4417         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
4418         Likewise.
4419         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
4420         Likewise.
4421         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
4422         Likewise.
4424         * scripts/data/c++-types-x32-linux-gnu.data: New file.
4425         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
4427 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
4429         [BZ #10846]
4430         [BZ #14036]
4431         * math/libm-test.inc (exp_test): Add test from bug 14036.
4432         (pow_test): Add test from bug 10846.
4434         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
4435         and other flags.
4436         (special_function): Do not include flags in test name.
4437         (parse_args): Likewise.
4438         * sysdeps/i386/fpu/libm-test-ulps: Update.
4439         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
4440         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
4441         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
4442         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4444         * math/gen-libm-test.pl (%beautify): Add entries for underflow
4445         exceptions.
4446         * math/libm-test.inc ("Philosophy"): Update comment about
4447         exception testing.
4448         (UNDERFLOW_EXCEPTION): New macro.
4449         (UNDERFLOW_EXCEPTION_OK): Likewise.
4450         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
4451         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
4452         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
4453         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
4454         (INVALID_EXCEPTION_OK): Update value.
4455         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
4456         (OVERFLOW_EXCEPTION_OK): Likewise.
4457         (IGNORE_ZERO_INF_SIGN): Likewise.
4458         (test_exceptions): Handle underflow exceptions.
4459         (acos_test): Update for underflow exception expectations.
4460         (cexp_test): Likewise.
4461         (clog_test): Likewise.
4462         (clog10_test): Likewise.
4463         (csqrt_test): Likewise.
4464         (ctan_test): Likewise.
4465         (ctanh_test): Likewise.
4466         (exp_test): Likewise.
4467         (exp10_test): Likewise.
4468         (exp2_test): Likewise.
4469         (expm1_test): Likewise.
4470         (fma_test): Likewise.
4471         (j0_test): Likewise.
4472         (jn_test): Likewise.
4473         (nexttoward_test): Likewise.
4474         (pow_test): Likewise.
4475         (scalbn_test): Likewise.
4476         (scalbln_test): Likewise.
4477         (tan_test): Likewise.
4478         (y1_test): Likewise.
4479         * sysdeps/i386/fpu/libm-test-ulps: Update.
4480         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4482 2012-05-23  David S. Miller  <davem@davemloft.net>
4484         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
4485         (__libc_sigaction): Remove unused local variables.
4487 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
4489         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
4491 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
4493         mktime: avoid signed integer overflow
4494         * time/mktime.c (__mktime_internal): Do not mishandle the case
4495         where diff == INT_MIN.
4497         mktime: simplify computation of average
4498         * time/mktime.c (ranged_convert): Use new time_t_avg function
4499         instead of rolling our own (probably-slower) code.
4501         mktime: do not assume signed right shift propagates sign bit
4502         * time/mktime.c (isdst_differ): New static function.
4503         (__mktime_internal): No need to normalize tm_isdst now.
4504         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
4505         tm_isdst values.
4507         mktime: merge another wrapv change from gnulib
4508         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
4509         from some compilers.
4511         mktime: remove incorrect attempt at unusual arithmetics
4512         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
4513         The code didn't really work on such machines anyway.
4514         (TYPE_MINIMUM): Assume two's complement.
4515         (twos_complement_arithmetic): Verify that long_int and time_t
4516         are two's complement (or unsigned, in the latter case).
4518         mktime: check signed shifts on long_int and time_t, too
4519         * time/mktime.c (SHR): Check that shifts work as desired
4520         on the types long_int and time_t too, as SHR is used on
4521         such types.
4523         mktime: do not assume 'long' is wide enough
4524         * time/mktime.c (verify): Move decl up.
4525         (long_int): New type.
4526         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
4527         to remove assumption in the code that 'long' is wide enough to
4528         store year values.  This assumption is not true on x32 and on
4529         some non-glibc platforms.
4531         mktime: merge wrapv change from gnulib
4532         * time/mktime.c (WRAPV): New macro.
4533         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
4534         (guess_time_tm, __mktime_internal): Do not assume that signed
4535         integer overflow wraps around; modern compilers generate code
4536         where this assumption is no longer valid.
4538 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
4540         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
4541         Replace "jmp L(pseudo_end)" with "ret".
4542         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
4543         Likewise.
4545 2012-05-23  Andreas Jaeger  <aj@suse.de>
4547         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
4548         * sysdeps/unix/sysv/linux/poll.c: Remove file.
4550 2012-05-23  Andreas Jaeger  <aj@suse.de>
4551             Maximilian Attems  <max@stro.at>
4553         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
4554         New macros.
4556 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
4558         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
4559         code so that pseudo_end is just ret and the stack pointer is
4560         correct also for static library in error case.
4562 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
4564         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
4565         move to syscalls.list.
4566         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
4567         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
4568         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
4569         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
4571         * manual/install.texi (Running make install): Do not mention Linux
4572         kernel version for which pt_chown is not needed.
4573         (Linux): Do not mention problems with nscd with 2.0 kernels.
4574         * INSTALL: Regenerated.
4576 2012-05-23  Andreas Jaeger  <aj@suse.de>
4578         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
4579         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
4580         macro.
4581         * sysdeps/unix/sysv/linux/s390/bits/mman.h
4582         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
4583         * sysdeps/unix/sysv/linux/sh/bits/mman.h
4584         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
4585         * sysdeps/unix/sysv/linux/i386/bits/mman.h
4586         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
4587         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
4588         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
4589         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
4590         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
4591         * sysdeps/unix/sysv/linux/bits/in.h
4592         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
4594 2012-05-22  Roland McGrath  <roland@hack.frob.com>
4596         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
4597         (PREPARE_VERSION): Just use assert instead, it will be elided
4598         under [NDEBUG] anyway.
4600 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
4602         * sysdeps/unix/sysv/linux/Makefile: Include
4603         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
4604         (sysdep_routines): Remove sysctl.
4605         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
4606         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
4607         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
4608         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
4609         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
4611 2012-05-22  Andreas Jaeger  <aj@suse.de>
4613         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
4614         that pseudo_end is just ret and the stack pointer is correct also
4615         for static library in error case.
4617 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
4619         [BZ #14122]
4620         * nss/nsswitch.c (defconfig_entries): New variable.
4621         (__nss_database_lookup): Don't leak defconfig entries.
4622         (nss_parse_service_list): Don't leak on error paths.
4623         (free_database_entries): New function.
4624         (free_defconfig): New function.
4625         (free_mem): Move common code to free_database_entries.
4627 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
4629         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
4630         Add arch_prctl.
4631         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
4633         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
4634         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
4635         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
4636         New macro.
4637         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
4638         (INTERNAL_SYSCALL_TYPES): Likewise.
4639         (LOAD_ARGS_TYPES_[1-6]): Likewise.
4640         (LOAD_REGS_TYPES_[1-6]): Likewise.
4641         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
4642         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
4644 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4646         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
4647         copysignl for GLIBC_2_0.
4648         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
4649         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
4650         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
4651         logbl for GLIBC_2_0.
4652         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
4653         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
4655 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
4657         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
4658         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
4660         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
4661         Use "neg %eax".
4663         * time/mktime.c: Update copyright years.
4665 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
4667         mktime: merge comment-quoting-style change from gnulib
4668         * time/mktime.c: Quote 'like this' in comments.
4669         The GNU coding standards suggest that we no longer quote `like this',
4670         as "`" and "'" are typically rendered asymmetrically nowadays.
4671         The typical gnulib style is to quote 'like this' when quoting
4672         code, and "like this" when quoting English.
4674         * time/mktime.c (compile-command): Add "-I.".
4676         mktime: merge mktime-internal.h change from gnulib
4677         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
4679         mktime: merge time_r change from gnulib
4680         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
4682         mktime: merge DEBUG change from gnulib
4683         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
4684         case system <time.h> has a #define.
4686         mktime: merge <sys/types.h> change from gnulib
4687         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
4688         since <time.t> is now guaranteed to define time_t.
4690         mktime: merge HAVE_CONFIG_H change from gnulib
4691         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
4693 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
4695         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
4696         Use "neg %eax".
4698         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
4699         __rlim_t cast.
4700         (struct rusage): Use anonymous union to pad each field to
4701         __syscall_slong_t.
4703 2012-05-21  David S. Miller  <davem@davemloft.net>
4705         * Makefules (o-iterator): Remove .s cases.
4706         (compile-command.s): Delete.
4707         (COMPILE.s): Delete.
4708         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
4710 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
4712         * configure.in (libc_cv_predef_stack_protector): Only consider
4713         "foobar" and "__stack_chk_fail" lines in libc_undefs.
4714         * configure: Regenerated.
4716 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
4718         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
4719         New macro.  Use R*LP on int and pointer.
4720         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
4721         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
4722         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
4723         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
4725         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
4726         [__WORDSIZE_TIME64_COMPAT32] instead of
4727         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
4728         (struct utmp): Likewise.
4729         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
4730         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
4731         Renamed to ...
4732         (__WORDSIZE_TIME64_COMPAT32): This.
4733         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
4734         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
4735         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
4736         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
4737         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
4738         (__WORDSIZE_TIME64_COMPAT32): New macro.
4740 2012-05-21  Andreas Jaeger  <aj@suse.de>
4742         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
4743         only if [SHARED]. Add prototype for __wcschr_ia32.
4745 2012-05-21  Roland McGrath  <roland@hack.frob.com>
4747         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
4748         of %rbp unmolested in the jmp_buf while mangling the low bits.
4749         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
4750         unmolested high bits of %rbp while demangling the low bits.
4751         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
4753 2012-05-21  Andreas Jaeger  <aj@suse.de>
4755         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
4756         * sunrpc/svc_simple.c: Use it for registerrpc.
4757         * sunrpc/xcrypt.c: Use it for passwd2des.
4759         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
4761 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
4763         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
4764         Don't define if [__SYSCALL_WORDSIZE != 32].
4765         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
4766         New macro.
4768 2012-05-21  Bruno Haible  <bruno@clisp.org>
4769             Andreas Jaeger  <aj@suse.de>
4771         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
4772         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
4773         inptr and inend for must_buffer_ch.
4774         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
4775         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
4776         * stdio-common/Makefile (tests): Remove bug15.
4777         (bug15-ENV): Remove macro.
4778         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
4779         anymore.
4781 2012-05-19  Andreas Jaeger  <aj@suse.de>
4782             Roland McGrath  <roland@hack.frob.com>
4784         * manual/contrib.texi: Completely rewritten. It contains now an
4785         alphabetical list of contributors and their contributions.
4787 2012-05-21  Richard Henderson  <rth@twiddle.net>
4789         * misc/getauxval.c (__getauxval): Use unsigned long int.
4790         * misc/sys/auxv.h: Include <sys/cdefs.h>.
4791         (getauxval): Use unsigned long int.
4793 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
4795         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
4797 2012-05-21  Roland McGrath  <roland@hack.frob.com>
4799         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
4800         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
4801         __alignof__ (long double).
4803 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4805         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4807 2012-05-20  Richard Henderson  <rth@twiddle.net>
4809         * misc/getauxval.c: New file.
4810         * misc/sys/auxv.h: New file.
4811         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
4812         (routines): Add getauxval.
4813         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
4814         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
4815         * elf/dl-sysdep.c (_dl_auxv): Remove.
4816         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
4817         * elf/dl-support.c (_dl_auxv): New variable.
4818         (_dl_aux_init): Initialize it.
4819         * manual/startup.texi (Auxiliary Vector): New node.
4820         * sysdeps/generic/bits/hwcap.h: New file.
4821         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
4822         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
4823         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
4824         * sysdeps/sparc/sysdep.h: ... here.  Include it.
4825         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
4826         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
4827         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
4828         Update.
4829         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
4830         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
4831         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
4832         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
4833         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
4834         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
4835         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
4836         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
4838 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4840         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4842 2012-05-19  David S. Miller  <davem@davemloft.net>
4844         * sysdeps/sparc/fpu/libm-test-ulps: Update.
4846 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
4848         [BZ #14123]
4849         * math/s_ccosh.c: Include <float.h>
4850         (__ccosh): Avoid internal overflow calculating sinh and cosh
4851         values before multiplying by sin and cos values.
4852         * math/s_ccoshf.c: Likewise.
4853         * math/s_ccoshl.c: Likewise.
4854         * math/s_csin.c: Likewise.
4855         * math/s_csinf.c: Likewise.
4856         * math/s_csinl.c: Likewise.
4857         * math/s_csinh.c: Likewise.
4858         * math/s_csinhf.c: Likewise.
4859         * math/s_csinhl.c: Likewise.
4860         * math/libm-test.inc (ccos_test): Add more tests.
4861         (ccosh_test): Likewise.
4862         (csin_test): Likewise.
4863         (csinh_test): Likewise.
4864         * sysdeps/i386/fpu/libm-test-ulps: Update.
4865         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4867 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
4869         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
4870         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
4872         * sysdeps/x86_64/x32/_itoa.h: Add comment.
4874 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
4876         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
4877         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
4878         * sysdeps/powerpc/soft-fp/Versions: Likewise.
4879         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
4880         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
4881         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
4882         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
4883         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
4884         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
4885         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
4886         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
4887         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
4888         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
4889         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
4890         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
4891         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
4892         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
4893         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
4894         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
4895         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
4896         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
4897         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
4898         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
4899         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
4900         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
4901         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
4902         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
4903         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
4904         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
4905         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
4906         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
4908 2012-05-18  Andreas Jaeger  <aj@suse.de>
4910         * csu/.gitignore: Delete.
4912 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
4914         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
4915         (timex): Use __syscall_slong_t.
4917 2012-05-18  Andreas Jaeger  <aj@suse.de>
4918             Carlos O'Donell  <carlos_odonell@mentor.com>
4920         * manual/install.texi (Configuring and compiling): Update
4921         description about files modified in the source directory.
4922         * INSTALL: Regenerated.
4924 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
4926         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
4927         value.  Use "or" to set return value to -1.
4928         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
4929         negate return value.
4931 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
4933         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
4934         CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
4935         failure if the compiler has Graphite support disabled.
4936         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
4937         Likewise.
4938         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
4939         CFLAGS-memmove.c): Likewise.
4940         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
4941         Likewise.
4943 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
4945         * sysdeps/x86_64/x32/_itoa.h: New file.
4947         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
4948         getdents system call only if kernel and user dirents have the
4949         same d_ino and d_off.
4951         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
4952         LLONG_MAX != LONG_MAX.
4953         (_itoa_word): Use _ITOA_WORD_TYPE on value.
4954         (_fitoa_word): Likewise.
4956         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
4957         years.
4958         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
4959         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
4960         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
4962         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
4963         include <bits/wordsize.h>.  Check __x86_64__ instead of
4964         __WORDSIZE.
4965         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
4966         if __x86_64__ is defined.  Use anonymous union on fpstate.
4968         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
4969         anonymous union.
4971 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
4973         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
4974         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
4975         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
4976         Refer to _rtld_local_ro instead of _rtld_global_ro.
4977         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
4978         Likewise.
4979         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
4980         Likewise.
4981         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
4982         Likewise.
4983         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
4984         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
4985         of _rtld_global, and rtld_progname instead of _dl_argv[0].
4987         * sysdeps/powerpc/powerpc32/dl-machine.c
4988         (__elf_machine_runtime_setup) [PROF]: Don't reference
4989         _dl_prof_resolve.
4991 2012-05-18  Andreas Jaeger  <aj@suse.de>
4993         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
4994         function only available for GCCs before 3.4 since GCC 3.4
4995         introduced a builtin.
4996         (lrint): Likewise.
4997         (llrintf): Likewise.
4998         (llrint): Likewise.
4999         (fmaxf): Likewise.
5000         (fmax): Likewise.
5001         (fminf): Likewise.
5002         (fmin): Likewise.
5003         (rint): Likewise.
5004         (rintf): Likewise.
5005         (nearbyint): Likewise.
5006         (nearbyintf): Likewise.
5007         (ceil): Likewise.
5008         (ceilf): Likewise.
5009         (floor): Likewise.
5010         (floorf): Likewise.
5012 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
5014         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
5015         on both fields and cast pointer to __syscall_ulong_t.
5017         * bits/types.h (__fsword_t): New type.
5018         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
5019         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
5020         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
5021         (__FSWORD_T_TYPE): Likewise.
5022         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
5023         (__FSWORD_T_TYPE): Likewise.
5024         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
5025         (__FSWORD_T_TYPE): Likewise.
5026         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
5027         (__FSWORD_T_TYPE): Likewise.
5028         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
5029         __SWORD_TYPE with __fsword_t.
5030         (statfs64): Likewise.
5032 2012-05-17  David S. Miller  <davem@davemloft.net>
5034         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
5036 2012-05-17  Andreas Jaeger  <aj@suse.de>
5038         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
5039         warning.
5041 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
5043         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
5045 2012-05-17  Andreas Jaeger  <aj@suse.de>
5047         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
5048         when it is used.
5050 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
5052         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
5054 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
5056         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
5057         * sysdeps/x86_64/tst-mallocalign1.c: New file.
5059 2012-05-17  Andreas Jaeger  <aj@suse.de>
5060             Carlos O'Donell  <carlos_odonell@mentor.com>
5062         [BZ #14059]
5063         * sysdeps/x86_64/multiarch/init-arch.h
5064         (bit_YMM_Usable): Rename to...
5065         (bit_AVX_Usable): ... this.
5066         (bit_FMA4_Usable): New macro.
5067         (bit_XMM_state): New macro.
5068         (bit_YMM_state): New macro.
5069         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
5070         [__ASSEMBLER__] (index_AVX_Usable): ... this.
5071         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
5072         (CPUID_OSXSAVE): New macro.
5073         (CPUID_AVX): New macro.
5074         (CPUID_FMA4): New macro.
5075         (index_YMM_Usable): Rename to...
5076         (index_AVX_Usable): ... this.
5077         (HAS_AVX): Use HAS_ARCH_FEATURE.
5078         (HAS_FMA4): Likewise.
5079         (HAS_YMM_USABLE): Remove.
5080         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
5081         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
5082         are present.
5083         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
5084         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
5085         * sysdeps/x86_64/multiarch/Makefile: Likewise.
5086         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
5087         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
5089 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
5091         * math/libm-test.c: Support platforms without multiple rounding modes.
5092         * math/bug-nextafter.c: Support platforms without FP exceptions.
5093         * math/bug-nexttoward.c: Likewise.
5094         * math/test-fenv.c: Likewise.
5095         * math/test-misc.c: Likewise.
5096         * stdlib/bug-getcontext.c: Likewise.
5098 2012-05-17  Andreas Jaeger  <aj@suse.de>
5100         * manual/examples/search.c (critter_cmp): Change signature to
5101         avoid warnings.
5102         * manual/string.texi (Collation Functions): Likewise.
5104 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
5106         * bits/types.h: Fold copyright years.
5107         * bits/typesizes.h: Likewise.
5108         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
5109         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
5110         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
5111         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
5112         * time/time.h: Likewise.
5114 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
5116         [BZ #208]
5117         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
5118         in instead of returning them.  Return void.
5119         (__libc_mallinfo): Accumulate over all arenas.
5120         (__malloc_stats): Adjust for change in int_mallinfo interface.
5122 2012-05-16  Roland McGrath  <roland@hack.frob.com>
5124         [BZ #10375]
5125         * configure.in (NM): Add AC_CHECK_TOOL for it.
5126         (libc_extra_cflags): New substituted variable.
5127         Check for -fstack-protector being used implicitly.
5128         * configure: Regenerated.
5129         * config.make.in (config-extra-cflags): New variable,
5130         gets @libc_extra_cflags@.
5131         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
5133         [BZ #10375]
5134         * configure.in: Check for _FORTIFY_SOURCE being predefined.
5135         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
5136         * configure: Regenerated.
5137         * config.make.in (CPPUNDEFS): New substituted variable.
5138         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
5139         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
5140         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
5142 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
5144         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
5145         (mq_attr): Use __syscall_slong_t.
5147 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
5149         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
5150         Check __x86_64__ instead of __WORDSIZE.
5151         (_STAT_VER_LINUX): Likewise.
5152         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
5153         __syscall_ulong_t and __syscall_slong_t.
5154         (stat64): Likewise.
5156 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
5158         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
5160 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
5162         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
5164 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
5166         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
5167         __syscall_ulong_t.
5169         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
5170         include <bits/wordsize.h>.  Check __x86_64__ instead of
5171         __WORDSIZE.
5172         (greg_t): Use "__extension__ long long int" if __x86_64__ is
5173         defined.
5174         (mcontext_t): Replace "unsigned long" with "unsigned long long".
5176         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
5177         include <bits/wordsize.h>.  Check __x86_64__ instead of
5178         __WORDSIZE.
5179         (user_regs_struct): Use "__extension__ unsigned long long"
5180         instead of "unsigned long" if __x86_64__ is defined.
5181         (user): Likewise.  Pad after pointer field if __ILP32__ is
5182         defined.
5184 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
5186         * configure.in (makeinfo): Require version 4.5 or later.  Allow
5187         versions 5 to 9.
5188         * configure: Regenerated.
5189         * manual/install.texi (texinfo): Increase version requirement to
5190         4.5 or later.
5191         * INSTALL: Regenerated.
5193         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
5195 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
5197         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
5199         * sysdeps/x86_64/x32/ffs.c: New file.
5201         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
5202         __syscall_ulong_t.
5203         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
5204         defined.  Use __syscall_ulong_t.
5205         (shminfo): Use __syscall_ulong_t.
5206         (shm_info): Likewise.
5208         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
5209         __syscall_ulong_t.
5211         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
5212         <bits/wordsize.h>.
5213         (msgqnum_t): Use __syscall_ulong_t.
5214         (msglen_t): Likewise.
5215         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
5216         __syscall_ulong_t.
5218         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
5219         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
5221         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
5223         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
5224         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
5226         * sysvipc/sys/msg.h (msgbuf): Replace long int with
5227         __syscall_slong_t.
5229         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
5230         include <bits/wordsize.h>.  Check __x86_64__ instead of
5231         __WORDSIZE.
5233         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
5234         "unsigned long long int" if __x86_64__ is defined.
5235         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
5237         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
5238         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
5239         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
5241         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
5242         <stdint.h>.
5243         (GET_PC): Cast to uintptr_t first.
5244         (GET_FRAME): Likewise.
5245         (GET_STACK): Likewise.
5247         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
5248         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
5249         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
5250         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
5251         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
5252         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
5253         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
5254         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
5255         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
5256         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
5257         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
5258         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
5259         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
5260         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
5261         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
5262         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
5263         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
5264         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
5265         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
5266         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
5267         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
5268         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
5269         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
5270         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
5271         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
5272         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
5273         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
5274         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
5275         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
5277 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
5279         * Makerules (+depfiles): Also collect depfiles from .oS in
5280         $(extra-objs).
5281         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
5282         .oS, $(libnldbl-routines)).
5284         * Makerules (native-compile-mkdep-flags): Define.
5285         * sunrpc/Makefile (extra-objs): Add $(addprefix
5286         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
5287         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
5288         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
5289         calling $(make-target-directory).
5291 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
5293         * bits/types.h (__snseconds_t): Removed.
5294         * time/time.h (struct timespec): Replace __snseconds_t with
5295         __syscall_slong_t.
5296         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
5297         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
5298         Likewise.
5299         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
5300         (__SNSECONDS_T_TYPE): Likewise.
5301         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
5302         (__SNSECONDS_T_TYPE): Likewise.
5303         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
5304         (__SNSECONDS_T_TYPE): Likewise.
5306 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
5308         * sysdeps/mach/hurd/bits/typesizes.h
5309         (__SYSCALL_SLONG_TYPE): New macro.
5310         (__SYSCALL_ULONG_TYPE): Likewise.
5312 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
5314         * bits/types.h (__syscall_slong_t): New type.
5315         (__syscall_ulong_t): Likewise.
5317         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
5318         (__SYSCALL_ULONG_TYPE): Likewise.
5319         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
5320         (__SYSCALL_SLONG_TYPE): Likewise.
5321         (__SYSCALL_ULONG_TYPE): Likewise.
5322         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
5323         (__SYSCALL_SLONG_TYPE): Likewise.
5324         (__SYSCALL_ULONG_TYPE): Likewise.
5325         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
5326         (__SYSCALL_SLONG_TYPE): Likewise.
5327         (__SYSCALL_ULONG_TYPE): Likewise.
5329 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
5331         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
5332         Add sigaltstack-offsets.sym.
5333         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
5334         <sigaltstack-offsets.h>.
5335         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
5336         longjmp_msg pointer.
5337         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
5338         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
5339         signal stack.
5340         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
5342 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
5344         * elf/stackguard-macros.h: Remove file.
5345         * sysdeps/generic/stackguard-macros.h: New file.
5346         * sysdeps/i386/stackguard-macros.h: Likewise.
5347         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
5348         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
5349         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
5350         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
5351         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
5352         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
5353         * sysdeps/x86_64/stackguard-macros.h: Likewise.
5354         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
5355         <elf/stackguard-macros.h>.
5357         [BZ #14109]
5358         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
5359         __aligned__ in attribute.
5360         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
5361         (gregset_t): Likewise.
5363 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
5365         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
5366         * sysdeps/x86_64/64/Implies-after: Here.  New file.
5367         * sysdeps/x86_64/x32/Implies-after: New file.
5369 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
5371         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
5372         and access return value for _dl_profile_fixup.  Use R10_LP to
5373         load frame size.
5375 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
5377         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
5379 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
5381         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
5382         * sysdeps/x86_64/x32/sysdep.h: New file.
5384 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
5386         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
5387         * sysdeps/x86_64/setjmp.S: Likewise.
5389 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5391         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
5392         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
5393         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
5394         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
5395         remove unused global constant.
5397 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
5399         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
5400         include of <not-cancel.h>.
5402 2012-05-15  Roland McGrath  <roland@hack.frob.com>
5404         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
5406 2012-05-15  Jeff Law  <law@redhat.com>
5407             Andreas Jaeger  <aj@suse.de>
5409         [BZ #13594]
5410         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
5411         out from...
5412         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
5413         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
5414         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
5415         code changing __hst_map_handle.map.
5417 2012-05-15  Roland McGrath  <roland@hack.frob.com>
5419         * configure.in (sysnames): Look for Implies-before and Implies-after
5420         files.
5421         * configure: Regenerated.
5423 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
5425         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
5426         8-byte data alignment with LP_SIZE alignment.
5428 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
5430         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
5431         into R10_LP.
5433 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
5435         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
5437 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
5439         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
5440         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
5441         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
5442         Likewise.
5443         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
5445 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
5447         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
5448         (stackinfo_sub_sp): Likewise.
5450 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
5452         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
5453         RAX_LP.
5455 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
5457         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
5458         into R*_LP.
5460 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
5462         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
5463         sizes into R*_LP.
5465 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
5467         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
5469 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
5471         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
5472         into R11_LP and load __x86_64_shared_cache_size_half into
5473         R8_LP.
5475 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
5477         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
5478         R8_LP.
5480 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5482         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
5483         logb for POWER7.
5484         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
5485         logbf for POWER7.
5486         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
5487         logbl for POWER7.
5488         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
5489         powerpc32/power7/fpu/s_logb.c via #include.
5490         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
5491         powerpc32/power7/fpu/s_logbf.c via #include.
5492         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
5493         powerpc32/power7/fpu/s_logbl.c via #include.
5495 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
5497         * README.libm: Remove file.
5499 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
5501         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
5502         count for x32.  Use R*_LP and omit operand-size suffix.
5504 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
5506         * shlib-versions: Move x86_64-.*-linux.* entries to ...
5507         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
5508         * sysdeps/x86_64/x32/shlib-versions: New file.
5510 2012-05-14  Roland McGrath  <roland@hack.frob.com>
5512         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
5513         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
5514         Use _dl_fatal_printf instead.
5516 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
5518         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
5519         set if not set by the user.  Do not allow for being unset.
5520         * sysdeps/unix/sysv/linux/configure: Regenerated.
5522 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
5524         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
5525         the `q' suffix from lea and replace .quad with ASM_ADDR.
5527 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
5529         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
5530         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
5531         instead of $17.
5532         (PTR_DEMANGLE): Likewise.
5534 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
5536         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
5537         (LP_OP): Likewise.
5538         (ASM_ADDR): Likewise.
5539         (RAX_LP): Likewise.
5540         (RBP_LP): Likewise.
5541         (RBX_LP): Likewise.
5542         (RCX_LP): Likewise.
5543         (RDI_LP): Likewise.
5544         (RSI_LP): Likewise.
5545         (RSP_LP): Likewise.
5546         (R8_LP): Likewise.
5547         (R9_LP): Likewise.
5548         (R10_LP): Likewise.
5549         (R10_LP): Likewise.
5550         (R11_LP): Likewise.
5551         (R12_LP): Likewise.
5552         (R13_LP): Likewise.
5553         (R14_LP): Likewise.
5554         (R15_LP): Likewise.
5556 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
5558         * sysdeps/x86_64/x32/dl-machine.h: New file.
5560 2012-05-14  Andreas Jaeger  <aj@suse.de>
5562         * manual/Makefile (subdir): Remove export of subdir.
5563         (all): Remove target.
5564         (.PHONY): Remove all from list.
5565         (mkinstalldirs): Remove.
5566         (.PHONY): Remove installdirs from list.
5567         ($(inst_infodir)/libc.info): Use make-target-directory.
5568         (installdirs): Remove.
5569         (subdir_%): Remove.
5570         (glibc-targets): Remove.
5571         (lib): Remove.
5572         (stubs): Remove.
5573         ($(objpfx)stubs ../po/manual.pot): Remove.
5574         ($(objpfx)stamp%): Remove.
5575         (make-target-directory): Remove.
5576         (subdir_install): Remove.
5577         (routines): Remove.
5578         (aux): Remove.
5579         (sources): Remove.
5580         (objects): Remove.
5581         (headers): Remove.
5583         [BZ #13750]
5584         * manual/.gitignore: Remove, it's not needed anymore.
5585         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
5586         all files in it.
5587         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
5588         directory.
5589         (texis): Renamed to $(objpfx)texis.
5590         (texis-path): New, contains path to generated files.
5591         (chapters.%): Use texis-path for complete path, add extra argument
5592         libc-texinfo.sh.
5593         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
5594         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
5595         (summary,texi, stamp-summary): Use complete path of
5596         files. Generate files in build dir.
5597         (dir-add.texi): Build in build dir.
5598         (libm-err.texi,stamp-libm-err): Likewise.
5599         (version.texi, stamp-version): Likewise.
5600         (.%c.texi): Likewise.
5601         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
5602         (mostlyclean): Remove target.
5603         (realclean): Remove target.
5604         (generated): Add new variable with contents from mostlyclean and
5605         realclean, remove entries duplicated in common-mostlyclean, add
5606         stamp-libm-err and stamp-version.
5607         (generated-dirs): Add libc directory.
5608         ($(inst_infodir)/libc.info): Install files from build dir.
5610         * manual/install.texi (Configuring and compiling): Adjust since
5611         the info files are not part of the tar ball anymore.
5613 2012-05-14  Andreas Jaeger  <aj@suse.de>
5615         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
5616         variable.
5618 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
5620         [BZ #13717]
5621         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
5622         to 2.2.0 where earlier.
5623         * sysdeps/unix/sysv/linux/configure: Regenerated.
5624         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
5625         Remove conditional code.
5626         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
5627         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
5628         Remove conditional code.
5629         [!__NR_lchown]: Likewise.
5630         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
5631         [__NR_lchown]: Likewise.
5632         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
5633         comment referencing __ASSUME_LCHOWN_SYSCALL.
5634         * sysdeps/unix/sysv/linux/i386/sigaction.c
5635         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
5636         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
5637         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
5638         Remove conditional code.
5639         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
5640         (__protocol_available): Remove #if 0 code.
5641         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
5642         conditional code.
5643         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
5644         * sysdeps/unix/sysv/linux/kernel-features.h
5645         (__ASSUME_GETCWD_SYSCALL): Don't define.
5646         (__ASSUME_REALTIME_SIGNALS): Likewise.
5647         (__ASSUME_PREAD_SYSCALL): Likewise.
5648         (__ASSUME_PWRITE_SYSCALL): Likewise.
5649         (__ASSUME_POLL_SYSCALL): Likewise.
5650         (__ASSUME_LCHOWN_SYSCALL): Likewise.
5651         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
5652         non-SPARC.
5653         (__ASSUME_SIOCGIFNAME): Don't define.
5654         (__ASSUME_MSG_NOSIGNAL): Likewise.
5655         (__ASSUME_SENDFILE): Define unconditionally.
5656         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
5657         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
5658         conditional code.
5659         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
5660         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
5661         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
5662         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
5663         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
5664         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
5665         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
5666         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
5667         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
5668         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5669         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
5670         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
5671         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5672         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
5673         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
5674         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5675         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
5676         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
5677         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5678         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
5679         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
5680         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5681         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
5682         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
5683         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5684         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
5685         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
5686         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5687         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
5688         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
5689         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5690         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
5691         Remove conditional code.
5692         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5693         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
5694         Remove conditional code.
5695         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5696         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
5697         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
5698         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
5699         Remove conditional code.
5700         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5701         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
5702         Remove conditional code.
5703         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5704         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
5705         Remove conditional code.
5706         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5707         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
5708         Remove conditional code.
5709         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5710         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
5711         Remove conditional code.
5712         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5713         * sysdeps/unix/sysv/linux/sh/pwrite64.c
5714         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
5715         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5716         * sysdeps/unix/sysv/linux/sigaction.c
5717         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
5718         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
5719         * sysdeps/unix/sysv/linux/sigpending.c
5720         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
5721         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
5722         * sysdeps/unix/sysv/linux/sigprocmask.c
5723         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
5724         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
5725         * sysdeps/unix/sysv/linux/sigsuspend.c
5726         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
5727         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
5728         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
5729         (__libc_missing_rt_sigs): Remove.
5730         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
5731         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
5732         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
5733         Remove conditional code.
5734         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
5735         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
5736         return 1.
5737         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
5738         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
5739         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
5740         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
5742 2012-05-14  Andreas Jaeger  <aj@suse.de>
5744         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
5745         it's not used in glibc.
5746         (__coshm1): Likewise.
5747         (__acosh1p): Likewise.
5748         (__sgn): Likewise.
5750         * manual/string.texi (Copying and Concatenation): Add missing
5751         variable in concat example.
5752         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
5754 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
5756         [BZ #14103]
5757         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
5758         __builtin_clzl with __builtin_clzll.
5760 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
5762         [BZ #14104]
5763         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
5764         libc_freeres_ptr.
5766 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
5768         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
5769         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
5770         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
5771         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
5773 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
5775         * NEWS: Update ia64 info.
5777 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
5779         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
5780         used as bcopy.
5782 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
5784         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
5785         * sysdeps/unix/syscalls.list (dup3): Likewise.
5786         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
5787         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
5789 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
5791         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
5792         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
5794 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
5796         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
5797         thread pointer.
5798         (TLS_IE): Use mov/add instead of movq/addq to load thread
5799         pointer.
5800         (TLS_GD_PREFIX): New.
5801         (TLS_GD): Use it.
5803 2012-05-11  David S. Miller  <davem@davemloft.net>
5805         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
5806         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
5807         (_FPU_SETCW): Likewise.
5809 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
5811         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
5812         is 32-byte aligned.
5814 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
5816         [BZ #11837]
5817         * iconvdata/gb18030.c: Update tables.
5818         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
5819         characters specially.
5820         (BODY for TO_LOOP): Add encoding of missing ranges.
5822 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
5824         [BZ #13673]
5825         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
5826         * sysdeps/mach/hurd/dup3.c: Likewise.
5827         * sysdeps/mach/hurd/readlinkat.c: Likewise.
5828         * sysdeps/powerpc/memmove.c:: Likewise.
5830 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
5832         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
5833         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
5835 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
5837         * elf/elf.h (R_X86_64_RELATIVE64): New.
5838         (R_X86_64_NUM): Updated.
5839         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
5840         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
5841         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
5842         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
5843         tst-quad1pie tst-quad2pie
5844         (modules-names): Add tst-quadmod1 tst-quadmod2.
5845         ($(objpfx)tst-quad1): New dependency.
5846         ($(objpfx)tst-quad2): Likewise.
5847         ($(objpfx)tst-quad1pie): Likewise.
5848         ($(objpfx)tst-quad2pie): Likewise.
5849         * sysdeps/x86_64/tst-quad1.c: New file.
5850         * sysdeps/x86_64/tst-quad1pie.c: New file.
5851         * sysdeps/x86_64/tst-quad2.c: Likewise.
5852         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
5853         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
5854         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
5855         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
5856         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
5858 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5860         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
5861         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
5862         * streams/stropts.h (t_scalar_t): Define type.
5864         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
5865         (_PATH_PRESERVE): Set to "/var/lib".
5866         (_PATH_RWHODIR): Set to "/var/spool/rwho".
5868         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
5869         instead of int.
5871         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
5872         if __dir_mkfile succeeded.
5874         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
5875         checking for _hurd_dtablesize.  Unlock it right after having
5876         finished _hurd_dtable allocation.
5878 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
5880         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
5881         * sysdeps/mach/hurd/configure: Regenerated.
5882         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
5883         special-casing to...
5884         * sysdeps/gnu/configure.in: ... this new file.
5885         * sysdeps/unix/sysv/linux/configure: Regenerated.
5886         * sysdeps/gnu/configure: New generated file.
5888         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
5889         for Linux: use nsec instead of usec, as well as:
5890         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
5891         members of type struct timespec.
5892         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
5893         New macros.
5894         (struct stat64): Likewise.
5895         (_STATBUF_ST_NSEC): New macro.
5896         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
5898         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
5899         __strtoul_internal rather than strtoul.
5901 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
5903         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
5904         and reject them.
5906 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5908         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
5909         which preserves existing values.
5910         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
5912 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
5914         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
5915         TIMEOUT values.  Return EINVAL for NFDS values either negative or
5916         greater than FD_SETSIZE.
5918 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5920         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
5921         allocated, call __vm_protect to finish enabling the existing space, and
5922         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
5923         allocate the remainder.
5925 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
5927         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
5928         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
5930 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5932         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
5933         sysdeps/mach/hurd/readlink.c.
5935         * posix/tst-sysconf.c (posix_options): Only use
5936         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
5937         _POSIX_SYNCHRONIZED_IO when they are defined
5938         * sysdeps/mach/hurd/bits/posix_opt.h:
5939         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
5940         (_XOPEN_REALTIME): Undefine macro.
5941         (_XOPEN_REALTIME_THREADS): Undefine macro.
5942         (_XOPEN_SHM): Undefine macro.
5943         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
5944         macro to -1.
5945         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
5946         macro to -1.
5947         (_POSIX_ASYNC_IO): Undefine macro.
5948         (_POSIX_PRIORITIZED_IO): Undefine macro.
5949         (_POSIX_SPIN_LOCKS): Define macro to -1.
5951         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
5952         SA_NODEFER, SA_RESETHAND.
5953         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
5954         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
5955         F_DUPFD_CLOEXEC.
5957 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
5959         * elf/Makefile (pldd-modules): Define unconditionally.
5961 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
5963         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
5965 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5967         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
5968         Return ENOENT when name is empty.
5969         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
5971 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
5973         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
5975         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
5977 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5979         Fix mlock in all cases except non-readable pages.
5980         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
5981         instead of VM_PROT_ALL as parameter to __vm_wire function.
5983         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
5984         (__mkdir): When path is `/', just fail with EEXIST.
5985         * sysdeps/mach/hurd/mkdirat.c: Likewise.
5987 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
5989         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
5990         <sys/uio.h> (for writev).
5991         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
5992         and <sys/param.h> (for MIN).
5994 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
5996         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
5997         REQUESTED_TIME.  Properly set the remaining time and return EINTR
5998         if interrupted.
6000 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
6002         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
6003         Depend on against $(link-rpcuserlibs).
6005 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6007         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
6008         (__libc_stack_end): Do not use attribute_relro.
6009         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
6010         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
6011         to libthread-provided value.
6012         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
6013         attribute_relro.
6015 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
6017         [BZ #3748]
6018         * bits/libc-lock.h (__libc_once_get): New macro.
6019         * sysdeps/mach/bits/libc-lock.h: Likewise.
6020         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
6021         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
6022         instead of using implementation details.
6024         * libio/fileops.c: Unconditionally include <kernel-features.h>.
6025         * libio/freopen.c: Likewise.
6026         * libio/freopen64.c: Likewise.
6027         * misc/syslog.c: Likewise.
6028         * nscd/connections.c: Likewise.
6029         * nscd/netgroupcache.c: Likewise.
6030         * sysdeps/posix/getcwd.c: Likewise.
6032 2012-05-10  Roland McGrath  <roland@hack.frob.com>
6034         * math/w_ilogbf.c: Add #include <limits.h>.
6036 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6038         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
6039         path instead of returning without unlocking.
6041         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
6042         immediate-write ioctls.
6043         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
6045 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
6047         * sysdeps/mach/hurd/i386/init-first.c (init): Use
6048         __builtin_frame_address instead of making assumptions about the
6049         location of the return address relative to DATA.  Force early load of
6050         the return address.
6051         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
6052         __builtin_frame_address.
6054         dup3 for GNU Hurd.
6055         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
6056         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
6057         implement dup3 and do some further code clean-ups.
6058         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
6059         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
6061 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6063         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
6065         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
6066         HURD_CRITICAL_END around holding _hurd_dtable_lock.
6067         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
6068         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
6069         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
6070         d->port.lock.
6072         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
6073         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
6074         when handler == SIG_ERR, not when handler != SIG_ERR.
6076 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
6078         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
6079         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
6080         definitions.
6082         accept4 for GNU Hurd.
6083         * include/sys/socket.h (__libc_accept4): New prototype.
6084         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
6085         to implement __libc_accept4.
6086         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
6087         __libc_accept4.
6088         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
6090         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
6091         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
6092         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
6093         signal-defines.sym.
6095 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6097         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6099 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
6101         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
6102         assertion on O_CLOEXEC flag.
6103         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
6104         * hurd/intern-fd.c: Likewise.
6105         * hurd/port2fd.c: Likewise.
6107 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6109         [BZ #3906]
6110         * bits/in.h (IPV6_PKTINFO): Define new macro.
6111         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
6113 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6115         [BZ #13954]
6116         [BZ #13955]
6117         [BZ #13956]
6118         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
6119         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
6120         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
6121         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
6122         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
6123         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
6124         * math/libm-test.inc (logb_test) : Additional logb tests.
6126 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
6127             Andreas Jaeger  <aj@suse.de>
6129         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
6130         * configure: Regenerated.
6131         * config.h.in (LINK_OBSOLETE_RPC): New macro.
6132         * config.make.in (link-obsolete-rpc): New substituted variable.
6133         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
6134         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
6135         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
6136         (shared-only-routines): Don't set it under [link-obsolete-rpc],
6137         so that libc.a contains the symbols.
6138         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
6139         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
6140         * sunrpc/auth_none.c: Likewise.
6141         * sunrpc/auth_unix.c: Likewise.
6142         * sunrpc/authdes_prot.c: Likewise.
6143         * sunrpc/authuxprot.c: Likewise.
6144         * sunrpc/clnt_gen.c: Likewise.
6145         * sunrpc/clnt_perr.c: Likewise.
6146         * sunrpc/clnt_raw.c: Likewise.
6147         * sunrpc/clnt_simp.c: Likewise.
6148         * sunrpc/clnt_tcp.c: Likewise.
6149         * sunrpc/clnt_udp.c: Likewise.
6150         * sunrpc/clnt_unix.c: Likewise.
6151         * sunrpc/des_crypt.c: Likewise.
6152         * sunrpc/des_soft.c: Likewise.
6153         * sunrpc/get_myaddr.c: Likewise.
6154         * sunrpc/key_call.c: Likewise.
6155         * sunrpc/key_prot.c: Likewise.
6156         * sunrpc/netname.c: Likewise.
6157         * sunrpc/pm_getmaps.c: Likewise.
6158         * sunrpc/pm_getport.c: Likewise.
6159         * sunrpc/pmap_clnt.c: Likewise.
6160         * sunrpc/pmap_prot.c: Likewise.
6161         * sunrpc/pmap_prot2.c: Likewise.
6162         * sunrpc/pmap_rmt.c: Likewise.
6163         * sunrpc/publickey.c: Likewise.
6164         * sunrpc/rpc_cmsg.c: Likewise.
6165         * sunrpc/rpc_common.c: Likewise.
6166         * sunrpc/rpc_dtable.c: Likewise.
6167         * sunrpc/rpc_prot.c: Likewise.
6168         * sunrpc/rpc_thread.c: Likewise.
6169         * sunrpc/rtime.c: Likewise.
6170         * sunrpc/svc.c: Likewise.
6171         * sunrpc/svc_auth.c: Likewise.
6172         * sunrpc/svc_raw.c: Likewise.
6173         * sunrpc/svc_run.c: Likewise.
6174         * sunrpc/svc_tcp.c: Likewise.
6175         * sunrpc/svc_udp.c: Likewise.
6176         * sunrpc/svc_unix.c: Likewise.
6177         * sunrpc/svcauth_des.c: Likewise.
6178         * sunrpc/xcrypt.c: Likewise.
6179         * sunrpc/xdr.c: Likewise.
6180         * sunrpc/xdr_array.c: Likewise.
6181         * sunrpc/xdr_float.c: Likewise.
6182         * sunrpc/xdr_intXX_t.c: Likewise.
6183         * sunrpc/xdr_mem.c: Likewise.
6184         * sunrpc/xdr_rec.c: Likewise.
6185         * sunrpc/xdr_ref.c: Likewise.
6186         * sunrpc/xdr_sizeof.c: Likewise.
6187         * sunrpc/xdr_stdio.c: Likewise.
6189 2012-05-10  Roland McGrath  <roland@hack.frob.com>
6191         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
6192         change.  Update copyright years.
6194 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
6196         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
6198 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
6199             Joseph Myers  <joseph@codesourcery.com>
6200             Paul Pluzhnikov  <ppluzhnikov@google.com>
6202         [BZ #14012]
6203         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
6204         requiring rpcgen.
6205         [cross-compiling] (extra-libs): Likewise.
6206         [cross-compiling] (extra-libs-others): Likewise.
6207         [cross-compiling] (librpcsvc-routines): Likewise.
6208         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
6209         [cross-compiling] (omit-deps): Likewise.
6210         (sunrpc-CPPFLAGS): New variable.
6211         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
6212         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
6213         (cross-rpcgen-objs): New variable.
6214         (extra-objs): Append $(cross-rpcgen-objs).
6215         ($(cross-rpcgen-objs)): New rule.
6216         ($(objpfx)cross-rpcgen): Likewise.
6217         (rpcgen-cmd): Define to use $(built-program-file).  Expand
6218         comment.
6219         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
6220         ($(objpfx)x%.stmp): Likewise.
6221         * sunrpc/proto.h [IS_IN_build] (_): Define.
6222         [IS_IN_build] (_libc_intl_domainname): Likewise.
6224 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
6226         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
6227         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
6228         and R_X86_64_TPOFF64.
6230 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
6232         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
6233         sysdeps/unix/sysv/syscalls.list.
6234         (stime): Likewise.
6235         (utime): Likewise.
6236         * sysdeps/unix/sysv/syscalls.list: Remove file.
6238 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
6240         [BZ #3440]
6241         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
6242         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
6243         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
6244         (__LC_IDENTIFICATION): Make these macros useful in #if
6245         expressions, as required by C99.
6247 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
6249         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
6250         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
6251         after this.
6253 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
6255         * stdlib/longlong.h: Updated from GCC.
6257 2012-05-09  Andreas Jaeger  <aj@suse.de>
6259         * nscd/nscd.c (run_modes): Make named enum, reorder so that
6260         default is first entry.
6261         (run_mode): Set type.
6262         (main): Remove informal message about syslog.
6263         (options): Fix typo.
6265         [BZ #14053]
6266         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
6267         to asm.
6268         (lrint): Likewise.
6269         (llrintf): Likewise.
6270         (llrint): Likewise.
6271         (rint): Likewise.
6272         (rintf): Likewise.
6273         (nearbyint): Likewise.
6274         (nearbyintf): Likewise.
6276 2012-05-09  Andreas Jaeger  <aj@suse.de>
6277             Pedro Alves  <palves@redhat.com>
6279         * nscd/nscd.c (run_mode): Use enum.
6280         (main): Cleanup coding style issue.
6282 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
6283             Andreas Jaeger  <aj@suse.de>
6285         * nscd/nscd.c (go_background): Replaced with...
6286         (run_mode): ... this.
6287         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
6288         (options): Add -F --foreground.
6289         (main): Implement it.
6290         (parse_opt): Parse it.
6292 2012-05-09  Andreas Jaeger  <aj@suse.de>
6294         [BZ #14083]
6295         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
6296         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
6297         -Wconversion warning.
6298         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
6299         Likewise.
6301 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
6303         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
6304         == 0.
6305         (LC_ALL): Use macro-int-constant.
6306         (LC_COLLATE): Likewise.
6307         (LC_CTYPE): Likewise.
6308         (LC_MESSAGES): Likewise.
6309         (LC_MONETARY): Likewise.
6310         (LC_NUMERIC): Likewise.
6311         (LC_TIME): Likewise.
6312         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
6313         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
6314         [ISO || ISO99 || ISO11] (*_t): Do not allow.
6315         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
6316         Specify type.
6317         [C99-based standards] (float_t): Expect type.
6318         [C99-based standards] (double_t): Expect type.
6319         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
6320         type.
6321         [C99-based standards] (HUGE_VALL): Likewise.
6322         [C99-based standards] (INFINITY): Likewise.
6323         [C99-based standards] (NAN): Likewise.
6324         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
6325         [C99-based standards] (FP_NAN): Likewise.
6326         [C99-based standards] (FP_NORMAL): Likewise.
6327         [C99-based standards] (FP_SUBNORMAL): Likewise.
6328         [C99-based standards] (FP_ZERO): Likewise.
6329         [C99-based standards] (FP_FAST_FMA): Use
6330         optional-macro-int-constant.  Specify type.  Require == 1.
6331         [C99-based standards] (FP_FAST_FMAF): Likewise.
6332         [C99-based standards] (FP_FAST_FMAL): Likewise.
6333         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
6334         [C99-based standards] (FP_ILOGBNAN): Likewise.
6335         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
6336         Specify type.
6337         [C99-based standards] (MATH_ERREXCEPT): Likewise.
6338         [C99-based standards] (math_errhandling): Specify type.
6339         [ISO99 || ISO11] (signgam): Do not allow.
6340         [non-C99-based standards] (copysignf): Do not allow.
6341         [non-C99-based standards] (exp2f): Likewise.
6342         [non-C99-based standards] (log2f): Likewise.
6343         [non-C99-based standards] (modff): Allow.
6344         [non-C99-based standards] (erff): Do not allow.
6345         [non-C99-based standards] (erfcf): Likewise.
6346         [non-C99-based standards] (gammaf): Likewise.
6347         [non-C99-based standards] (hypotf): Likewise.
6348         [non-C99-based standards] (j0f): Likewise.
6349         [non-C99-based standards] (j1f): Likewise.
6350         [non-C99-based standards] (jnf): Likewise.
6351         [non-C99-based standards] (lgammaf): Likewise.
6352         [non-C99-based standards] (tgammaf): Likewise.
6353         [non-C99-based standards] (y0f): Likewise.
6354         [non-C99-based standards] (y1f): Likewise.
6355         [non-C99-based standards] (ynf): Likewise.
6356         [non-C99-based standards] (isnanf): Likewise.
6357         [non-C99-based standards] (acoshf): Likewise.
6358         [non-C99-based standards] (asinhf): Likewise.
6359         [non-C99-based standards] (atanhf): Likewise.
6360         [non-C99-based standards] (cbrtf): Likewise.
6361         [non-C99-based standards] (expm1f): Likewise.
6362         [non-C99-based standards] (ilogbf): Likewise.
6363         [non-C99-based standards] (log1pf): Likewise.
6364         [non-C99-based standards] (logbf): Likewise.
6365         [non-C99-based standards] (nextafterf): Likewise.
6366         [non-C99-based standards] (remainderf): Likewise.
6367         [non-C99-based standards] (rintf): Likewise.
6368         [non-C99-based standards] (scalbf): Likewise.
6369         [non-C99-based standards] (copysignl): Likewise.
6370         [non-C99-based standards] (exp2l): Likewise.
6371         [non-C99-based standards] (log2l): Likewise.
6372         [non-C99-based standards] (modfl): Allow.
6373         [non-C99-based standards] (erfl): Do not allow.
6374         [non-C99-based standards] (erfcl): Likewise.
6375         [non-C99-based standards] (gammal): Likewise.
6376         [non-C99-based standards] (hypotl): Likewise.
6377         [non-C99-based standards] (j0l): Likewise.
6378         [non-C99-based standards] (j1l): Likewise.
6379         [non-C99-based standards] (jnl): Likewise.
6380         [non-C99-based standards] (lgammal): Likewise.
6381         [non-C99-based standards] (tgammal): Likewise.
6382         [non-C99-based standards] (y0l): Likewise.
6383         [non-C99-based standards] (y1l): Likewise.
6384         [non-C99-based standards] (ynl): Likewise.
6385         [non-C99-based standards] (isnanl): Likewise.
6386         [non-C99-based standards] (acoshl): Likewise.
6387         [non-C99-based standards] (asinhl): Likewise.
6388         [non-C99-based standards] (atanhl): Likewise.
6389         [non-C99-based standards] (cbrtl): Likewise.
6390         [non-C99-based standards] (expm1l): Likewise.
6391         [non-C99-based standards] (ilogbl): Likewise.
6392         [non-C99-based standards] (log1pl): Likewise.
6393         [non-C99-based standards] (logbl): Likewise.
6394         [non-C99-based standards] (nextafterl): Likewise.
6395         [non-C99-based standards] (remainderl): Likewise.
6396         [non-C99-based standards] (rintl): Likewise.
6397         [non-C99-based standards] (scalbl): Likewise.
6398         [ISO || ISO99 || ISO11] (*_t): Do not allow.
6399         [non-C99-based standards] (FP_*): Do not allow.
6400         [C99-based standards] (FP_*): Change to
6401         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
6402         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
6403         allow.
6404         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
6405         (SIG_ERR): Likewise.
6406         [X/Open-based standards] (SIG_HOLD): Likewise.
6407         (SIG_IGN): Likewise.
6408         (SIGABRT): Use macro-int-constant.  Specify type.  Require
6409         positive value.
6410         (SIGFPE): Likewise.
6411         (SIGILL): Likewise.
6412         (SIGINT): Likewise.
6413         (SIGSEGV): Likewise.
6414         (SIGTER): Likewise.
6415         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
6416         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
6417         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
6418         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
6419         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
6420         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
6421         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
6422         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
6423         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
6424         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
6425         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
6426         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
6427         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
6428         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
6429         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
6430         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
6431         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
6432         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
6433         [X/Open-based standards] (SIGTRAP): Likewise.
6434         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
6435         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
6436         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
6437         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
6438         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
6439         allow.
6441 2012-05-08  Ian Wienand  <ianw@vmware.com>
6443         [BZ #14080]
6444         * time/tzset.c (__tzset_parse_tz): Update default rules for
6445         daylight time changes in the Energy Policy Act of 2005.
6447 2012-05-09  Andreas Jaeger  <aj@suse.de>
6449         [BZ #13983]
6450         * elf/ldconfig.c (parse_conf): Change string to make clear that
6451         ldconfig only issued a warning if ld.so.conf does not exist.
6453 2012-05-08  David S. Miller  <davem@davemloft.net>
6455         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
6456         movxtod instead of popping the value on the stack.
6458         * sysdeps/sparc/fpu/libm-test-ulps: Update.
6460 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
6462         * config.h.in: Add HAVE_ARM_PCS_VFP.
6464 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
6466         [BZ #13979]
6467         * include/features.h: Warn if user requests __FORTIFY_SOURCE
6468         checking but the checks are disabled for any reason.
6470 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
6472         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
6473         and ELF64_R_TYPE with ELFW(R_TYPE).
6475 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
6477         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
6478         (ulimit): Likewise.
6480         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
6481         (settimeofday): Likewise.
6483 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
6485         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
6486         a struct th_u2 inside the union, and move tu_block/tu_code into
6487         a new th_u3 union of tu_block/tu_code inside of that.  Move
6488         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
6489         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
6490         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
6491         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
6492         (th_stuff): Change to th_u1.tu_stuff.
6493         (th_data): Define.
6494         (th_msg): Change to th_u1.th_u2.tu_data.
6496 2012-05-07  David S. Miller  <davem@davemloft.net>
6498         * sysdeps/sparc/fpu/libm-test-ulps: Update.
6500         [BZ #14074]
6501         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
6502         (SETUP_PIC_REG): Use it.
6503         (SETUP_PIC_REG_LEAF): Use it.
6505 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
6507         [BZ #13885]
6508         [BZ #13923]
6509         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
6510         USE_AS_EXPM1L.
6511         (EXPL_FINITE): Likewise.
6512         (FLDLOG): Likewise.
6513         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
6514         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
6515         e_expl.S.
6516         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
6517         USE_AS_EXPM1L.
6518         (EXPL_FINITE): Likewise.
6519         (FLDLOG): Likewise.
6520         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
6521         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
6522         e_expl.S.
6523         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
6524         test of -max_value argument for long double.
6525         * sysdeps/i386/fpu/libm-test-ulps: Update.
6526         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6528 2012-05-06  David S. Miller  <davem@davemloft.net>
6530         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
6531         quad soft-float symbols whose references which are compiler
6532         generated.
6533         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
6535 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
6537         [BZ #13884]
6538         [BZ #13914]
6539         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
6540         USE_AS_EXP10L.
6541         (EXPL_FINITE): Likewise.
6542         (FLDLOG): Likewise.
6543         (c0): Likewise.
6544         (c1): Likewise.
6545         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
6546         Adjust comments for base varying.
6547         (__expl_finite): Change alias to EXPL_FINITE.
6548         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
6549         e_expl.S.
6550         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
6551         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
6552         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
6553         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
6554         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
6555         USE_AS_EXP10L.
6556         (EXPL_FINITE): Likewise.
6557         (FLDLOG): Likewise.
6558         (c0): Likewise.
6559         (c1): Likewise.
6560         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
6561         Adjust comments for base varying.
6562         (__expl_finite): Change alias to EXPL_FINITE.
6563         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
6564         tests for bugs.
6565         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6567         [BZ #14064]
6568         * math/libm-test.inc (check_float_internal): Correct ulp
6569         calculation for subnormal expected results.
6571 2012-05-06  Andreas Jaeger  <aj@suse.de>
6573         * Makeconfig (+math-flags): New, set to -frounding-math.
6574         (+cflags): Add +math-flags so that all of glibc gets compiled with
6575         it.
6577         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
6579 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
6581         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
6582         Disable one test.
6584         [BZ #13787]
6585         [BZ #13922]
6586         [BZ #14036]
6587         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
6588         (__ieee754_expl): Allow for and saturate large arguments.
6589         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
6590         (u_threshold): Likewise.
6591         (__exp): Call __ieee754_exp before checking for overflow and
6592         underflow.
6593         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
6594         (u_threshold): Likewise.
6595         (__expf): Call __ieee754_expf before checking for overflow and
6596         underflow.
6597         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
6598         (u_threshold): Likewise.
6599         (__expl): Call __ieee754_expl before checking for overflow and
6600         underflow.
6601         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
6602         (__ieee754_expl): Allow for and saturate large arguments.
6603         * math/libm-test.inc (exp_test): Add another test.  Do not allow
6604         missing overflow exception on overflow.
6605         (expm1_test): Do not allow missing overflow exception on overflow.
6607         * sysdeps/i386/fpu/e_expl.c: Move to ...
6608         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
6609         rather than using inline asm.
6610         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
6611         * sysdeps/x86_64/fpu/e_expl.S: Copy from
6612         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
6614         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
6615         (nice): Likewise.
6616         (poll): Likewise.
6617         (signal): Likewise.
6618         (time): Likewise.
6619         (times): Likewise.
6621 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
6623         * sysdeps/unix/syscalls.list (adjtime): Add entry from
6624         sysdeps/unix/common/syscalls.list.
6625         (fchmod): Likewise.
6626         (fchown): Likewise.
6627         (ftruncate): Likewise.
6628         (getrusage): Likewise.
6629         (gettimeofday): Likewise.
6630         (setpgid): Likewise.
6631         (setregid): Likewise.
6632         (setreuid): Likewise.
6633         (sigaction): Likewise.
6634         (truncate): Likewise.
6635         (vhangup): Likewise.
6636         * sysdeps/unix/common/syscalls.list: Remove file.
6637         * sysdeps/unix/bsd/Implies: Don't include unix/common.
6638         * sysdeps/unix/sysv/linux/Implies: Likewise.
6640 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
6642         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
6643         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
6644         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
6645         Moved to ...
6646         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
6647         Here.
6648         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
6649         to ...
6650         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
6651         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
6652         to ...
6653         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
6654         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
6655         to ...
6656         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
6657         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
6658         to ...
6659         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
6660         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
6661         to ...
6662         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
6663         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
6664         to ...
6665         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
6666         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
6667         to ...
6668         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
6669         Here.
6670         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
6671         to ...
6672         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
6673         Here.
6674         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
6675         to ...
6676         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
6677         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
6678         Moved to ...
6679         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
6680         Here.
6681         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
6682         to ...
6683         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
6685 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
6687         * sysdeps/unix/common/bits/dirent.h: Remove file.
6688         * sysdeps/unix/common/bits/fcntl.h: Likewise.
6690         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
6691         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
6692         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
6693         * sysdeps/unix/bsd/isatty.c: Likewise.
6694         * sysdeps/unix/bsd/tcdrain.c: Likewise.
6695         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
6696         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
6698 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6700         [BZ #13563]
6701         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
6702         long double comparison inaccuracies.
6703         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
6704         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6706 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
6708         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
6709         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
6711 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
6713         [BZ #14049]
6714         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
6715         nonzero digits before rounding a hex value.
6716         * stdlib/tst-strtod.c (tests): Add another test.
6718 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
6720         * sysdeps/s390/fpu/libm-test-ulps: Update.
6722 2012-05-03  Andreas Jaeger  <aj@suse.de>
6724         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
6725         does not get optimized out.
6726         (malloc_opt_barrier): New.
6728 2012-05-03  Andreas Jaeger  <aj@suse.de>
6729             Roland McGrath  <roland@hack.frob.com>
6731         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
6732         intermediate file deletion.
6733         (generated): Add .symlist files.
6735 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
6737         [BZ #13775]
6738         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
6739         Redirect under this condition.
6740         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
6741         [__USE_GNU] (__dprintf_chk): Not under this condition.
6742         [__USE_GNU] (__vdprintf_chk): Likewise.
6743         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
6744         under this condition.
6745         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
6746         [__USE_XOPEN2K8] (dprintf): Define under this condition.
6747         [__USE_XOPEN2K8] (vdprintf): Likewise.
6748         [__USE_GNU] (__dprintf_chk): Not under this condition.
6749         [__USE_GNU] (__vdprintf_chk): Likewise.
6750         [__USE_GNU] (dprintf): Likewise.
6751         [__USE_GNU] (vdprintf): Likewise.
6753 2012-05-03  Roland McGrath  <roland@hack.frob.com>
6755         * elf/Makefile (common-generated): Set this instead of generated for
6756         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
6757         $(all-built-dso)-derived lists.
6759 2012-05-03  Andreas Jaeger  <aj@suse.de>
6761         * sysdeps/i386/fpu/libm-test-ulps: Update.
6763         * FAQ: Removed.
6764         * FAQ.in: Likewise.
6765         * scripts/gen-FAQ.pl: Likewise.
6766         * manual/install.texi (Installation): Point to online location of
6767         FAQ.
6768         * Makefile (files-for-dist): Remove FAQ.
6769         (FAQ): Remove.
6771 2012-05-02  Allan McRae  <allan@archlinux.org>
6773         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
6774         (LDFLAGS-reldepmod5.so): Likewise.
6775         (LDFLAGS-reldep6mod1.so): Likewise.
6776         (LDFLAGS-reldep6mod4.so): Likewise.
6777         (LDFLAGS-reldep8mod3.so): Likewise.
6778         (LDFLAGS-unload4mod1.so): Likewise.
6779         (LDFLAGS-unload4mod2.so): Likewise.
6780         (LDFLAGS-tst-initorder): Likewise.
6781         (LDFLAGS-tst-initordera2.so): Likewise.
6782         (LDFLAGS-tst-initordera3.so): Likewise.
6783         (LDFLAGS-tst-initordera4.so): Likewise.
6784         (LDFLAGS-tst-initorderb2.so): Likewise.
6785         (LDFLAGS-noload): Likewise.
6786         (LDFLAGS-next): Likewise.
6787         (LDFLAGS-order2mod1.so): Likewise.
6788         (LDFLAGS-order2mod2.so): Likewise.
6789         (LDFLAGS-tst-initorder2): Likewise.
6790         (LDFLAGS-tst-initorder2a.so): Likewise.
6791         (LDFLAGS-tst-initorder2b.so): Likewise.
6792         (LDFLAGS-tst-initorder2c.so): Likewise.
6793         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
6795 2012-05-02  David S. Miller  <davem@davemloft.net>
6797         * sysdeps/sparc/fpu/libm-test-ulps: Update.
6799 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
6801         [BZ #14055]
6802         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
6804 2012-05-02  Andreas Jaeger  <aj@suse.de>
6806         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
6807         since we manipulate rounding mode.
6808         (CPPFLAGS-test-idouble.c): Likewise.
6809         (CPPFLAGS-test-ifloat.c): Likewise.
6810         (CFLAGS-test-ldouble.c): Likewise.
6811         (CFLAGS-test-double.c): Likewise.
6812         (CFLAGS-test-float.c): Likewise.
6813         (CFLAGS-test-misc.c): Likewise.
6814         (CFLAGS-test-test-fenv.c): Likewise.
6816 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6818         [BZ #2550]
6819         [BZ #2570]
6820         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
6821         comparisons to determine direction to adjust input.
6823 2012-05-01  Roland McGrath  <roland@hack.frob.com>
6825         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
6826         output to the target.
6828         * scripts/localplt.awk: New file.
6829         * elf/Makefile ($(objpfx)check-localplt): Target removed.
6830         (check-localplt-CFLAGS): Variable removed.
6831         ($(all-built-dso:=.jmprel)): New static pattern rule.
6832         (generated): Add those targets.
6833         (localplt-built-dso): New variable.
6834         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
6836         * elf/check-localplt.c: File removed.
6838         * scripts/check-execstack.awk: New file.
6839         * elf/Makefile ($(objpfx)check-execstack): Target removed.
6840         (check-execstack-CFLAGS): Variable removed.
6841         ($(objpfx)check-execstack.h): Target removed.
6842         ($(objpfx)execstack-default): New target.
6843         (generated): Add that instead of check-execstack.h.
6844         ($(all-built-dso:=.phdr)): New static pattern rule.
6845         (generated): Add those targets.
6846         * elf/check-execstack.c: File removed.
6848         * scripts/check-textrel.awk: New file.
6849         * elf/Makefile ($(objpfx)check-textrel): Target removed.
6850         (check-textrel-CFLAGS): Variable removed.
6851         (all-built-dso): Use := to define.o
6852         ($(all-built-dso:=.dyn)): New static pattern rule.
6853         (generated): Add those targets.
6854         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
6855         * config.make.in (READELF): New substituted variable.
6856         * elf/check-textrel.c: File removed.
6858 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
6860         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
6861         allow.
6862         * conform/data/ctype.h-data [C99-based standards] (isblank):
6863         Expect function.
6864         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
6865         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
6866         [ISO || ISO99 || ISO11] (*_t): Do not allow.
6867         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
6868         Specify type.  Require positive value.
6869         (EILSEQ): Likewise.
6870         (ERANGE): Likewise.
6871         [ISO || POSIX] (EILSEQ): Do not expect.
6872         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
6873         Specify type.  Require positive value.
6874         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
6875         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
6876         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
6877         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
6878         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
6879         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
6880         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
6881         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
6882         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
6883         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
6884         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
6885         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
6886         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
6887         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
6888         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
6889         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
6890         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
6891         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
6892         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
6893         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
6894         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
6895         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
6896         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
6897         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
6898         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
6899         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
6900         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
6901         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
6902         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
6903         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
6904         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
6905         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
6906         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
6907         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
6908         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
6909         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
6910         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
6911         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
6912         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
6913         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
6914         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
6915         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
6916         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
6917         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
6918         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
6919         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
6920         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
6921         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
6922         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
6923         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
6924         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
6925         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
6926         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
6927         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
6928         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
6929         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
6930         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
6931         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
6932         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
6933         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
6934         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
6935         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
6936         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
6937         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
6938         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
6939         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
6940         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
6941         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
6942         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
6943         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
6944         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
6945         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
6946         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
6947         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
6948         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
6949         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
6950         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
6951         Require >= 2.
6952         (FLT_ROUNDS): Expect as macro, not constant.
6953         (FLT_MANT_DIG): Use macro-int-constant.
6954         (DBL_MANT_DIG): Likewise.
6955         (LDBL_MANT_DIG): Likewise.
6956         (FLT_DIG): Likewise.
6957         (DBL_DIG): Likewise.
6958         (LDBL_DIG): Likewise.
6959         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
6960         (DBL_MIN_EXP): Likewise.
6961         (LDBL_MIN_EXP): Likewise.
6962         (FLT_MAX_EXP): Use macro-int-constant.
6963         (DBL_MAX_EXP): Likewise.
6964         (LDBL_MAX_EXP): Likewise.
6965         (FLT_MAX_10_EXP): Likewise.
6966         (DBL_MAX_10_EXP): Likewise.
6967         (LDBL_MAX_10_EXP): Likewise.
6968         (FLT_MAX): Use macro-constant.
6969         (DBL_MAX): Likewise.
6970         (LDBL_MAX): Likewise.
6971         (FLT_EPSILON): Use macro-constant.  Give upper bound.
6972         (DBL_EPSILON): Likewise.
6973         (LDBL_EPSILON): Likewise.
6974         (FLT_MIN): Likewise.
6975         (DBL_MIN): Likewise.
6976         (LDBL_MIN): Likewise.
6977         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
6978         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
6979         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
6980         [ISO11] (FLT_HAS_SUBNORM): Likewise.
6981         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
6982         [ISO11] (DBL_DECIMAL_DIG): Likewise.
6983         [ISO11] (FLT_DECIMAL_DIG): Likewise.
6984         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
6985         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
6986         [ISO11] (FLT_TRUE_MIN): Likewise.
6987         [ISO11] (LDBL_TRUE_MIN): Likewise.
6988         [ISO || ISO99 || ISO11] (*_t): Do not allow.
6989         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
6990         (SCHAR_MIN): Use macro-int-constant.  Specify type.
6991         (SCHAR_MAX): Likewise.
6992         (UCHAR_MAX): Likewise.
6993         (CHAR_MIN): Likewise.
6994         (CHAR_MAX): Likewise.
6995         (MB_LEN_MAX): Use macro-int-constant.
6996         (SHRT_MIN): Use macro-int-constant.  Specify type.
6997         (SHRT_MAX): Likewise.
6998         (USHRT_MAX): Likewise.
6999         (INT_MAX): Likewise.
7000         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
7001         bound negative.
7002         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
7003         bound with "U".
7004         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
7005         bound with "L".
7006         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
7007         bound negative.  Suffix upper bound with "L".
7008         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
7009         bound with "UL".
7010         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
7011         Specify type.
7012         [C99-based standards] (LLONG_MAX): Likewise.
7013         [C99-based standards] (ULLONG_MAX): Likewise.
7014         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
7015         == 0.
7016         [ISO11] (max_align_t): Require type.
7017         [ISO || ISO99 || ISO11] (*_t): Do not allow.
7019         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
7020         from $CFLAGS, without defining away __attribute__ calls.
7021         (checknamespace): Use $CFLAGS_namespace.
7023         * conform/conformtest.pl (@keywords): Only include C99 keywords
7024         for standards based on C99 or C11.
7026         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
7027         Disable tests.
7028         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
7029         UNIX98]: Likewise.
7031         * conform/conformtest.pl: Handle "macro-int-constant" and test for
7032         usability of symbols in #if.
7034         * conform/conformtest.pl: If macro or constant types start
7035         "promoted:", expect the symbol to be of the following type
7036         promoted by the integer promotions.
7038         * conform/conformtest.pl: Parse all "constant" and "macro" lines
7039         in one place.  Also handle "macro-constant".
7041         * conform/conformtest.pl: Only accept expected macro values with
7042         "==".  Parse all "macro" lines in one place.
7043         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
7045         * conform/conformtest.pl: Handle braced types on "constant" lines
7046         instead of handling "typed-constant".
7047         * conform/data/signal.h-data: Use "constant" instead of
7048         "typed-constant".
7050         * conform/conformtest.pl: Handle "optional-" at start of lines in
7051         one place rather than duplicating several cases.  Handle each
7052         format of "macro" line with initial "optional-".
7054         * conform/conformtest.pl: Only accept expected constant or
7055         optional-constant values with "==".  Parse all "constant" lines in
7056         one place.  Parse all "optional-constant" lines in one place.
7057         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
7058         * conform/data/fmtmsg.h-data: Likewise.
7059         * conform/data/netinet/in.h-data: Likewise.
7060         * conform/data/tar.h-data: Likewise.
7061         * conform/data/limits.h-data: Use "==" form on "constant" and
7062         "optional-constant" lines.
7064         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
7065         Use -std=c99 for XOPEN2K.
7066         (@knownproblems): Remove.
7067         (newtoken): Don't check %isknown.
7069         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
7070         Do not expect macro.
7071         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
7072         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
7073         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
7074         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
7075         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
7076         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
7077         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
7078         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
7079         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
7080         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
7081         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
7082         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
7083         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
7084         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
7085         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
7086         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
7087         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
7088         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
7089         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
7090         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
7091         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
7092         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
7093         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
7094         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
7095         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
7096         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
7097         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
7098         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
7099         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
7100         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
7101         [XPG3] (acosh): Likewise.
7102         [XPG3] (asinh): Likewise.
7103         [XPG3] (atanh): Likewise.
7104         [XPG3] (cbrt): Likewise.
7105         [XPG3] (expm1): Likewise.
7106         [XPG3] (ilogb): Likewise.
7107         [XPG3] (log1p): Likewise.
7108         [XPG3] (logb): Likewise.
7109         [XPG3] (nextafter): Likewise.
7110         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
7111         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
7112         [XPG3] (remainder): Likewise.
7113         [XPG3] (rint): Likewise.
7114         [XPG3 || XPG4 || UNIX98] (round): Likewise.
7115         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
7116         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
7117         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
7118         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
7119         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
7120         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
7121         [UNIX98 || XOPEN2K] (scalb): Expect.
7122         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
7123         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
7124         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
7125         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
7126         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
7127         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
7128         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
7129         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
7130         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
7131         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
7132         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
7133         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
7134         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
7135         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
7136         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
7137         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
7138         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
7139         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
7140         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
7141         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
7142         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
7143         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
7144         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
7145         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
7146         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
7147         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
7148         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
7149         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
7150         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
7151         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
7152         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
7153         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
7154         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
7155         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
7156         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
7157         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
7158         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
7159         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
7160         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
7161         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
7162         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
7163         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
7164         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
7165         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
7166         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
7167         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
7168         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
7169         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
7170         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
7171         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
7172         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
7173         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
7174         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
7175         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
7176         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
7177         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
7178         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
7179         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
7180         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
7181         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
7182         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
7183         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
7184         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
7185         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
7186         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
7187         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
7188         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
7189         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
7190         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
7191         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
7192         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
7193         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
7194         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
7195         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
7196         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
7197         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
7198         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
7199         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
7200         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
7201         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
7202         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
7203         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
7204         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
7205         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
7206         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
7207         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
7208         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
7209         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
7210         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
7211         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
7212         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
7213         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
7214         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
7215         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
7216         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
7217         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
7218         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
7219         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
7220         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
7221         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
7222         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
7223         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
7224         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
7225         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
7226         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
7227         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
7228         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
7229         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
7230         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
7231         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
7232         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
7233         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
7234         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
7235         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
7236         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
7237         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
7238         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
7239         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
7240         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
7241         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
7242         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
7243         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
7244         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
7245         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
7246         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
7247         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
7248         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
7249         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
7250         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
7251         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
7252         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
7253         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
7254         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
7255         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
7256         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
7257         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
7258         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
7260         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
7261         _XOPEN_SOURCE_EXTENDED for XPG4.
7263         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
7265         * Makeconfig (localtime): Remove variable.
7266         (inst_localtime-file): Likewise.
7268 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
7270         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
7271         Update.
7272         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
7273         Update.
7274         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
7275         Update.
7276         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
7277         Update.
7278         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
7279         Update.
7280         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
7281         Update.
7282         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
7283         Update.
7284         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
7285         Update.
7286         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
7287         Update.
7289 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
7291         [BZ #2550]
7292         [BZ #2570]
7293         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
7294         comparisons to determine direction to adjust input.
7295         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
7296         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
7297         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
7298         Likewise.
7299         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
7300         Likewise.
7301         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
7302         Likewise.
7303         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
7304         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
7305         Likewise.
7306         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
7307         Likewise.
7308         * math/libm-test.inc (nexttoward_test): Add more tests.
7310 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
7312         [BZ #14040]
7313         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
7314         in version GLIBC_2.1, not GLIBC_2.0.
7315         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
7316         Likewise.
7318 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
7320         [BZ #13942]
7321         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
7322         (1 - x) * (1 + x).
7323         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
7324         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
7325         * math/libm-test.inc (acos_test): Add more tests.
7326         (asin_test): Likewise.
7327         * sysdeps/i386/fpu/libm-test-ulps: Update.
7328         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7330         [BZ #14034]
7331         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
7332         of square root.
7333         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
7334         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
7335         * math/libm-test.inc (acos_test_tonearest): New function.
7336         (acos_test_towardzero): Likewise.
7337         (acos_test_downward): Likewise.
7338         (acos_test_upward): Likewise.
7339         (asin_test_tonearest): Likewise.
7340         (asin_test_towardzero): Likewise.
7341         (asin_test_downward): Likewise.
7342         (asin_test_upward): Likewise.
7343         (main): Call the new functions.
7344         * sysdeps/i386/fpu/libm-test-ulps: Update.
7345         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7347         [BZ #13884]
7348         [BZ #13924]
7349         * math/e_exp10.c: Include <float.h>.
7350         (__ieee754_exp10): Handle underflow here rather than multiplying
7351         large negative argument by M_LN10.
7352         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
7353         of __ieee754_expf.
7354         * math/e_exp10l.c: Include <float.h>.
7355         (__ieee754_exp10l): Handle underflow here rather than multiplying
7356         large negative argument by M_LN10l.
7357         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
7358         spurious overflow exception on underflow.
7360 2012-04-29  Marek Polacek  <polacek@redhat.com>
7362         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
7363         (__fortify_function): New macro.
7364         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
7365         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
7366         __extern_always_inline.
7367         * libio/bits/stdio2.h: Likewise.
7368         * libio/bits/stdio.h: Likewise.
7369         * string/string.h: Likewise.
7370         * string/bits/string3.h: Likewise.
7371         * include/stdio.h: Likewise.
7372         * stdlib/bits/stdlib.h: Likewise.
7373         * stdlib/stdlib.h: Likewise.
7374         * rt/bits/mqueue2.h: Likewise.
7375         * rt/mqueue.h: Likewise.
7376         * posix/bits/unistd.h: Likewise.
7377         * posix/unistd.h: Likewise.
7378         * io/bits/poll2.h: Likewise.
7379         * io/bits/fcntl2.h: Likewise.
7380         * io/fcntl.h: Likewise.
7381         * io/sys/poll.h: Likewise.
7382         * misc/bits/syslog.h: Likewise.
7383         * misc/bits/syslog-ldbl.h: Likewise.
7384         * misc/sys/syslog.h: Likewise.
7385         * socket/bits/socket2.h: Likewise.
7386         * socket/sys/socket.h: Likewise.
7387         * debug/tst-chk1.c: Likewise.
7388         * wcsmbs/bits/wchar2.h: Likewise.
7389         * wcsmbs/bits/wchar-ldbl.h: Likewise.
7390         * wcsmbs/wchar.h: Likewise.
7392 2012-04-29  Andreas Jaeger  <aj@suse.de>
7394         * Makerules (tests): Remove enable-check-abi protection.
7395         (check-abi-warn): Remove.
7396         (check-abi-%): Remove check-abi-warn usage.
7398         * configure.in: Remove check-abi configure option.
7399         * configure: Regenerated.
7400         * config.make.in (enable-check-abi): Remove.
7402 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
7404         [BZ #14033]
7405         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
7406         double functions to double *_finite functions.
7408         [BZ #13941]
7409         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
7410         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
7411         LDBL_MIN_EXP.
7412         * stdio-common/Makefile (tests): Add tst-sprintf3.
7413         * stdio-common/tst-sprintf3.c: New file.
7415         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
7416         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
7418 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
7420         * conform/conformtest.pl: Remove duplicate typed-constant
7421         handling.
7423 2012-04-28  David S. Miller  <davem@davemloft.net>
7425         * Makerules (%.abilist): Add vpath on sysdep_dirs.
7426         (check-abi-%): Remove AWK script prerequisite and explicit
7427         abilist directory.
7428         (check-abi): Rewrite to just diff the symlist with the abilist.
7429         (config-tls, config-abi-config): Delete, no longer used.
7430         (update-abi-%): Remove AWK script and explicit abilist directory.
7431         (update-abi): Rewrite to simply compare and conditionally copy the
7432         symlist and the sysdep abilist file.  Remove update-abi-config
7433         checks.
7434         * abilist/ld.abilist: Remove.
7435         * abilist/libBrokenLocale.abilist: Remove.
7436         * abilist/libanl.abilist: Remove.
7437         * abilist/libcrypt.abilist: Remove.
7438         * abilist/libdl.abilist: Remove.
7439         * abilist/librt.abilist: Remove.
7440         * abilist/libthread_db.abilist: Remove.
7441         * abilist/libutil.abilist: Remove.
7442         * scripts/extract-abilist.awk: Remove.
7443         * scripts/merge-abilist.awk: Remove.
7444         * sysdeps/generic/libcidn.abilist: New file.
7445         * sysdeps/generic/libnss_compat.abilist: New file.
7446         * sysdeps/generic/libnss_db.abilist: New file.
7447         * sysdeps/generic/libnss_dns.abilist: New file.
7448         * sysdeps/generic/libnss_files.abilist: New file.
7449         * sysdeps/generic/libnss_hesiod.abilist: New file.
7450         * sysdeps/generic/libnss_nis.abilist: New file.
7451         * sysdeps/generic/libnss_nisplus.abilist: New file.
7452         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
7453         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
7454         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
7455         file.
7456         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
7457         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
7458         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
7459         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
7460         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
7461         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
7462         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
7463         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
7464         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
7465         file.
7466         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
7467         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
7468         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
7469         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
7470         file.
7471         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
7472         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
7473         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
7474         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
7475         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
7476         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
7477         file.
7478         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
7479         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
7480         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
7481         file.
7482         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
7483         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
7484         New file.
7485         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
7486         New file.
7487         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
7488         New file.
7489         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
7490         New file.
7491         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
7492         New file.
7493         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
7494         New file.
7495         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
7496         New file.
7497         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
7498         New file.
7499         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
7500         New file.
7501         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
7502         New file.
7503         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
7504         New file.
7505         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
7506         New file.
7507         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
7508         New file.
7509         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
7510         file.
7511         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
7512         New file.
7513         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
7514         New file.
7515         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
7516         file.
7517         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
7518         New file.
7519         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
7520         New file.
7521         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
7522         file.
7523         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
7524         New file.
7525         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
7526         New file.
7527         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
7528         New file.
7529         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
7530         New file.
7531         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
7532         New file.
7533         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
7534         New file.
7535         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
7536         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
7537         file.
7538         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
7539         New file.
7540         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
7541         file.
7542         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
7543         file.
7544         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
7545         file.
7546         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
7547         file.
7548         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
7549         file.
7550         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
7551         New file.
7552         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
7553         file.
7554         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
7555         file.
7556         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
7557         New file.
7558         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
7559         file.
7560         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
7561         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
7562         file.
7563         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
7564         New file.
7565         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
7566         file.
7567         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
7568         file.
7569         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
7570         file.
7571         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
7572         file.
7573         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
7574         file.
7575         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
7576         New file.
7577         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
7578         file.
7579         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
7580         file.
7581         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
7582         New file.
7583         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
7584         file.
7585         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
7586         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
7587         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
7588         file.
7589         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
7590         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
7591         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
7592         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
7593         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
7594         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
7595         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
7596         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
7597         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
7598         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
7599         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
7600         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
7601         file.
7602         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
7603         New file.
7604         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
7605         file.
7606         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
7607         file.
7608         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
7609         file.
7610         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
7611         file.
7612         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
7613         file.
7614         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
7615         New file.
7616         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
7617         New file.
7618         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
7619         file.
7620         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
7621         New file.
7622         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
7623         file.
7624         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
7625         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
7626         file.
7627         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
7628         New file.
7629         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
7630         file.
7631         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
7632         file.
7633         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
7634         file.
7635         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
7636         file.
7637         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
7638         file.
7639         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
7640         New file.
7641         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
7642         New file.
7643         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
7644         file.
7645         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
7646         New file.
7647         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
7648         file.
7650 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
7652         * conform/conformtest.pl: Fix typo in handling typed-constant from
7653         allow-header.
7655 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
7657         * README: Cut down references to pre-2.6 Linux kernels and
7658         Linuxthreads.  Update lists of configurations in libc and ports
7659         and sort alphabetically.  Say "or newer" with Linux kernel version
7660         requirements.
7662         * config.h.in [IS_IN_build]: Allow compiling without optimization.
7664 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
7666         [BZ #887]
7667         * math/libm-test.inc (logb_test_downward): New test to expose
7668         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
7669         rounding mode.
7671 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
7673         [BZ #14027]
7674         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
7675         to be done.
7676         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
7677         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
7679 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
7681         * sysdeps/unix/i386/brk.S: Remove file.
7682         * sysdeps/unix/i386/dl-brk.S: Likewise.
7683         * sysdeps/unix/i386/pipe.S: Likewise.
7684         * sysdeps/unix/i386/sigreturn.S: Likewise.
7685         * sysdeps/unix/i386/syscall.S: Likewise.
7686         * sysdeps/unix/i386/vfork.S: Likewise.
7687         * sysdeps/unix/i386/wait.S: Likewise.
7689         * sysdeps/unix/common/tcsendbrk.c: Move to ...
7690         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
7692         * configure.in (arm*-none*): Do not allow without
7693         --enable-hacker-mode.
7694         (netbsd*): Remove case setting base_os.
7695         (386bsd*): Likewise.
7696         (freebsd*): Likewise.
7697         (bsdi*): Likewise.
7698         (osf*): Likewise.
7699         (sunos*): Likewise.
7700         (ultrix*): Likewise.
7701         (newsos*): Likewise.
7702         (dynix*): Likewise.
7703         (*bsd*): Likewise.
7704         (sysv*): Likewise.
7705         (isc*): Likewise.
7706         (esix*): Likewise.
7707         (sco*): Likewise.
7708         (minix*): Likewise.
7709         (irix4*): Likewise.
7710         (irix6*): Likewise.
7711         (solaris[2-9]*): Likewise.
7712         (none): Likewise.
7713         * configure: Regenerated.
7715 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7717         [BZ #11521]
7718         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
7719         overflow or cancellation in calculating denominator.
7720         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
7721         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
7722         down expression to avoid unexpected rounding in newer GCCs.
7723         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
7725 2012-04-26  David S. Miller  <davem@davemloft.net>
7727         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
7728         long-double compat symbols.
7729         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
7730         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
7731         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
7732         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
7733         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
7734         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
7735         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
7736         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
7737         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
7738         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
7739         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
7740         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
7741         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
7743 2012-04-25  David S. Miller  <davem@davemloft.net>
7745         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
7746         HWCAP_* values only after the memory barriers have been defined.
7747         (atomic_full_barrier): Define.
7748         (atomic_read_barrier): Define.
7749         (atomic_write_barrier): Define.
7751 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
7753         * shlib-versions: Add libgcc_s version information.
7754         * sysdeps/generic/libgcc_s.h: Remove.
7755         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
7756         libgcc_s.h.
7757         * sysdeps/gnu/unwind-resume.c: Likewise.
7758         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
7760 2012-04-25  David S. Miller  <davem@davemloft.net>
7762         * sysdeps/unix/sparc/brk.S: Delete.
7763         * sysdeps/unix/sparc/dl-brk.S: Delete.
7764         * sysdeps/unix/sparc/pipe.S: Delete.
7765         * sysdeps/unix/sparc/sysdep.S: Delete.
7766         * sysdeps/unix/sparc/sysdep.h: Delete.
7767         * sysdeps/unix/sparc/vfork.S: Delete.
7768         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
7769         SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
7770         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
7771         ret_ERRVAL, r0, r1, MOVE): Define.
7772         (JUMPTARGET): Remove.
7773         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
7774         sysdeps/unix/sparc/sysdep.h
7775         (ENTRY, END): Remove.
7776         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
7778 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
7780         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
7781         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
7782         -DIS_IN_build.
7784         * timezone/README: Update upstream location and email address for
7785         tzcode and tzdata.
7786         * timezone/zdump.c: Update from tzcode 2012b.
7787         * timezone/zic.c: Likewise.
7789         * configure.in (libc_cv_as_needed): Remove test.
7790         * configure: Regenerated.
7791         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
7792         conditional definition.
7793         [$(have-as-needed) != yes] (no-as-needed): Likewise.
7794         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
7795         * config.make.in (have-as-needed): Remove variable.
7797 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
7798             Paul Pluzhnikov  <ppluzhnikov@google.com>
7800         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
7801         strings correctly.
7803 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
7805         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
7806         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
7807         * sysdeps/sh/strlen.S: Likewise.
7809 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
7811         * sysdeps/unix/fork.S: Remove file.
7812         * sysdeps/unix/i386/fork.S: Likewise.
7813         * sysdeps/unix/sparc/fork.S: Likewise.
7815         * sysdeps/unix/system.c: Remove file.
7816         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
7818         * sysdeps/unix/getegid.S: Remove file.
7819         * sysdeps/unix/geteuid.S: Likewise.
7821 2012-04-24  Roland McGrath  <roland@hack.frob.com>
7823         * scripts/check-localplt.awk: New file.
7824         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
7825         of diff.
7826         * scripts/data/localplt-generic.data: Add a comment.
7828         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
7829         NODE when __dir_mkfile failed.
7830         * sysdeps/mach/hurd/symlinkat.c: Likewise.
7831         Reported by Ludovic Courtès <ludo@gnu.org>.
7833 2012-04-24  Andreas Jaeger  <aj@suse.de>
7835         * Makerules (common-clean): Also remove gen-as-const-headers
7836         files.
7838 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
7840         * Makerules (native-compile): Do not change working directory for
7841         build.  Use $(OUTPUT_OPTION) in command.
7842         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
7844 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7846         [BZ #13886]
7847         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
7848         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
7849         * math/libm-test.inc (floor_test): Add more tests.
7850         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
7852 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
7854         * sysdeps/unix/getdents.c: Remove file.
7855         * sysdeps/unix/sysv/getdents.c: Likewise.
7856         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
7858         * sysdeps/unix/syscalls.list (madvise): Add syscall from
7859         sysdeps/unix/mman/syscalls.list.
7860         (mmap): Likewise.
7861         (mprotect): Likewise.
7862         (msync): Likewise.
7863         (munmap): Likewise.
7864         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
7865         * sysdeps/unix/mman/syscalls.list: Remove.
7866         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
7868         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
7869         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
7870         * configure: Regenerated.
7871         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
7872         $(libgcc_s_suffix).
7873         * config.make.in (libgcc_s_suffix): Remove variable.
7875 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
7877         * sysdeps/unix/sysv/gethostname.c: Move to ...
7878         * sysdeps/posix/gethostname.c: ... here.
7880         * sysdeps/unix/execve.S: Remove file.
7882         * sysdeps/unix/_exit.S: Remove file.
7884 2012-04-23  Andreas Jaeger  <aj@suse.de>
7886         [BZ #13739]
7887         * manual/Makefile: Remove make dist support, there's no
7888         need for a stand-alone documentation tar ball.
7889         (TEXI2DVI): Define always, it's not in Makeconfig.
7890         (dist): Removed.
7891         (tar-it): Removed.
7892         (edition): Removed.
7893         (glibc-doc-$(edition).tar): Removed
7894         (%.Z): Removed.
7895         (%.gz): Removed.
7896         (%.uu): Removed.
7897         (ETAGS): Remove, it's in Makeconfig.
7898         (move-if-change): Remove, it's in Makeconfig.
7900 2013-04-23  Paul Eggert  <eggert@cs.ucla.edu>
7902         [BZ #13970]
7903         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
7904         (strtod, strtof, strtold, strtol, strtoul, strtoq)
7905         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
7906         (strtod_l, strtof_l, strtold_l): Remove __wur.
7907         It is not necessarily an error to ignore strtol's return value.
7908         One can reliably look at the stored endptr to decide whether
7909         the number had valid syntax.
7911 2012-04-21  Andreas Jaeger  <aj@suse.de>
7913         [BZ #13739]
7914         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
7916 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
7918         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
7919         * sysdeps/unix/sysv/Versions: Remove file.
7921 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
7923         [BZ #13927]
7924         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7926 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
7928         [BZ #7064]
7929         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
7930         version from __vm86.
7932 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
7934         * sysdeps/unix/common/lxstat.c: Remove file.
7935         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
7937         * sysdeps/unix/sysv/Makefile: Remove file.
7939         * sysdeps/unix/sysv/direct.h: Remove file.
7941         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
7942         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
7943         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
7944         * sysdeps/unix/sysv/bits/signum.h: Likewise.
7945         * sysdeps/unix/sysv/bits/stat.h: Likewise.
7946         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
7947         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
7949         * sysdeps/unix/sysv/setrlimit.c: Remove file.
7951         * sysdeps/unix/xmknod.c: Remove file.
7952         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
7954         * sysdeps/unix/sysv/settimeofday.c: Remove file.
7956         * sysdeps/unix/sysv/i386/time.S: Remove file.
7958         * sysdeps/unix/fxstat.c: Remove file.
7959         * sysdeps/unix/xstat.c: Likewise.
7960         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
7962         * sysdeps/unix/sysv/sigaction.c: Remove file.
7964         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
7965         (sysdep_headers): Remove variable.
7966         [termio.h not in sysdep_headers] (generated): Likewise.
7967         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
7968         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
7969         * sysdeps/unix/sysv/tcdrain.c: Likewise.
7970         * sysdeps/unix/sysv/tcflow.c: Likewise.
7971         * sysdeps/unix/sysv/tcflush.c: Likewise.
7972         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
7973         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
7974         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
7975         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
7976         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
7978         * sysdeps/unix/siglist.c: Remove file.
7980         * sysdeps/unix/getppid.S: Remove file.
7982         * sysdeps/unix/mkdir.c: Remove file.
7983         * sysdeps/unix/rmdir.c: Likewise.
7985 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
7987         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
7988         ERR_MAX value.
7989         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
7990         errlist-compat value.
7992 2012-04-18  David S. Miller  <davem@davemloft.net>
7994         * sysdeps/generic/memcopy.h (reg_char): Delete.
7995         * debug/strcat_chk.c: Use char, not reg_char.
7996         * debug/strcpy_chk.c: Likewise.
7997         * debug/strncat_chk.c: Likewise.
7998         * debug/strncpy_chk.c: Likewise.
7999         * string/memchr.c: Likewise.
8000         * string/memrchr.c: Likewise.
8001         * string/rawmemchr.c: Likewise.
8002         * string/strcat.c: Likewise.
8003         * string/strchr.c: Likewise.
8004         * string/strchrnul.c: Likewise.
8005         * string/strcmp.c: Likewise.
8006         * string/strcpy.c: Likewise.
8007         * string/strncat.c: Likewise.
8008         * string/strncmp.c: Likewise.
8009         * string/strncpy.c: Likewise.
8011 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
8013         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
8014         __builtin_memcopy is called when src and dest ranges are known to not
8015         overlap.
8017 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
8019         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
8020         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
8021         fwd_align_merge macro call.
8022         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
8023         bwd_align_merge macro call.
8024         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
8026 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
8028         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
8029         bwd_align_merge macros.
8030         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
8031         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
8032         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
8034 2012-04-18  David S. Miller  <davem@davemloft.net>
8036         * sysdeps/sparc/sparc64/memcopy.h: Delete.
8038 2012-04-18  Andreas Jaeger  <aj@suse.de>
8040         [BZ# 6794]
8041         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
8042         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
8043         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
8045         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
8046         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
8047         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
8049         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
8050         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
8051         Adjust for changed ldbl-128 files.
8053         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
8054         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
8055         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
8057 2012-04-17  David S. Miller  <davem@davemloft.net>
8059         * sysdeps/sparc/sparc32/memcopy.h: Delete.
8061 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
8063         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
8064         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
8065         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
8066         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
8067         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
8068         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
8070 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8072         [BZ #6794]
8073         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
8074         * math/libm-test.inc: Add ilogb errno and exception tests.
8075         * math/w_ilogb.c: New file: ilogb wrapper.
8076         * math/w_ilogbf.c: New file: ilogbf wrapper.
8077         * math/w_ilogbl.c: New file: ilogbl wrapper.
8078         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
8079         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
8080         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
8081         exception being thrown with 0.0 as argument.
8082         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
8083         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
8084         exception being thrown with 0.0 as argument.
8085         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
8086         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
8087         exception being thrown with 0.0 as argument.
8088         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
8089         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
8090         exception being thrown with 0.0 as argument.
8091         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
8092         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
8093         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
8094         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
8095         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
8096         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
8097         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
8098         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
8099         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
8101 2012-04-17  Petr Baudis  <pasky@ucw.cz>
8103         * include/sys/uio.h: Change __vector to __iovec to avoid clash
8104         with altivec.
8106 2012-04-16  Marek Polacek  <polacek@redhat.com>
8108         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
8110 2012-04-16  Marek Polacek  <polacek@redhat.com>
8112         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
8113         operands of fdivp instruction.
8115 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
8117         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
8118         * elf/tst-auditmod3b.c: Likewise.
8119         * elf/tst-auditmod4b.c: Likewise.
8120         * elf/tst-auditmod5b.c: Likewise.
8121         * elf/tst-auditmod6b.c: Likewise.
8122         * elf/tst-auditmod6c.c: Likewise.
8123         * elf/tst-auditmod7b.c: Likewise.
8124         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
8125         * sysdeps/x86_64/preconfigure.in: Likewise.
8126         * sysdeps/x86_64/preconfigure: Regenerated.
8128 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
8130         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
8131         __ILP32__.
8133 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
8135         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
8136         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
8138 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
8140         [BZ #13973]
8141         * locale/iso-639.def: Fix gl language name. Spotted by
8142         Yaron Shahrabani.
8144 2012-04-12  Roland McGrath  <roland@hack.frob.com>
8146         [BZ #2074]
8147         * libio/libio.h (__io_write_fn): Update comment.
8149 2012-04-12  Petr Baudis  <pasky@ucw.cz>
8151         [BZ #2074]
8152         * stdio.texi (Hook Functions): The user provided writer function
8153         is not allowed to return -1.
8155 2012-04-11  David S. Miller  <davem@davemloft.net>
8157         * sysdeps/sparc/fpu/libm-test-ulps: Update.
8159 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
8161         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
8162         Add a leading slash to rtkaio.
8164 2012-04-11  Jim Meyering  <meyering@redhat.com>
8166         [BZ #11959]
8167         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
8168         It is not necessarily an error to ignore fwrite's return
8169         value.  One can reliably use ferror to test for errors after
8170         the fact.
8172 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
8174         * bits/types.h (__snseconds_t): New type.
8175         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
8177         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
8178         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
8179         (__SNSECONDS_T_TYPE): Likewise.
8180         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
8181         (__SNSECONDS_T_TYPE): Likewise.
8182         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
8183         (__SNSECONDS_T_TYPE): Likewise.
8185 2012-04-10  Andreas Jaeger  <aj@suse.de>
8187         [BZ #2636]
8188         * manual/time.texi (Processor Time): Return type of times is
8189         elapsed real time since an arbitrary point in the past.
8190         (CPU Time): Move CLK_TCK from here...
8191         (Processor Time): ...to here.  Correct description.
8192         * manual/conf.texi (Constants for Sysconf): Correct description of
8193         _SC_CLK_TCK.
8195 2012-04-10  David S. Miller  <davem@davemloft.net>
8197         [BZ #13967]
8198         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
8199         where the is a gap between DT_REL(A) and DT_JMPREL.
8201 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
8203         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
8204         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
8205         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
8207 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
8209         * elf/dl-support.c (_dl_inhibit_cache): New variable.
8210         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
8211         (dl_main): Handle --inhibit-cache.
8212         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
8213         _dl_inhibit_cache.
8214         * elf/dl-load.c (_dl_map_object): Use it.
8215         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
8217 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
8219         [BZ #13872]
8220         * sysdeps/i386/fpu/e_powl.S (p78): New object.
8221         (__ieee754_powl): Saturate large exponents rather than testing for
8222         overflow of y*log2(x).
8223         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
8224         * math/libm-test.inc (pow_test): Do not permit spurious overflow
8225         exceptions.
8227         [BZ #11521]
8228         * math/s_ctan.c: Include <float.h>.
8229         (__ctan): Avoid internal overflow or cancellation in calculating
8230         denominator.
8231         * math/s_ctanf.c: Likewise.
8232         * math/s_ctanl.c: Likewise.
8233         * math/s_ctanh.c: Likewise.
8234         * math/s_ctanhf.c: Likewise.
8235         * math/s_ctanhl.c: Likewise.
8236         * math/libm-test.inc (ctan_test): Add more tests.
8237         (ctanh_test): Likewise.
8238         * sysdeps/i386/fpu/libm-test-ulps: Update.
8239         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8241 2012-04-09  Andreas Jaeger  <aj@suse.de>
8243         [BZ #6894]
8244         * manual/filesys.texi (Directory Entries): Mention that d_namlen
8245         is an optional BSD extension.
8247         [BZ #10254]
8248         * manual/stdio.texi (Opening Streams): Document additional fopen
8249         parameters.
8251 2012-04-09  Roland McGrath  <roland@hack.frob.com>
8253         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
8254         %eax without telling the compiler.
8256 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
8258         [BZ # 13963]
8259         * manual/install.texi: Use sourceware.org.
8261 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
8263         [BZ #13873]
8264         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
8265         (__ieee754_pow): Generate overflow and underflow using huge*huge
8266         and tiny*tiny rather than just returning constant infinity or zero
8267         for large exponents.
8268         * math/libm-test.inc (pow_test): Require overflow exceptions for
8269         applicable cases of large exponents.
8271         [BZ #706]
8272         * sysdeps/i386/fpu/e_pow.S (p10): New object.
8273         (__ieee754_pow): Use iterative multiplication algorithm only for
8274         integer exponents with absolute value below 1024.  Check for odd
8275         integer exponents when using algorithm for real exponents.
8276         * math/libm-test.inc (pow_test): Add more tests.
8277         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8279 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
8281         [BZ #13705]
8282         * math/libm-test.inc (exp_test): Do not allow overflow exception
8283         on underflow test.
8285 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
8287         [BZ #13705]
8288         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
8289         instead of __kernel_standard_f.
8291 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
8293         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
8294         * sysdeps/x86_64/memset_chk.S: Likewise.
8296 2012-04-08  Andreas Jaeger  <aj@suse.de>
8298         [BZ #10153]
8299         * manual/startup.texi (Environment Access): Describe return value
8300         for putenv and setenv.
8302         [BZ #6895]
8303         * manual/filesys.texi (Directory Entries): Add description for
8304         DT_LNK.
8306         [BZ #6890]
8307         * manual/filesys.texi (Directory Entries): Clarify that it's file
8308         system not operating system in the description of DT_UNKNOWN.
8310         [BZ #6578]
8311         * manual/syslog.texi (closelog): Fix reference, it's openlog.
8313 2012-04-08  Stephen Compall  <s11@member.fsf.org>
8315         [BZ #6649]
8316         * manual/llio.texi (Opening and Closing Files): Add cross
8317         reference to explain mode argument.
8319 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
8321         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
8322         * sysdeps/x86_64/memset_chk.S: Likewise.
8324 2012-04-07  David S. Miller  <davem@davemloft.net>
8326         * elf/elf.h (R_SPARC_WDISP10): Define.
8327         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
8328         R_SPARC_SIZE32.
8329         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
8330         R_SPARC_SIZE64 and R_SPARC_H34.
8332 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
8334         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
8335         conditions and remove no longer applicable assertion.
8337 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
8339         * bits/byteswap.h: Include <features.h>.
8340         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
8341         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
8343 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
8345         * bits/byteswap.h (__bswap_16): Removed.
8346         Include <bits/byteswap-16.h> to get __bswap_16.
8347         * sysdeps/i386/bits/byteswap.h: Likewise.
8348         * sysdeps/s390/bits/byteswap.h: Likewise.
8349         * sysdeps/x86_64/bits/byteswap.h: Likewise.
8350         * bits/byteswap-16.h: New file.
8351         * sysdeps/i386/bits/byteswap-16.h: Likewise.
8352         * sysdeps/s390/bits/byteswap-16.h: Likewise.
8353         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
8354         * string/Makefile (headers): Add bits/byteswap-16.h.
8356 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
8358         [BZ #13895]
8359         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
8360         extra indirection.
8361         * nss/Makefile (tests-static, tests): Add tst-nss-static.
8362         * nss/tst-nss-static.c: New.
8364 2012-04-06  Robert Millan  <rmh@gnu.org>
8366         [BZ #6486]
8367         * manual/llio.texi (File Position Primitive): lseek
8368         refers to WHENCE when it really means OFFSET.
8370 2012-04-06  Andreas Jaeger  <aj@suse.de>
8372         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
8373         strncmp declarations.
8375         * abilist/libc.abilist: Add __poll and __ppoll.
8377 2012-04-05  David S. Miller  <davem@davemloft.net>
8379         * scripts/check-local-headers.sh: Accept a host triplet in the
8380         path matched by the exclude regexp.
8382         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
8383         definition.
8384         * sysdeps/powerpc/powerpc32/dl-machine.h
8385         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
8386         * sysdeps/s390/s390-32/dl-machine.h
8387         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
8388         * sysdeps/sparc/sparc32/dl-machine.h
8389         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
8390         * sysdeps/sparc/sparc64/dl-machine.h
8391         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
8393         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
8394         lazy binding.
8395         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
8396         undefined symbol errors.
8398         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
8399         DT_NEEDED entries.
8401 2012-04-05  Michael Matz  <matz@suse.de>
8403         [BZ #13592]
8404         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
8406 2012-04-05  Andreas Jaeger  <aj@suse.de>
8408         [BZ #13908]
8409         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
8410         comment.
8412 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
8414         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
8415         which ROUND is no valid rounding mode.
8417 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
8419         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
8420         read again.
8421         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
8423 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
8425         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
8426         an exception using FPU order intentionally.
8428 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
8430         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
8431         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
8432         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
8433         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
8435 2012-04-05  Simon Josefsson  <simon@josefsson.org>
8437         [BZ #12340]
8438         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
8439         EINVAL when BUFLEN is too smal.
8441 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
8443         [BZ #13553]
8444         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
8445         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
8447 2012-04-03  Andreas Jaeger  <aj@suse.de>
8449         [BZ #13938]
8450         * manual/setjmp.texi (System V contexts): Fix sentence.
8452         [BZ #13926]
8453         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
8454         New macro for this case.
8455         [!__GNUC__] (__bswap_64): New inline function for this case.
8456         * sysdeps/x86_64/bits/byteswap.h: Likewise.
8457         * bits/byteswap.h: Likewise.
8458         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
8459         ull, guard with __GLIBC_HAVE_LONG_LONG.
8461         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
8462         __GLIBC_HAVE_LONG_LONG.
8464         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
8465         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
8467 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
8469         [BZ #13691]
8470         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
8471         inptr and inend, rather than using last_ch.
8473 2012-04-02  David S. Miller  <davem@davemloft.net>
8475         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
8476         * stdio-common/printf-parse.h (read_int): Change return type to
8477         'int', return -1 on INT_MAX overflow.
8478         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
8479         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
8480         overflows INT_MAX.  Check for overflow of in-format-string precision
8481         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
8482         SIZE_MAX not INT_MAX for integer overflow test.
8483         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
8484         skip the construct in the format string but do not record anything.
8485         * stdio-common/bug22.c: Adjust to test both width/prevision
8486         INT_MAX overflow as well as total length INT_MAX overflow.  Check
8487         explicitly for proper errno values.
8489 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
8491         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
8492         CHAR_MAX.
8493         * string/test-strcmp.c [! WIDE]: Likewise.
8494         * time/tst-mktime2.c: Likewise for INT_MAX.
8495         * string/test-string.h: #include <sys/param.h> for MIN.
8497         * csu/init-first.c (__libc_init_first): Call __ctype_init.
8498         * sysdeps/i386/init-first.c (init): Likewise.
8499         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
8500         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
8501         * sysdeps/sh/init-first.c (init): Likewise.
8503 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
8505         * po/ru.po: Update from translation team.
8506         * po/vi.po: Likewise.
8508 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
8510         * resolv/nss_dns/dns-host.c: Merge copyright years.
8512 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
8514         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
8515         Optimize memcpy with prefetch if
8516         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
8517         src, dst pointers have unequal 16 byte alignments.
8519 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
8521         [BZ #13928]
8522         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
8523         from a CNAME entry and return the minimum ttl for the query.
8524         (gaih_getanswer_slice): Likewise.
8526 2012-03-30  Jeff Law  <law@redhat.com>
8528         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
8529         due to long keys.
8530         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
8531         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
8533         * resolv/nss_dns/dns-host.c: Update copyright year.
8535 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
8537         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8538         requests to save a system call.  Fix check that all bytes are sent.
8540         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
8541         comments for sendmmsg.
8543 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
8545         [BZ #13691]
8546         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
8547         with only 1 character between 0x0041 and 0x01b0.
8548         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
8549         * wcsmbs/tst-mbsnrtowcs.c: New file.
8551 2012-03-29  David S. Miller  <davem@davemloft.net>
8553         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
8554         small copies by hand.
8556 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
8558         [BZ #13761]
8559         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
8560         _nss_compat_initgroups_dyn): Fall back to malloc/free
8561         for large group memberships.
8563 2012-03-28  David S. Miller  <davem@davemloft.net>
8565         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
8566         that branches into memcpy.
8567         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
8568         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
8569         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
8570         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
8571         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
8572         bits.
8573         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
8574         implementation too.
8575         * sysdeps/sparc/mempcpy.S: New file.
8577         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
8578         the IFUNC routine in the libc case.
8579         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
8581         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
8582         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
8583         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
8584         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
8585         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
8586         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
8587         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
8588         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
8590         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
8591         loop to 256 bytes instead of 64 bytes and fix test signedness.
8593         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
8594         * sysdeps/sparc/sparc32/Makefile: rather than here...
8595         * sysdeps/sparc/sparc64/Makefile: and here.
8597 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
8599         * malloc/mallocbug.c: Avoid warnings about unused variables.
8601 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
8603         [BZ #13760]
8604         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
8605         in the right place. Discard and retry query if response is
8606         larger than input buffer size.
8608 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
8610         [BZ #369]
8611         [BZ #2678]
8612         [BZ #3866]
8613         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
8614         x for large integer exponent.
8615         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
8616         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
8617         sign of result as needed afterwards.
8618         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
8619         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
8620         result for underflowing pow the same as for overflow.
8621         (__kernel_standard_l): Handle powl overflow and underflow here
8622         rather than calling __kernel_standard.
8623         * math/libm-test.inc (pow_test): Add more tests.
8625         [BZ #3868]
8626         [BZ #13879]
8627         [BZ #13910]
8628         [BZ #13911]
8629         [BZ #13912]
8630         [BZ #13913]
8631         [BZ #13915]
8632         [BZ #13916]
8633         [BZ #13917]
8634         [BZ #13918]
8635         [BZ #13919]
8636         [BZ #13920]
8637         [BZ #13921]
8638         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
8639         * sysdeps/ieee754/k_standard.c: Include <float.h>.
8640         (__kernel_standard_l): New function.
8641         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
8642         __kernel_standard.
8643         * math/w_acosl.c (__acosl): Likewise.
8644         * math/w_asinl.c (__asinl): Likewise.
8645         * math/w_atan2l.c (__atan2l): Likewise.
8646         * math/w_atanhl.c (__atanhl): Likewise.
8647         * math/w_coshl.c (__coshl): Likewise.
8648         * math/w_exp10l.c (__exp10l): Likewise.
8649         * math/w_exp2l.c (__exp2l): Likewise.
8650         * math/w_fmodl.c (__fmodl): Likewise.
8651         * math/w_hypotl.c (__hypotl): Likewise.
8652         * math/w_j0l.c (__j0l, __y0l): Likewise.
8653         * math/w_j1l.c (__j1l, __y1l): Likewise.
8654         * math/w_jnl.c (__jnl, __ynl): Likewise.
8655         * math/w_lgammal.c (__lgammal): Likewise.
8656         * math/w_log10l.c (__log10l): Likewise.
8657         * math/w_log2l.c (__log2l): Likewise.
8658         * math/w_logl.c (__logl): Likewise.
8659         * math/w_powl.c (__powl): Likewise.
8660         * math/w_remainderl.c (__remainderl): Likewise.
8661         * math/w_scalbl.c (sysv_scalbl): Likewise.
8662         * math/w_sinhl.c (__sinhl): Likewise.
8663         * math/w_sqrtl.c (__sqrtl): Likewise.
8664         * math/w_tgammal.c (__tgammal): Likewise.
8665         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
8666         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
8667         * math/libm-test.inc (acos_test): Add more tests.
8668         (acosh_test): Likewise.
8669         (asin_test): Likewise.
8670         (atanh_test): Likewise.
8671         (exp_test): Likewise.
8672         (exp10_test): Likewise.
8673         (exp2_test): Likewise.
8674         (expm1_test): Likewise.
8675         (lgamma_test): Likewise.
8676         (log_test): Likewise.
8677         (log10_test): Likewise.
8678         (log1p_test): Likewise.
8679         (log2_test): Likewise.
8680         (pow_test): Do not allow some spurious overflow exceptions.
8681         (sqrt_test): Add more tests.
8682         (tgamma_test): Likewise.
8683         (y0_test): Likewise.
8684         (y1_test): Likewise.
8685         (yn_test): Likewise.
8687 2012-03-27  Anton Blanchard  <anton@samba.org>
8689         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
8690         MAP_HUGETLB.
8691         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
8692         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
8693         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
8695 2012-03-27  David S. Miller  <davem@davemloft.net>
8697         * conform/Makefile: Run run-conformtest.sh using $(BASH).
8699         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
8700         have-as-vis3 check.
8702 2012-03-27  Andreas Jaeger  <aj@suse.de>
8704         * sysdeps/x86_64/elf/configure.in: Moved to ...
8705         * sysdeps/x86_64/configure.in: ... here.
8706         * sysdeps/x86_64/elf/start.S: Moved to ...
8707         * sysdeps/x86_64/start.S: ... here.
8708         * sysdeps/x86_64/elf/configure: Delete.
8710         * sysdeps/x86_64/configure.in: Merge contents from
8711         sysdeps/i386/configure.in (without i686 check).
8713         * sysdeps/i386/elf/Versions: Merge into ...
8714         * sysdeps/i386/Versions: ... this.
8715         * sysdeps/i386/elf/Versions: Delete file.
8716         * sysdeps/i386/elf/start.S: Moved to ...
8717         * sysdeps/i386/start.S: ...here.
8718         * sysdeps/i386/elf/configure.in: Merge into...
8719         * sysdeps/i386/configure.in: ...here.
8720         * sysdeps/i386/elf/configure.in: Delete file.
8721         * sysdeps/i386/elf/configure: Delete file.
8723         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
8724         * debug/backtracesyms.c: ... here.
8725         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
8726         * debug/backtracesymsfd.c: ... here.
8727         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
8728         * sysdeps/generic/ifunc-sel.h: ... here.
8730         * sysdeps/unix/i386/start.c: Delete file.
8731         * sysdeps/unix/sparc/start.c: Delete file.
8732         * sysdeps/unix/start.c: Delete file.
8734         * sysdeps/sh/elf/configure.in: Moved to ...
8735         * sysdeps/sh/configure.in: ... here.
8736         * sysdeps/sh/elf/start.S: Moved to ...
8737         * sysdeps/sh/start.S: ... here.
8738         * sysdeps/sh/elf/configure: Delete file.
8740         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
8741         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
8742         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
8743         * sysdeps/powerpc/powerpc64/entry.h: ... here.
8744         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
8745         * sysdeps/powerpc/powerpc64/start.S: here.
8746         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
8747         * sysdeps/powerpc/powerpc64/Makefile: ... this.
8748         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
8749         * sysdeps/powerpc/powerpc64/configure.in: ... this.
8750         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
8752         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
8753         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
8754         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
8755         * sysdeps/powerpc/powerpc32/start.S: ... here.
8756         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
8757         * sysdeps/powerpc/powerpc32/configure.in: ... this.
8758         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
8760         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
8761         * sysdeps/powerpc/ifunc-sel.h: ... here.
8762         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
8763         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
8765         * sysdeps/sparc/elf/configure.in: Moved to ...
8766         * sysdeps/sparc/configure.in: ... here.
8767         * sysdeps/sparc/elf/configure: Delete file.
8768         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
8769         * sysdeps/sparc/sparc32/start.S: ... here.
8770         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
8771         * sysdeps/sparc/sparc64/start.S: ... here.
8772         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
8773         * sysdeps/sparc/sparc32/Makefile: ... this.
8774         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
8775         * sysdeps/sparc/sparc64/Makefile: ... this.
8777         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
8778         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
8779         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
8780         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
8781         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
8782         * sysdeps/s390/s390-32/setjmp.S: ... here.
8783         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
8784         * sysdeps/s390/s390-32/configure.in: ... here.
8785         * sysdeps/s390/s390-32/elf/configure: Delete file.
8786         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
8787         * sysdeps/s390/s390-32/start.S: ... here.
8789         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
8790         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
8791         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
8792         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
8793         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
8794         * sysdeps/s390/s390-64/setjmp.S: ... here.
8795         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
8796         * sysdeps/s390/s390-64/configure.in: ... here
8797         * sysdeps/s390/s390-64/elf/configure: Delete file.
8798         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
8799         * sysdeps/s390/s390-64/start.S: ... here.
8800         * sysdeps/s390/s390-64/elf/configure: Delete.
8802         * configure.in: Remove support for elf directories in sysdeps.
8804         * configure: Regenerated.
8805         * sysdeps/i386/configure: Regenerated.
8806         * sysdeps/powerpc/powerpc32/configure: Regenerated.
8807         * sysdeps/powerpc/powerpc64/configure: Regenerated.
8808         * sysdeps/s390/s390-32/configure: Regenerated.
8809         * sysdeps/s390/s390-64/configure: Regenerated.
8810         * sysdeps/sh/configure: Regenerated.
8811         * sysdeps/sparc/configure: Regenerated.
8812         * sysdeps/x86_64/configure: Regenerated.
8814 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
8816         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8818         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
8819         denormal result into account.
8821 2012-03-25  Roland McGrath  <roland@hack.frob.com>
8823         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
8824         Reported by Allan McRae <allan@archlinux.org>.
8826 2012-03-23  Jeff Law  <law@redhat.com>
8828         * nss/getnssent.c (__nss_getent): Fix typo.
8830 2012-03-23  David S. Miller  <davem@davemloft.net>
8832         * sysdeps/sparc/fpu/libm-test-ulps: Update.
8834 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
8836         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
8837         to pad to uint64_t for each field.
8838         (dl_tls_index): Replace unsigned long with uint64_t.
8840 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
8841         Paul Pluzhnikov  <ppluzhnikov@google.com>
8843         [BZ #6528]
8844         * grp/Makefile (otherlibs): Don't set it.
8845         * inet/Makefile (otherlibs): Likewise.
8846         * login/Makefile (otherlibs): Likewise.
8847         * nscd/Makefile (otherlibs): Likewise.
8848         * posix/Makefile (otherlibs): Likewise.
8849         * pwd/Makefile (otherlibs): Likewise.
8850         * rt/Makefile (otherlibs): Likewise.
8851         * sunrpc/Makefile (otherlibs): Likewise.
8852         * nss/Makefile (otherlibs): Likewise.
8853         Add libnss_files to routines and static-only-routines.
8854         ($(objpfx)getent): Remove rule.
8855         * resolv/Makefile: Add libnss_dns and libresolv to routines and
8856         static-only-routines.
8858 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
8860         [BZ #13892]
8861         * math/s_cexp.c: Include <float.h>.
8862         (__cexp): Handle exp result overflowing not necessarily
8863         overflowing both real and imaginary parts of result.
8864         * math/s_cexpf.c: Likewise.
8865         * math/s_cexpl.c: Likewise.
8866         * math/libm-test.inc (cexp_test): Add more tests.
8867         * sysdeps/i386/fpu/libm-test-ulps: Update.
8868         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8870 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
8872         * include/link.h (ELFW): New macro.
8873         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
8874         Replace ELF64_R_TYPE with ELFW(R_TYPE).
8876 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
8878         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
8879         with uint64_t.
8881 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
8883         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
8884         declaration.
8885         (struct La_x32_retval): Likewise.
8887 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
8889         * sysdeps/x86_64/preconfigure.in: New file.
8890         * sysdeps/x86_64/preconfigure: New generated file.
8892 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
8894         [BZ #13824]
8895         * math/e_exp2l.c: Include <float.h>.
8896         (__ieee754_exp2l): Handle overflow and underflow cases
8897         separately.  Only pass fractional part of argument to
8898         __ieee754_expl.
8899         * math/libm-test.inc (exp2_test): Add more tests.
8901         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
8902         negating x to take absolute value.
8903         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
8904         Likewise.
8905         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
8906         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
8907         Likewise.
8908         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
8909         computing low part if x was negated.
8910         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
8912 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
8914         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
8915         la_x32_gnu_pltexit.
8916         (pltexit): Cast int_retval to ptrdiff_t.
8917         * elf/tst-auditmod3b.c: Likewise.
8918         * elf/tst-auditmod4b.c: Likewise.
8919         * elf/tst-auditmod5b.c: Likewise.
8920         * elf/tst-auditmod6b.c: Likewise.
8921         * elf/tst-auditmod6c.c: Likewise.
8922         * elf/tst-auditmod7b.c: Likewise.
8924         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
8925         and x32_gnu_pltexit.
8927         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
8928         __ELF_NATIVE_CLASS.
8929         (La_x32_regs): New macro.
8930         (La_x32_retval): Likewise.
8931         (la_x32_gnu_pltenter): New function prototype.
8932         (la_x32_gnu_pltexit): Likewise.
8934 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
8936         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
8937         exponent.
8939         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8941         * configure.in (libc_cv_cc_nofma): Check for option to disable
8942         generation of FMA instructions.
8943         * configure: Regenerate.
8944         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
8945         * sysdeps/ieee754/dbl-64/Makefile: New file.
8946         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
8947         Remove brandred-fma4.
8948         (CFLAGS-brandred-fma4.c): Remove.
8949         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
8950         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
8951         define.
8952         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
8953         define.
8955 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
8957         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
8958         LLONG_MAX != LONG_MAX.
8959         (_itoa_word): Use _ITOA_WORD_TYPE on value.
8960         (_fitoa_word): Likewise.
8961         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
8962         LLONG_MAX != LONG_MAX.
8963         * stdio-common/_itowa.h: Include <_itoa.h>.
8964         (_itowa_word): Use _ITOA_WORD_TYPE on value.
8965         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
8966         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
8967         only if not defined.
8968         (_ITOA_WORD_TYPE): Likewise.
8969         (_itoa_word): Use _ITOA_WORD_TYPE on value.
8970         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
8972 2012-03-21  David S. Miller  <davem@davemloft.net>
8974         * sysdeps/sparc/fpu/libm-test-ulps: Update.
8976 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
8978         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
8979         of x86_64 when setting libc_cv_slibdir, libdir and
8980         libc_cv_localedir.
8981         * sysdeps/unix/sysv/linux/configure: Regenerated.
8983 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
8985         * manual/lang.texi (Old Varargs): Remove section.
8986         (How Variadic): Update menu.
8987         (va_start): Do not mention varargs.h.
8989 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
8990             Joseph Myers  <joseph@codesourcery.com>
8992         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
8993         link test.
8994         * configure: Regenerated.
8996 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
8998         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
8999         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
9000         conformtest.pl
9002 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
9004         * NOTES: Remove.
9005         * Makefile (files-for-dist): Remove NOTES.
9006         (NOTES): Remove rule.
9007         * README: Don't refer to NOTES.
9008         * manual/creature.texi: Don't include macros.texi.
9009         * manual/intro.texi (creature.texi): Remove comment referring to
9010         NOTES.
9012         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
9013         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
9014         * configure: Regenerated.
9015         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
9016         LIBC_TRY_CC_OPTION.
9017         (libc_cv_as_i686): Likewise.
9018         (libc_cv_cc_avx): Likewise.
9019         (libc_cv_cc_sse2avx): Likewise.
9020         (libc_cv_cc_fma4): Likewise.
9021         (libc_cv_cc_novzeroupper): Likewise.
9022         * sysdeps/i386/configure: Regenerated.
9024         [BZ #13883]
9025         * sysdeps/i386/fpu/s_cexp.S: Remove.
9026         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
9027         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
9028         * math/libm-test.inc (cexp_test): Add more tests.
9029         * sysdeps/i386/fpu/libm-test-ulps: Update.
9030         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9032 2012-03-21  Allan McRae  <allan@archlinux.org>
9034         * timezone/Makefile: Do not install iso3166.tab and zone.tab
9036 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
9038         [BZ #13871]
9039         * math/w_exp2.c: Do not include <float.h>.
9040         (o_threshold, u_threshold): Remove.
9041         (__exp2): Calculate result before checking finiteness and calling
9042         __kernel_standard.
9043         * math/w_exp2f.c: Likewise.
9044         * math/w_exp2l.c: Likewise.
9045         * math/libm-test.inc (exp2_test): Require overflow exception for
9046         1e6 input.
9048         [BZ #3866]
9049         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
9050         range of signed 64-bit integers before using fistpll.  Remove
9051         checks for whether integers fit in mantissa bits.
9052         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
9053         the range of signed 32-bit integers before using fistpl.  Remove
9054         checks for whether integers fit in mantissa bits.
9055         * sysdeps/i386/fpu/e_powl.S (p64): New object.
9056         (__ieee754_powl): Test for y outside the range of signed 64-bit
9057         integers before using fistpll.  Reduce 64-bit values to 63-bit
9058         ones as needed.
9059         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
9060         divide-by-zero is raised for zero to large negative powers.
9061         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
9062         (__ieee754_powl): Test for y outside the range of signed 64-bit
9063         integers before using fistpll.  Reduce 64-bit values to 63-bit
9064         ones as needed.
9065         * math/libm-test.inc (pow_test): Add more tests.
9067 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
9069         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
9070         <stdio-common/_itoa.h>.
9071         * debug/segfault.c: Likewise.
9072         * elf/dl-cache.c: Likewise.
9073         * elf/dl-minimal.c: Likewise.
9074         * elf/dl-misc.c: Likewise.
9075         * elf/dl-sysdep.c: Likewise.
9076         * elf/dl-version.c: Likewise.
9077         * elf/rtld.c: Likewise.
9078         * hurd/hurdsock.c: Likewise.
9079         * hurd/lookup-retry.c: Likewise.
9080         * malloc/malloc.c: Likewise.
9081         * malloc/mtrace.c: Likewise.
9082         * nscd/nscd_getgr_r.c: Likewise.
9083         * nscd/nscd_getpw_r.c: Likewise.
9084         * nscd/nscd_getserv_r.c: Likewise.
9085         * posix/getopt_init.c: Likewise.
9086         * posix/wordexp.c: Likewise.
9087         * stdio-common/_itoa.c: Likewise.
9088         * stdio-common/printf_fphex.c: Likewise.
9089         * stdio-common/vfprintf.c: Likewise.
9090         * string/_strerror.c: Likewise.
9091         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
9092         * sysdeps/i386/i686/hp-timing.h: Likewise.
9093         * sysdeps/mach/_strerror.c: Likewise.
9094         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
9095         * sysdeps/mach/hurd/sethostid.c: Likewise.
9096         * sysdeps/mach/hurd/xmknodat.c: Likewise.
9097         * sysdeps/mach/xpg-strerror.c: Likewise.
9098         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
9099         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
9100         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
9101         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
9102         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
9103         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
9104         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
9105         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
9106         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
9107         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
9108         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
9109         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
9110         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
9111         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
9112         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
9113         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
9114         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
9115         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
9116         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
9117         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
9118         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
9120         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
9122         * stdio-common/_itoa.h: Moved to ...
9123         * sysdeps/generic/_itoa.h: Here.
9125         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
9127         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
9128         instead of "_itoa.h" and "_itowa.h".
9129         * stdio-common/vfprintf.: Likewise.
9131 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
9133         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
9134         <bits/wordsize.h>.
9135         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
9136         (__signbit): Likwise.
9137         (llrintf): Likwise.
9138         (llrint): Likwise.
9140 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
9142         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
9143         __WORDSIZE != 64.
9145 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
9147         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
9148         OVERFLOW_EXCEPTION_OK.
9149         * math/libm-test.inc ("Philosophy"): Update comment about
9150         exception testing.
9151         (OVERFLOW_EXCEPTION): Define.
9152         (OVERFLOW_EXCEPTION_OK): Likewise.
9153         (INVALID_EXCEPTION_OK): Renumber.
9154         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
9155         (IGNORE_ZERO_INF_SIGN): Likewise.
9156         (test_exceptions): Handle FE_OVERFLOW.
9157         (exp10_test): Expect overflow exceptions.
9158         (exp2_test): Likewise.
9159         (expm1_test): Likewise.
9160         (nextafter_test): Likewise.
9161         (pow_test): Likewise.
9162         (scalbn_test): Likewise.
9163         (scalbln_test): Likewise.
9165 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
9167         * sysdeps/x86_64/bits/atomic.h
9168         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
9169         64bit integer.
9170         (atomic_exchange_acq): Likewise.
9171         (__arch_exchange_and_add_body): Likewise.
9172         (__arch_add_body): Likewise.
9173         (atomic_add_negative): Likewise.
9174         (atomic_add_zero): Likewise.
9176 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
9178         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
9179         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
9181 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
9183         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
9184         Check __x86_64__ instead of __WORDSIZE.
9186 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
9188         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
9190 2012-03-19  David S. Miller  <davem@davemloft.net>
9192         * sysdeps/sparc/fpu/libm-test-ulps: Update.
9194         * sysdeps/sparc/fpu/fenv_private.h: New file.
9195         * sysdeps/sparc/fpu/math_private.h: Use it.
9196         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
9197         Remove.
9198         (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
9199         (libc_feholdexcept_setroundl): Remove.
9200         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
9201         Remove.
9202         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
9203         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
9205 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
9207         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
9208         int64_t instead of long int.
9209         (INSERT_WORDS64): Likwise.
9211 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
9213         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
9214         _Unwind_GetCFA return to _Unwind_Ptr first.
9216 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
9218         [BZ #13629]
9219         * math/s_clog.c: Include <float.h>.
9220         (__clog): Scale large or subnormal inputs.
9221         * math/s_clogf.c: Likewise.
9222         * math/s_clogl.c: Likewise.
9223         * math/s_clog10.c: Include <float.h>.
9224         (M_LOG10_2): Define.
9225         (__clog10): Scale large or subnormal inputs.
9226         * math/s_clog10f.c: Likewise.
9227         * math/s_clog10l.c: Likewise.
9228         * math/libm-test.inc (clog_test): Add more tests.
9229         (clog10_test): Likewise.
9230         * sysdeps/i386/fpu/libm-test-ulps: Update.
9231         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9233         [BZ #11451]
9234         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
9235         x and y.
9236         * math/libm-test.inc (atan2_test): Add another test.
9238         * Makerules (common-objdir-compile): Remove.
9239         * sysdeps/unix/Makefile (config-generated): Do not add
9240         $(unix-generated) to variable.
9241         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
9242         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
9243         Remove rule.
9244         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
9245         Likewise.
9246         [generic bits/local_lim.h] (before-compile): Do not append to
9247         variable.
9248         [generic bits/local_lim.h] (common-generated): Likewise.
9249         [generic sys/param.h] (before-compile): Do not append to variable.
9250         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
9251         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
9252         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
9253         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
9254         include.
9255         [generic sys/param.h] (sys/param.h-includes): Remove variable.
9256         [generic sys/param.h] (sys/param.h-includes): Remove rule.
9257         [generic sys/param.h] ($(addprefix
9258         $(common-objpfx),$(sys/param.h-includes))): Likewise.
9259         [generic sys/param.h] (common-generated): Do not append to
9260         variable.
9261         [generic sys/param.h] (sysdep_headers): Likewise.
9262         [generic bits/errno.h] (before-compile): Do not append to
9263         variable.
9264         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
9265         rule.
9266         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
9267         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
9268         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
9269         [generic bits/errno.h] (common-generated): Do not append to
9270         variable.
9271         [generic bits/ioctls.h] (before-compile): Do not append to
9272         variable.
9273         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
9274         rule.
9275         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
9276         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
9277         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
9278         rule.
9279         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
9280         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
9281         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
9282         [generic bits/ioctls.h] (common-generated): Do not append to
9283         variable.
9284         [generic sys/syscall.h] (syscall.h): Remove variable.
9285         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
9286         rule.
9287         [generic sys/syscall.h] (before-compile): Do not append to
9288         variable.
9289         [generic sys/syscall.h] (common-generated): Likewise.
9290         * sysdeps/unix/errnos-tmpl.c: Remove file.
9291         * sysdeps/unix/errnos.awk: Likewise.
9292         * sysdeps/unix/ioctls-tmpl.c: Likewise.
9293         * sysdeps/unix/ioctls.awk: Likewise.
9294         * sysdeps/unix/mk-local_lim.c: Likewise.
9295         * sysdeps/unix/snarf-ioctls: Likewise.
9297 2012-03-19  Richard Henderson  <rth@twiddle.net>
9299         * sysdeps/i386/fpu/fenv_private.h: New file.
9300         * sysdeps/i386/fpu/math_private.h: Use it.
9301         (math_opt_barrier, math_force_eval): Remove.
9302         (libc_feholdexcept_setround_53bit): Remove.
9303         (libc_feupdateenv_53bit): Remove.
9304         * sysdeps/x86_64/fpu/math_private.h: Likewise.
9305         (math_opt_barrier, math_force_eval): Remove.
9306         (libc_feholdexcept): Remove.
9307         (libc_feholdexcept_setround): Remove.
9308         (libc_fetestexcept, libc_fesetenv): Remove.
9309         (libc_feupdateenv_test): Remove.
9310         (libc_feupdateenv, libc_feholdsetround): Remove.
9311         (libc_feresetround): Remove.
9313         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
9314         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
9316         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
9317         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
9318         (libc_feupdateenv_testl): New.
9319         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
9320         (libc_feupdateenv_testf): New.
9321         (libc_feupdateenv): Use libc_feupdateenv_test.
9322         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
9323         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
9325         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
9326         (libc_feholdsetroundf, libc_feholdsetroundl): New.
9327         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
9328         (libc_feresetround_noex): New.
9329         (libc_feresetround_noexf): New.
9330         (libc_feresetround_noexl): New.
9331         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
9332         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
9333         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
9334         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
9335         SET_RESTORE_ROUND.
9336         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
9337         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
9338         (__cos): Likewise.
9339         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
9340         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
9341         SET_RESTORE_ROUND_NOEX.
9342         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
9343         SET_RESTORE_ROUND_NOEXF.
9344         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
9345         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
9346         (libc_feholdsetroundf): New.
9347         (libc_feresetround, libc_feresetroundf): New.
9349         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
9350         (libc_feholdexcept_setround_53bit): Convert from macro to function.
9351         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
9353         * sysdeps/generic/math_private.h: Include <fenv.h>.
9354         (default_libc_feholdexcept): New.
9355         (default_libc_feholdexcept_setround): New.
9356         (default_libc_fesetenv, default_libc_feupdateenv): New.
9357         (libc_feholdexcept): Only define if undefined.
9358         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
9359         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
9360         (libc_feholdexcept_setroundl): Likewise.
9361         (libc_feholdexcept_setround_53bit): Likewise.
9362         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
9363         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
9364         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
9365         (libc_feupdateenv_53bit): Likewise.
9366         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
9367         (libc_feholdexcept): Convert from macro to inline function.
9368         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
9369         (libc_fesetenv, libc_feupdateenv): Likewise.
9371         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
9372         not previously defined.
9373         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
9374         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
9375         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
9376         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
9377         * sysdeps/ieee754/flt-32/math_private.h: New file.
9378         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
9379         math_private.h below SET_FLOAT_WORD.
9380         (__isnan, __isinf_ns, __finite): Remove.
9381         (__isnanf, __isinf_nsf, __finitef): Remove.
9383 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
9385         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9387 2012-03-17  David S. Miller  <davem@davemloft.net>
9389         [BZ #6471]
9390         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
9391         for 2.16.
9393 2012-03-16  David S. Miller  <davem@davemloft.net>
9395         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
9396         warnings.
9398         [BZ #6471]
9399         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
9400         properly.
9401         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
9402         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
9403         sysdep_routines when subdir is sysvipc.
9404         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
9405         __getshmlba helper.
9407         * sysdeps/sparc/fpu/libm-test/ulps: Update.
9409 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
9411         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
9412         [__LP64__].
9414 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
9416         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
9417         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
9418         (__lround): Renamed to ...
9419         (__llround): This.  Replace long int with long long int.
9420         Define lround functions as aliases of llround functions.
9421         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
9423 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
9425         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
9426         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
9427         adresses to uintptr_t.  Replace "long int" and "unsigned long
9428         int" with "greg_t" on va_arg.
9430 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
9432         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
9433         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
9435         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
9436         Move e_machine check before EI_CLASS check.  Handle x32
9437         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
9438         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
9439         SKIP_EM_IA_64 and include
9440         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
9442         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
9443         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
9444         (add_system_dir): New macro.
9446         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
9447         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
9449 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
9451         [BZ #2551]
9452         [BZ #2552]
9453         [BZ #2553]
9454         [BZ #2554]
9455         [BZ #2562]
9456         [BZ #2563]
9457         [BZ #2565]
9458         [BZ #2566]
9459         [BZ #2576]
9460         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
9461         (y0): Likewise.
9462         * math/w_j0f.c (j0f): Likewise.
9463         (y0f): Likewise.
9464         * math/w_j0l.c (__j0l): Likewise.
9465         (__y0l): Likewise.
9466         * math/w_j1.c (j1): Likewise.
9467         (y1): Likewise.
9468         * math/w_j1f.c (j1f): Likewise.
9469         (y1f): Likewise.
9470         * math/w_j1l.c (__j1l): Likewise.
9471         (__y1l): Likewise.
9472         * math/w_jn.c (jn): Likewise.
9473         (yn): Likewise.
9474         * math/w_jnf.c (jnf): Likewise.
9475         (ynf): Likewise.
9476         * math/w_jnl.c (__jnl): Likewise.
9477         (__ynl): Likewise.
9478         * math/libm-test.inc (j0_test): Add more tests.
9479         (j1_test): Likewise.
9480         (jn_test): Likewise.  Add trailing semicolon to existing test.
9481         (y0_test): Likewise.
9482         (y1_test): Likewise.
9483         * sysdeps/i386/fpu/libm-test-ulps: Update.
9484         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9486         [BZ #13851]
9487         [BZ #13854]
9488         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
9489         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
9490         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
9491         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
9492         (__tanl): Set errno for infinite argument.
9493         * sysdeps/i386/fpu/mptan.c: Remove.
9494         * sysdeps/i386/fpu/s_tan.S: Likewise.
9495         * sysdeps/i386/fpu/s_tanl.S: Likewise.
9496         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
9497         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
9498         * math/libm-test.inc (tan_test): Add more tests and enable more
9499         tests for double and long double.
9500         * sysdeps/i386/fpu/libm-test-ulps: Update.
9501         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9503 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
9505         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
9506         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
9508 2012-03-16  Roland McGrath  <roland@hack.frob.com>
9510         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
9511         * configure.in: Use it for both main tree and add-ons.
9512         * configure: Regenerated.
9514 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
9516         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
9518 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
9520         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
9521         in comment.
9523         [BZ #13851]
9524         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
9525         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
9526         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
9527         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
9528         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
9529         infinite argument.
9530         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
9531         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
9532         != 0 for prec == 2.
9533         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
9534         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
9535         * sysdeps/i386/fpu/s_cosl.S: Likewise.
9536         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
9537         * sysdeps/i386/fpu/s_sinl.S: Likewise.
9538         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
9539         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
9540         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
9541         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
9542         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
9543         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
9544         * math/libm-test.inc (cos_test): Add more tests and enable more
9545         tests for long double.
9546         (sin_test): Likewise.
9547         (sincos_test): Likewise.
9548         * sysdeps/i386/fpu/libm-test-ulps: Update.
9549         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9551 2012-03-16  David S. Miller  <davem@davemloft.net>
9553         * sysdeps/sparc/fpu/math_private.h: New file.
9555 2012-03-15  David S. Miller  <davem@davemloft.net>
9557         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
9558         file.
9559         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
9560         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
9561         file.
9562         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
9563         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
9564         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
9565         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
9566         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
9567         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
9568         sysdep routines.
9569         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
9571         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
9572         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
9574         * sysdeps/sparc/sparc-ifunc.h: New file.
9575         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
9576         sparc-ifunc.h
9577         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
9578         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
9579         Likewise.
9580         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
9581         Likewise.
9582         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
9583         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
9584         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
9585         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
9586         Likewise.
9587         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
9588         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
9589         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
9590         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
9591         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
9592         Likewise.
9593         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
9594         Likewise.
9595         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
9596         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
9597         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
9598         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
9599         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
9600         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
9601         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
9602         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
9603         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
9604         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
9605         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
9606         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
9607         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
9608         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
9609         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
9610         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
9611         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
9612         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
9613         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
9614         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
9615         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
9616         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
9617         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
9618         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
9620 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
9622         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
9623         scaling.
9624         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9626 2012-03-15  Andreas Jaeger  <aj@suse.de>
9628         [BZ #13852]
9629         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
9630         ieee754/flt-32 implementation for sin, cos and sincos.
9631         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
9632         * sysdeps/i386/fpu/s_cosf.S: Likewise.
9633         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
9634         * sysdeps/i386/fpu/s_sinf.S: Likewise.
9635         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
9636         ieee754/flt-32 implementation for tan.
9638         * math/libm-test.inc (cos_test): Enable some large input tests for
9639         float as well
9640         (sin_test): Likewise.
9641         (sincos_test): Likewise.
9642         (tan_test): Add tests for large input.
9644         * sysdeps/i386/fpu/libm-test-ulps: Update.
9646 2012-03-15  Andreas Jaeger  <aj@suse.de>
9648         [BZ #13658]
9649         * math/libm-test.inc (cos_test): Add more test cases.
9650         (sin_test): Likewise.
9651         (sincos_test): Likewise.
9653 2012-03-15  Andreas Jaeger  <aj@suse.de>
9655         [BZ #13837]
9656         * math/libm-test.inc (cos_test): Add a test case for large input
9657         value.
9658         (sin_test): Likewise.
9659         (sincos_test): Likewise.
9661 2012-03-15  Andreas Jaeger  <aj@suse.de>,
9662         Joseph Myers  <joseph@codesourcery.com>
9664         [BZ #13658]
9665         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
9666         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
9667         * sysdeps/i386/fpu/branred.c: Likewise.
9668         * sysdeps/i386/fpu/dosincos.c: Likewise.
9669         * sysdeps/i386/fpu/mpa.c: Likewise.
9670         * sysdeps/i386/fpu/s_cos.S: Likewise.
9671         * sysdeps/i386/fpu/s_sin.S: Likewise.
9672         * sysdeps/i386/fpu/s_sincos.S: Likewise.
9673         * sysdeps/i386/fpu/sincos32.c: Likewise.
9675         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
9676         Define.
9677         (libc_feupdateenv_53bit): Define.
9678         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
9679         Define.
9680         (libc_feupdateenv_53bit): Define.
9682         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
9683         53 bit (without extend i386 double precision).
9685         * math/libm-test.inc (sincos_test): Add tests for large input.
9686         (sin): Likewise.
9687         (cos): Likewise.
9689         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
9691 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
9693         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9695 2012-03-15  David S. Miller  <davem@davemloft.net>
9697         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
9698         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
9699         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
9700         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
9701         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
9702         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
9703         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
9704         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
9705         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
9706         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
9707         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
9708         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
9709         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
9710         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
9711         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
9712         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
9713         file.
9714         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
9715         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
9716         file.
9717         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
9718         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
9719         file.
9720         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
9721         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
9722         file.
9723         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
9724         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
9725         fmin/fmax sysdep routines.
9726         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
9728 2012-03-14  David S. Miller  <davem@davemloft.net>
9730         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
9731         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
9732         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
9733         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
9734         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
9735         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
9736         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
9737         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
9738         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
9739         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
9740         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
9741         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
9742         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
9743         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
9744         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
9745         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
9746         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
9747         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
9748         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
9749         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
9750         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
9751         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
9752         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
9753         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
9754         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
9755         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
9756         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
9757         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
9758         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
9759         routines.
9760         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
9761         file.
9762         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
9763         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
9764         file.
9765         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
9766         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
9767         file.
9768         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
9769         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
9770         file.
9771         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
9772         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
9773         file.
9774         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
9775         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
9776         file.
9777         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
9778         file.
9779         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
9780         file.
9781         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
9782         file.
9783         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
9784         New file.
9785         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
9786         file.
9787         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
9788         file.
9789         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
9790         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
9791         file.
9792         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
9793         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
9794         file.
9795         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
9796         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
9797         file.
9798         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
9799         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
9800         VIS3 routines.
9802         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
9803         New file.
9805         * sysdeps/sparc/fpu/libm-test-ulps: Update.
9807         * sysdeps/sparc/configure.in: New file.
9808         * sysdeps/sparc/configure: Generate.
9809         * configure.in (libc_cv_sparc_as_vis3): Substitute.
9810         * configure: Regenerate.
9811         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
9812         * config.make.in (have-as-vis3): New.
9813         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
9814         available use -Av9d instead of -Av9a.
9815         * sysdeps/sparc/sparc64/Makefile: Likewise.
9816         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
9817         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
9818         New file.
9819         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
9820         file.
9821         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
9822         New file.
9823         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
9824         file.
9825         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
9826         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
9827         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
9828         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
9829         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
9831         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
9832         fzeros/fnegs to load 0x80000000 into a float register instead of
9833         using the stack.
9834         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
9836 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
9838         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9839         bits/syscall.h.
9840         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
9841         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
9842         ($(inst_includedir)/bits/syscall.h): Remove rule.
9843         ($(objpfx)bits/syscall.d): Include instead of
9844         $(objpfx)syscall-list.d.
9845         (generated): Change syscall-list.h and syscall-list.d to
9846         bits/syscall.h and bits/syscall.d.
9848 2012-03-14  Roland McGrath  <roland@hack.frob.com>
9850         [BZ #13846]
9851         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
9853 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
9855         [BZ #13841]
9856         * math/s_csqrt.c: Include <float.h>.
9857         (__csqrt): Scale large or subnormal inputs.
9858         * math/s_csqrtf.c: Likewise.
9859         * math/s_csqrtl.c: Likewise.
9860         * math/libm-test.inc (csqrt_test): Add more tests.
9861         * sysdeps/i386/fpu/libm-test-ulps: Update.
9862         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9864         [BZ #13840]
9865         * math/libm-test.inc (hypot_test): Add more tests.
9867 2012-03-13  David S. Miller  <davem@davemloft.net>
9869         [BZ #13840]
9870         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
9871         double-precision for the calculation instead of scaling.
9873 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
9875         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
9876         manipulate bits before adding and subtracting TWO52[sx].
9877         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
9878         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
9879         Likewise.
9880         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
9882 2012-03-13  David S. Miller  <davem@davemloft.net>
9884         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
9885         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
9886         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
9887         rtld-global-offsets.h
9888         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
9890         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
9891         large parameters.
9893         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
9895         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
9896         'err' in the ifdef scope in which it is actually used.
9898         * nss/nss_db/db-init.c: Include string.h
9900 2012-03-12  David S. Miller  <davem@davemloft.net>
9902         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
9903         masking out of the most significant byte of random value used.
9904         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
9905         Fix coding style in previous change.
9907         * sysdeps/unix/sysv/linux/kernel-features.h
9908         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
9909         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
9910         expression.
9911         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
9912         later.
9914 2012-03-11  David S. Miller  <davem@davemloft.net>
9916         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
9917         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
9918         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
9919         for 'resultvar' otherwise things get truncated on 64-bit.
9921         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
9922         Fix masking out of the most significant byte of random value used.
9924         * sysdeps/sparc/fpu/libm-test-ulps: Update.
9926 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
9928         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9930 2012-03-09  David S. Miller  <davem@davemloft.net>
9932         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
9933         variables with appropriate CPP guards.
9934         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
9935         frame pointer, not the stack pointer.  Correct layout comments.  Fix test
9936         on resulting framesize and the management of the outregs buffer for pltexit.
9937         Preserve floating point return values across _dl_call_pltexit call.
9938         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
9939         framesize and the management of the outregs buffer for pltexit.
9940         Preserve floating point return values across _dl_call_pltexit
9941         call.
9942         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
9943         la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
9944         (print_exit): Fix format string for return register value.
9946 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
9948         * sunrpc/Makefile (others): Add rpcgen.
9949         ($(objpfx)rpcgen): Remove special build rule and dependency on
9950         libc.
9951         * sunrpc/rpcgen.c: New file.
9953 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
9955         [BZ #13673]
9956         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
9957         * stdio-common/bug-vfprintf-nargs.c: Likewise.
9958         * sysdeps/i386/crti.S: Likewise.
9959         * sysdeps/i386/crtn.S: Likewise.
9960         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
9961         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
9962         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
9963         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
9964         * sysdeps/sh/crti.S: Likewise.
9965         * sysdeps/sh/crtn.S: Likewise.
9966         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
9968         [BZ #13673]
9969         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
9970         with URL.
9971         * locale/programs/locfile-kw.gperf: Likewise.
9972         * locale/programs/charmap-kw.h: Regenerated.
9973         * locale/programs/locfile-kw.h: Likewise.
9975         [BZ #13673]
9976         * intl/plural.y: Replace FSF snail mail address with URL.
9977         * intl/plural.c: Regenerated.
9979 2012-03-09  Richard Henderson  <rth@twiddle.net>
9981         * include/math_private.h: Remove file.
9982         * math/math_private.h: Move file ...
9983         * sysdeps/generic/math_private.h: ... here.
9985         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
9986         * sysdeps/powerpc/fpu/math_private.h: Likewise.
9987         * sysdeps/x86_64/fpu/math_private.h: Likewise.
9989         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
9990         and <math_private.h>.
9991         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
9992         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
9993         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
9994         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
9995         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
9996         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
9997         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
9998         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
9999         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
10000         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
10001         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10002         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
10003         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
10004         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
10005         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
10006         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
10007         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
10008         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
10009         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
10010         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
10011         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10012         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
10013         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
10014         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10015         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
10016         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
10017         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
10018         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
10019         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10020         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
10021         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
10022         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
10023         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
10024         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
10025         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
10026         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
10027         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
10028         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
10029         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
10030         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
10031         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
10032         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
10033         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
10034         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
10035         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
10036         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
10037         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
10038         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
10039         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
10040         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
10041         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
10042         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
10043         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
10044         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
10045         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
10046         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
10047         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
10048         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
10049         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
10050         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
10051         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
10052         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
10053         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10054         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
10055         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
10056         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
10057         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
10058         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
10059         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
10060         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
10061         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
10062         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
10063         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
10064         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
10065         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
10066         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
10067         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
10068         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
10069         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
10070         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
10071         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
10072         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
10073         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
10074         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
10075         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
10076         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
10077         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
10078         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
10079         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
10080         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
10081         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
10082         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
10083         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
10084         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
10085         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
10086         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
10087         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
10088         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
10089         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
10090         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
10091         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
10092         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
10093         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
10094         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
10095         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
10096         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
10097         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
10098         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
10099         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
10100         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
10101         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
10102         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
10103         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
10104         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
10105         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
10106         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
10107         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
10108         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
10109         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
10110         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
10111         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
10112         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
10113         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
10114         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
10115         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
10116         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
10117         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
10118         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
10119         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
10120         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
10121         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
10122         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
10123         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
10124         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
10125         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
10126         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
10127         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
10128         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
10129         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
10130         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
10131         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
10132         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
10133         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
10134         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
10135         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
10136         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
10137         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
10138         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
10139         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
10140         * sysdeps/ieee754/k_standard.c: Likewise.
10141         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
10142         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
10143         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
10144         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
10145         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
10146         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
10147         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
10148         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
10149         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
10150         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
10151         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
10152         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
10153         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
10154         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
10155         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
10156         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
10157         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
10158         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
10159         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
10160         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
10161         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
10162         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
10163         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
10164         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
10165         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
10166         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
10167         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
10168         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
10169         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
10170         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
10171         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
10172         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
10173         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
10174         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
10175         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
10176         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
10177         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
10178         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
10179         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
10180         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
10181         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
10182         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
10183         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
10184         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
10185         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
10186         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
10187         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
10188         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
10189         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
10190         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
10191         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
10192         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
10193         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
10194         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
10195         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
10196         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
10197         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
10198         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
10199         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
10200         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
10201         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
10202         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
10203         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
10204         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
10205         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
10206         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
10207         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
10208         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
10209         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
10210         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
10211         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
10212         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
10213         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
10214         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
10215         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
10216         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
10217         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
10218         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
10219         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
10220         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
10221         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
10222         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
10223         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
10224         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
10225         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
10226         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
10227         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
10228         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
10229         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
10230         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
10231         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
10232         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
10233         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
10234         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
10235         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
10236         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
10237         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
10238         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
10239         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
10240         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
10241         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
10242         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
10243         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
10244         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
10245         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
10246         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
10247         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
10248         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
10249         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
10250         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
10251         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
10252         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
10253         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
10254         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
10255         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
10256         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
10257         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
10258         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
10259         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
10260         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
10261         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
10262         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
10263         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
10264         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
10265         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
10266         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
10267         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
10268         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
10269         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
10270         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
10271         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
10272         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
10273         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
10274         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
10275         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
10276         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
10277         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
10278         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
10279         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
10280         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
10281         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
10282         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
10283         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
10284         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
10285         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
10286         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
10287         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
10288         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
10289         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
10290         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
10291         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
10292         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
10293         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
10294         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
10295         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
10296         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
10297         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
10298         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
10299         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
10300         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
10301         * sysdeps/ieee754/s_lib_version.c: Likewise.
10302         * sysdeps/ieee754/s_matherr.c: Likewise.
10303         * sysdeps/ieee754/s_signgam.c: Likewise.
10304         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
10305         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
10306         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
10307         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
10308         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
10309         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
10310         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
10311         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
10312         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
10313         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
10314         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
10315         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
10316         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
10317         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
10318         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
10319         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
10320         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
10321         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
10322         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
10323         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
10324         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
10326 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
10328         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
10329         * sunrpc/rpc_main.c: Likewise.
10330         * sunrpc/rpc_svcout.c: Likewise.
10332 2012-03-09  David S. Miller  <davem@davemloft.net>
10334         * include/math_private.h: New file.
10336 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
10338         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
10339         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
10340         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
10341         from <bits/socket_type.h>.
10342         (enum __socket_type): Don't define here.
10343         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
10344         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10345         bits/socket_type.h.
10347         [BZ #13566]
10348         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
10349         checking __USE_GNU.
10351         * Makerules ($(inst_includedir)/%.h): New rule.
10352         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
10353         (install-others): Remove variable setting.
10354         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
10356 2012-03-08  Richard Henderson  <rth@twiddle.net>
10358         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
10359         from macro to inline function; merge with the
10360         !__LIBC_INTERNAL_MATH_INLINES version.
10361         (__ieee754_sqrtf): Likewise.
10363         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
10364         to inline function.
10365         (__rintf, __floor, __floorf): Likewise.
10367         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
10368         macro to inline function.
10369         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
10371         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
10372         not <math/math_private.h>.
10374 2012-03-08  David S. Miller  <davem@davemloft.net>
10376         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
10377         copyright year.
10378         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
10380 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
10382         * resolv/gai_misc.c (handle_requests): Fix struct timespec
10383         normalization.
10384         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
10385         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
10387 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
10389         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
10390         be defined individually, they must be defined as a block.  Define
10391         S for printing a string instead of hidint the different by using a
10392         macro for adding the 'l'.
10393         * stdio-common/tst-fphex-wide.c: Adjust.
10395 2012-03-07  Marek Polacek  <polacek@redhat.com>
10397         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
10399 2012-03-08  Marek Polacek  <polacek@redhat.com>
10401         [BZ #13806]
10402         * stdio-common/Makefile (tests): Add tst-fphex-wide.
10403         * stdio-common/tst-fphex.c: Define a few macros to make the
10404         test reusable.  Use them.
10405         * stdio-common/tst-fphex-wide.c: New file.
10407 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
10409         [BZ #6911]
10410         * manual/macros.texi (gnusystems): New macro.
10411         (nongnusystems): Likewise.
10412         (gnulinuxhurdsystems): Likewise.
10413         (gnuhurdsystems): Likewise..
10414         (gnulinuxsystems): Likewise.
10415         * manual/charset.texi: Use new macros or @theglibc{} to refer to
10416         variants of the GNU system, not "GNU system".
10417         * manual/conf.texi: Likewise.
10418         * manual/errno.texi: Likewise.  Update example of errno macro
10419         expansion.
10420         * manual/filesys.texi: Likewise.
10421         (getumask): Document as specific to GNU/Hurd.
10422         * manual/install.texi: Likewise.  Reword some references to
10423         GNU/Linux.
10424         * manual/intro.texi: Likewise.
10425         * manual/io.texi: Likewise.
10426         (File Name Portability): Detail which constraints are inapplicable
10427         to all GNU systems and which are only inapplicable to GNU/Hurd.
10428         * manual/job.texi: Likewise.
10429         * manual/llio.texi: Likewise.
10430         (O_NOCTTY): Document as present on GNU/Linux.
10431         * manual/maint.texi: Likewise.
10432         * manual/memory.texi: Likewise.
10433         * manual/pattern.texi: Likewise.
10434         * manual/pipe.texi: Likewise.
10435         * manual/process.texi: Likewise.
10436         * manual/resource.texi: Likewise.
10437         (RUSAGE_CHILDREN): Remove statement about specifying a particular
10438         child on GNU/Hurd.
10439         * manual/setjmp.texi: Likewise.
10440         * manual/signal.texi: Likewise.
10441         * manual/startup.texi: Likewise.
10442         * manual/stdio.texi: Likewise.
10443         * manual/terminal.texi: Likewise.
10444         (ONLCR): Document as POSIX.
10445         (OXTABS): Document availability on GNU/Linux as XTABS.
10446         (ONOEOT): Document availability separately from other bits.
10447         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
10448         * manual/time.texi: Likewise.
10449         * manual/users.texi: Likewise.
10450         * INSTALL: Regenerated.
10451         * sysdeps/gnu/errlist.c: Regenerated.
10453         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
10454         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
10455         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
10456         puts.
10457         * configure: Regenerated.
10459 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
10461         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
10462         default includes instead of AC_HEADER_CHECK.
10463         * sysdeps/i386/configure: Regenerated.
10465         [BZ #10716]
10466         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
10467         * math/s_cacoshf.c (__cacoshf): Likewise.
10468         * math/s_cacoshl.c (__cacoshl): Likewise.
10469         * math/s_casinh.c (__casinh): Set signs of result from argument.
10470         * math/s_casinhf.c (__casinhf): Likewise.
10471         * math/s_casinhl.c (__casinhl): Likewise.
10472         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
10473         (casinh_test): Add more tests.
10474         * sysdeps/i386/fpu/libm-test-ulps: Update.
10475         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10477 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
10479         * po/zh_TW.po: Update from translation team.
10481         * login/Makefile (distribute): Remove variable.
10482         * catgets/Makefile: Likewise.
10483         * mach/Makefile: Likewise.
10484         * malloc/Makefile: Likewise.
10485         * misc/Makefile: Likewise.
10486         * iconv/Makefile: Likewise.
10487         * nscd/Makefile: Likewise.
10488         * hurd/Makefile: Likewise.
10489         * manual/Makefile: Likewise.
10490         * locale/Makefile: Likewise.
10491         * intl/Makefile: Likewise.
10492         * conform/Makefile: Likewise.
10493         * nss/Makefile: Likewise.
10494         * time/Makefile: Likewise.
10495         * soft-fp/Makefile: Likewise.
10496         * dirent/Makefile: Likewise.
10497         * gmon/Makefile: Likewise.
10498         * po/Makefile: Likewise.
10499         * rt/Makefile: Likewise.
10500         * socket/Makefile: Likewise.
10501         * math/Makefile: Likewise.
10502         * signal/Makefile: Likewise.
10503         * debug/Makefile: Likewise.
10504         * elf/Makefile: Likewise.
10505         * timezone/Makefile: Likewise.
10506         * stdlib/Makefile: Likewise.
10507         * iconvdata/Makefile: Likewise.
10508         * sunrpc/Makefile: Likewise.
10509         * io/Makefile: Likewise.
10510         * argp/Makefile: Likewise.
10511         * inet/Makefile: Likewise.
10512         * hesiod/Makefile: Likewise.
10513         * grp/Makefile: Likewise.
10514         * csu/Makefile: Likewise.
10515         * wctype/Makefile: Likewise.
10516         * crypt/Makefile: Likewise.
10517         * libio/Makefile: Likewise.
10518         * string/Makefile: Likewise.
10519         * nis/Makefile: Likewise.
10520         * resolv/Makefile: Likewise.
10521         * stdio-common/Makefile: Likewise.
10522         * wcsmbs/Makefile: Likewise.
10523         * dlfcn/Makefile: Likewise.
10524         * posix/Makefile: Likewise.
10526         [BZ #6959]
10527         * timezone/Makefile: Don't install timezone files, just the programs
10528         and scripts.
10530 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
10532         * nss/databases.def: Add missing gshadow entry.
10534         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
10536 2012-03-06  Marek Polacek  <polacek@redhat.com>
10538         [BZ #13726]
10539         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
10540         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
10541         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
10542         * stdio-common/tst-long-dbl-fphex.c: New file.
10544 2012-03-06  David S. Miller  <davem@davemloft.net>
10546         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
10547         (set_obp_int): New function.
10548         (get_obp_int): New function.
10549         (__get_clockfreq_via_dev_openprom): Likewise.
10550         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
10551         Avoid unused variable warnings on 'val' and use builtin_expect.
10552         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
10553         __builtin_expect.
10554         (INLINE_CLONE_SYSCALL): Likewise.
10556 2012-03-05  David S. Miller  <davem@davemloft.net>
10558         * sysdeps/sparc/fpu/libm-test-ulps: Update.
10560 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
10562         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10564         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
10565         only for |x| >= 40.
10566         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
10568 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
10570         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
10571         Replace gettimeofday with __vdso_gettimeofday.
10573         * sysdeps/unix/sysv/linux/x86_64/init-first.c
10574         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
10575         __vdso_clock_gettime and __vdso_getcpu.
10577         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
10578         time with __vdso_time.
10580 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
10582         * manual/lang.texi (size_t): Note types to which size_t may be
10583         equivalent with the GNU C Library, but do not describe when
10584         differences between them are significant.
10586 2012-03-05  Andreas Jaeger  <aj@suse.de>
10588         * sysdeps/i386/fpu/libm-test-ulps: Update.
10590 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
10592         [BZ #3976]
10593         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
10594         (__ieee754_pow): Save and restore rounding mode and use
10595         round-to-nearest for main computations.
10596         * math/libm-test.inc (pow_test_tonearest): New function.
10597         (pow_test_towardzero): Likewise.
10598         (pow_test_downward): Likewise.
10599         (pow_test_upward): Likewise.
10600         (main): Call the new functions.
10601         * sysdeps/i386/fpu/libm-test-ulps: Update.
10602         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10604         [BZ #3976]
10605         * math/libm-test.inc (cosh_test_tonearest): New function.
10606         (cosh_test_towardzero): Likewise.
10607         (cosh_test_downward): Likewise.
10608         (cosh_test_upward): Likewise.
10609         (sinh_test_tonearest): Likewise.
10610         (sinh_test_towardzero): Likewise.
10611         (sinh_test_downward): Likewise.
10612         (sinh_test_upward): Likewise.
10613         (main): Call the new functions.
10614         * sysdeps/i386/fpu/libm-test-ulps: Update.
10615         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10617 2012-03-05  Tom de Vries  <tom@codesourcery.com>
10619         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
10620         default stack guard is set in last bytes.
10621         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
10623 2012-03-05  Kees Cook  <keescook@chromium.org>
10625         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
10627         [BZ #13656]
10628         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
10629         possibly allocate from heap instead of stack.
10630         * stdio-common/bug-vfprintf-nargs.c: New file.
10631         * stdio-common/Makefile (tests): Add nargs overflow test.
10633 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
10635         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10637 2012-03-03  Marek Polacek  <polacek@redhat.com>
10639         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
10640         * math/math_private.h: Likewise.
10641         * stdlib/tst-strtod.c: Likewise.
10642         * sysdeps/i386/i486/bits/atomic.h: Likewise.
10643         * sysdeps/x86_64/bits/atomic.h: Likewise.
10645 2012-03-02  David S. Miller  <davem@davemloft.net>
10647         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
10648         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
10649         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
10650         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
10651         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
10652         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
10653         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
10654         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
10656 2012-03-02  Roland McGrath  <roland@hack.frob.com>
10658         [BZ #13792]
10659         * manual/examples/README: New file, says the example source files
10660         can be used under GPL>=2.
10661         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
10662         line containing just "*/".
10663         * manual/examples/add.c: Add copyright header (GPL>=2).
10664         * manual/examples/argp-ex1.c: Likewise.
10665         * manual/examples/argp-ex2.c: Likewise.
10666         * manual/examples/argp-ex3.c: Likewise.
10667         * manual/examples/argp-ex4.c: Likewise.
10668         * manual/examples/atexit.c: Likewise.
10669         * manual/examples/db.c: Likewise.
10670         * manual/examples/dir.c: Likewise.
10671         * manual/examples/dir2.c: Likewise.
10672         * manual/examples/execinfo.c: Likewise.
10673         * manual/examples/filecli.c: Likewise.
10674         * manual/examples/filesrv.c: Likewise.
10675         * manual/examples/fmtmsgexpl.c: Likewise.
10676         * manual/examples/genpass.c: Likewise.
10677         * manual/examples/inetcli.c: Likewise.
10678         * manual/examples/inetsrv.c: Likewise.
10679         * manual/examples/isockad.c: Likewise.
10680         * manual/examples/longopt.c: Likewise.
10681         * manual/examples/memopen.c: Likewise.
10682         * manual/examples/memstrm.c: Likewise.
10683         * manual/examples/mkfsock.c: Likewise.
10684         * manual/examples/mkisock.c: Likewise.
10685         * manual/examples/mygetpass.c: Likewise.
10686         * manual/examples/pipe.c: Likewise.
10687         * manual/examples/popen.c: Likewise.
10688         * manual/examples/rprintf.c: Likewise.
10689         * manual/examples/search.c: Likewise.
10690         * manual/examples/select.c: Likewise.
10691         * manual/examples/setjmp.c: Likewise.
10692         * manual/examples/sigh1.c: Likewise.
10693         * manual/examples/sigusr.c: Likewise.
10694         * manual/examples/stpcpy.c: Likewise.
10695         * manual/examples/strdupa.c: Likewise.
10696         * manual/examples/strftim.c: Likewise.
10697         * manual/examples/strncat.c: Likewise.
10698         * manual/examples/subopt.c: Likewise.
10699         * manual/examples/swapcontext.c: Likewise.
10700         * manual/examples/termios.c: Likewise.
10701         * manual/examples/testopt.c: Likewise.
10702         * manual/examples/testpass.c: Likewise.
10703         * manual/examples/timeval_subtract.c: Likewise.
10705         [BZ #13792]
10706         * manual/time.texi (Elapsed Time): Move timeval_subtract example
10707         function to ...
10708         * manual/timeval_subtract.c.texi: ... here, new file.
10710 2012-03-02  David S. Miller  <davem@davemloft.net>
10712         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
10714 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
10716         [BZ #3976]
10717         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
10718         (__sin): Save and restore rounding mode and use round-to-nearest
10719         for all computations.
10720         (__cos): Save and restore rounding mode and use round-to-nearest
10721         for all computations.
10722         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
10723         <fenv.h>.
10724         (tan): Save and restore rounding mode and use round-to-nearest for
10725         all computations.
10726         * math/libm-test.inc (cos_test_tonearest): New function.
10727         (cos_test_towardzero): Likewise.
10728         (cos_test_downward): Likewise.
10729         (cos_test_upward): Likewise.
10730         (sin_test_tonearest): Likewise.
10731         (sin_test_towardzero): Likewise.
10732         (sin_test_downward): Likewise.
10733         (sin_test_upward): Likewise.
10734         (tan_test_tonearest): Likewise.
10735         (tan_test_towardzero): Likewise.
10736         (tan_test_downward): Likewise.
10737         (tan_test_upward): Likewise.
10738         (main): Call the new functions.
10739         * sysdeps/i386/fpu/libm-test-ulps: Update.
10740         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10742         [BZ #10135]
10743         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
10744         small n, then large n, before computing and testing k+n.
10745         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
10746         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
10747         Likewise.
10748         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
10749         Likewise.
10750         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
10751         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
10752         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
10753         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
10754         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
10755         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
10756         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
10757         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
10758         * math/libm-test.inc (scalbn_test): Add more tests.
10759         (scalbln_test): Likewise.
10761         * manual/filesys.texi (mode_t): Describe constraints on size and
10762         signedness, not exact equivalence to a particular type.
10763         (ino_t): Likewise.
10764         (ino64_t): Likewise.
10765         (dev_t): Likewise.
10766         (nlink_t): Likewise.
10767         (blkcnt_t): Likewise.
10768         (blkcnt64_t): Likewise.
10769         * manual/llio.texi (off_t): Likewise.
10771         [BZ #3976]
10772         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
10773         (__ieee754_exp): Save and restore rounding mode and use
10774         round-to-nearest for all computations.
10775         * math/libm-test.inc (exp_test_tonearest): New function.
10776         (exp_test_towardzero): Likewise.
10777         (exp_test_downward): Likewise.
10778         (exp_test_upward): Likewise.
10779         (main): Call the new functions.
10780         * sysdeps/i386/fpu/libm-test-ulps: Update.
10781         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10783 2012-03-01  Chris Demetriou  <cgd@google.com>
10785         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
10786         have predictable order.
10788 2012-03-01  David S. Miller  <davem@davemloft.net>
10790         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
10792         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
10793         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
10794         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
10795         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
10797         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
10798         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
10799         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
10800         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
10801         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
10802         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
10803         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
10804         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
10805         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
10807         * sysdeps/sparc/fpu/libm-test-ulps: Update.
10809         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
10810         * sysdeps/sparc/fpu/libm-test-ulps: to here.
10811         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
10813         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
10814         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
10815         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
10816         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
10817         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
10818         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
10819         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
10820         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
10821         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
10822         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
10823         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
10824         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
10825         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
10826         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
10827         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
10828         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
10829         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
10830         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
10831         * sysdeps/sparc/elf/configure: Regenerated.
10833 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
10835         * configure.in (AS, LD): Require binutils 2.20 or later.
10836         * configure: Regenerated.
10837         * manual/install.texi (Tools for Compilation): Give binutils 2.20
10838         as required minimum version.
10839         * INSTALL: Regenerated.
10841         [BZ #2541]
10842         [BZ #4108]
10843         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
10844         before squaring exponent.
10845         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
10846         bottom long double and 27 bits of top long double before squaring
10847         exponent.
10848         * math/libm-test.inc (erfc_test): Add more tests.
10849         * sysdeps/i386/fpu/libm-test-ulps: Update.
10850         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
10851         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10853 2012-03-01  Kai Tietz  <ktietz@redhat.com>
10855         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
10856         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
10857         containing bit-fields.
10858         * soft-fp/extended.h (_FP_UNION_E): Likewise.
10859         * soft-fp/single.h (_FP_UNION_S): Likewise.
10860         * soft-fp/double.h (_FP_UNION_D): Likewise.
10862 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
10864         [BZ #13786]
10865         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
10866         not include ../strcmp.S.
10867         [USE_AS_STRNCASECMP_L]: Likewise.
10868         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
10869         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
10870         * sysdeps/i386/i686/multiarch/strncase_l-c.c
10871         (__strncasecmp_l_ia32): Define as alias to
10872         __strncasecmp_l_nonascii.
10874         [BZ #5794]
10875         * math/libm-test.inc (expm1_test): Add test for bug 5794.
10876         * sysdeps/i386/fpu/libm-test-ulps: Update.
10877         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10879         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
10880         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10882 2012-02-29  Jeff Law  <law@redhat.com>
10884         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
10885         out of bounds read.
10887 2012-02-29  Marek Polacek  <polacek@redhat.com>
10889         [BZ #13706]
10890         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
10891         * elf/Makefile: Add rules to run tst-unused-dep.out.
10893 2012-02-28  David S. Miller  <davem@davemloft.net>
10895         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
10896         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
10897         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
10898         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
10899         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
10900         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
10902 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
10904         * math/libm-test.inc (llround_test): Move one test from
10905         lround_test.  Use TEST_f_L in moved test.
10906         (lround_test): Move misplaced test to llround_test.  Add testcase
10907         from bug 2561.
10909 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
10911         * sysdeps/x86_64/fpu/e_expf.S: New file.
10912         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
10914 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
10916         [BZ #13637]
10917         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
10918         of remain_len that may cause incomplete multi-byte character and
10919         false match.
10920         * posix/bug-regex33.c: New file.
10921         * posix/Makefile (tests): Add bug-regex33.
10923 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
10925         * manual/macros.texi: New file.
10926         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
10927         * manual/libc.texinfo: Include macros.texi.
10928         * manual/creatute.texi: Likewise.
10929         * manual/install.texi: Likewise.
10930         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
10931         @glibcadj{} in references to the GNU C Library.
10932         * manual/charset.texi: Likewise.
10933         * manual/conf.texi: Likewise.
10934         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
10935         when not using those macros.
10936         * manual/creature.texi: Likewise.
10937         * manual/crypt.texi: Likewise.
10938         * manual/errno.texi: Likewise.
10939         * manual/filesys.texi: Likewise.
10940         * manual/header.texi: Likewise.
10941         * manual/install.texi: Likewise.
10942         * manual/intro.texi: Likewise.
10943         * manual/io.texi: Likewise.
10944         * manual/job.texi: Likewise.
10945         * manual/lang.texi: Likewise.
10946         * manual/libc.texiinfo: Likewise.
10947         * manual/llio.texi: Likewise.
10948         * manual/locale.texi: Likewise.
10949         * manual/maint.texi: Likewise.
10950         * manual/math.texi: Likewise.
10951         * manual/memory.texi: Likewise.
10952         * manual/message.texi: Likewise.
10953         * manual/nss.texi: Likewise.
10954         * manual/pattern.texi: Likewise.
10955         * manual/process.texi: Likewise.
10956         * manual/resource.texi: Likewise.
10957         * manual/search.texi: Likewise.
10958         * manual/setjmp.texi: Likewise.
10959         * manual/signal.texi: Likewise.
10960         * manual/socket.texi: Likewise.
10961         * manual/startup.texi: Likewise.
10962         * manual/stdio.texi: Likewise.
10963         * manual/string.texi: Likewise.
10964         * manual/sysinfo.texi: Likewise.
10965         * manual/syslog.texi: Likewise.
10966         * manual/terminal.texi: Likewise.
10967         * manual/time.texi: Likewise.
10968         * manual/users.texi: Likewise.
10969         * INSTALL: Regenerated.
10970         * NOTES: Regenerated.
10971         * sysdeps/gnu/errlist.c: Regenerated.
10973 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
10975         * include/dirent.h: Include <dirstream.h> before
10976         <dirent/dirent.h>.
10978 2012-02-28  David S. Miller  <davem@davemloft.net>
10980         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
10981         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
10982         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
10983         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
10985 2012-02-27  David S. Miller  <davem@davemloft.net>
10987         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
10988         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
10989         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
10990         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
10992         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
10993         frame pointer instead of stack pointer relative arg slot.
10994         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
10995         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
10996         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
10998 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
11000         [BZ #3992]
11001         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
11003 2012-02-27  David S. Miller  <davem@davemloft.net>
11005         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
11006         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
11007         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
11008         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
11009         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
11010         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
11011         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
11012         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
11014 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
11016         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
11017         later.  Allow versions 5-9.
11018         * configure: Regenerated.
11019         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
11020         required minimum version and 4.6 as recommended version.  Do not
11021         mention bugs in GCC 2.7 and 2.8.
11022         * INSTALL: Regenerated.
11024 2012-02-27  David S. Miller  <davem@davemloft.net>
11026         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
11027         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
11028         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
11029         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
11030         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
11031         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
11032         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
11033         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
11035         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
11036         manipulate bits before adding and subtracting TWO112[sx].
11037         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
11039 2012-02-27  Roland McGrath  <roland@hack.frob.com>
11041         [BZ #13775]
11042         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
11043         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
11044         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
11045         being in POSIX, because they are in 1003.1-2008.
11047         * rt/tst-aio.c: Include <fcntl.h>.
11048         * rt/tst-aio7.c: Likewise.
11049         * rt/tst-aio64.c: Likewise.
11051         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
11053 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
11055         * manual/install.texi (--with-headers): Describe headers as
11056         interface headers, not private headers.
11057         (Specific advice for GNU/Linux systems): Describe use of headers
11058         from "make headers_install", not private headers from older
11059         kernels.
11060         * INSTALL: Regenerated.
11061         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
11062         Change to 2.6.19.
11063         * sysdeps/unix/sysv/linux/configure: Regenerated.
11065         * manual/llio.texi (fclean): Remove documentation.
11067         * manual/Makefile (libc-texi-generated): New variable.  Include
11068         version.texi.
11069         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
11070         $(libc-texi-generated), not duplicated list of files.
11071         (version.texi, stamp-version): New rules.
11072         (realclean): Remove $(libc-texi-generated), not individual files
11073         from that list.  Do not remove dir-add.texinfo.
11074         * manual/libc.texinfo: Comment out uses of edition numbers and
11075         references to printed manual.  Remove last-updated dates.
11076         (EDITION): Comment out.
11077         (ISBN): Likewise.
11078         (VERSION, UPDATED): Remove.
11079         (version.texi): Include.
11081 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
11083         * sysdeps/posix/spawni.c: Include <signal.h>.
11084         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
11085         * sysdeps/pthread/aio_fsync.c: Likewise.
11087 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
11089         * conform/Makefile (tests): Run only when not cross-compiling and
11090         when fast-check is not defined.
11092         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
11093         * conform/data/limits.h-data: Fixes for POSIX2008.
11094         * conform/run-conformtest.sh: Run all tests.
11095         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
11096         headers.
11097         * include/bits/dlfcn.h: Likewise.
11098         * include/langinfo.h: Likewise.
11099         * include/monetary.h: Likewise.
11100         * include/sys/poll.h: Likewise.
11102         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
11103         for __USE_GNU.
11104         * posix/spawn.h: Define __need_sigset_t.
11105         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
11106         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
11107         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
11108         to get sigevent_t only.
11109         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
11110         only for __USE_GNU.
11111         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
11112         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
11113         process_vm_writev only for __USE_GNU.
11114         * termios/termios.h: Declare tcgetsid also for POSIX2008.
11116         * conform/Makefile: For now ignore errors from run-conformtest.
11117         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
11118         POSIX to avoid namespace pollution.  Don't prepend headers.
11119         * conform/data/aio.h-data: Fixes for POSIX testing.
11120         * conform/data/fcntl.h-data: Likewise.
11121         * conform/data/glob.h-data: Likewise.
11122         * conform/data/grp.h-data: Likewise.
11123         * conform/data/pthread.h-data: Likewise.
11124         * conform/data/pwd.h-data: Likewise.
11125         * conform/data/signal.h-data: Likewise.
11126         * conform/data/spawn.h-data: Likewise.
11127         * conform/data/stdio.h-data: Likewise.
11128         * conform/data/stdlib.h-data: Likewise.
11129         * conform/data/stropts.h-data: Likewise.
11130         * conform/data/sys/mman.h-data: Likewise.
11131         * conform/data/sys/stat.h-data: Likewise.
11132         * conform/data/sys/types.h-data: Likewise.
11133         * conform/data/sys/wait.h-data: Likewise.
11134         * conform/data/time.h-data: Likewise.
11135         * conform/data/unistd.h-data: Likewise.
11136         * conform/data/utime.h-data: Likewise.
11138         * io/sys/stat.h: fchmod was always in POSIX.
11139         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
11140         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
11141         * rt/aio.h: Define __need_timespec before including <time.h>.
11142         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
11143         struct.  Add forward declaration of pthread_attr_t and use it in
11144         sigevent.
11145         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
11146         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
11147         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
11148         always remove CLK_TCK definition.
11150 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
11152         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
11154 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
11156         * conform/run-conformtest.sh: New file.
11157         * conform/Makefile: Run run-conformtest for tests.
11158         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
11159         support.
11161         * conform/data/uchar.h-data: New file.
11162         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
11163         * conform/data/arpa/inet.h-data: Likewise.
11164         * conform/data/assert.h-data: Likewise.
11165         * conform/data/complex.h-data: Likewise.
11166         * conform/data/cpio.h-data: Likewise.
11167         * conform/data/ctype.h-data: Likewise.
11168         * conform/data/dirent.h-data: Likewise.
11169         * conform/data/dlfcn.h-data: Likewise.
11170         * conform/data/errno.h-data: Likewise.
11171         * conform/data/fcntl.h-data: Likewise.
11172         * conform/data/float.h-data: Likewise.
11173         * conform/data/fmtmsg.h-data: Likewise.
11174         * conform/data/fnmatch.h-data: Likewise.
11175         * conform/data/ftw.h-data: Likewise.
11176         * conform/data/glob.h-data: Likewise.
11177         * conform/data/grp.h-data: Likewise.
11178         * conform/data/iconv.h-data: Likewise.
11179         * conform/data/inttypes.h-data: Likewise.
11180         * conform/data/langinfo.h-data: Likewise.
11181         * conform/data/libgen.h-data: Likewise.
11182         * conform/data/limits.h-data: Likewise.
11183         * conform/data/locale.h-data: Likewise.
11184         * conform/data/math.h-data: Likewise.
11185         * conform/data/monetary.h-data: Likewise.
11186         * conform/data/mqueue.h-data: Likewise.
11187         * conform/data/ndbm.h-data: Likewise.
11188         * conform/data/net/if.h-data: Likewise.
11189         * conform/data/netdb.h-data: Likewise.
11190         * conform/data/netinet/in.h-data: Likewise.
11191         * conform/data/nl_types.h-data: Likewise.
11192         * conform/data/poll.h-data: Likewise.
11193         * conform/data/pthread.h-data: Likewise.
11194         * conform/data/pwd.h-data: Likewise.
11195         * conform/data/regex.h-data: Likewise.
11196         * conform/data/sched.h-data: Likewise.
11197         * conform/data/search.h-data: Likewise.
11198         * conform/data/semaphore.h-data: Likewise.
11199         * conform/data/setjmp.h-data: Likewise.
11200         * conform/data/signal.h-data: Likewise.
11201         * conform/data/spawn.h-data: Likewise.
11202         * conform/data/stdarg.h-data: Likewise.
11203         * conform/data/stdio.h-data: Likewise.
11204         * conform/data/stdlib.h-data: Likewise.
11205         * conform/data/string.h-data: Likewise.
11206         * conform/data/strings.h-data: Likewise.
11207         * conform/data/stropts.h-data: Likewise.
11208         * conform/data/sys/ipc.h-data: Likewise.
11209         * conform/data/sys/mman.h-data: Likewise.
11210         * conform/data/sys/msg.h-data: Likewise.
11211         * conform/data/sys/resource.h-data: Likewise.
11212         * conform/data/sys/select.h-data: Likewise.
11213         * conform/data/sys/sem.h-data: Likewise.
11214         * conform/data/sys/shm.h-data: Likewise.
11215         * conform/data/sys/socket.h-data: Likewise.
11216         * conform/data/sys/stat.h-data: Likewise.
11217         * conform/data/sys/statvfs.h-data: Likewise.
11218         * conform/data/sys/time.h-data: Likewise.
11219         * conform/data/sys/timeb.h-data: Likewise.
11220         * conform/data/sys/times.h-data: Likewise.
11221         * conform/data/sys/types.h-data: Likewise.
11222         * conform/data/sys/uio.h-data: Likewise.
11223         * conform/data/sys/un.h-data: Likewise.
11224         * conform/data/sys/utsname.h-data: Likewise.
11225         * conform/data/sys/wait.h-data: Likewise.
11226         * conform/data/syslog.h-data: Likewise.
11227         * conform/data/tar.h-data: Likewise.
11228         * conform/data/termios.h-data: Likewise.
11229         * conform/data/utime.h-data: Likewise.
11230         * conform/data/utmpx.h-data: Likewise.
11231         * conform/data/varargs.h-data: Likewise.
11232         * conform/data/wchar.h-data: Likewise.
11233         * conform/data/wctype.h-data: Likewise.
11234         * conform/data/wordexp.h-data: Likewise.
11236         * include/stropts.h: New file.
11237         * include/uchar.h: New file.
11238         * include/aio.h: Changes to allow conformtest.pl to use the headers.
11239         * include/assert.h: Likewise.
11240         * include/ctype.h: Likewise.
11241         * include/dirent.h: Likewise.
11242         * include/dlfcn.h: Likewise.
11243         * include/fcntl.h: Likewise.
11244         * include/fnmatch.h: Likewise.
11245         * include/glob.h: Likewise.
11246         * include/grp.h: Likewise.
11247         * include/libio.h: Likewise.
11248         * include/locale.h: Likewise.
11249         * include/math.h: Likewise.
11250         * include/net/if.h: Likewise.
11251         * include/netdb.h: Likewise.
11252         * include/netinet/in.h: Likewise.
11253         * include/pthread.h: Likewise.
11254         * include/pwd.h: Likewise.
11255         * include/regex.h: Likewise.
11256         * include/sched.h: Likewise.
11257         * include/search.h: Likewise.
11258         * include/setjmp.h: Likewise.
11259         * include/signal.h: Likewise.
11260         * include/stdio.h: Likewise.
11261         * include/stdlib.h: Likewise.
11262         * include/string.h: Likewise.
11263         * include/sys/cdefs.h: Likewise.
11264         * include/sys/mman.h: Likewise.
11265         * include/sys/msg.h: Likewise.
11266         * include/sys/resource.h: Likewise.
11267         * include/sys/select.h: Likewise.
11268         * include/sys/socket.h: Likewise.
11269         * include/sys/stat.h: Likewise.
11270         * include/sys/statvfs.h: Likewise.
11271         * include/sys/time.h: Likewise.
11272         * include/sys/times.h: Likewise.
11273         * include/sys/uio.h: Likewise.
11274         * include/sys/utsname.h: Likewise.
11275         * include/sys/wait.h: Likewise.
11276         * include/termios.h: Likewise.
11277         * include/time.h: Likewise.
11278         * include/ulimit.h: Likewise.
11279         * include/unistd.h: Likewise.
11280         * include/utime.h: Likewise.
11281         * include/wchar.h: Likewise.
11282         * include/wctype.h: Likewise.
11283         * include/wordexp.h: Likewise.
11285         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
11287         * time/time.h: TIME_UTC must be a macro.
11288         Make timespec_get available for ISO C11 only as well.
11290 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
11292         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
11293         Reported by Peng Haitao <penght@cn.fujitsu.com>.
11295 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
11297         * configure.in: Use -o not -a in test for unsupported multi-arch.
11299 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
11301         * manual/texinfo.tex: Update to version 2012-01-19.16.
11303 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
11305         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
11307 2012-02-24  Roland McGrath  <roland@hack.frob.com>
11309         [BZ #13738]
11310         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
11311         * manual/fdl-1.3.texi: New file.
11312         * manual/fdl-1.1.texi: File removed.
11314         [BZ #13738]
11315         * manual/libc.texinfo (FDL_VERSION): New @set.
11316         Use it for mention of FDL in cover text.
11317         (Documentation License): Use it in @include file name.
11319 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
11320             Roland McGrath  <roland@hack.frob.com>
11322         [BZ #5461]
11323         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
11324         not LONG_LONG_MAX and LONG_LONG_MIN.
11325         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
11326         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
11327         name.
11328         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
11330 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
11332         [BZ #2547]
11333         [BZ #11365]
11334         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
11335         manipulate bits before adding and subtracting TWO23[sx].
11336         * math/libm-test.inc (nearbyint_test): Add more tests.
11338 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
11340         [BZ #2548]
11341         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
11342         bits before adding and subtracting TWO23[sx].
11343         * math/libm-test.inc (rint_test): Add more tests.
11344         (rint_test_tonearest): Likewise.
11345         (rint_test_towardzero): Likewise.
11346         (rint_test_downward): Likewise.
11347         (rint_test_upward: Likewise.
11349 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
11351         [BZ #10110]
11352         * include/stdc-predef.h: New file.  Extracted from features.h.
11353         * include/features.h: Include stdc-predef.h.
11354         * Makefile (headers): Add stdc-predef.h.
11355         * CONFORMANCE (Compiler limitations): Update.
11357 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
11359         * manual/libc.texinfo (VERSION, UPDATED): Revert.
11361 2012-02-21  David S. Miller  <davem@davemloft.net>
11363         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
11364         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
11366 2012-02-20  David S. Miller  <davem@davemloft.net>
11368         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
11369         using a normal save/restore sequence, rather than allocating a
11370         dummy stack frame just to store a frame pointer and restore.
11371         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
11373 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
11375         * manual/install.texi: Fix stray word in line-wrapped comment.
11377 2012-02-20  David S. Miller  <davem@davemloft.net>
11379         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
11380         both binutils and gcc support GOTDATA.
11382         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
11383         "rd %pc" in the PIC register setup sequences.
11385         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
11386         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
11387         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
11388         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
11389         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
11390         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
11391         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
11392         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
11393         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
11394         (SYSCALL_ERROR_HANDLER): Likewise.
11395         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
11396         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
11397         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
11398         (SYSCALL_ERROR_HANDLER): Likewise.
11400         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
11401         (HAVE_GCC_GOTDATA): New.
11402         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
11403         relocation support in both binutils and gcc.
11404         * sysdeps/sparc/elf/configure: Regenerate.
11406         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
11407         * sysdeps/sparc/sparc32/elf/configure: Delete.
11408         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
11409         * sysdeps/sparc/sparc64/elf/configure: Delete.
11410         * sysdeps/sparc/elf/configure.in: New file.
11411         * sysdeps/sparc/elf/configure: Generate.
11413         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
11414         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
11415         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
11416         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
11417         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
11419 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
11421         * manual/install.texi: Do not mention specific glibc version
11422         numbers.
11423         * manual/libc.texinfo (VERSION, UPDATED): Update.
11424         (@copying): Use @copyright{} and range of years.
11426 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
11428         [BZ #13695]
11429         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
11430         [crti.S not in sysdirs] (generated): Do not append.
11431         [crti.S not in sysdirs] (omit-deps): Likewise.
11432         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
11433         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
11434         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
11435         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
11436         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
11437         Likewise.
11438         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
11439         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
11440         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
11441         * csu/defs.awk: Remove file.
11442         * sysdeps/generic/initfini.c: Likewise.
11443         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
11444         variable.
11445         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
11446         Likewise.
11448 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
11450         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
11451         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
11452         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
11453         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
11454         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
11455         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
11456         <bits/epoll.h>.
11457         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
11458         (__EPOLL_PACKED): Define to empty if not defined by
11459         <bits/epoll.h>.
11460         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
11461         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11462         bits/epoll.h.
11464 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
11466         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
11467         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
11468         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
11469         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
11470         <bits/timerfd.h>.
11471         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
11472         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11473         bits/timerfd.h.
11475 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
11477         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
11478         in C locale.
11479         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
11480         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
11481         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
11482         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11484 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
11486         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
11487         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
11489 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
11491         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
11492         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
11493         defined.
11494         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
11495         Likewise.
11496         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
11497         entry for 2.16.
11499 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
11501         * math/w_acos.c: Use non-signaling floating-point comparisons.
11502         * math/w_acosf.c: Likewise.
11503         * math/w_acosh.c: Likewise.
11504         * math/w_acoshf.c: Likewise.
11505         * math/w_acoshl.c: Likewise.
11506         * math/w_acosl.c: Likewise.
11507         * math/w_asin.c: Likewise.
11508         * math/w_asinf.c: Likewise.
11509         * math/w_asinl.c: Likewise.
11510         * math/w_atanh.c: Likewise.
11511         * math/w_atanhf.c: Likewise.
11512         * math/w_atanhl.c: Likewise.
11513         * math/w_exp2.c: Likewise.
11514         * math/w_exp2f.c: Likewise.
11515         * math/w_exp2l.c: Likewise.
11516         * math/w_j0.c: Likewise.
11517         * math/w_j0f.c: Likewise.
11518         * math/w_j0l.c: Likewise.
11519         * math/w_j1.c: Likewise.
11520         * math/w_j1f.c: Likewise.
11521         * math/w_j1l.c: Likewise.
11522         * math/w_jn.c: Likewise.
11523         * math/w_jnf.c: Likewise.
11524         * math/w_log.c: Likewise.
11525         * math/w_log10.c: Likewise.
11526         * math/w_log10f.c: Likewise.
11527         * math/w_log10l.c: Likewise.
11528         * math/w_log2.c: Likewise.
11529         * math/w_log2f.c: Likewise.
11530         * math/w_log2l.c: Likewise.
11531         * math/w_logf.c: Likewise.
11532         * math/w_logl.c: Likewise.
11533         * math/w_sqrt.c: Likewise.
11534         * math/w_sqrtf.c: Likewise.
11535         * math/w_sqrtl.c: Likewise.
11536         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
11537         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
11538         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
11539         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
11540         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
11542 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
11544         [BZ #9739]
11545         * manual/string.texi (strnlen): Use correct parameter name in
11546         equivalent expression.
11548 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
11550         [BZ #11174]
11551         * manual/users.texi (seteuid): Consistently use neweuid for
11552         argument name.
11554 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
11556         [BZ #13704]
11557         * manual/nss.texi (Services in the NSS configuration): Correct
11558         list of services in example configuration file.
11560 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
11562         [BZ #11322]
11563         * manual/arith.texi: Remove statements about negative zero
11564         behaving identically to zero.
11566 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
11568         [BZ #5993]
11569         * manual/install.texi: Do not document upgrading from libc5.
11571 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
11573         [BZ #4596]
11574         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
11576 2012-02-18  David S. Miller  <davem@davemloft.net>
11578         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
11579         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
11580         %o7 across the call.
11581         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
11582         instead.
11583         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
11584         SETUP_PIC_REG_LEAF.
11585         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
11586         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
11587         * sysdeps/sparc/crtn.S: Likewise.
11589 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
11591         * aout/Makefile: Remove.
11593 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
11595         [BZ #13058]
11596         * manual/examples/argp-ex1.c (main): Format definition in GNU
11597         style.
11598         * manual/examples/argp-ex2.c (main): Likewise.
11599         * manual/examples/argp-ex3.c (main): Likewise.
11600         * manual/examples/argp-ex4.c (main): Likewise.
11601         * manual/examples/longopt.c (main): Use new-style prototype
11602         definition.
11603         * manual/examples/strncat.c (main): Specify return type and use
11604         (void) for arguments.
11605         * manual/examples/subopt.c (main): Use char **argv argument.
11607 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
11609         [BZ #5077]
11610         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
11611         rounding modes.
11613 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
11615         [BZ #6907]
11616         * manual/string.texi (strchr): Change when strchrnul is
11617         recommended.
11619 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
11621         [BZ #174]
11622         * manual/locale.texi (setlocale): Document LOCPATH.
11624 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
11626         [BZ #10210]
11627         * manual/process.texi (execle): Move @dots{} before last argument.
11629 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
11631         [BZ #12047]
11632         * manual/charset.texi (Generic Charset Conversion): Fix typo
11633         (LC_TYPE -> LC_CTYPE).
11635 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
11637         [BZ #5805]
11638         * manual/arith.texi (scalbn): Use @var{} on parameter names.
11639         (scalbnf): Likewise.
11640         (scalbnl): Likewise.
11641         (scalbln): Likewise.
11642         (scalblnf): Likewise.
11643         (scalblnl): Likewise.
11644         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
11645         (vwarnx): Likewise.
11646         (verr): Likewise.
11647         (verrx): Likewise.
11648         * manual/filesys.texi (telldir): Use braces around return type.
11649         * manual/llio.texi (mmap): Add space after comma.
11650         (mmap64): Likewise.
11651         * manual/math.texi (jn): Use @var{} on parameter names.
11652         (jnf): Likewise.
11653         (jnl): Likewise.
11654         (yn): Likewise.
11655         (ynf): Likewise.
11656         (ynl): Likewise.
11657         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
11658         line.
11659         * manual/resource.texi (ulimit): Use @dots{} instead of literal
11660         "...".
11661         (sched_get_priority_min): Remove semicolon on @deftypefun line.
11662         (sched_get_priority_max): Likewise.
11663         * manual/signal.texi (sigvec): Add space after comma.
11664         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
11665         names.
11666         (if_indextoname): Likewise.
11667         (if_freenameindex): Likewise.
11668         (sendto): Use ',' instead of '.' in prototype.
11669         * manual/startup.texi (syscall): Use @dots{} instead of literal
11670         "...".
11671         * manual/stdio.texi (__fpending): Separate initial words of
11672         paragraph from @deftypefun line.
11673         * manual/syslog.texi (syslog): Use @dots{} instead of literal
11674         "...".
11675         (vsyslog): Use @var{} on parameter names.
11676         * manual/terminal.texi (stty): Use @var{} on parameter names.
11677         * manual/users.texi (getutmp): Use @var{} on parameter names.
11678         (getutmpx): Likewise.
11680 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
11682         [BZ #6884]
11683         * manual/stdio.texi (fopen): Fix typos in description of
11684         ",ccs=STRING".
11686 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
11688         [BZ #4026]
11689         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
11690         get clock_id definition.
11692 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
11694         [BZ #4822]
11695         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
11696         (madvise): Cast every argument to void on its own.
11698 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
11700         [BZ #9902]
11701         * manual/startup.texi (Exit Status): Fix typo.
11703 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
11705         [BZ #10140]
11706         * manual/examples/argp-ex1.c: Include <stdlib.h>.
11707         * manual/examples/argp-ex2.c: Likewise.
11708         * manual/examples/argp-ex3.c: Likewise.
11710 2012-02-16  Richard Henderson  <rth@redhat.com>
11712         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
11713         * sysdeps/s390/s390-32/initfini.c: Remove.
11714         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
11715         * sysdeps/s390/s390-64/initfini.c: Remove.
11717 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
11719         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
11720         compiler output for sysdeps/generic/initfini.c.
11721         * sysdeps/sh/elf/initfini.c: Remove file.
11723 2012-02-16  David S. Miller  <davem@davemloft.net>
11725         [BZ #11494]
11726         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
11728         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
11729         * sysdeps/sparc/crti.S: New file.
11730         * sysdeps/sparc/crtn.S: New file.
11731         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
11732         * sysdeps/sparc/sparc64/Makefile: Likewise.
11734 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
11736         [BZ #3335]
11737         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
11739 2012-02-15  Roland McGrath  <roland@hack.frob.com>
11741         [BZ #4822]
11742         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
11744         * mach/devstream.c (cookie_io_functions_t): Macro removed.
11745         (write, read, close): Likewise.
11746         Patch by Aurelien Jarno <aurelien@aurel32.net>.
11748 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
11750         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
11751         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
11752         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
11753         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
11754         <bits/signalfd.h>.
11755         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
11756         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11757         bits/signalfd.h.
11759 2012-02-14  Marek Polacek  <polacek@redhat.com>
11761         * sysdeps/x86_64/crti.S: New file.
11762         * sysdeps/x86_64/crtn.S: New file.
11763         * sysdeps/x86_64/elf/initfini.c: Remove file.
11765 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
11767         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
11768         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
11769         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
11770         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
11771         <bits/inotify.h>.
11772         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
11773         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11774         bits/inotify.h.
11776 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
11778         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
11779         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
11780         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
11781         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
11782         <bits/eventfd.h>.
11783         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
11784         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11785         bits/eventfd.h.
11787 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
11789         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
11790         __feraiseexcept instead of feraiseexcept.
11792         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
11793         nanosleep invocations.
11794         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
11795         strings, and add error checking for a nanosleep invocations.
11797 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
11799         Replace FSF snail mail address with URLs, as per GNU coding standards.
11800         Most of the snail mail addresses were wrong anyway, and omitting
11801         them makes the source code easier to maintain.  Almost all of the
11802         changes are to license notices and to locale LC_IDENTIFICATION
11803         addresses, except for this one:
11804         * manual/libc.texinfo: In "Published by", give the FSF's URL,
11805         not its snail mail address.
11807 2012-02-09  Richard Henderson  <rth@twiddle.net>
11809         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
11810         of kernel-features.h.
11812         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
11814 2012-02-08  Marek Polacek  <polacek@redhat.com>
11816         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
11817         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
11818         * sysdeps/gnu/_G_config.h: Likewise.
11819         * sysdeps/generic/_G_config.h: Likewise.
11821 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
11823         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
11824         tests.
11825         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11827         * sysdeps/powerpc/powerpc32/crti.S: New file.
11828         * sysdeps/powerpc/powerpc32/crtn.S: New file.
11829         * sysdeps/powerpc/powerpc64/crti.S: New file.
11830         * sysdeps/powerpc/powerpc64/crtn.S: New file.
11832         * Makeconfig (have-initfini): Don't set.
11833         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
11834         * configure.in (nopic_initfini): Don't substitute.
11835         * config.h.in (HAVE_INITFINI): Don't #undef.
11836         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
11837         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
11839 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
11841         Support crti.S and crtn.S provided directly by architectures.
11842         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
11843         [crti.S in sysdirs] (omit-deps): Likewise.
11844         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
11845         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
11846         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
11847         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
11848         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
11849         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
11850         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
11851         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
11852         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
11853         compiler output for sysdeps/generic/initfini.c.
11854         * sysdeps/i386/elf/Makefile: Remove file.
11855         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
11857 2012-02-07  Marek Polacek  <polacek@redhat.com>
11859         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
11860         * sysdeps/gnu/_G_config.h: Likewise.
11861         * sysdeps/mach/hurd/_G_config.h: Likewise.
11863 2012-02-07  Marek Polacek  <polacek@redhat.com>
11865         * math/Makefile (tests): Add tst-CMPLX2.
11866         * math/tst-CMPLX2.c: New file.
11868 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
11870         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
11872         * math/libm-test.inc (jn_test): Add missing L suffix.
11874 2012-02-06  Marek Polacek  <polacek@redhat.com>
11876         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
11877         * sysdeps/i386/fpu/e_powf.S: Likewise.
11878         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
11879         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
11880         * sysdeps/i386/fpu/e_acosh.S: Likewise.
11881         * sysdeps/i386/fpu/e_pow.S: Likewise.
11882         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
11883         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
11884         * sysdeps/i386/fpu/s_expm1.S: Likewise.
11885         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
11886         * sysdeps/i386/fpu/e_log2.S: Likewise.
11887         * sysdeps/i386/fpu/e_log2l.S: Likewise.
11888         * sysdeps/i386/fpu/e_scalb.S: Likewise.
11889         * sysdeps/i386/fpu/e_powl.S: Likewise.
11890         * sysdeps/i386/fpu/s_log1p.S: Likewise.
11891         * sysdeps/i386/fpu/e_log10f.S: Likewise.
11892         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
11893         * sysdeps/i386/fpu/e_logl.S: Likewise.
11894         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
11895         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
11896         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
11897         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
11898         * sysdeps/i386/fpu/e_log2f.S: Likewise.
11899         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
11900         * sysdeps/i386/fpu/e_log.S: Likewise.
11901         * sysdeps/i386/fpu/s_cexp.S: Likewise.
11902         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
11903         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
11904         * sysdeps/i386/fpu/e_logf.S: Likewise.
11905         * sysdeps/i386/fpu/e_log10l.S: Likewise.
11906         * sysdeps/i386/fpu/e_atanh.S: Likewise.
11907         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
11908         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
11909         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
11910         * sysdeps/i386/fpu/e_log10.S: Likewise.
11911         * sysdeps/i386/fpu/s_frexp.S: Likewise.
11912         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
11913         * sysdeps/i386/fpu/s_asinh.S: Likewise.
11914         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
11915         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
11916         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
11917         * sysdeps/i386/asm-syntax.h: Likewise.
11918         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
11919         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
11920         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
11921         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
11922         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
11923         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
11924         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
11925         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
11926         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
11927         * sysdeps/powerpc/sysdep.h: Likewise.
11928         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
11929         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
11931 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
11933         [BZ #411]
11934         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
11936 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
11938         * sysdeps/i386/sysdep.h: Include <features.h>.
11939         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
11940         version.
11942 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
11944         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
11945         Define.
11946         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
11947         LOAD_PIC_REG_STR.
11949 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
11951         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
11952         (SETUP_PIC_REG): Use GET_PC_THUNK.
11953         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
11954         macro.
11956 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
11958         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
11959         for non-PIC compilation.
11960         (SETUP_PIC_REG): Add .p2align directive.
11961         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
11962         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
11963         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
11964         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
11965         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
11966         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
11967         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
11968         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
11969         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
11970         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
11971         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
11972         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
11973         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
11974         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
11975         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
11976         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
11977         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
11978         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
11979         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
11980         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
11981         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
11982         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
11983         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
11984         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
11985         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
11986         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
11987         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
11988         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
11989         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
11990         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
11991         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
11992         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
11993         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
11994         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
11995         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
11996         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
11997         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
11998         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
11999         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
12000         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
12001         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
12003 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
12005         * math/tst-CMPLX.c: Include <stdio.h>.
12007 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
12009         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
12010         float.
12011         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
12012         * sysdeps/sparc/bits/mathdef.h: Likewise.
12014 2012-01-31  Marek Polacek  <polacek@redhat.com>
12016         * libio/libio.h: Don't define _PARAMS.
12017         * locale/programs/config.h: Don't define PARAMS.
12018         * stdlib/strtol_l.c: Likewise.
12019         (__strtol_l): Remove PARAMS from the prototype.
12021 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
12023         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
12024         names.  Just use the correct names.  Remove unnecessary wrapper
12025         functions.
12026         * malloc/arena.c: Likewise.
12027         * malloc/hooks.c: Likewise.
12029         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
12030         ARENA_TEST says not to.  Simplify test for creation of a new arena.
12031         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
12033 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
12035         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
12036         into tail calls.
12037         (update_get_addr): New function.
12038         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
12039         GET_ADDR_MODULE parameter.
12041 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
12043         * crypt/cert.c: Remove __STDC__ conditionals.
12044         * crypt/crypt-entry.c: Likewise.
12045         * crypt/crypt_util.c: Likewise.
12046         * libio/filedoalloc.c: Likewise.
12047         * libio/fileops.c: Likewise.
12048         * libio/genops.c: Likewise.
12049         * libio/iofclose.c: Likewise.
12050         * libio/iofdopen.c: Likewise.
12051         * libio/iofopen.c: Likewise.
12052         * libio/iofopen64.c: Likewise.
12053         * libio/iogetdelim.c: Likewise.
12054         * libio/iopopen.c: Likewise.
12055         * libio/obprintf.c: Likewise.
12056         * libio/oldfileops.c: Likewise.
12057         * libio/oldiofclose.c: Likewise.
12058         * libio/oldiofdopen.c: Likewise.
12059         * libio/oldiofopen.c: Likewise.
12060         * libio/oldiopopen.c: Likewise.
12061         * libio/wfiledoalloc.c: Likewise.
12062         * libio/wgenops.c: Likewise.
12063         * locale/programs/xmalloc.c: Likewise.
12064         * misc/syslog.c: Likewise.
12065         * stdio-common/xbug.c: Likewise.
12066         * string/memchr.c: Likewise.
12067         * string/memcmp.c: Likewise.
12068         * string/memrchr.c: Likewise.
12069         * string/rawmemchr.c: Likewise.
12070         * sysdeps/posix/getcwd.c: Likewise.
12071         * time/strftime_l.c: Likewise.
12073 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
12075         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
12076         * config.make.in (config-cflags-sse2avx): Define.
12077         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
12078         Fix typo.
12080 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
12082         * scripts/config.guess: Update from upstream config git repository.
12083         * scripts/config.sub: Likewise.
12085 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
12087         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
12088         (EM_NUM): Update.
12089         (R_TILEPRO_*, R_TILEGX_*): New macros.
12091         * scripts/firstversions.awk: Fix bug in version range handling.
12093         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
12095         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
12097         * include/sys/epoll.h: New file.
12098         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
12099         libc_hidden_def.
12101 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
12103         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
12104         Avoid unnecessary __WORDSIZE == 64 test.
12105         (fmaxf): Use VEX format if possible.
12106         (fmax): Likewise.
12107         (fminf): Likewise.
12108         (fmin): Likewise.
12110         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
12111         * math/math_private.h: Remove libc_fegetround* and
12112         libc_fesetround*.
12113         * sysdeps/i386/configure.in: Check for -msse2avx.
12114         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
12115         also if SSE2AVX is defined.
12116         Remove libc_fegetround* and libc_fesetround*.
12117         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
12118         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
12119         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
12120         of HAS_YMM_USABLE.
12121         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
12122         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
12123         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
12124         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
12125         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
12127         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
12129 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12131         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
12132         size is not set.
12133         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
12135 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
12137         [BZ #13618]
12138         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
12139         relocation.
12140         * Makeconfig (libm): Define.
12141         * elf/Makefile: Add rules to build and run tst-relsort1.
12142         * elf/tst-relsort1.c: New file.
12143         * elf/tst-relsort1mod1.c: New file.
12144         * elf/tst-relsort1mod2.c: New file.
12146 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
12148         * math/s_ldexp.c: Remove __STDC__ conditionals.
12149         * math/s_ldexpf.c: Likewise.
12150         * math/s_ldexpl.c: Likewise.
12151         * math/s_nextafter.c: Likewise.
12152         * math/s_nexttowardf.c: Likewise.
12153         * math/s_significand.c: Likewise.
12154         * math/s_significandf.c: Likewise.
12155         * math/s_significandl.c: Likewise.
12156         * math/w_jnl.c: Likewise.
12157         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
12158         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
12159         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
12160         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
12161         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
12162         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
12163         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
12164         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
12165         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
12166         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
12167         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
12168         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
12169         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
12170         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
12171         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
12172         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
12173         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
12174         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
12175         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
12176         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
12177         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
12178         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
12179         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
12180         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
12181         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
12182         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
12183         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
12184         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
12185         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
12186         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
12187         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
12188         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
12189         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
12190         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
12191         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
12192         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
12193         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
12194         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
12195         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
12196         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
12197         * sysdeps/ieee754/k_standard.c: Likewise.
12198         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
12199         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
12200         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
12201         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
12202         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
12203         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
12204         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
12205         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
12206         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
12207         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
12208         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
12209         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
12210         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
12211         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
12212         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
12213         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
12214         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
12215         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
12216         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
12217         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
12218         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
12219         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
12220         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
12221         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
12222         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
12223         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
12224         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
12225         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
12226         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
12227         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
12228         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
12229         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
12230         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
12231         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
12232         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
12233         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
12234         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
12235         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
12236         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
12237         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
12238         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
12239         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
12240         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
12241         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
12242         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
12243         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
12244         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
12245         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
12246         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
12247         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
12248         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
12249         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
12250         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
12251         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
12252         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
12253         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
12254         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
12255         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
12256         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
12257         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
12258         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
12259         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
12260         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
12261         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
12262         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
12263         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
12264         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
12265         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
12266         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
12267         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
12268         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
12269         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
12270         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
12271         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
12272         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
12273         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
12274         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
12275         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
12276         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
12277         * sysdeps/ieee754/s_matherr.c: Likewise.
12278         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
12279         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
12280         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
12281         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
12283 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
12285         * crypt/md5.h: Remove __STDC__ conditionals.
12286         * libio/libioP.h: Likewise.
12287         * locale/programs/config.h: Likewise.
12288         * sysdeps/generic/sysdep.h: Likewise.
12289         * sysdeps/i386/asm-syntax.h: Likewise.
12290         * sysdeps/s390/asm-syntax.h: Likewise.
12291         * sysdeps/unix/sysdep.h: Likewise.
12292         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
12293         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
12295 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
12297         * libio/libio.h: Remove __STDC__ conditionals.
12298         * malloc/obstack.h: Likewise.
12299         * math/complex.h: Likewise.
12300         * math/math.h: Likewise.
12301         * sysdeps/generic/_G_config.h: Likewise.
12302         * sysdeps/gnu/_G_config.h: Likewise.
12303         * sysdeps/mach/hurd/_G_config.h: Likewise.
12304         * sysdeps/powerpc/bits/mathdef.h: Likewise.
12305         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
12306         * sysdeps/sparc/bits/mathdef.h: Likewise.
12308 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
12310         [BZ #13583]
12311         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
12312         Clean up HAS_* macros.
12313         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
12314         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
12315         possible.
12316         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
12317         HAS_AVX.
12318         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
12319         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
12320         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
12321         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
12322         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
12324 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
12326         * elf/tst-unique3.cc (gets): Remove declaration.
12327         * elf/tst-unique3lib.cc (gets): Likewise.
12328         * elf/tst-unique3lib2.cc (gets): Likewise.
12329         * elf/tst-unique4.cc (gets): Likewise.
12331 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
12333         * include/stdio.h: Add C++ protection.  Add gets declarations and
12334         definitions.
12335         * debug/tst-chk1.c: Don't declare gets here.
12336         * stdio-common/tst-gets.c: Likewise.
12338 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
12340         * posix/glob: Remove directory.
12342 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
12344         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
12346 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
12348         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
12349         of the non-standard EPFNOSUPPORT.
12351 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12353         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
12354         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
12355         ANYWHERE set to 1 only on KERN_NO_SPACE error.
12357 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
12359         * wcsmbs/uchar.h: Test __STDC_VERSION__.
12361 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
12363         * nscd/aicache.c (addhstaiX): Do not cache negative results of
12364         transient errors.
12365         * nscd/grpcache.c (cache_addgr): Likewise.
12366         * nscd/hstcache.c (cache_addhst): Likewise.
12367         * nscd/initgrcache.c (addinitgroupsX): Likewise.
12368         * nscd/pwdcache.c (cache_addpw): Likewise.
12369         * nscd/servicescache.c (cache_addserv): Likewise.
12371 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
12373         * malloc/malloc.c: Various cleanups.
12374         * malloc/hooks.c: Likewise.
12376         * stdlib/Makefile (tests): Add bug-fmtmsg1.
12377         * stdlib/bug-fmtmsg1.c: New file.
12379         * stdlib/fmtmsg.c (init): Add missing unlock.
12380         Patch by Peng Haitao <penght@cn.fujitsu.com>.
12382 2012-01-12  Marek Polacek  <polacek@redhat.com>
12384         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
12385         and _GNU_SOURCE.
12387 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
12389         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
12390         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
12391         macro to ensure uniqueness of label name.
12392         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
12393         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
12395 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
12397         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
12399         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
12400         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
12401         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
12402         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
12404 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
12406         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
12408         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
12409         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
12410         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
12412         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
12414         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
12415         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
12416         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
12417         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
12419         * math/bits/math-finite.h: Add ldexp support.
12421 2012-01-10  Marek Polacek  <polacek@redhat.com>
12423         * locale/programs/localedef.h (show_archive_content): Add noreturn
12424         attribute.
12426 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
12428         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
12430 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
12432         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
12434         * io/Makefile (headers): Add bits/poll2.h.
12436 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
12438         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
12439         typo #include statement.
12441 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
12443         * include/sys/cdefs.h: Define __attribute_alloc_size.
12444         * catgets/gencat.c: Add alloc_size attribute and apply consistently
12445         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
12446         * elf/pldd.c: Likewise.
12447         * iconv/iconv_charmap.c: Likewise.
12448         * iconv/iconvconfig.c: Likewise.
12449         * iconv/strtab.c: Likewise.
12450         * locale/programs/locale.c: Likewise.
12451         * locale/programs/localedef.h: Likewise.
12452         * locale/programs/simple-hash.c: Likewise.
12453         * nscd/nscd.h: Likewise.
12454         * nss/makedb.c: Likewise.
12455         * sysdeps/generic/ldconfig.h: Likewise.
12456         * locale/programs/localedef.c: Remove xmalloc prototype.
12457         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
12459 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
12461         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
12462         appropriate.
12464 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
12466         * math/Makefile (tests): Add tst-CMPLX.
12467         * math/tst-CMPLX.c: New file.
12469         * math/complex.h (CMPLXL): Fix typo.
12471         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
12472         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
12473         GLIBC_2.16.
12474         * debug/tst-chk1.c: Add poll and ppoll tests.
12475         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
12476         * include/sys/poll.h: Add hidden proto for ppoll.
12477         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
12478         * sysdeps/mach/hurd/ppoll.c: Likewise.
12479         * io/ppoll.c: Likewise.
12480         * debug/poll_chk.c: New file.
12481         * debug/ppoll_chk.c: New file.
12482         * include/bits/poll2.h: New file.
12483         * io/bits/poll2.h: New file.
12485         [BZ #1350]
12486         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
12488         * configure.in: static is always set to yes.  Remove.
12489         * config.make.in: Don't set build-static.
12490         * Makeconfig: Remove use of build-static.
12491         * dlfcn/Makefile: Likewise.
12492         * elf/Makefile: Likewise.
12493         * math/Makefile: Likewise.
12494         * misc/Makefile: Likewise.
12495         * nptl/Makefile: Likewise.
12496         * sysdeps/mach/hurd/Makefile: Likewise.
12498         * configure.in: PWD_P is not used anymore.
12499         * config.make.in: Remove PWD_P entry.
12501         * configure.in: Remove last remnants of RANLIB.
12502         No need to check for signed size_t anymore.
12503         Don't set libc_commonpagesize and libc_relro_required here for Alpha
12504         and IA-64.
12505         Remove __builtin_expect test because we require at least gcc 3.4.
12506         * aclocal.m4: Likewise.
12508         * wcsmbs/mbrtoc16.c: Implement using towc function.
12509         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
12510         * wcsmbs/wcsmbsload.c: Likewise.
12511         * iconv/gconv_simple.c: Likewise.
12512         * iconv/gconv_int.h: Likewise.
12513         * iconv/gconv_builtin.h: Likewise.
12514         * iconv/iconv_prog.c: Remove CHAR16 handling.
12516         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
12518         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
12520         * configure.in: Remove --with-elf and --enable-bounded options.
12521         Dont set base_machine for ia64.  More non-ELF conditions removed.
12522         Remove testing and setting of leading underscore information.
12523         * config.make.in (build-bounded): Set to no.
12524         * config.h.in: Remove NO_UNDERSCORES entry.
12525         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
12526         them.
12527         * csu/start.c: Remove !NO_UNDERSCORE code.
12528         * locale/localeinfo.h: Likewise.
12529         * sysdeps/generic/machine-gmon.h: Likewise.
12530         * sysdeps/generic/sysdep.h: Likewise.
12531         * sysdeps/i386/sysdep.h: Likewise.
12532         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
12533         * sysdeps/mach/sysdep.h: Likewise.
12534         * sysdeps/s390/s390-32/sysdep.h: Likewise.
12535         * sysdeps/s390/s390-64/sysdep.h: Likewise.
12536         * sysdeps/sh/sysdep.h: Likewise.
12537         * sysdeps/sparc/sparc32/alloca.S: Likewise.
12538         * sysdeps/unix/i386/sysdep.S: Likewise.
12539         * sysdeps/unix/sparc/start.c: Likewise.
12540         * sysdeps/unix/sparc/sysdep.S: Likewise.
12541         * sysdeps/unix/sparc/sysdep.h: Likewise.
12542         * sysdeps/unix/start.c: Likewise.
12543         * sysdeps/unix/x86_64/sysdep.S: Likewise.
12544         * sysdeps/x86_64/sysdep.h: Likewise.
12546 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
12548         [BZ #13553]
12549         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
12550         for non-gcc.
12551         * argp/argp-fmtstream.h: Use const instead __const.
12552         * argp/argp.h: Likewise.
12553         * assert/assert.h: Likewise.
12554         * bits/fenv.h: Likewise.
12555         * bits/sched.h: Likewise.
12556         * bits/sigset.h: Likewise.
12557         * bits/sigthread.h: Likewise.
12558         * catgets/nl_types.h: Likewise.
12559         * conform/data/pthread.h-data: Likewise.
12560         * crypt/crypt-private.h: Likewise.
12561         * crypt/crypt.h: Likewise.
12562         * crypt/crypt_util.c: Likewise.
12563         * ctype/ctype.h: Likewise.
12564         * debug/execinfo.h: Likewise.
12565         * debug/mbsnrtowcs_chk.c: Likewise.
12566         * debug/mbsrtowcs_chk.c: Likewise.
12567         * debug/wcsnrtombs_chk.c: Likewise.
12568         * debug/wcsrtombs_chk.c: Likewise.
12569         * debug/wcstombs_chk.c: Likewise.
12570         * dirent/dirent.h: Likewise.
12571         * dlfcn/dlfcn.h: Likewise.
12572         * elf/neededtest4.c: Likewise.
12573         * grp/grp.h: Likewise.
12574         * gshadow/gshadow.h: Likewise.
12575         * iconv/gconv.h: Likewise.
12576         * iconv/gconv_int.h: Likewise.
12577         * iconv/gconv_simple.c: Likewise.
12578         * iconv/iconv.h: Likewise.
12579         * iconv/loop.c: Likewise.
12580         * iconv/skeleton.c: Likewise.
12581         * include/aio.h: Likewise.
12582         * include/aliases.h: Likewise.
12583         * include/argz.h: Likewise.
12584         * include/arpa/inet.h: Likewise.
12585         * include/assert.h: Likewise.
12586         * include/dirent.h: Likewise.
12587         * include/dlfcn.h: Likewise.
12588         * include/execinfo.h: Likewise.
12589         * include/fcntl.h: Likewise.
12590         * include/fenv.h: Likewise.
12591         * include/glob.h: Likewise.
12592         * include/grp.h: Likewise.
12593         * include/libintl.h: Likewise.
12594         * include/mntent.h: Likewise.
12595         * include/netdb.h: Likewise.
12596         * include/pwd.h: Likewise.
12597         * include/rpc/netdb.h: Likewise.
12598         * include/sched.h: Likewise.
12599         * include/search.h: Likewise.
12600         * include/shadow.h: Likewise.
12601         * include/signal.h: Likewise.
12602         * include/stdio.h: Likewise.
12603         * include/stdlib.h: Likewise.
12604         * include/string.h: Likewise.
12605         * include/sys/socket.h: Likewise.
12606         * include/sys/stat.h: Likewise.
12607         * include/sys/statfs.h: Likewise.
12608         * include/sys/statvfs.h: Likewise.
12609         * include/sys/syslog.h: Likewise.
12610         * include/sys/time.h: Likewise.
12611         * include/sys/uio.h: Likewise.
12612         * include/time.h: Likewise.
12613         * include/unistd.h: Likewise.
12614         * include/utmp.h: Likewise.
12615         * include/wchar.h: Likewise.
12616         * include/wctype.h: Likewise.
12617         * inet/aliases.h: Likewise.
12618         * inet/arpa/inet.h: Likewise.
12619         * inet/netinet/ether.h: Likewise.
12620         * inet/netinet/in.h: Likewise.
12621         * intl/libintl.h: Likewise.
12622         * io/bits/fcntl2.h: Likewise.
12623         * io/fcntl.h: Likewise.
12624         * io/ftw.h: Likewise.
12625         * io/sys/poll.h: Likewise.
12626         * io/sys/stat.h: Likewise.
12627         * io/sys/statfs.h: Likewise.
12628         * io/sys/statvfs.h: Likewise.
12629         * io/utime.h: Likewise.
12630         * libio/bits/stdio.h: Likewise.
12631         * libio/bits/stdio2.h: Likewise.
12632         * libio/libio.h: Likewise.
12633         * libio/libioP.h: Likewise.
12634         * libio/stdio.h: Likewise.
12635         * locale/lc-ctype.c: Likewise.
12636         * locale/locale.h: Likewise.
12637         * login/utmp.h: Likewise.
12638         * malloc/arena.c: Likewise.
12639         * malloc/malloc.c: Likewise.
12640         * malloc/malloc.h: Likewise.
12641         * malloc/mcheck.c: Likewise.
12642         * malloc/mtrace.c: Likewise.
12643         * math/bits/mathcalls.h: Likewise.
12644         * math/fenv.h: Likewise.
12645         * math/math_private.h: Likewise.
12646         * misc/bits/error.h: Likewise.
12647         * misc/bits/syslog.h: Likewise.
12648         * misc/err.h: Likewise.
12649         * misc/error.h: Likewise.
12650         * misc/fstab.h: Likewise.
12651         * misc/mntent.h: Likewise.
12652         * misc/regexp.h: Likewise.
12653         * misc/search.h: Likewise.
12654         * misc/sgtty.h: Likewise.
12655         * misc/sys/mman.h: Likewise.
12656         * misc/sys/syslog.h: Likewise.
12657         * misc/sys/uio.h: Likewise.
12658         * misc/sys/xattr.h: Likewise.
12659         * misc/ttyent.h: Likewise.
12660         * nis/rpcsvc/ypclnt.h: Likewise.
12661         * nss/nss.h: Likewise.
12662         * posix/bits/unistd.h: Likewise.
12663         * posix/fnmatch.h: Likewise.
12664         * posix/glob.h: Likewise.
12665         * posix/sched.h: Likewise.
12666         * posix/spawn.h: Likewise.
12667         * posix/sys/wait.h: Likewise.
12668         * posix/unistd.h: Likewise.
12669         * posix/wordexp.h: Likewise.
12670         * pwd/pwd.h: Likewise.
12671         * resolv/netdb.h: Likewise.
12672         * resource/sys/resource.h: Likewise.
12673         * rt/aio.h: Likewise.
12674         * rt/bits/mqueue2.h: Likewise.
12675         * rt/mqueue.h: Likewise.
12676         * shadow/shadow.h: Likewise.
12677         * signal/signal.h: Likewise.
12678         * socket/send.c: Likewise.
12679         * socket/sendto.c: Likewise.
12680         * socket/sys/socket.h: Likewise.
12681         * stdio-common/printf.h: Likewise.
12682         * stdlib/bits/stdlib.h: Likewise.
12683         * stdlib/fmtmsg.h: Likewise.
12684         * stdlib/monetary.h: Likewise.
12685         * stdlib/stdlib.h: Likewise.
12686         * stdlib/ucontext.h: Likewise.
12687         * streams/stropts.h: Likewise.
12688         * string/argz.h: Likewise.
12689         * string/bits/string2.h: Likewise.
12690         * string/string.h: Likewise.
12691         * string/strings.h: Likewise.
12692         * sunrpc/rpc/auth.h: Likewise.
12693         * sunrpc/rpc/auth_des.h: Likewise.
12694         * sunrpc/rpc/clnt.h: Likewise.
12695         * sunrpc/rpc/netdb.h: Likewise.
12696         * sunrpc/rpc/pmap_clnt.h: Likewise.
12697         * sunrpc/rpc/xdr.h: Likewise.
12698         * sysdeps/generic/inttypes.h: Likewise.
12699         * sysdeps/generic/net/if.h: Likewise.
12700         * sysdeps/generic/sys/swap.h: Likewise.
12701         * sysdeps/gnu/net/if.h: Likewise.
12702         * sysdeps/gnu/utmpx.h: Likewise.
12703         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
12704         * sysdeps/i386/i486/bits/string.h: Likewise.
12705         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
12706         * sysdeps/s390/bits/string.h: Likewise.
12707         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
12708         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
12709         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
12710         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
12711         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
12712         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
12713         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
12714         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
12715         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
12716         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
12717         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
12718         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
12719         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
12720         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
12721         * sysdeps/unix/sysv/linux/readv.c: Likewise.
12722         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
12723         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
12724         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
12725         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
12726         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
12727         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
12728         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
12729         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
12730         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
12731         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
12732         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
12733         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
12734         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
12735         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
12736         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
12737         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
12738         * sysvipc/sys/ipc.h: Likewise.
12739         * sysvipc/sys/msg.h: Likewise.
12740         * sysvipc/sys/sem.h: Likewise.
12741         * sysvipc/sys/shm.h: Likewise.
12742         * termios/termios.h: Likewise.
12743         * time/sys/time.h: Likewise.
12744         * time/time.h: Likewise.
12745         * wcsmbs/bits/wchar2.h: Likewise.
12746         * wcsmbs/uchar.h: Likewise.
12747         * wcsmbs/wchar.h: Likewise.
12748         * wctype/wctype.h: Likewise.
12750         [BZ #13551]
12751         * Makeconfig: Remove all but ELF support including AIX support.
12752         * Makerules: Likewise.
12753         * config.h.in: Likewise.
12754         * config.make.in: Likewise.
12755         * configure: Likewise.
12756         * configure.in: Likewise.
12757         * csu/Makefile: Likewise.
12758         * csu/version.c: Likewise.
12759         * debug/Makefile: Likewise.
12760         * dlfcn/Makefile: Likewise.
12761         * elf/Makefile: Likewise.
12762         * extra-lib.mk: Likewise.
12763         * iconv/Makefile: Likewise.
12764         * include/libc-symbols.h: Likewise.
12765         * include/shlib-compat.h: Likewise.
12766         * resolv/Makefile: Likewise.
12767         * resolv/res_libc.c: Likewise.
12768         * rt/Makefile: Likewise.
12769         * sysdeps/i386/asm-syntax.h: Likewise.
12770         * sysdeps/i386/sysdep.h: Likewise.
12771         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
12772         * sysdeps/mach/sysdep.h: Likewise.
12773         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
12774         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
12775         * sysdeps/s390/asm-syntax.h: Likewise.
12776         * sysdeps/s390/s390-32/sysdep.h: Likewise.
12777         * sysdeps/s390/s390-64/sysdep.h: Likewise.
12778         * sysdeps/sh/sysdep.h: Likewise.
12779         * sysdeps/unix/sparc/sysdep.h: Likewise.
12780         * sysdeps/wordsize-32/divdi3.c: Likewise.
12781         * sysdeps/x86_64/sysdep.h: Likewise.
12783         * argp/Versions: Remove _argp_unlock_xxx.
12785         [BZ #13559]
12786         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
12787         * abilist/libBrokenLocale.abilist: Likewise.
12788         * abilist/libanl.abilist: Likewise.
12789         * abilist/libc.abilist: Likewise.
12790         * abilist/libcrypt.abilist: Likewise.
12791         * abilist/libdl.abilist: Likewise.
12792         * abilist/libm.abilist: Likewise.
12793         * abilist/libnsl.abilist: Likewise.
12794         * abilist/libpthread.abilist: Likewise.
12795         * abilist/libresolv.abilist: Likewise.
12796         * abilist/librt.abilist: Likewise.
12797         * abilist/libthread_db.abilist: Likewise.
12798         * abilist/libutil.abilist: Likewise.
12799         * abilist/libnss_db.abilist: New file.
12801         * scripts/abilist.awk: Add support for indirect functions.
12803         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
12805         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
12807         * shlib-versions: Remove entries for ports architectures.
12809         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
12810         files in ports.
12811         * elf/stackguard-macros.h: Remove support for IA-64.
12812         * elf/tst-auditmod1.c: Likewise.
12813         * sysdeps/generic/ldsodefs.h: Likewise.
12815         * sysdeps/unix/sysv/linux/configure.in: Ports should define
12816         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
12817         configure files.
12819         [BZ #13552]
12820         * configure.in: Remove --enable-omitfp support.
12821         * FAQ.in: Adjust.
12822         * config.make.in: Likewise.
12823         * Makeconfig: Likewise.
12824         * manual/install.texi: Likewise.
12826         In case anyone cares, the IA-64 architecture could move to ports.
12827         * sysdeps/ia64/*: Removed.
12828         * sysdeps/unix/sysv/linux/ia64/*: Removed.
12829         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
12831         [BZ #13555]
12832         * configure.in: Remove entries for unsupported architectures.
12834         [BZ #13533]
12835         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
12836         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
12837         routines.
12838         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
12839         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
12840         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
12841         fall back to using wcrtomb.
12842         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
12843         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
12844         renaming.
12845         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
12846         * wcsmbs/tst-c16c32-1.c: New file.
12848         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
12849         local variable.
12851         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
12853         * elf/tst-unique3.cc: Add explicit declaration of gets.
12854         * elf/tst-unique3lib.cc: Likewise.
12855         * elf/tst-unique3lib2.cc: Likewise.
12856         * elf/tst-unique4.cc: Likewise.
12858         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
12860 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
12862         [BZ #13566]
12863         * assert/assert.h (static_assert): Don't define for C++.
12864         * libio/stdio.h (gets): Do declare for C++ <= C++11.
12865         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
12867 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
12869         * iconv/loop.c (single loop): Fix assertion in storing of
12870         remaining bytes.
12872         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
12874 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
12876         * posix/getconf.c: Update copyright year.
12877         * nss/getent.c: Likewise.
12878         * nss/makedb.c: Likewise.
12879         * iconv/iconvconfig.c: Likewise.
12880         * iconv/iconv_prog.c: Likewise.
12881         * elf/ldconfig.c: Likewise.
12882         * elf/pldd.c: Likewise.
12883         * elf/sotruss.ksh: Likewise.
12884         * catgets/gencat.c: Likewise.
12885         * csu/version.c: Likewise.
12886         * elf/ldd.bash.in: Likewise.
12887         * elf/sprof.c (print_version): Likewise.
12888         * locale/programs/locale.c: Likewise.
12889         * locale/programs/localedef.c: Likewise.
12890         * login/programs/pt_chown.c: Likewise.
12891         * nscd/nscd.c (print_version): Likewise.
12892         * debug/xtrace.sh: Likewise.
12893         * malloc/memusage.sh: Likewise.
12894         * malloc/mtrace.pl: Likewise.
12895         * debug/catchsegv.sh: Likewise.
12897 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
12899         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
12900         pure attribute.
12902 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
12904         [BZ #13533]
12905         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
12906         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
12907         transformations.
12908         * iconv/gconv_int.h: Likewise.
12909         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
12910         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
12911         from libc for GLIBC_2.16.
12912         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
12913         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
12914         * wcsmbs/uchar.h: Really define mbstate_t.
12915         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
12916         * wcsmbs/c16rtomb.c: New file.
12917         * wcsmbs/mbrtoc16.c: New file.
12918         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
12919         for C/POSIX locale.
12920         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
12921         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
12923         * wcsmbs/wchar.h: Add missing __restrict.
12925 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
12927         [BZ #13532]
12928         * time/Makefile (routines): Add timespec_get.
12929         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
12930         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
12931         timespec for ISO C11.
12932         * time/timespec_get.c: New file.
12933         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
12934         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
12936         [BZ #13531]
12937         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
12938         * stdlib/stdlib.h: Declare aligned_alloc.
12939         * Versions.def: Add GLIBC_2.16 for libc.
12940         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
12942         [BZ 13527]
12943         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
12944         ISO C11.
12946         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
12947         code.
12949         [BZ #13528]
12950         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
12952         [BZ #13529]
12953         * assert/assert.h (static_assert): Define.
12955         * version.h: Update for 2.16 development version.
12957         [BZ #13526]
12958         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
12959         _ISOC11_SOURCE.
12961         * version.h (RELEASE): Bump for 2.15 release.
12962         * include/features.h (__GLIBC_MINOR__): Bump to 15.
12964         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
12965         Patch by Marek Polacek <mpolacek@redhat.com>.
12967         * bits/byteswap.h: Protect long long constants with __extension__.
12968         * sysdeps/i386/bits/byteswap.h: Likewise.
12969         * sysdeps/ia64/bits/byteswap.h: Likewise.
12970         * sysdeps/s390/bits/byteswap.h: Likewise.
12971         * sysdeps/x86_64/bits/byteswap.h: Likewise.
12973 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
12975         [BZ #13540]
12976         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
12977         destination buffer.
12978         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
12980 2011-12-23  Marek Polacek  <polacek@redhat.com>
12982         * elf/dl-addr.c (determine_info): Add inline keyword.
12983         * elf/tst-auditmod4b.c (check_avx): Likewise.
12984         * elf/tst-auditmod6b.c (check_avx): Likewise.
12985         * elf/tst-auditmod6c.c (check_avx): Likewise.
12986         * elf/tst-auditmod7b.c (check_avx): Likewise.
12988 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
12990         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
12991         !__SSE_MATH__.
12993 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
12995         [BZ #13540]
12996         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
12997         processing for last bytes.
12999 2011-08-06  Bruno Haible  <bruno@clisp.org>
13001         [BZ #13061]
13002         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
13003         U+0385, not to U+1FEE.
13005         [BZ #13062]
13006         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
13007         entry for U+00A5 U+0301.
13009 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
13011         [BZ #13166]
13012         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
13013         buffer for the output is too small.
13015         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
13016         optimization.
13018         [BZ #13185]
13019         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
13020         SSE flags if possible.
13022 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
13024         [BZ #13540]
13025         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
13026         processing for last bytes.
13028 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
13030         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
13031         (syscall-list-default-options, syscall-list-default-condition)
13032         (syscall-list-includes): Define.
13033         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
13034         list of ABIs and options and #if conditions for each ABI.  Do not
13035         handle common syscalls between ABIs specially.
13036         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
13037         Remove.
13038         (syscall-list-variants, syscall-list-32bit-options)
13039         (syscall-list-32bit-condition, syscall-list-64bit-options)
13040         (syscall-list-64bit-condition): Define.
13041         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
13042         (syscall-list-variants, syscall-list-32bit-options)
13043         (syscall-list-32bit-condition, syscall-list-64bit-options)
13044         (syscall-list-64bit-condition): Define.
13045         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
13046         Remove.
13047         (syscall-list-variants, syscall-list-32bit-options)
13048         (syscall-list-32bit-condition, syscall-list-64bit-options)
13049         (syscall-list-64bit-condition): Define.
13050         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
13051         Remove.
13052         (syscall-list-variants, syscall-list-32bit-options)
13053         (syscall-list-32bit-condition, syscall-list-64bit-options)
13054         (syscall-list-64bit-condition): Define.
13056 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
13058         * locale/iso-639.def: Add brx entry.
13060         [BZ #13328]
13061         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
13062         Proposed by Mariusz_Cukr <marcukr@op.pl>.
13064         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
13065         __feraiseexcept_renamed.
13067 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
13069         [BZ #13538]
13070         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
13071         EPOLLET with unsigned values.
13072         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
13073         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
13075         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
13076         to large cancellation.
13077         * math/s_cacoshf.c: Likewise.
13078         * math/s_cacoshl.c: Likewise.
13080 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
13082         [BZ #13305]
13083         [BZ #12786]
13084         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
13085         * math/s_cacoshf.c: Likewise.
13086         * math/s_cacoshl.c: Likewise.
13088 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
13090         [BZ #13439]
13091         * iconv/gconv.h: Define __GCONV_SWAP.
13092         * iconvdata/unicode.c: The swap bit must be stored in __flags.
13093         * iconvdata/utf-16.c: Likewise.
13094         * iconvdata/utf-32.c: Likewise.
13096 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
13098         [BZ #13524]
13099         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
13100         numerator after shifting it by one limb.
13102 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
13104         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
13105         under [__USE_EXTERN_INLINES].
13107 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
13109         [BZ #13446]
13110         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
13112 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13114         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
13115         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
13116         optimized code.
13117         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
13118         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
13119         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
13120         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
13121         for strncasecmp/strncasecmp_l compilation.
13122         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
13123         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
13125 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
13127         [BZ #13484]
13128         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
13129         of __asm__.
13131 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
13133         [BZ #13506]
13134         * time/tzfile.c (__tzfile_read): Check values from file header.
13136 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
13138         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
13139         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
13140         * powerpc/powerpc32/dl-start.S: Likewise.
13141         * powerpc/powerpc32/elf/start.S: Likewise.
13142         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
13143         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
13144         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
13145         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
13146         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
13147         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
13148         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
13149         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
13150         * powerpc/powerpc32/fpu/s_round.S: Likewise.
13151         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
13152         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
13153         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
13154         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
13155         * powerpc/powerpc32/memset.S: Likewise.
13156         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
13157         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
13158         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
13159         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
13160         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
13161         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
13162         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
13163         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
13164         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
13165         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
13166         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
13167         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
13168         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
13170 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13172         * math/libm-test.inc: Added more nearbyint tests.
13173         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
13174         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
13175         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
13176         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
13178 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
13180         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
13181         FD_CLOEXEC.
13183 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
13185         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
13186         Add wcscpy-ssse3 wcscpy-c.
13187         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
13188         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
13189         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
13190         * sysdeps/x86_64/wcschr.S: New file.
13191         * sysdeps/x86_64/wcsrchr.S: New file.
13192         * string/test-strcmp.c: Remove checking of wcscmp function for
13193         wrong alignments.
13194         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
13195         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
13196         wcsrchr-sse2 wcsrchr-c.
13197         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
13198         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
13199         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
13200         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
13201         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
13202         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
13203         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
13204         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
13205         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
13206         * wcsmbc/wcschr.c (WCSCHR): New macro.
13208 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
13210         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
13211         * wcsmbs/test-wcsrchr.c: New file.
13212         * string/test-strrchr.c: Add wcsrchr support.
13213         (WIDE): New macro.
13214         * wcsmbs/test-wcscpy.c: New file.
13215         * string/test-strcpy.c: Add wcscpy support.
13216         (WIDE): New macro.
13218 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
13220         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
13221         the inner loop.
13223 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
13225         [BZ #13472]
13226         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
13228 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
13230         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
13231         Minor optimizations.
13233         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
13234         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
13235         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
13237 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
13239         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
13240         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
13241         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
13242         for gcc to avoid warnings.
13243         * inet/Makefile (tests): Add tst-checks.
13244         * inet/tst-checks.c: New file.
13246         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
13247         warning.
13249         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
13250         __wmemcmp_sse2.
13252         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
13253         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
13255         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
13257 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
13259         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
13260         problem.
13262         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
13264 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
13266         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
13267         conditional on GCC version.
13268         (__arch_compare_and_exchange_val_8_acq)
13269         (__arch_compare_and_exchange_val_16_acq)
13270         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
13271         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
13272         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
13274 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
13276         * sysdeps/sh/backtrace.c: New file.
13278 2011-12-02  Andreas Schwab  <schwab@redhat.com>
13280         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
13281         parenthesis.
13283 2011-12-01  Andreas Schwab  <schwab@redhat.com>
13285         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
13286         falling back to utime.
13288 2011-11-30  Andreas Schwab  <schwab@redhat.com>
13290         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
13291         expectations for float.
13293 2011-11-29  Andreas Schwab  <schwab@redhat.com>
13295         * locale/weight.h (findidx): Add parameter len.
13296         * locale/weightwc.h (findidx): Likewise.
13297         * posix/fnmatch_loop.c (FCT): Adjust caller.
13298         * posix/regcomp.c (build_equiv_class): Likewise.
13299         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
13300         * posix/regexec.c (check_node_accept_bytes): Likewise.
13301         * string/strcoll_l.c (STRCOLL): Likewise.
13302         * string/strxfrm_l.c (STRXFRM): Likewise.
13304 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
13306         * Makefile.in: Remove CVSOPT handling.
13307         * configure.in: Remove use of AC_REVISION.
13308         * iconvdata/Makefile (distribute): No need to filter out CVS.
13309         * scripts/list-sources.sh: Remove CVS, subversion and monotone
13310         handling.
13312 2011-11-16  Andreas Schwab  <schwab@redhat.com>
13314         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
13315         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
13316         [USE_AS_STRNCASECMP_L]: Likewise.
13317         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
13318         NO_TLS_DIRECT_SEG_REFS.
13319         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
13320         Fix argument offsets for non-PIC.
13321         [USE_AS_STRNCASECMP_L]: Likewise.
13322         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
13323         NO_TLS_DIRECT_SEG_REFS.
13325 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
13327         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
13328         O_CLOEXEC.
13329         * locale/loadlocale.c (_nl_load_locale): Likewise.
13331 2011-11-15  Andreas Schwab  <schwab@redhat.com>
13333         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
13334         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
13335         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
13336         (SYSCALL_GETTIME): Set errno on error.
13338         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
13339         count references to noai6ai_cached.
13341 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
13343         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
13345         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
13346         FD_CLOEXEC for /proc/self/maps.
13348         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
13349         FD_CLOEXEC for /proc/meminfo.
13351         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
13352         gai.conf.
13354         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
13355         FD_CLOEXEC for given file.
13357         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
13359         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
13360         FD_CLOEXEC for /etc/hosts.
13361         (_gethtent): Likewise.
13363         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
13365         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
13366         cancellation and set FD_CLOEXEC for /etc/netgroup.
13368         * nss/nss_files/files-key.c (search): Don't allow cancellation when
13369         reading /etc/publickey.
13371         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
13372         allow cancellation when reading /etc/group.
13374         * nss/nss_files/files-alias.c (internal_setent): Don't allow
13375         cancellation.
13376         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
13378         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
13379         when using data file.
13381         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
13383         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
13384         (write_nis_obj): Use "c" and "e" in fopen.
13386         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
13388         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
13390         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
13392         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
13394         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
13395         locale.alias.
13397         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
13399         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
13401         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
13403         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
13404         file parsing and set FD_CLOEXEC.
13406 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
13408         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
13410 2011-11-14  Andreas Schwab  <schwab@redhat.com>
13412         * malloc/arena.c (arena_get2): Don't call reused_arena when
13413         _int_new_arena failed.
13415 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
13417         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
13418         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
13419         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
13420         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
13421         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
13422         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
13423         to compile strcasecmp and strncasecmp.
13424         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
13425         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
13427         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
13429 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
13431         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
13432         locale-defines.sym to gen-as-const-headers.
13433         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
13434         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
13435         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
13436         to compile strcasecmp and strncasecmp.
13437         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
13438         strcasecmp_l and strncasecmp_l.
13439         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
13440         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
13441         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
13442         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
13443         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
13444         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
13445         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
13446         * sysdeps/i386/i686/multiarch/strncase.S: New file.
13447         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
13448         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
13449         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
13451 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
13453         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
13454         result of SYSDEP_GETTIME_CPU to retval.
13455         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
13456         parameter list to macro.  Remove trailing semicolon.  Adjust users.
13458         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
13459         variable.
13461         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
13462         mantissa words.
13463         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
13465         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
13466         from unused variable.
13468         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
13469         DWARF definitions.
13470         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
13471         for assembling.
13473         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
13474         over namespaces.
13476         * sunrpc/rpc_prot.c (rejected): Fix case value.
13478         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
13479         unsigned long long int to avoid warnings in shift.
13481         * posix/regex_internal.c (re_string_reconstruct): Actually use result
13482         of use of trans.
13483         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
13484         variable tmp.
13486         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
13487         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
13488         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
13490         * nis/nis_table.c (nis_list): Use variable of correct type for
13491         result of __follow_path call.
13493 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13495         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
13496         of math functions ceil, trunc, floor, round, and sqrt, when
13497         avaliable on the platform.
13498         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
13499         name clash.
13500         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
13501         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
13502         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
13504 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
13506         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
13507         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
13509 2011-11-11  Roland McGrath  <roland@hack.frob.com>
13511         * include/unistd.h: Fix __readlink return type.
13512         Reported by Chris Metcalf <cmetcalf@tilera.com>.
13514 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
13516         * stdlib/ucontext.h: Undo last change for makecontext.
13518 2011-11-11  Andreas Schwab  <schwab@redhat.com>
13520         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
13522         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
13523         * setjmp/setjmp.h: Mark functions as non-leaf.
13524         * setjmp/bits/setjmp2.h: Likewise.
13525         * stdlib/ucontext.h: Likewise.
13527 2011-11-10  Andreas Schwab  <schwab@redhat.com>
13529         * malloc/arena.c (_int_new_arena): Don't increment narenas.
13530         (reused_arena): Don't check arena limit.
13531         (arena_get2): Atomically check arena limit.
13533 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
13535         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
13536         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
13538         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
13539         instructions.
13541 2011-11-07  Andreas Schwab  <schwab@redhat.com>
13543         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
13544         handler when locking.
13546         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
13547         Fix size of allocated buffer.
13549 2011-11-04  Andreas Schwab  <schwab@redhat.com>
13551         [BZ #10103]
13552         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
13553         declarations for long double functions.
13554         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
13556         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
13558 2011-11-03  Andreas Schwab  <schwab@redhat.com>
13560         * nscd/nscd.c (main): Don't start AVC thread until credentials are
13561         installed.
13563         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
13564         is disabled.
13566 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13568         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
13570 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
13572         * include/alloca.h (stackinfo_alloca_round): Define.
13573         (extend_alloca): Use it.
13574         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
13575         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
13576         here.
13578         * scripts/check-local-headers.sh: Ignore libaudit.h.
13580         * nscd/Makefile (extra-objs): Make recursively expanded.
13582 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
13584         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
13585         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
13587         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
13588         * posix/tst-rfc3484-2.c: Likewise.
13589         * posix/tst-rfc3484-3.c: Likewise.
13591         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
13592         process_vm_writev.
13593         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
13594         process_vm_writev.
13595         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
13596         process_vm_writev from libc using GLIBC_2.15 version.
13598         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
13600 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
13602         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
13603         stack usage.
13605 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
13607         [BZ #13367]
13608         * nss/getent.c (initgroups_keys): Show error message in case no group
13609         names are given.
13611         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
13612         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
13613         __bump_nl_timestamp.
13614         * nscd/connections (nscd_init): When host database is served open
13615         netlink socket and request notification about configuration changes.
13616         (main_loop_poll): Track netlink file descriptor and bump timestamp
13617         in case data becomes available.
13618         (main_loop_epoll): Likewise.
13619         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
13620         (database_pers_head): Add extra_data fileds.
13621         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
13622         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
13623         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
13624         Adjust caller.
13625         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
13626         in6ai data, call __free_in6ai.
13627         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
13628         Add -DHAVE_NETLINK.
13629         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
13630         interface information.  Reuse previous data if netlink timestamp
13631         is not changed.
13632         (__bump_nl_timestamp): New function.
13633         (__free_in6ai): New function.
13635 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
13637         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
13638         close_not_cancel_no_status here.
13639         (__check_pf): Reorganize code a bit to not call close twice if OOM.
13641 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
13643         [BZ #13276]
13644         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
13645         return value.
13647         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
13648         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
13649         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
13651 2011-07-03  Andreas Jaeger  <aj@suse.de>
13653         [BZ #10709]
13654         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
13655         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
13656         * math/libm-test.inc (sin_test): Add test case.
13658 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
13660         [BZ #13337]
13661         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
13662         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
13664         * elf/chroot_canon.c (chroot_canon): Cleanups.
13666         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
13668         [BZ #13335]
13669         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
13670         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
13672         * string/test-strchr.c: Make usable for strchrnul testing.
13673         * string/test-strchrnul.c: New file.
13674         * string/Makefile (strop-tests): Add strchrnul.
13676         * po/it.po: Update from translation team.
13677         * po/es.po: Likewise.
13679 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
13681         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
13682         the three constants needed as parameters.  Drop the others.
13683         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
13684         __m128i_strloadu_tolower.
13685         Create and initialize variable zero and use it in all the places
13686         where _mm_setzero_si128 was used.
13688         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
13689         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
13690         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
13691         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
13692         anymore.
13693         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
13694         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
13695         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
13696         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
13697         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
13698         __mpranred, __mptan.
13699         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
13700         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
13701         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
13702         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
13703         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
13704         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
13705         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
13706         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
13707         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
13709 2011-10-28  Andreas Schwab  <schwab@redhat.com>
13711         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
13712         redefine if SHARED.
13713         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
13715         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
13716         wide char related routines to wcsmbs subdir.
13718 2011-10-27  Andreas Schwab  <schwab@redhat.com>
13720         [BZ #13344]
13721         * misc/sys/cdefs.h (__THROWNL): Define.
13722         * posix/unistd.h: Use __THREADNL instead of __THREAD
13723         for memory synchronization functions.
13725 2011-10-26  Roland McGrath  <roland@hack.frob.com>
13727         [BZ #13349]
13728         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
13729         doesn't exist.
13730         * manual/stdio.texi (Obstack Streams): Node removed.
13732 2011-10-26  Andreas Schwab  <schwab@redhat.com>
13734         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
13735         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
13736         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
13738         * math/math_private.h (math_force_eval): Allow non-addressable
13739         arguments.
13740         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
13742 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
13744         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
13745         file is not needed.
13747         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
13748         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
13749         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
13750         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
13751         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
13752         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
13753         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
13754         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
13755         Add AVX variants.
13756         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
13757         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
13758         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
13759         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
13760         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
13761         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
13762         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
13763         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
13764         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
13765         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
13766         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
13767         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
13768         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
13769         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
13770         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
13771         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
13772         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
13773         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
13774         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
13776         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
13777         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
13779         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
13780         place.  Use VEX encoding when compiling for AVX.
13782 2011-10-25  Andreas Schwab  <schwab@redhat.com>
13784         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
13785         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
13787         * string/test-strchr.c (do_test): Don't generate NUL bytes.
13789 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
13791         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
13792         useless if() expression.
13793         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
13794         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
13795         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
13796         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
13797         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
13798         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
13799         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
13800         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
13801         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
13802         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
13803         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
13804         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
13805         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
13806         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
13807         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
13808         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
13809         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
13810         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
13811         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
13813         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
13815 2011-10-25  Andreas Schwab  <schwab@redhat.com>
13817         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
13818         condition.
13819         * elf/dl-fini.c (_dl_sort_fini): Likewise.
13821 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
13823         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
13824         .text section.  Avoid duplicate constants.
13825         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
13826         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
13827         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
13828         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13829         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
13830         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13831         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13832         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
13833         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
13834         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
13835         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
13836         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
13837         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
13838         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
13839         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
13840         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
13841         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
13842         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
13843         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
13844         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
13845         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
13846         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
13847         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
13848         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
13849         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
13850         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
13851         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
13852         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
13853         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
13854         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
13855         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
13856         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
13857         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
13858         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
13859         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
13860         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
13861         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
13862         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
13863         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
13864         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
13865         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
13866         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
13867         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
13868         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
13869         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
13871 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
13873         * sysdeps/x86_64/dla.h: Move to ...
13874         * sysdeps/x86_64/fpu/dla.h: ...here.
13875         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
13876         situations.  Use __builtin_fma only for gcc 4.6 and up.
13878         * config.make.in: Add have-mfma4 entry.
13879         * configure.in: Substitute libc_cv_cc_fma4.
13880         * math/Makefile (dbl-only-routines): Add sincostab.
13881         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
13882         Use __sincostab not sincos.
13883         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
13884         name is a macro.
13885         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
13886         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13887         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13888         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
13889         using __copysign.
13890         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
13891         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
13892         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
13893         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
13894         and __inv.
13895         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
13896         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
13897         __copysign.
13898         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
13899         define aliases when function name is a macro.
13900         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
13901         sysdeps/ieee754/dbl-64/sincos.tbl.
13902         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
13903         fma4-enabled routines.
13904         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
13905         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
13906         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
13907         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
13908         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
13909         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
13910         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
13911         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
13912         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
13913         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
13914         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
13915         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
13916         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
13917         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
13918         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
13919         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
13920         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
13921         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
13922         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
13923         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
13924         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
13925         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
13926         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
13927         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
13928         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
13929         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
13930         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
13931         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
13932         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
13933         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
13935         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
13936         rename.
13937         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
13938         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
13939         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13940         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13941         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13942         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
13943         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
13944         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
13946 2011-10-24  Andreas Schwab  <schwab@redhat.com>
13948         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
13950 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
13952         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
13954         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
13955         prediction.
13956         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
13958         * string/strnlen.c: Don't define STRNLEN, reverse logic.
13959         Remove unused variable magic_bits.
13960         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
13962         * string/strnlen.c: Define and use STRNLEN macro.
13963         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
13964         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
13965         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
13966         * wcsmbs/wcslen.c: Define and use WCSLEN.
13967         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
13968         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
13969         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
13970         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
13971         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
13972         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
13973         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
13975 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
13977         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13978         strnlen-sse2-no-bsf.
13979         Rename strlen-no-bsf to strlen-sse2-no-bsf.
13980         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
13981         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
13982         Add strnlen support.
13983         (USE_AS_STRNLEN): New macro.
13984         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
13985         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
13986         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
13987         * sysdeps/x86_64/wcslen.S: New file.
13989 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
13991         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
13992         XMM-moves are used for copying on small sizes.
13994 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
13996         * wcsmbs/Makefile (strop-tests): Add wcschr.
13997         * wcsmbs/test-wcschr.c: New file.
13998         * string/test-strchr.c: Update.
13999         Add wcschr support.
14000         (WIDE): New macro.
14002 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
14004         * wcsmbs/Makefile (strop-tests): Add wcslen.
14005         * wcsmbs/test-wcslen.c: New file.
14006         * string/test-strlen.c: Update.
14007         Add wcslen support.
14008         (WIDE): New macro.
14010 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
14012         * po/it.po: Update from translation team.
14014 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
14016         * sysdeps/x86_64/wcscmp.S: Update.
14017         Fix wrong comparison semantics.
14018         wcscmp shall use signed comparison not unsigned.
14019         Don't use substraction to avoid overflow bug.
14020         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
14021         * wcsmbc/wcscmp.c: Likewise.
14022         * string/test-strcmp.c: Likewise.
14023         Add new tests to check cases with negative values.
14025 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
14027         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
14028         * sysdeps/x86_64/dla.h: ...here.  New file.
14029         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
14030         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
14031         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
14032         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
14033         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
14034         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
14035         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
14036         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
14037         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
14039 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
14041         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
14042         __ynl_finite aliases.
14044 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
14046         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14048         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
14049         define DLA_FMA.
14050         [DLA_FMA] (EMULV): Use DLA_FMA.
14051         [DLA_FMA] (MUL12): Use EMULV.
14052         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
14053         that are not needed.
14054         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
14055         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
14056         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
14057         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
14058         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
14059         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
14060         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
14062 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
14064         * math/s_nan.c: Undef __nan.
14065         * math/s_nanf.c: Undef __nanf.
14066         * math/s_nanl.c: Undef __nanl.
14067         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
14068         "math_private.h".
14070 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
14072         * math/s_catan.c: Add branch predictions.
14073         * math/s_catanf.c: Likewise.
14074         * math/s_catanh.c: Likewise.
14075         * math/s_catanhf.c: Likewise.
14076         * math/s_catanhl.c: Likewise.
14077         * math/s_catanl.c: Likewise.
14078         * math/s_cexp.c: Likewise.
14079         * math/s_cexpf.c: Likewise.
14080         * math/s_cexpl.c: Likewise.
14081         * math/s_clog.c: Likewise.
14082         * math/s_clog10.c: Likewise.
14083         * math/s_clog10f.c: Likewise.
14084         * math/s_clog10l.c: Likewise.
14085         * math/s_clogf.c: Likewise.
14086         * math/s_clogl.c: Likewise.
14087         * math/s_csqrt.c: Likewise.
14088         * math/s_csqrtf.c: Likewise.
14089         * math/s_csqrtl.c: Likewise.
14090         * math/s_ctanf.c: Likewise.
14091         * math/s_ctanh.c: Likewise.
14092         * math/s_ctanhf.c: Likewise.
14093         * math/s_ctanhl.c: Likewise.
14094         * math/s_ctanl.c: Likewise.
14096         * math/math_private.h: Define __nan, __nanf, __nanl.
14097         * math/s_cacosh.c: Include <math_private.h>.
14098         * math/s_cacoshl.c: Likewise.
14099         * math/s_casinh.c: Likewise.
14100         * math/s_casinhf.c: Likewise.
14101         * math/s_casinhl.c: Likewise.
14102         * math/s_ccos.c: Rely entire on ccosh.
14103         * math/s_ccosf.c: Rely entire on ccoshf.
14104         * math/s_ccosl.c: Rely entirely on ccoshl.
14105         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
14106         Remove tests for FE_INVALID.
14107         * math/s_ccoshf.c: Likewise.
14108         * math/s_ccoshl.c: Likewise.
14109         * math/s_csin.c: Likewise.
14110         * math/s_csinf.c: Likewise.
14111         * math/s_csinh.c Likewise.
14112         * math/s_csinhf.c: Likewise.
14113         * math/s_csinhl.c: Likewise.
14114         * math/s_csinl.c: Likewise.
14115         * math/s_ctan.c: Likewise.
14116         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
14117         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
14118         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
14120 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
14122         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
14123         compilation problems.
14125         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
14126         __builtin_expect.
14128 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
14130         * sysdeps/i386/configure.in: Test for -mfma4 option.
14131         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
14132         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
14133         COMMON_CPUID_INDEX_80000001.
14134         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
14135         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
14136         use it if FMA3 is not supported.
14137         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
14139         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
14140         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
14142 2011-10-20  Andreas Schwab  <schwab@redhat.com>
14144         [BZ #12892]
14145         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
14146         it would create a cycle with a link time dependency.
14148 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
14150         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
14151         instruction.
14152         * string/Makefile (strop-tests): Add rawmemchr.
14153         * string/test-rawmemchr.c: New file.
14155         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
14156         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
14157         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
14158         when compiling str{,n}casecmp and when AVX is available.  Hook up
14159         new optimized code in initializers.
14161 2011-10-19  Andreas Schwab  <schwab@redhat.com>
14163         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
14164         __feraiseexcept instead of feraiseexcept.
14166 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
14168         * math/math_private.h: Define defaults for libc_fetestexcept and
14169         libc_feupdateenv.
14170         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
14171         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
14172         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
14173         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
14174         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
14175         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
14176         libc_fetestexcept and libc_feupdateenv.
14178         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
14179         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
14180         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
14181         * sysdeps/x86_64/fpu/math_private.h: Define special version of
14182         libc_feholdexcept_setround.
14184         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
14185         Add s_nearbyint-c and s_nearbyintf-c.
14186         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
14187         nearbyintf inlines.
14188         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
14189         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
14190         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
14191         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
14193         * math/math_private.h: Define defaults for libc_fegetround,
14194         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
14195         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
14196         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
14197         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
14198         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
14199         standard functions.
14200         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
14201         Remove comments and hacks for old compiler versions.
14202         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
14203         libc_fegetround, libc_fesetround, libc_feholdexcept, and
14204         libc_feholdexceptl.
14206 2011-10-18  Andreas Schwab  <schwab@redhat.com>
14208         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
14209         (__feraiseexcept_renamed): Add __NTH.
14210         (feraiseexcept): Add __NTH.  Rename local variables to fix
14211         namespace violations.
14213 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
14215         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
14217         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
14219         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
14220         recently added interfaces.
14221         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
14223         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
14224         about macro parameter expansion.
14226         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
14227         __NO_MATH_INLINES is defined.  Cleanups.
14229         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
14230         and __floorf is target has SSE4.1.
14231         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
14232         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
14233         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
14234         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
14236         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
14237         name.
14238         (floorf): Likewise.
14240         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
14242 2011-10-17  Andreas Schwab  <schwab@redhat.com>
14244         * misc/sys/cdefs.h: Fix last change.
14246         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
14247         database lookup.
14249 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
14251         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
14253         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
14254         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
14255         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
14256         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
14257         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
14258         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
14259         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
14260         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
14261         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
14262         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
14263         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
14264         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
14265         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
14266         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
14267         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
14268         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
14269         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
14270         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
14271         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
14272         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
14273         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
14274         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
14276         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
14277         ceil, ceilf, floor, floorf.
14279         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
14280         Perform IRELATIVE relocations last.
14282         * elf/do-rel.h: Add another parameter nrelative, replacing the
14283         local variable with the same name.  Change name of the function
14284         to end in Rel or Rela (uppercase).
14285         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
14286         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
14287         elf_dynamic_do_##reloc function.
14289 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
14291         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
14292         is sufficient, at least on modern CPUs.
14294         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
14296         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
14297         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
14299         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
14300         __expl_finite.
14301         * math/bits/math-finite.h: Add entries for exp.
14302         * math/e_expl.c: Add __*_finite alias.
14303         * sysdeps/i386/fpu/e_exp.S: Likewise.
14304         * sysdeps/i386/fpu/e_expf.S: Likewise.
14305         * sysdeps/i386/fpu/e_expl.c: Likewise.
14306         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
14307         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
14308         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
14309         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
14310         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
14311         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
14312         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
14314         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
14315         is sufficient, at least on modern CPUs.
14317         * ctype/ctype-info.c (__ctype_init): Define.
14318         * include/ctype.h (__ctype_init): Declare.
14319         (__ctype_b_loc): The variable is always initialized.
14320         (__ctype_toupper_loc): Likewise.
14321         (__ctype_tolower_loc): Likewise.
14322         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
14323         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
14325 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
14327         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
14329         * configure.in: Also look in $cxxmachine/include for C++ system
14330         headers.
14332 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
14334         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
14335         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
14336         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
14337         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
14338         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
14339         (USE_AS_WMEMCMP): New macro.
14340         Fixing indents.
14341         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
14342         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
14343         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
14344         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
14345         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
14346         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
14347         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
14348         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
14349         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
14350         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
14351         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
14352         (USE_AS_WMEMCMP): New macro.
14353         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
14354         * sysdeps/string/test-memcmp.c: Update.
14355         Fix simple_wmemcmp.
14356         Add new tests.
14357         * wcsmbs/wmemcmp.c: Update.
14358         (WMEMCMP): New macro.
14359         Fix overflow bug.
14361 2011-10-12  Andreas Jaeger  <aj@suse.de>
14363         [BZ #13268]
14364         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
14366 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
14368         * libio/iofwide.c (do_length): Avoid warning.
14370         * ctype/ctype.h (__isctype_f): Add missing __THROW.
14372 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
14374         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
14376         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
14377         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
14378         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
14379         * sysdeps/i386/i686/fpu/e_log.S: New file.
14380         * sysdeps/i386/i686/fpu/e_logf.S: New file.
14381         * sysdeps/i386/i686/fpu/e_logl.S: New file.
14383         * ctype/ctype.h: Add support for inlined isXXX functions when
14384         compiling C++ code.
14386 2011-10-14  Andreas Schwab  <schwab@redhat.com>
14388         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
14390         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
14392 2011-10-13  Roland McGrath  <roland@hack.frob.com>
14394         [BZ #13291]
14395         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
14397 2011-10-13  Andreas Schwab  <schwab@redhat.com>
14399         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
14400         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
14401         feraiseexcept.
14403         * sysdeps/x86_64/memrchr.S: Check for zero size.
14405         * string/stratcliff.c: Add memrchr tests.
14407 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
14409         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
14410         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
14411         rawmemchr-sse2 rawmemchr-sse2-bsf.
14412         * sysdeps/i386/i686/multiarch/memchr.S: New file.
14413         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
14414         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
14415         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
14416         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
14417         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
14418         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
14419         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
14420         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
14421         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
14422         * string/memrchr.c (MEMRCHR): New macro.
14424 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
14426         Add integration with gcc's -ffinite-math-only and optimize wrapper
14427         functions in libm.
14428         * Versions.def: Define GLIBC_2.15 version for libm.
14429         * math/Makefile (headers): Add bits/math-finite.h.
14430         * math/bits/math-finite.h: New file.
14431         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
14432         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
14433         * math/e_acoshl.c: Add __*_finite alias.
14434         * math/e_acosl.c: Likewise.
14435         * math/e_asinl.c: Likewise.
14436         * math/e_atan2l.c: Likewise.
14437         * math/e_atanhl.c: Likewise.
14438         * math/e_coshl.c: Likewise.
14439         * math/e_exp10.c: Likewise.
14440         * math/e_exp10f.c: Likewise.
14441         * math/e_exp10l.c: Likewise.
14442         * math/e_exp2l.c: Likewise.
14443         * math/e_fmodl.c: Likewise.
14444         * math/e_gammal_r.c: Likewise.
14445         * math/e_hypotl.c: Likewise.
14446         * math/e_j0l.c: Likewise.
14447         * math/e_j1l.c: Likewise.
14448         * math/e_jnl.c: Likewise.
14449         * math/e_lgammal_r.c: Likewise.
14450         * math/e_log10l.c: Likewise.
14451         * math/e_log2l.c: Likewise.
14452         * math/e_logl.c: Likewise.
14453         * math/e_powl.c: Likewise.
14454         * math/e_sinhl.c: Likewise.
14455         * math/e_sqrtl.c: Likewise.
14456         * math/e_scalb.c: Completely rewritten and optimized.
14457         * math/e_scalbf.c: Likewise.
14458         * math/e_scalbl.c: Likewise.
14459         * math/w_acos.c: Likewise.
14460         * math/w_acosf.c: Likewise.
14461         * math/w_acosl.c: Likewise.
14462         * math/w_acosh.c: Likewise.
14463         * math/w_acoshf.c: Likewise.
14464         * math/w_acoshl.c: Likewise.
14465         * math/w_asin.c: Likewise.
14466         * math/w_asinf.c: Likewise.
14467         * math/w_asinl.c: Likewise.
14468         * math/w_atan2.c: Likewise.
14469         * math/w_atan2f.c: Likewise.
14470         * math/w_atan2l.c: Likewise.
14471         * math/w_atanh.c: Likewise.
14472         * math/w_atanhf.c: Likewise.
14473         * math/w_atanhl.c: Likewise.
14474         * math/w_exp10.c: Likewise.
14475         * math/w_exp10f.c: Likewise.
14476         * math/w_exp10l.c: Likewise.
14477         * math/w_fmod.c: Likewise.
14478         * math/w_fmodf.c: Likewise.
14479         * math/w_fmodl.c: Likewise.
14480         * math/w_j0.c: Likewise.
14481         * math/w_j0f.c: Likewise.
14482         * math/w_j0l.c: Likewise.
14483         * math/w_j1.c: Likewise.
14484         * math/w_j1f.c: Likewise.
14485         * math/w_j1l.c: Likewise.
14486         * math/w_jn.c: Likewise.
14487         * math/w_jnf.c: Likewise.
14488         * math/w_log.c: Likewise.
14489         * math/w_logf.c: Likewise.
14490         * math/w_logl.c: Likewise.
14491         * math/w_log10.c: Likewise.
14492         * math/w_log10f.c: Likewise.
14493         * math/w_log10l.c: Likewise.
14494         * math/w_log2.c: Likewise.
14495         * math/w_log2f.c: Likewise.
14496         * math/w_log2l.c: Likewise.
14497         * math/w_pow.c: Likewise.
14498         * math/w_powf.c: Likewise.
14499         * math/w_powl.c: Likewise.
14500         * math/w_remainder.c: Likewise.
14501         * math/w_remainderf.c: Likewise.
14502         * math/w_remainderl.c: Likewise.
14503         * math/w_scalb.c: Likewise.
14504         * math/w_scalbf.c: Likewise.
14505         * math/w_scalbl.c: Likewise.
14506         * math/w_sqrt.c: Likewise.
14507         * math/w_sqrtf.c: Likewise.
14508         * math/w_sqrtl.c: Likewise.
14509         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
14510         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
14511         used.
14512         * math/math_private.h: Declare __kernel_standard_f.
14513         * math/w_cosh.c: Remove cruft and optimize a bit.
14514         * math/w_coshf.c: Likewise.
14515         * math/w_coshl.c: Likewise.
14516         * math/w_exp2.c: Likewise.
14517         * math/w_exp2f.c: Likewise.
14518         * math/w_exp2l.c: Likewise.
14519         * math/w_hypot.c: Likewise.
14520         * math/w_hypotf.c: Likewise.
14521         * math/w_hypotl.c: Likewise.
14522         * math/w_lgamma.c: Likewise.
14523         * math/w_lgamma_r.c: Likewise.
14524         * math/w_lgammaf.c: Likewise.
14525         * math/w_lgammaf_r.c: Likewise.
14526         * math/w_lgammal.c: Likewise.
14527         * math/w_lgammal_r.c: Likewise.
14528         * math/w_sinh.c: Likewise.
14529         * math/w_sinhf.c: Likewise.
14530         * math/w_sinhl.c: Likewise.
14531         * math/w_tgamma.c: Likewise.
14532         * math/w_tgammaf.c: Likewise.
14533         * math/w_tgammal.c: Likewise.
14534         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
14535         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
14536         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
14537         Minor optimizations.  Pretty printing.  Remove cruft.
14538         * sysdeps/i386/fpu/e_acosf.S: Likewise.
14539         * sysdeps/i386/fpu/e_acosh.S: Likewise.
14540         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
14541         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
14542         * sysdeps/i386/fpu/e_acosl.c: Likewise.
14543         * sysdeps/i386/fpu/e_asin.S: Likewise.
14544         * sysdeps/i386/fpu/e_asinf.S: Likewise.
14545         * sysdeps/i386/fpu/e_atan2.S: Likewise.
14546         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
14547         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
14548         * sysdeps/i386/fpu/e_atanh.S: Likewise.
14549         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
14550         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
14551         * sysdeps/i386/fpu/e_exp10.S: Likewise.
14552         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
14553         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
14554         * sysdeps/i386/fpu/e_exp2.S: Likewise.
14555         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
14556         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
14557         * sysdeps/i386/fpu/e_fmod.S: Likewise.
14558         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
14559         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
14560         * sysdeps/i386/fpu/e_hypot.S: Likewise.
14561         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
14562         * sysdeps/i386/fpu/e_log.S: Likewise.
14563         * sysdeps/i386/fpu/e_log10.S: Likewise.
14564         * sysdeps/i386/fpu/e_log10f.S: Likewise.
14565         * sysdeps/i386/fpu/e_log10l.S: Likewise.
14566         * sysdeps/i386/fpu/e_log2.S: Likewise.
14567         * sysdeps/i386/fpu/e_log2f.S: Likewise.
14568         * sysdeps/i386/fpu/e_log2l.S: Likewise.
14569         * sysdeps/i386/fpu/e_logf.S: Likewise.
14570         * sysdeps/i386/fpu/e_logl.S: Likewise.
14571         * sysdeps/i386/fpu/e_pow.S: Likewise.
14572         * sysdeps/i386/fpu/e_powf.S: Likewise.
14573         * sysdeps/i386/fpu/e_powl.S: Likewise.
14574         * sysdeps/i386/fpu/e_remainder.S: Likewise.
14575         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
14576         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
14577         * sysdeps/i386/fpu/e_scalb.S: Likewise.
14578         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
14579         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
14580         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
14581         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
14582         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
14583         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
14584         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
14585         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
14586         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
14587         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
14588         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
14589         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
14590         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
14591         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
14592         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
14593         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
14594         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
14595         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
14596         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
14597         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
14598         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
14599         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
14600         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
14601         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
14602         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
14603         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
14604         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
14605         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
14606         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
14607         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
14608         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
14609         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
14610         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
14611         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
14612         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
14613         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
14614         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
14615         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
14616         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
14617         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
14618         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
14619         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
14620         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
14621         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
14622         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
14623         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
14624         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
14625         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
14626         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
14627         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
14628         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
14629         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
14630         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
14631         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
14632         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
14633         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
14634         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
14635         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
14636         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
14637         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
14638         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
14639         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
14640         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
14641         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
14642         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
14643         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
14644         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
14645         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
14646         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
14647         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
14648         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
14649         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
14650         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
14651         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
14652         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
14653         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
14654         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
14655         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
14656         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
14657         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
14658         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
14659         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
14660         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
14661         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
14662         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
14663         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
14664         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
14665         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
14666         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
14667         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
14668         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
14669         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
14670         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
14671         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
14672         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
14673         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
14674         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
14675         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
14676         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
14677         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
14678         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
14679         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
14680         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
14681         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
14682         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
14683         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
14684         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
14685         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
14686         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
14687         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
14688         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
14689         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
14690         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
14691         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
14692         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
14693         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
14694         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
14695         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
14696         (__isnanf): Likewise.
14697         (__isinf_ns): Likewise.
14698         (__isinf_nsf): Likewise.
14699         (__finite): Likewise.
14700         (__finitef): Likewise.
14701         (__ieee754_sqrt): Define as macro.
14702         (__ieee754_sqrtf): Define as macro.
14703         (__ieee754_sqrtl): Define as macro.
14704         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
14705         inlined copy.
14706         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
14707         __FINITE_MATH_ONLY__ consistent.
14708         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
14710 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
14712         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
14713         of rawmemchr.
14715         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
14717 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
14719         * po/ja.po: Update from translation team.
14721 2011-10-08  Roland McGrath  <roland@hack.frob.com>
14723         * locale/programs/locarchive.c (prepare_address_space): New function.
14724         (create_archive, enlarge_archive, open_archive): Use it.
14726         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
14727         inside [SHARED], where it is used.
14729         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
14731         * nss/getent.c (netgroup_keys): Remove unused variable.
14732         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
14734 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
14736         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
14737         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
14738         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
14739         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
14740         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
14741         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
14742         * math/Makefile (libm-calls): Add s_isinf_ns.
14743         * math/divtc3.c: Use __isinf_nsl instead of isinf.
14744         * math/multc3.c: Likewise.
14745         * math/s_casin.c: Likewise.
14746         * math/s_casinf.c: Likewise.
14747         * math/s_casinl.c: Likewise.
14748         * math/s_ccos.c: Likewise.
14749         * math/s_ccosf.c: Likewise.
14750         * math/s_ccosl.c: Likewise.
14751         * math/s_ctan.c: Likewise.
14752         * math/s_ctanf.c: Likewise.
14753         * math/s_ctanh.c: Likewise.
14754         * math/s_ctanhf.c: Likewise.
14755         * math/s_ctanhl.c: Likewise.
14756         * math/s_ctanl.c: Likewise.
14757         * math/w_fmod.c: Likewise.
14758         * math/w_fmodf.c: Likewise.
14759         * math/w_fmodl.c: Likewise.
14760         * math/w_remainder.c: Likewise.
14761         * math/w_remainderf.c: Likewise.
14762         * math/w_remainderl.c: Likewise.
14763         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
14764         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
14765         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
14766         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
14767         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
14768         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
14769         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
14770         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
14772         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
14773         of the number.
14774         * stdio-common/printf_fphex.c: Likewise.
14775         * stdio-common/printf_size.c: Likewise.
14777         * math/e_exp10.c: Include math_private.h using <...> not "...".
14778         * math/e_exp10f.c: Likewise.
14779         * math/e_exp10l.c: Likewise.
14780         * math/e_exp2l.c: Likewise.
14781         * math/e_j0l.c: Likewise.
14782         * math/e_j1l.c: Likewise.
14783         * math/e_jnl.c: Likewise.
14784         * math/e_lgammal_r.c: Likewise.
14785         * math/e_rem_pio2l.c: Likewise.
14786         * math/e_scalb.c: Likewise.
14787         * math/e_scalbf.c: Likewise.
14788         * math/e_scalbl.c: Likewise.
14789         * math/k_cosl.c: Likewise.
14790         * math/k_sinl.c: Likewise.
14791         * math/k_tanl.c: Likewise.
14792         * math/s_cacoshf.c: Likewise.
14793         * math/s_catan.c: Likewise.
14794         * math/s_catanf.c: Likewise.
14795         * math/s_catanh.c: Likewise.
14796         * math/s_catanhf.c: Likewise.
14797         * math/s_catanhl.c: Likewise.
14798         * math/s_catanl.c: Likewise.
14799         * math/s_ccosh.c: Likewise.
14800         * math/s_ccoshf.c: Likewise.
14801         * math/s_ccoshl.c: Likewise.
14802         * math/s_cexp.c: Likewise.
14803         * math/s_cexpf.c: Likewise.
14804         * math/s_cexpl.c: Likewise.
14805         * math/s_clog.c: Likewise.
14806         * math/s_clog10.c: Likewise.
14807         * math/s_clog10f.c: Likewise.
14808         * math/s_clog10l.c: Likewise.
14809         * math/s_clogf.c: Likewise.
14810         * math/s_clogl.c: Likewise.
14811         * math/s_csin.c: Likewise.
14812         * math/s_csinf.c: Likewise.
14813         * math/s_csinh.c: Likewise.
14814         * math/s_csinhf.c: Likewise.
14815         * math/s_csinhl.c: Likewise.
14816         * math/s_csinl.c: Likewise.
14817         * math/s_csqrt.c: Likewise.
14818         * math/s_csqrtf.c: Likewise.
14819         * math/s_csqrtl.c: Likewise.
14820         * math/s_ctan.c: Likewise.
14821         * math/s_ctanf.c: Likewise.
14822         * math/s_ctanh.c: Likewise.
14823         * math/s_ctanhf.c: Likewise.
14824         * math/s_ctanhl.c: Likewise.
14825         * math/s_ctanl.c: Likewise.
14826         * math/s_ldexp.c: Likewise.
14827         * math/s_ldexpf.c: Likewise.
14828         * math/s_ldexpl.c: Likewise.
14829         * math/s_significand.c: Likewise.
14830         * math/s_significandf.c: Likewise.
14831         * math/s_significandl.c: Likewise.
14832         * math/w_acos.c: Likewise.
14833         * math/w_acosf.c: Likewise.
14834         * math/w_acosh.c: Likewise.
14835         * math/w_acoshf.c: Likewise.
14836         * math/w_acoshl.c: Likewise.
14837         * math/w_acosl.c: Likewise.
14838         * math/w_asin.c: Likewise.
14839         * math/w_asinf.c: Likewise.
14840         * math/w_asinl.c: Likewise.
14841         * math/w_atan2.c: Likewise.
14842         * math/w_atan2f.c: Likewise.
14843         * math/w_atan2l.c: Likewise.
14844         * math/w_atanh.c: Likewise.
14845         * math/w_atanhf.c: Likewise.
14846         * math/w_atanhl.c: Likewise.
14847         * math/w_cosh.c: Likewise.
14848         * math/w_coshf.c: Likewise.
14849         * math/w_coshl.c: Likewise.
14850         * math/w_dremf.c: Likewise.
14851         * math/w_exp10.c: Likewise.
14852         * math/w_exp10f.c: Likewise.
14853         * math/w_exp10l.c: Likewise.
14854         * math/w_exp2.c: Likewise.
14855         * math/w_exp2f.c: Likewise.
14856         * math/w_fmod.c: Likewise.
14857         * math/w_fmodf.c: Likewise.
14858         * math/w_fmodl.c: Likewise.
14859         * math/w_hypot.c: Likewise.
14860         * math/w_hypotf.c: Likewise.
14861         * math/w_hypotl.c: Likewise.
14862         * math/w_j0.c: Likewise.
14863         * math/w_j0f.c: Likewise.
14864         * math/w_j0l.c: Likewise.
14865         * math/w_j1.c: Likewise.
14866         * math/w_j1f.c: Likewise.
14867         * math/w_j1l.c: Likewise.
14868         * math/w_jn.c: Likewise.
14869         * math/w_jnf.c: Likewise.
14870         * math/w_jnl.c: Likewise.
14871         * math/w_lgamma.c: Likewise.
14872         * math/w_lgamma_r.c: Likewise.
14873         * math/w_lgammaf.c: Likewise.
14874         * math/w_lgammaf_r.c: Likewise.
14875         * math/w_lgammal.c: Likewise.
14876         * math/w_lgammal_r.c: Likewise.
14877         * math/w_log.c: Likewise.
14878         * math/w_log10.c: Likewise.
14879         * math/w_log10f.c: Likewise.
14880         * math/w_log10l.c: Likewise.
14881         * math/w_log2.c: Likewise.
14882         * math/w_log2f.c: Likewise.
14883         * math/w_log2l.c: Likewise.
14884         * math/w_logf.c: Likewise.
14885         * math/w_logl.c: Likewise.
14886         * math/w_pow.c: Likewise.
14887         * math/w_powf.c: Likewise.
14888         * math/w_powl.c: Likewise.
14889         * math/w_remainder.c: Likewise.
14890         * math/w_remainderf.c: Likewise.
14891         * math/w_remainderl.c: Likewise.
14892         * math/w_scalb.c: Likewise.
14893         * math/w_scalbf.c: Likewise.
14894         * math/w_scalbl.c: Likewise.
14895         * math/w_sinh.c: Likewise.
14896         * math/w_sinhf.c: Likewise.
14897         * math/w_sinhl.c: Likewise.
14898         * math/w_sqrt.c: Likewise.
14899         * math/w_sqrtf.c: Likewise.
14900         * math/w_sqrtl.c: Likewise.
14901         * math/w_tgamma.c: Likewise.
14902         * math/w_tgammaf.c: Likewise.
14903         * math/w_tgammal.c: Likewise.
14905         * po/ja.po: Update from translation team.
14907 2011-09-29  Andreas Jaeger  <aj@suse.de>
14909         [BZ #13179]
14910         * sunrpc/netname.c (netname2host): Fix logic.
14912         [BZ #6779]
14913         [BZ #6783]
14914         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
14915         correctly.
14916         * math/w_remainder.c (__remainder): Likewise.
14917         * math/w_remainderf.c (__remainderf): Likewise.
14918         * math/libm-test.inc (remainder_test): Add test cases.
14920 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
14922         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
14923         sdiv_qrnnd.
14925 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
14927         * string/test-memcmp.c: Avoid unncessary #defines.
14928         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
14930 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
14932         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
14933         Use new sse2 version for core i3 - i7 as it's faster
14934         than sse42 version.
14935         (bit_Prefer_PMINUB_for_stringop): New.
14936         * sysdeps/x86_64/rawmemchr.S: Update.
14937         Replace with faster SSE2 version.
14938         * sysdeps/x86_64/memrchr.S: New file.
14939         * sysdeps/x86_64/memchr.S: Update.
14940         Replace with faster SSE2 version.
14942 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
14944         * elf/dl-load.c (lose): Add cast to avoid warning.
14946 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
14948         * po/ca.po: Update from translation team.
14950         * inet/getnetgrent_r.c: Hook up nscd.
14951         * nscd/Makefile (routines): Add nscd_netgroup.
14952         (nscd-modules): Add netgroupcache.
14953         (CFLAGS-netgroupcache.c): Define.
14954         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
14955         (cache_search): Add const to second parameter.
14956         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
14957         INNETGR.
14958         (dbs): Add netgrdb entry.
14959         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
14960         (verify_persistent_db): Handle netgrdb.
14961         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
14962         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
14963         GETFDNETGR.
14964         (netgroup_response_header): Define.
14965         (innetgroup_response_header): Define.
14966         (datahead): Add netgroup_response_header and innetgroup_response_header
14967         elements.
14968         * nscd/nscd.conf: Add entries for netgroup cache.
14969         * nscd/nscd.h (dbtype): Add netgrdb.
14970         (_PATH_NSCD_NETGROUP_DB): Define.
14971         (netgroup_iov_disabled): Declare.
14972         (xmalloc, xcalloc, xrealloc): Move declarations here.
14973         (cache_search): Adjust prototype.
14974         Add netgroup-related prototypes.
14975         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
14976         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
14977         (__nscd_innetgr): Declare.
14978         * nscd/selinux.c (perms): Use access_vector_t as element type and
14979         add netgroup-related initializers.
14980         * nscd/netgroupcache.c: New file.
14981         * nscd/nscd_netgroup.c: New file.
14982         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
14983         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
14984         For four parameters use innetgr.
14985         * nss/nss_files/files-init.c: Add definition and callback for netgr.
14986         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
14987         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
14988         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
14990         * nscd/connections.c (register_traced_file): Don't register file
14991         for disabled databases.
14993 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
14995         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
14997         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
14998         from tree and freeing node.
15000 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
15002         * nss/nsswitch.c (__nss_database_lookup): Handle
15003         nss_parse_service_list out of memory case.
15005 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
15007         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
15008         out of memory case.
15010 2011-10-04  Andreas Schwab  <schwab@redhat.com>
15012         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
15013         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
15014         pass it down.
15015         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
15016         elf_machine_rela, elf_machine_lazy_rel.
15017         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
15018         (ELF_DYNAMIC_DO_REL): Likewise.
15019         (ELF_DYNAMIC_DO_RELA): Likewise.
15020         (ELF_DYNAMIC_RELOCATE): Likewise.
15021         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
15022         to ELF_DYNAMIC_DO_REL.
15023         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
15024         (dl_main): In trace mode always set __RTLD_NOIFUNC.
15025         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
15026         elf_machine_rela.
15027         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
15028         skip_ifunc, don't call ifunc function if non-zero.
15029         (elf_machine_rela): Likewise.
15030         (elf_machine_lazy_rel): Likewise.
15031         (elf_machine_lazy_rela): Likewise.
15032         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
15033         (elf_machine_lazy_rel): Likewise.
15034         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
15035         Likewise.
15036         (elf_machine_lazy_rel): Likewise.
15037         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
15038         Likewise.
15039         (elf_machine_lazy_rel): Likewise.
15040         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
15041         (elf_machine_lazy_rel): Likewise.
15042         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
15043         (elf_machine_lazy_rel): Likewise.
15044         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
15045         (elf_machine_lazy_rel): Likewise.
15046         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
15047         (elf_machine_lazy_rel): Likewise.
15048         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
15049         (elf_machine_lazy_rel): Likewise.
15050         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
15051         (elf_machine_lazy_rel): Likewise.
15053 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
15055         * nss/nss_files/files-init.c (_nss_files_init): Use static
15056         initialization for all the *_traced_file variables.
15058 2011-09-28  Andreas Schwab  <schwab@redhat.com>
15060         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
15062 2011-09-27  Roland McGrath  <roland@hack.frob.com>
15064         [BZ #13226]
15065         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
15067 2011-09-27  Andreas Schwab  <schwab@redhat.com>
15069         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
15070         Reread the line before reparsing it.
15072 2011-09-26  Andreas Schwab  <schwab@redhat.com>
15074         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
15076 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
15077             Maxim Kuvyrkov  <maxim@codesourcery.com>
15078             Joseph Myers  <joseph@codesourcery.com>
15080         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
15081         if needed for __stack_chk_guard.
15083 2011-09-19  Roland McGrath  <roland@hack.frob.com>
15085         * sysdeps/posix/spawni.c (script_execute): Always define it.
15086         It will be optimized away if unused.
15087         (maybe_script_execute): New function.
15088         (__spawni): Call it.
15090         * Makerules: Don't include tls.make.
15091         (config-tls): Always set to thread.
15092         * tls.make.c: File removed.
15094 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
15096         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
15097         * config.make.in (CPPFLAGS-config): New substituted variable.
15099 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
15101         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
15103         [BZ #13192]
15104         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
15105         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
15107 2011-09-15  Roland McGrath  <roland@hack.frob.com>
15109         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
15110         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
15111         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
15112         (CALL_FAIL): Likewise.
15113         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
15114         (CALL_FAIL): Macro removed.
15115         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
15117 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
15119         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
15120         for __FINITE_MATH_ONLY__ == 1.
15122 2011-09-15  Andreas Schwab  <schwab@redhat.com>
15124         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
15125         __ieee754_sqrt instead of sqrt.
15126         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
15127         __ieee754_sqrtf instead of sqrtf.
15128         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
15129         __floorf instead of floorf.
15130         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
15131         __floorf, __truncf instead of floorf, truncf.
15133 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
15135         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
15137         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
15138         __extern_always_inline.
15139         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
15140         32-bit.
15142 2011-09-14  Andreas Schwab  <schwab@redhat.com>
15144         * elf/rtld.c (dl_main): Also relocate in dependency order when
15145         doing symbol dependency testing.
15147 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
15149         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
15150         Always define `refsym'.
15152 2011-09-13  Andreas Schwab  <schwab@redhat.com>
15154         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
15155         (__FD_ELT): Renamed from __FDELT.
15156         * misc/bits/select2.h (__FD_ELT): Likewise.
15157         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
15158         __FD_MASK instead of __FDELT, __FDMASK.
15159         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
15160         Likewise.
15161         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
15162         Likewise.
15164         * elf/Makefile (gen-ldd): Fix pattern.
15166         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
15167         (init_tls): Likewise.
15169 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
15171         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
15173 2011-09-12  Andreas Schwab  <schwab@redhat.com>
15175         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
15176         `struct cmsghdr *' instead of `void *'.
15177         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
15178         Likewise.
15180 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
15182         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
15183         if non-absolute.
15184         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
15185         ldd_rewrite_script.
15187 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
15189         * configure.in: Remove --with-tls option.
15190         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
15191         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
15192         out in case it is missing.
15193         * sysdeps/ia64/elf/configure.in: Likewise.
15194         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
15195         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
15196         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
15197         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
15198         * sysdeps/sh/elf/configure.in: Likewise.
15199         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
15200         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
15201         * sysdeps/x86_64/elf/configure.in: Likewise.
15202         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
15203         * sysdeps/mach/hurd/tls.h: Likewise.
15205         [BZ #13067]
15206         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
15208         [BZ #13090]
15209         * configure.in: Fix use of AC_INIT.
15211         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
15213 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
15215         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
15216         __set_errno.
15217         * malloc/hooks.c: Likewise.
15219         [BZ #11929]
15220         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
15221         variables statically.
15222         (narenas): Initialize.
15223         (list_lock): Initialize.
15224         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
15225         initializtion of main_arena and list_lock.  Small cleanups.
15226         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
15227         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
15228         Add initializers to main_arena and mp_.
15229         (malloc_state): Remove pagesize member.  Change all users to use
15230         GLRO(dl_pagesize).
15232         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
15233         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
15234         is always initialized.
15236         * malloc/malloc.c: Removed unused configurations and dead code.
15237         * malloc/arena.c: Likewise.
15238         * malloc/hooks.c: Likewise.
15239         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
15241         * include/tls.h: Removed.  USE___THREAD must always be defined.
15242         * bits/libc-tsd.h: Don't handle !USE___THREAD.
15243         * elf/dl-libc.c: Likewise.
15244         * elf/dl-tsd.c: Likewise.
15245         * include/errno.h: Likewise.
15246         * include/netdb.h: Likewise.
15247         * include/resolv.h: Likewise.
15248         * inet/herrno-loc.c: Likewise.
15249         * inet/herrno.c: Likewise.
15250         * malloc/arena.c: Likewise.
15251         * malloc/hooks.c: Likewise.
15252         * malloc/malloc.c: Likewise.
15253         * resolv/res-state.c: Likewise.
15254         * resolv/res_libc.c: Likewise.
15255         * sysdeps/i386/dl-machine.h: Likewise.
15256         * sysdeps/ia64/dl-machine.h: Likewise.
15257         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
15258         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
15259         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
15260         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
15261         * sysdeps/sh/dl-machine.h: Likewise.
15262         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
15263         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
15264         * sysdeps/unix/i386/sysdep.S: Likewise.
15265         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
15266         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
15267         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
15268         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
15269         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
15270         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
15271         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
15272         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
15273         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
15274         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
15275         * sysdeps/unix/x86_64/sysdep.S: Likewise.
15276         * sysdeps/x86_64/dl-machine.h: Likewise.
15277         * tls.make.c: Likewise.
15279         * configure.in: Remove --with-__thread option.  Make tests for
15280         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
15281         tls_model attribute fail if no support is available.  Remove
15282         USE_IN_LIBIO.
15283         * Makeconfig: Adjust for dropped configure option.  All features are
15284         now mandatory.
15285         * Makerules: Likewise.
15286         * Versions.def: Likewise.
15287         * argp/argp-fmtstream.c: Likewise.
15288         * argp/argp-fmtstream.h: Likewise.
15289         * argp/argp-help.c: Likewise.
15290         * assert/assert.c: Likewise.
15291         * config.h.in: Likewise.
15292         * config.make.in: Likewise.
15293         * configure: Likewise.
15294         * configure.in: Likewise.
15295         * csu/Versions: Likewise.
15296         * csu/init.c: Likewise.
15297         * elf/tst-audit2.c: Likewise.
15298         * elf/tst-tls10.c: Likewise.
15299         * elf/tst-tls10.h: Likewise.
15300         * elf/tst-tls11.c: Likewise.
15301         * elf/tst-tls12.c: Likewise.
15302         * elf/tst-tls14.c: Likewise.
15303         * elf/tst-tlsmod11.c: Likewise.
15304         * elf/tst-tlsmod12.c: Likewise.
15305         * elf/tst-tlsmod13.c: Likewise.
15306         * elf/tst-tlsmod13a.c: Likewise.
15307         * elf/tst-tlsmod14a.c: Likewise.
15308         * elf/tst-tlsmod15b.c: Likewise.
15309         * elf/tst-tlsmod16a.c: Likewise.
15310         * elf/tst-tlsmod16b.c: Likewise.
15311         * elf/tst-tlsmod7.c: Likewise.
15312         * elf/tst-tlsmod8.c: Likewise.
15313         * elf/tst-tlsmod9.c: Likewise.
15314         * gmon/gmon.c: Likewise.
15315         * grp/fgetgrent_r.c: Likewise.
15316         * grp/putgrent.c: Likewise.
15317         * hurd/fopenport.c: Likewise.
15318         * include/libc-symbols.h: Likewise.
15319         * include/tls.h: Likewise.
15320         * intl/gettextP.h: Likewise.
15321         * intl/loadinfo.h: Likewise.
15322         * locale/global-locale.c: Likewise.
15323         * locale/localeinfo.h: Likewise.
15324         * mach/devstream.c: Likewise.
15325         * malloc/arena.c: Likewise.
15326         * malloc/set-freeres.c: Likewise.
15327         * misc/err.c: Likewise.
15328         * misc/getttyent.c: Likewise.
15329         * misc/mntent_r.c: Likewise.
15330         * posix/getopt.c: Likewise.
15331         * posix/wordexp.c: Likewise.
15332         * pwd/fgetpwent_r.c: Likewise.
15333         * resolv/Versions: Likewise.
15334         * resolv/res_hconf.c: Likewise.
15335         * shadow/fgetspent_r.c: Likewise.
15336         * shadow/putspent.c: Likewise.
15337         * stdio-common/printf_fphex.c: Likewise.
15338         * stdio-common/tmpfile.c: Likewise.
15339         * stdlib/abort.c: Likewise.
15340         * stdlib/fmtmsg.c: Likewise.
15341         * sunrpc/auth_unix.c: Likewise.
15342         * sunrpc/clnt_perr.c: Likewise.
15343         * sunrpc/clnt_tcp.c: Likewise.
15344         * sunrpc/clnt_udp.c: Likewise.
15345         * sunrpc/clnt_unix.c: Likewise.
15346         * sunrpc/openchild.c: Likewise.
15347         * sunrpc/svc_simple.c: Likewise.
15348         * sunrpc/svc_tcp.c: Likewise.
15349         * sunrpc/svc_udp.c: Likewise.
15350         * sunrpc/svc_unix.c: Likewise.
15351         * sunrpc/xdr.c: Likewise.
15352         * sunrpc/xdr_array.c: Likewise.
15353         * sunrpc/xdr_rec.c: Likewise.
15354         * sunrpc/xdr_ref.c: Likewise.
15355         * sunrpc/xdr_stdio.c: Likewise.
15357 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
15359         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
15361 2011-07-03  Andreas Jaeger  <aj@suse.de>
15363         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
15364         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
15365         regenerate with gen-libm-tests.pl.
15367 2010-05-12  Petr Baudis  <pasky@suse.cz>
15369         [BZ #11589]
15370         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
15371         around j0() zero points by switching to j1().
15372         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
15373         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
15374         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
15375         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
15377 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
15379         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
15380         instead of 0.
15381         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
15382         instead of 0.                              .
15383         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
15384         Patch in part by Pavel Roskin <proski@gnu.org>.
15386         [BZ #13138]
15387         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
15388         realloc.
15389         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
15390         Free memory block if necessary.
15392         [BZ #12847]
15393         * libio/genops.c (INTDEF): For string streams the _lock pointer can
15394         be NULL.  Don't lock in this case.
15396 2011-09-09  Roland McGrath  <roland@hack.frob.com>
15398         * elf/elf.h (ELFOSABI_GNU): New macro.
15399         (ELFOSABI_LINUX): Define to that.
15401 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
15403         * string/strncat.c (strncat): Undef the symbol in case it has been
15404         defined in bits/string.h.
15406 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
15408         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
15410         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
15411         link map.
15413 2011-08-17  Andreas Jaeger  <aj@suse.de>
15415         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
15417 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
15418             Ian Lance Taylor  <iant@google.com>
15420         * math/libm-test.inc (lround_test): New testcase.
15421         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
15423 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
15425         * Makefile: Remove support for automatic cvs check-ins.
15426         * Makerules: Likewise.
15427         * config.make.in: Likewise.
15428         * configure.in: Likewise.
15429         * intl/Makefile: Likewise.
15430         * locale/Makefile: Likewise.
15431         * po/Makefile: Likewise.
15432         * posix/Makefile: Likewise.
15433         * sysdeps/gnu/Makefile: Likewise.
15434         * sysdeps/mach/hurd/Makefile: Likewise.
15435         * sysdeps/sparc/sparc32/Makefile: Likewise.
15437         [BZ #13118]
15438         * posix/Makefile (bug-regex32-ENV): Define.
15439         Patch by John Stanley <jpsinthemix@verizon.net>.
15441         * misc/Makefile (headers): Add bits/select2.h.
15442         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
15443         * misc/bits/select2.h: New file.
15444         * include/bits/select2.h: New file.
15445         * debug/Makefile (routines): Add fdelt_chk.
15446         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
15447         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
15448         FD_ISSET.
15449         * debug/fdelt_chk.c: New file.
15451         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
15452         * wcsmbs/test-wmemcmp.c: Likewise.
15453         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
15454         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
15456 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
15458         * string/Makefile (strop-tests): Add memcmp.
15459         * string/test-wmemcmp.c: New file.
15460         * string/test-memcmp.c: Add wmemcmp support.
15462 2011-09-08  Roland McGrath  <roland@hack.frob.com>
15464         [BZ #13153]
15465         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
15466         2011-07-19 change.
15468         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
15469         garbage value in a __mach_port_mod_refs call in the cases of the
15470         task-self and thread-self ports.
15472 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15474         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
15476 2011-09-08  Andreas Schwab  <schwab@redhat.com>
15478         * elf/dl-load.c (lose): Check for non-null L.
15480 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
15482         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
15484         * elf/dl-libc.c (dlerror_run): Pass back error code from
15485         dl_catch_error.
15487         [BZ #13123]
15488         * elf/dl-load.c (lose): Free l_origin if it is valid.
15490         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
15491         names.
15492         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
15493         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
15494         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
15495         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
15496         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
15497         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
15499 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15501         * sysdeps/powerpc/fpu/e_hypot.c: New file.
15502         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
15503         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
15504         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
15505         * sysdeps/powerpc/fpu/k_cosf.c: New file.
15506         * sysdeps/powerpc/fpu/k_sinf.c: New file.
15507         * sysdeps/powerpc/fpu/s_cosf.c: New file.
15508         * sysdeps/powerpc/fpu/s_sinf.c: New file.
15509         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
15510         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
15512 2011-08-15  Alan Modra  <amodra@gmail.com>
15514         [BZ #13092]
15515         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
15516         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
15517         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
15518         ppc_mcount to static-only-routines.
15519         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
15520         __mcount_internal.
15521         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
15522         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
15524 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
15526         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
15527         for finite and infinity parameters.
15529 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
15531         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
15532         and add nop instructions for throughput optimization.
15533         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
15535 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
15537         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
15538         aligned copy for power7 with vector-scalar instructions.
15539         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
15541 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
15543         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
15544         AVX check.
15546 2011-09-07  Andreas Schwab  <schwab@redhat.com>
15548         [BZ #13144]
15549         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
15550         last change.
15552 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
15554         * sysdeps/unix/sysv/linux/x86_64/init-first.c
15555         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
15556         syscall wrapper around clock_gettime in __vdso_clock_gettime.
15557         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
15558         clock_gettime.
15560 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
15562         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
15563         Forgot to demangle the pointer.
15565         * sysdeps/i386/sysdep.h: Define atom_text_section.
15566         * sysdeps/x86_64/sysdep.h: Likewise.
15567         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
15568         section with atom_text_section.
15569         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
15570         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
15571         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
15572         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
15573         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
15575         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
15576         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
15577         already be defined.  Change to take two parameters and don't assign
15578         result to variable.  Adjust all users.
15579         Define INTERNAL_GETTIME if not already defined.
15580         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
15581         call.
15582         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
15583         HAVE_CLOCK_GETTIME_VSYSCALL.
15584         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
15586         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
15587         gettimeofday vsyscall, just use time.
15589 2011-09-06  Andreas Schwab  <schwab@redhat.com>
15591         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
15592         <errno.h>.
15594 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
15596         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
15597         syscall on x86-64.
15598         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
15599         syscall.
15600         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
15601         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
15602         syscall if possible.
15604 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
15606         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
15607         e_ident.  Don't pass to find_mapsXX.
15608         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
15610 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
15612         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15613         strchr-sse2-no-bsf strrchr-sse2-no-bsf
15614         * sysdeps/x86_64/multiarch/strchr.S: Update.
15615         Check bit_slow_BSF bit.
15616         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
15617         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
15618         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
15620 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
15622         [BZ #13134]
15623         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
15624         before glibc 2.15.
15625         (tryshell): Define.
15626         (__spawni): Change last parameter to be flag.  Test
15627         SPAWN_XFLAGS_USE_PATH flag to use path or not.
15628         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
15629         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
15630         * posix/spawni.c: Likewise.
15631         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
15632         * posix/spawnp.c: Likewise.  Change normal version to use
15633         SPAWN_XFLAGS_USE_PATH.
15634         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
15635         SPAWN_XFLAGS_TRY_SHELL.
15637         [BZ #13150]
15638         * posix/glob.h: Remove gcc 1.x support.
15640         [BZ #13068]
15641         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
15643 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
15645         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
15646         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
15647         strrchr-sse2-bsf
15648         * sysdeps/i386/i686/multiarch/strchr.S: New file.
15649         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
15650         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
15651         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
15652         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
15653         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
15655 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
15657         * sysdeps/x86_64/wcscmp.S: New file.
15659         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
15660         wcscmp-c wcscmp-sse2
15661         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
15662         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
15663         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
15664         * wcsmbs/wcscmp.c: Allow renaming.
15666 2011-09-05  David S. Miller  <davem@davemloft.net>
15668         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
15669         stack slot, rather than the struct return pointer slot.
15670         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
15671         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
15672         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
15673         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
15675 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
15677         * po/ja.po: Update from translation team.
15679         [BZ #13144]
15680         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
15681         kernel in 64-bit binaries.
15683 2011-09-01  David S. Miller  <davem@davemloft.net>
15685         * elf/elf.h (HWCAP_SPARC_*): Move to..
15686         * sysdeps/sparc/sysdep.h: this new file and add new values.
15687         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
15688         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
15689         _DL_HWCAP_COUNT to 24.
15690         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
15691         entries.
15692         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
15693         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
15694         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
15695         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
15696         instead of magic constants.
15697         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
15699 2011-08-31  David S. Miller  <davem@davemloft.net>
15701         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
15702         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
15703         Reimplement to do errno handling inline.
15704         (SYSCALL_ERROR_HANDLER): New macro.
15705         (__SYSCALL_STRING): Do not do errno handling in asm.
15706         (__CLONE_SYSCALL_STRING): Delete.
15707         (__INTERNAL_SYSCALL_STRING): Delete.
15708         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
15709         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
15710         (PSEUDO): Reimplement to do errno handling inline.
15711         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
15712         (SYSCALL_ERROR_HANDLER): New macro.
15713         (__SYSCALL_STRING): Do not do errno handling in asm.
15714         (__CLONE_SYSCALL_STRING): Delete.
15715         (__INTERNAL_SYSCALL_STRING): Delete.
15716         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
15717         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
15718         i386.
15719         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
15720         (inline_syscall*): Add 'err' argument.
15721         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
15722         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
15723         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
15724         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
15726         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
15727         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
15729 2011-08-30  Andreas Schwab  <schwab@redhat.com>
15731         * elf/rtld.c (dl_main): Relocate objects in dependency order.
15733 2011-08-29  Jiri Olsa <jolsa@redhat.com>
15735         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
15736         directive.
15738 2011-08-24  David S. Miller  <davem@davemloft.net>
15740         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
15742 2011-08-24  Andreas Schwab  <schwab@redhat.com>
15744         * elf/Makefile: Add rules to build and run unload8 test.
15745         * elf/unload8.c: New file.
15746         * elf/unload8mod1.c: New file.
15747         * elf/unload8mod1x.c: New file.
15748         * elf/unload8mod2.c: New file.
15749         * elf/unload8mod3.c: New file.
15751         * elf/dl-close.c (_dl_close_worker): Reset private search list if
15752         it wasn't used.
15754 2011-08-23  David S. Miller  <davem@davemloft.net>
15756         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
15757         subtract stack bias.
15758         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
15759         %sp not %fp in calculations.
15760         (_JMPBUF_UNWINDS_ADJ): Likewise.
15762         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
15763         (aio_suspend): Call it to force an exception region around the
15764         AIO_MISC_WAIT() invocation.
15766 2011-08-23  Andreas Schwab  <schwab@redhat.com>
15768         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
15769         backslash.
15771 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
15773         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
15774         protection macro.
15775         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
15776         and <dl-machine.h>.
15777         (Elf64_FuncDesc): Remove.
15779 2011-08-22  David S. Miller  <davem@davemloft.net>
15781         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
15782         sigaltstack check, add missing cfi directives.
15783         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
15784         missing cfi directives, and sigaltstack handling.
15786 2011-08-16  Andreas Schwab  <schwab@redhat.com>
15788         [BZ #11724]
15789         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
15790         object is seen twice.
15791         * elf/dl-fini.c (_dl_sort_fini): Likewise.
15793         * elf/Makefile (distribute): Add tst-initorder2.c.
15794         (tests): Add tst-initorder2.
15795         (modules-names): Add tst-initorder2a tst-initorder2b
15796         tst-initorder2c tst-initorder2d.  Add rules to build them.
15797         ($(objpfx)tst-initorder2.out): New rule.
15798         * elf/tst-initorder2.c: New file.
15799         * elf/tst-initorder2.exp: New file.
15801 2011-08-22  Andreas Schwab  <schwab@redhat.com>
15803         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
15805         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
15806         dependencies back to end of function.
15808         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
15809         $(elfobjdir)/ld.so.
15811 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
15813         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
15814         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
15815         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
15816         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
15817         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
15818         of __vdso_gettimeofday.
15819         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
15820         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
15821         attribute_hidden.
15822         (_libc_vdso_platform_setup): Remove initialization of
15823         __vdso_gettimeofday and __vdso_time.
15825 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
15827         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
15828         and fgetc_unlocked.
15829         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
15830         getc_unlocked.
15832         * elf/dl-open.c (add_to_global): Report additions to the global scope
15833         for LD_DEBUG=scopes.
15834         (dl_open_worker): Also print scope of newly loaded dependencies.
15835         (_dl_show_scope): Indicate if there is no scope.
15837         [BZ #13114]
15838         * stdio-common/Makefile (tests): Add bug24.
15839         * stdio-common/bug24.c: New file.
15841 2011-08-19  Andreas Jaeger  <aj@suse.de>
15843         [BZ #13114]
15844         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
15845         non-existant file when using close-on-exec mode.
15847 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
15849         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
15850         the very first instruction.
15852         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
15853         the CFI state in the end.
15854         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
15855         inclusion of dl-trampoline.h.
15856         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
15858 2011-08-19  Andreas Schwab  <schwab@redhat.com>
15860         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
15861         expectations for long double.
15863         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
15864         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
15866 2011-08-14  David S. Miller  <davem@davemloft.net>
15868         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
15869         artificual limit depends upon the system page size.
15871 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
15873         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
15874         * resolv/Makefile: Define CFLAGS-libresolv.
15876 2011-08-17  Andreas Schwab  <schwab@redhat.com>
15878         * nss/makedb.c (compute_tables): Make variables used in nested
15879         function static.
15881 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
15883         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
15884         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
15885         if buffer was too small.
15887         * elf/pldd.c (main): Attach to all threads in the process.
15888         Rewrite /proc handling to use *at functions.
15890 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
15892         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
15893         specifies first scope to show.
15894         (dl_open_worker): Update callers.  Move printing scope of new
15895         object to before the relocation.
15896         * elf/rtld.c (dl_main): Update _dl_show_scope call.
15897         * sysdeps/generic/ldsodefs.h: Update declaration.
15899         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
15900         string for the scope number.
15902 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
15904         * nscd/servicescache.c (cache_addserv): Make sure written is always
15905         initialized.
15907 2011-08-14  Roland McGrath  <roland@hack.frob.com>
15909         * sysdeps/i386/i486/bits/atomic.h
15910         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
15911         statement expression, so as to suppress "set but not used" warning.
15912         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
15914         * string/strncat.c (STRNCAT): Use prototype definition.
15916         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
15917         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
15918         -Iprograms here.
15919         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
15920         (localedef-modules): Add localedef.
15921         (locale-modules): Add locale.
15923         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
15924         * elf/rtld.c (dl_main): Invert order of assignment in last change,
15925         to avoid a warning.
15927 2011-08-14  David S. Miller  <davem@davemloft.net>
15929         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
15930         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
15932 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
15934         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
15935         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
15936         * elf/rtld.c (dl_main): Set l_name of vDSO.
15937         Call _dl_show_scope when DL_DEBUG_SCOPES.
15938         (process_dl_debug): Recognize scopes flag and also set it for all.
15939         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
15940         Declare _dl_show_scope.
15942         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
15943         (do_dlopen): Pass caller_dlopen to dl_open.
15944         (__libc_dlopen_mode): Initialize caller_dlopen.
15946         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
15947         of libc.  Make tolower call locale-independent.  Optimize a bit by
15948         using isdigit instead of isalnum.
15949         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
15951 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
15953         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
15954         was a dependency or dynamically loaded.
15956 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
15958         * intl/l10nflist.c: Allow architecture-specific pop function.
15959         * sysdeps/x86_64/l10nflist.c: New file.
15961         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
15962         classification.
15964 2011-08-10  Andreas Schwab  <schwab@redhat.com>
15966         * include/dirent.h: Add libc_hidden_proto for scandirat and
15967         scandirat64.  Don't declare __scandirat64.
15968         * dirent/scandirat.c: Add libc_hidden_def.
15969         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
15970         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
15972 2011-08-10  David S. Miller  <davem@davemloft.net>
15974         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
15975         enum.
15976         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
15977         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
15978         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
15980 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
15982         * Versions.def [libc]: Add GLIBC_2.15.
15983         * dirent/Makefile (routines): Add scandirat and scandirat64.
15984         * dirent/Versions [libc]: Export scandirat and scandirat64 for
15985         GLIBC_2.15.
15986         * dirent/dirent.h: Declare scandirat and scandirat64.
15987         * dirent/scandirat.c: New file.
15988         * dirent/scandirat64.c: New file.
15989         * sysdeps/wordsize-64/scandirat.c: New file.
15990         * sysdeps/wordsize-64/scandirat64.c: New file.
15991         * dirent/opendir.c: Define opendirat.
15992         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
15993         using scandirat.
15994         * dirent/scandir64.c: Adjust for scandir.c change.
15995         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
15996         __scandirat64, and __scandir_cancel_handler.
15997         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
15998         additional parameter and use openat instead of open (outside of ld.so).
15999         Add new __opendir as wrapper around __opendirat.
16000         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
16001         here without requiring old scandirat implementation.
16003 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
16005         * dirent/scandir.c (cancel_handler): Renamed to
16006         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
16007         defined.  Adjust users.
16008         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
16009         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
16011 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
16013         * string/test-string.h (IMPL): Use __STRING to expand name and then
16014         stringify it.
16016         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
16017         of cleanups.
16019 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
16021         * string/Makefile: Update.
16022         (strop-tests): Append strncat.
16023         * string/test-wcscmp.c: New file.
16024         New comprehensive test for wcscmp.
16025         * string/test-strcmp.c: Update.
16026         (WIDE): New define.
16028 2011-07-22  Andreas Schwab  <schwab@redhat.com>
16030         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
16031         line.
16033 2011-07-26  Andreas Schwab  <schwab@redhat.com>
16035         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
16036         encoding to ACE if AI_IDN.
16038 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
16040         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
16041         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
16043 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
16045         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
16046         Fix overflow bug in strncat.
16047         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
16049         * string/test-strncat.c: Update.
16050         Add new tests for checking overflow bugs.
16052 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
16054         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
16055         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
16056         * sysdeps/i386/i686/multiarch/strcat.S: New file.
16057         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
16058         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
16059         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
16060         * sysdeps/i386/i686/multiarch/strncat.S: New file.
16061         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
16062         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
16064         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
16065         (USE_AS_STRCAT): Define.
16066         Add strcat and strncat support.
16067         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
16069 2011-07-25  Andreas Schwab  <schwab@redhat.com>
16071         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
16072         __n bigger than INT_MAX+1.
16073         (__strncmp_g): Likewise.
16075 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
16077         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
16078         * libio/stido.h: Likewise.
16080         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
16081         (AF_NFC): Define.
16082         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
16083         (AF_NFC): Define.
16085         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
16086         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
16087         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
16088         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
16089         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
16091         [BZ #13021]
16092         * scripts/test-installation.pl: Don't expect libnss_test1 to be
16093         installed.
16095         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
16096         typo.
16097         (_dl_x86_64_save_sse): Likewise.
16099 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
16101         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
16102         OSXSAVE.
16103         (_dl_x86_64_save_sse): Likewise.
16105         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
16107         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
16109 2011-07-21  Andreas Schwab  <schwab@redhat.com>
16111         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
16112         change.
16113         (_dl_x86_64_save_sse): Use correct AVX check.
16115 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
16117         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
16118         bug in strncpy/strncat.
16119         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
16121 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
16123         * string/tester.c (test_strcat): Add tests for different alignments
16124         of source and destination.
16125         (test_strncat): Likewise.
16127 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
16129         [BZ #12852]
16130         * posix/glob.c (glob): Check passed in values before using them in
16131         expressions to avoid some overflows.
16132         (glob_in_dir): Likewise.
16134         [BZ #13007]
16135         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
16136         check for AVX enablement so that we don't crash with old kernels and
16137         new hardware.
16138         * elf/tst-audit4.c: Add same checks here.
16139         * elf/tst-audit6.c: Likewise.
16141         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
16143 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
16145         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
16147 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
16149         * po/cs.po: Update from translation team.
16150         * po/bg.po: Likewise.
16152 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
16154         * misc/sys/cdefs.h: Add support for const attribute.
16155         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
16156         to gnu_dev_{major,minor,makedev} functions.
16158 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
16160         * intl/dcigettext.c (get_output_charset): Add missing bracket.
16162 2011-07-20  Andreas Schwab  <schwab@redhat.com>
16164         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
16165         strlen results.
16167 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
16169         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
16170         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
16171         register in order to avoid conflicts with the soft frame pointer
16172         being held in r11 when necessary.
16173         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
16174         (INTERNAL_VSYSCALL_NCS): Likewise.
16176 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
16178         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
16179         * elf/dl-fini.c (_dl_fini): Adjust caller.
16180         * elf/dl-close.c (_dl_close_worker): Likewise.
16181         * sysdeps/generic/ldsodefs.h: Adjust declaration.
16183 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
16185         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
16186         "aux_cache->nlibs < 0".
16188         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
16189         in the reload-count case.
16191 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
16193         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
16194         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
16195         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
16196         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
16197         * sysdeps/x86_64/multiarch/strcat.S: New file.
16198         * sysdeps/x86_64/multiarch/strncat.S: New file.
16199         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
16200         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
16201         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
16202         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
16203         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
16204         (USE_AS_STRCAT): Define.
16205         Add strcat and strncat support.
16206         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
16207         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
16208         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
16209         * string/strncat.c: Update.
16210         (USE_AS_STRNCAT): Define.
16211         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16212         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
16213         and i7.
16214         * sysdeps/x86_64/multiarch/init-arch.h
16215         (bit_Prefer_PMINUB_for_stringop): New.
16216         (index_Prefer_PMINUB_for_stringop): Likewise.
16217         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
16218         bit_Prefer_PMINUB_for_stringop.
16220 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
16222         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
16223         buffer64.
16224         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
16225         of casting of buffer.
16226         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
16227         buffer32 and buffer64.
16228         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
16229         writes instead of casting of buffer.
16230         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
16231         buffer32.
16232         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
16233         casting of buffer.
16235 2011-07-19  Andreas Schwab  <schwab@redhat.com>
16237         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
16239 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
16241         * nscd/nscd.c (termination_handler): Don't do anything for a database
16242         if it has not yet been initialized.
16244 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
16246         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
16248 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
16250         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
16252 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
16254         * po/nl.po: Update from translation team.
16255         * po/sv.po: Likewise.
16257 2011-07-16  Roland McGrath  <roland@hack.frob.com>
16259         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
16260         now disallowed by GCC.
16262         * configure.in (use-default-link): Default to yes if a test -shared
16263         link meets our qualifications.
16264         * configure: Regenerated.
16266         * config.make.in (output-format): New variable.
16267         * configure.in: Check for ld --print-output-format support.
16268         * configure: Regenerated.
16269         * Makerules ($(common-objpfx)format.lds)
16270         [$(output-format) != unknown]: Just use $(output-format),
16271         instead of the linker-script munging.
16273 2011-07-14  Roland McGrath  <roland@hack.frob.com>
16275         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
16276         of $(common-objpfx)shlib.lds.
16277         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
16279         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
16280         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
16282         * configure.in (-z relro check): Adjust test code to add a large
16283         writable data section after it.
16284         * configure: Regenerated.
16286 2011-07-11  Roland McGrath  <roland@hack.frob.com>
16288         * configure.in (-z relro check): Fix test code to make the variable
16289         truly const.
16290         * configure: Regenerated.
16292 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
16294         * nscd/nscd.h (struct traced_file): Define.
16295         (struct database_dyn): Remove inotify_descr, reset_res, and filename
16296         elements.  Add traced_files.
16297         (inotify_fd): Declare.
16298         (register_traced_file): Declare.
16299         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
16300         (inotify_fd): Export.
16301         (resolv_conf_descr): Remove.
16302         (nscd_init): Move inotify descriptor creation to main.
16303         Don't register files for notification here.
16304         (register_traced_file): New function.
16305         (invalidate_cache): Don't use reset_res to determine whether to call
16306         res_init, go through the list of registered files.
16307         (main_loop_poll): The inotify descriptors are now stored in the
16308         structures for the traced files.
16309         (main_loop_epoll): Likewise
16310         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
16311         to __nss_disable_nscd.
16312         * nscd/cache.c (prune_cache): There is no single inotify descriptor
16313         for a database anymore.  Check the records for all the registered
16314         files instead.
16315         * nss/Makefile (libnss_files-routines): Add files-init.
16316         (libnss_db-routines): Add db-init.
16317         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
16318         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
16319         * nss/nss_db/db-init.c: New file.
16320         * nss/nss_files/files-init.c: New file.
16321         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
16322         __nss_lookup_function.
16323         (__nss_lookup_function): Call nss_load_library.
16324         (nss_load_all_libraries): New function.
16325         (__nss_disable_nscd): Take parameter with callback function for files
16326         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
16327         used for the cached services.
16328         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
16329         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
16330         options for features to all the files in nscd.
16332         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
16334 2011-07-10  Roland McGrath  <roland@hack.frob.com>
16336         * csu/elf-init.c (__libc_csu_init): Comment typo.
16338 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
16340         * po/pl.po: Update from translation team.
16341         * po/ja.po: Likewise.
16342         * po/ru.po: Likewise.
16343         * po/ko.po: Likewise.
16344         * po/fr.po: Likewise.
16346 2011-07-09  Roland McGrath  <roland@hack.frob.com>
16348         * configure.in (.ctors/.dtors header and trailer check):
16349         Use an empirical test on a built program.
16350         * configure: Regenerated.
16352         * configure.in (-z relro check): Use an empirical test on a built DSO.
16353         Detect, but do not require, on ia64.
16354         * configure: Regenerated.
16356         * configure.in (READELF): Find it with AC_CHECK_TOOL.
16357         Update tests that use readelf to use $READELF instead.
16358         * configure: Regenerated.
16360 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
16362         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
16363         if the result is not used.
16365 2011-07-05  Andreas Jaeger  <aj@suse.de>
16367         [BZ#9696]
16368         * stdlib/tst-strtod.c: Add testcase.
16370 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
16372         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
16373         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
16374         The latter has a higher limit.  Take additional parameter to pass to
16375         the new function.
16376         (__pathconf): Pass file to __statfs_link_max.
16377         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
16378         __statfs_link_max.
16379         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
16380         __statfs_link_max.
16382         [BZ #12868]
16383         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
16384         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
16385         Handle Lustre.
16386         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
16387         (__statfs_filesize_max): Likewise.
16388         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
16390 2011-07-05  Andreas Jaeger  <aj@suse.de>
16392         * resolv/res_comp.c (dn_skipname): Remove unused variable.
16394 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
16396         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
16397         `status' variable.
16398         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
16399         Likewise.
16401 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
16403         * Makefile (strop-tests): Add strncat.
16404         * string/test-strncat.c: New file.
16406 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
16408         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
16410 2011-06-21  Andreas Jaeger  <aj@suse.de>
16412         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
16413         Copy rule from iconvdata/Makefile.
16415 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
16417         [BZ #12922]
16418         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
16419         but no long options are defined, just return 'W'.
16421 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
16423         [BZ #9696]
16424         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
16426 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
16428         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
16429         netgroups to read.
16430         (innetgr): Likewise.
16432 2011-07-05  Roland McGrath  <roland@hack.frob.com>
16434         * config.make.in (install_root): Default to $(DESTDIR).
16436 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
16438         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
16440 2011-07-02  Roland McGrath  <roland@hack.frob.com>
16442         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
16444         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
16445         containing directory rather than embedding absolute directory names.
16447         * scripts/check-local-headers.sh: Rewritten using awk.
16448         Match by word, not by line.  Print error messages for matches.
16449         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
16451         * Makerules [shlib-lds-flags empty]:
16452         ($(common-objpfx)libc_pic.opts): New target.
16453         ($(common-objpfx)libc_pic.os.clean): New target.
16454         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
16456         * config.make.in (OBJCOPY): New variable.
16457         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
16458         * configure: Regenerated.
16460         * config.make.in (use-default-link): New variable.
16461         * configure.in (use_default_link): Grok --with-default-link to set it.
16462         * configure: Regenerated.
16463         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
16464         (shlib-lds, shlib-lds-flags): Define to empty.
16466         * Makerules (shlib-lds): New variable.
16467         (shlib-lds-flags): New variable.
16468         (build-shlib, build-moduile, build-module-asneeded): Use it.
16469         ($(common-objpfx)libc.so): Use $(shlib-lds).
16470         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
16471         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
16473         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
16474         DT_FLAGS/DT_FLAGS_1 with zero flags.
16476         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
16477         linker script munging.
16479 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
16481         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
16482         as 128-bit value.
16483         * crypt/sha512.c (sha512_process_block): Perform total addition using
16484         128-bit if possible.
16485         (__sha512_finish_ctx): Likewise.
16486         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
16487         as 64-bit value.
16488         * crypt/sha256.c (SWAP64): Define.
16489         (sha256_process_block): Perform total addition using 64-bit if
16490         possible.
16491         (__sha256_finish_ctx): Likewise.
16493 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
16495         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
16496         * nscd/initgrcache.c (addinitgroupsX): Likewise.
16497         * nscd/hstcache.c (cache_addhst): Likewise.
16498         * nscd/grpcache.c (cache_addgr): Likewise.
16499         * nscd/aicache.c (addhstaiX): Likewise
16500         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
16502 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
16504         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
16505         * nscd/initgrcache.c (addinitgroupsX): Likewise.
16506         * nscd/hstcache.c (cache_addhst): Likewise.
16507         * nscd/grpcache.c (cache_addgr): Likewise.
16508         * nscd/aicache.c (addhstaiX): Likewise
16510 2011-07-01  Andreas Schwab  <schwab@redhat.com>
16512         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
16513         domain only when needed.
16515 2011-06-30  Andreas Schwab  <schwab@redhat.com>
16517         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
16518         is always restored.
16520 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
16522         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
16523         are re-adding the entry.
16524         * nscd/servicescache.c (cache_addserv): Likewise.
16526 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
16528         * sysdeps/generic/dl-irel.h: fix protection against multiple
16529         inclusions.
16530         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
16532 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
16534         [BZ #12935]
16535         * malloc/memusage.sh: Fix quoting in message.
16536         * debug/xtrace.sh: Likewise.
16538         * configure.in: Remove support for --experimental-malloc option, make
16539         it the default.
16540         * config.make.in: Likewise.
16541         * malloc/Makefile: Likewise.
16543 2011-06-27  Andreas Schwab  <schwab@redhat.com>
16545         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
16546         two-byte characters.
16548 2011-06-27  Roland McGrath  <roland@hack.frob.com>
16550         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
16551         AC_CACHE_CHECK invocation.
16552         * configure: Regenerated.
16554         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
16556 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
16558         [BZ #12350]
16559         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
16560         bit from old_res_options.
16562         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
16564         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
16565         value type for setfct.
16567 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
16569         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
16570         __gettimeofday instead of gettimeofday.
16572 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
16574         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
16576 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
16578         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
16580         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
16581         info.
16583 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
16585         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
16586         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
16587         strcpy-sse2-unaligned strncpy-sse2-unaligned
16588         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
16589         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
16590         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
16591         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
16592         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
16593         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
16594         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
16595         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
16596         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
16597         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
16598         (STRCPY): Support SSE2 and SSSE3 versions.
16600 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
16602         [BZ #12874]
16603         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
16604         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
16605         kernels which artificially limit size of requests.
16607 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
16609         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
16610         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
16611         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
16612         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
16613         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
16614         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
16615         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
16616         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
16617         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
16618         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
16619         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
16620         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
16621         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
16622         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
16623         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
16624         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16625         Enable unaligned load optimization for Intel Core i3, i5 and i7
16626         processors.
16627         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
16628         Define.
16629         (index_Fast_Unaligned_Load): Define.
16630         (HAS_FAST_UNALIGNED_LOAD): Define.
16632 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
16634         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
16636 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
16638         [BZ #12907]
16639         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
16640         until it is clear that the information is realy needed.
16641         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
16643 2011-06-22  Andreas Schwab  <schwab@redhat.com>
16645         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
16647 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
16649         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
16650         /sys/devices/system/cpu/online if it is usable.
16652         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
16653         reading the information from the /proc filesystem to once a second.
16655 2011-06-21  Andreas Jaeger  <aj@suse.de>
16657         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
16658         NULL after inclusion of kernel headers.
16660 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
16662         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
16663         calls to internal_setent.
16665         [BZ #12885]
16666         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
16667         addresses using gethostbyname4_r ignore IPv4 addresses.
16669         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
16670         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
16672         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
16674 2011-06-20  David S. Miller  <davem@davemloft.net>
16676         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
16677         inclusions.
16678         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
16680         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
16681         (elf_irel): Use it.
16682         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
16683         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
16684         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
16685         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
16686         * sysdeps/x86_64/dl-irel.h: Likewise.
16688         * elf/dl-runtime.c: Use elf_ifunc_invoke.
16689         * elf/dl-sym.c: Likewise.
16691 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
16693         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
16694         need to dereference resplen2.
16696 2011-06-14  Andreas Schwab  <schwab@redhat.com>
16698         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
16700 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
16702         * Makeconfig: Define vardbdir and inst_vardbdir.
16703         * nss/Makefile: Add rules to install db-Makefile.
16705         * nss/nss_db/db-XXX.c: Cleanup.
16707         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
16708         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
16709         GLIBC_PRIVATE.
16710         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
16711         * nss/makedb.c: Implement -g option to specify that value strings
16712         are generated and should not be added to table iterated over for
16713         get*ent calls.
16714         * nss/nss_db/db-initgroups.c: New file.
16716         * nss/getent.c: Add support for initgroups lookups through getgrouplist
16717         interface.
16719         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
16720         (internal_getgrouplist): Adjust to name change.
16721         Update use_initgroups_entry if this is not the first call.
16722         * nss/databases.def: Add initgroups entry.
16724         * nss/makedb.c (compute_tables): Check result of multiple hash table
16725         sizes to minimize maximum chain length.
16727 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
16729         * Versions.def: Add entry for libnss_db.
16730         * shlib-versions: Likewise.
16731         * nss/Makefile: Add rules to build libnss_db.
16732         * nss/Versions: Add libnss_db information.  Organize libnss_files
16733         entries better.
16734         * nss/db-Makefile: Add gshadow support.  Change rules for the new
16735         makedb progra.  Some minor improvements to generate smaller files.
16736         * nss/nss_db/nss_db.h: Move NSS database header data structures to
16737         here from...
16738         * nss/makedb.c: ...here.
16739         Improve database format to be smaller and require less memory at
16740         runtime.
16741         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
16742         db anymore.
16743         * nss/nss_db/db-netgrp.c: Likewise.
16744         * nss/nss_db/db-open.c: Likewise.
16745         * nss/nss_files/flies-XXX.x: Adjust comments.
16746         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
16747         * nss/nss_files/files-grp.c: Likewise.
16748         * nss/nss_files/files-hosts.c: Likewise.
16749         * nss/nss_files/files-network.c: Likewise.
16750         * nss/nss_files/files-proto.c: Likewise.
16751         * nss/nss_files/files-pwd.c: Likewise.
16752         * nss/nss_files/files-rpc.c: Likewise.
16753         * nss/nss_files/files-service.c: Likewise.
16754         * nss/nss_files/files-sgrp.c: Likewise.
16755         * nss/nss_files/files-spwd.c: Likewise.
16756         * nss/nss_db/db-alias.c: Removed.
16757         * nss/nss_db/dummy-db.h: Removed.
16759 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
16761         * nss/makedb.c: Rewritten to not use database library.
16762         * nss/Makefile: Update to build new makedb program.
16764 2011-06-14  Andreas Jaeger  <aj@suse.de>
16766         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
16767         memset declaration.
16769 2011-06-10  Andreas Schwab  <schwab@redhat.com>
16771         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
16772         tmpbuf.
16774 2011-06-10  Roland McGrath  <roland@hack.frob.com>
16776         * Makerules (shlib.lds): Fail if the linker script comes out empty.
16777         * elf/Makefile ($(objpfx)ld.so): Likewise.
16779         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
16780         Don't list ld.so twice in dependencies.
16782         * posix/bug-regex31.c: Include <stdlib.h>.
16784         * nscd/hstcache.c (cache_addhst): Remove unused variable.
16786         * nis/nss_compat/compat-spwd.c
16787         (getspent_next_nss_netgr): Remove unused variable.
16788         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
16790         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
16791         nonmembers" output to use the right array.
16793         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
16795         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
16797         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
16798         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
16799         * catgets/gencat.c (read_input_file): Likewise.
16800         * locale/programs/locarchive.c (enlarge_archive): Likewise.
16802         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
16803         variable definition inside #if's controlling its use.
16805         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
16807         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
16809         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
16811         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
16812         unreachable code.
16814         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
16816         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
16817         * configure: Regenerated.
16819         * Makerules: Revert last change.
16820         * elf/Makefile: Likewise.
16822 2011-06-09  Roland McGrath  <roland@hack.frob.com>
16824         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
16825         * elf/Makefile ($(objpfx)librtld.os): Likewise.
16826         (reloc-link): Likewise.
16828 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
16830         * elf/Makefile: Add rules to build pldd.
16831         * elf/pldd.c: New file.
16832         * elf/pldd-xx.c: New file.
16834 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
16836         * version.h: Update for 2.15 development version.
16838 2011-06-07  David S. Miller  <davem@davemloft.net>
16840         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
16841         ifuncs.
16842         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
16843         elf_machine_lazy_rel): Likewise.
16844         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
16845         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
16846         elf_machine_lazy_rel): Likewise.
16847         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
16848         dl_hwcap via passed in argument.
16849         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
16850         Likewise.
16852 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
16854         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
16856 2011-06-06  Roland McGrath  <roland@hack.frob.com>
16858         [BZ #12849]
16859         * manual/fdl-1.1.texi: New file, verbatim from:
16860         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
16861         * manual/lgpl-2.1.texi: New file, verbatim from:
16862         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
16863         * manual/Makefile (licenses): New variable, list those new file names.
16864         (texis): Use it.
16865         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
16867         * manual/fdl.texi: File removed.
16868         * manual/lesser.texi: File removed.
16869         * manual/libc.texinfo (Copying, Documentation License):
16870         Use new @include file names, put @appendix directive before @include.
16872 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
16874         [BZ #12841]
16875         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
16876         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
16877         (mq_open): Add __NTH.
16879 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
16881         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16882         Assume Intel Core i3/i5/i7 processor if AVX is available.
16884 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
16886         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
16887         typo.
16889 2011-05-31  Andreas Schwab  <schwab@redhat.com>
16891         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
16892         memory.  Use alloca_account.  Fix memory leak when retrying.
16894 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
16896         * version.h (RELEASE): Bump for 2.14 release.
16897         * include/features.h (__GLIBC_MINOR__): Bump to 14.
16899         * config.make.in (RANLIB): Remove entry.
16901 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
16903         * po/Makefile (po-sed-cmd): Add ksh to extensions.
16904         (libc.pot): Work around missing support for .ksh extension in xgettext.
16906         [BZ #12684]
16907         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
16908         if both request failed.
16909         (send_dg): In case of server errors clear resplen or *resplen2.
16911         [BZ #12454]
16912         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
16913         when there are multiple maps.
16914         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
16915         (_dl_fini): Remove test here.
16917         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
16919 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
16921         [BZ #12350]
16922         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
16923         bit from old_res_options.
16924         (gaih_inet): Likewise.
16926         [BZ #11099]
16927         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
16928         as signed.
16930         * resolv/res_init.c (res_setoptions): Make the code more compact.
16932         [BZ #11558]
16933         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
16934         set RES_USEVC.
16936         [BZ #11634]
16937         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
16939         * malloc/malloc.h: Mark malloc hook variables as deprecated.
16941         [BZ #11781]
16942         * malloc/malloc.h: Declare malloc hook variables as volatile.
16944         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
16945         in last patch.
16947         [BZ #11799]
16948         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
16949         raise in the comment.
16950         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
16951         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
16952         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
16954 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
16956         [BZ #12811]
16957         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
16958         grow the buffers more if it already has to be sufficient.
16959         (build_wcs_upper_buffer): Likewise.
16960         * posix/regexec.c (check_matching): Likewise.
16961         (clean_state_log_if_needed): Likewise.
16962         (extend_buffers): Don't enlarge buffers beyond size of the input
16963         buffer.
16964         Patches mostly by Emil Wojak <emil@wojak.eu>.
16965         * posix/bug-regex32.c: New file.
16966         * posix/Makefile (tests): Add bug-regex32.
16968         * locale/findlocale.c (_nl_find_locale): Return right away if
16969         _nl_explode_name failed.
16970         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
16972         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
16974         * debug/xtrace.sh: Unify messages.
16975         * malloc/memusage.sh: Likewise.
16977         [BZ #12813]
16978         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
16979         time symbol from vDSO.  Substitute with vsyscall if not available.
16980         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
16981         __vdso_time.
16983         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
16984         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
16985         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
16986         Add sendmmsg and internal_sendmmsg.
16987         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
16988         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
16989         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
16991         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
16992         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
16993         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
16995 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
16997         [BZ #12813]
16998         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
16999         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
17000         available.
17001         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
17002         __vdso_getcpu.
17004         [BZ #12814]
17005         * iconvdata/Makefile (tests): Add bug-iconv9.
17006         * iconvdata/bug-iconv9.c: New file.
17008 2011-05-27  Andreas Schwab  <schwab@redhat.com>
17010         [BZ #12814]
17011         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
17013 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
17015         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
17016         (struct user_regs_struct): Change intcs field back to cs.
17018 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
17020         * po/ja.po: Update from translation team.
17022 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
17024         [BZ #12795]
17025         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
17026         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
17028 2011-05-20  Andreas Schwab  <schwab@redhat.com>
17030         * stdlib/longlong.h: Update from GCC.
17032 2011-05-23  Andreas Schwab  <schwab@redhat.com>
17034         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
17035         parameter name.
17036         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
17037         Add parameter name.
17038         (__sysconf): Pass it down.
17040 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
17042         [BZ #12671]
17043         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
17044         some situations.
17045         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
17046         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
17047         add in in __libc_use_alloca calls.  Adjust callers.
17048         (glob): Use malloc in some situations.
17050         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
17051         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
17052         pltexit.
17054 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
17056         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
17057         and CLOCK_BOOTTIME_ALARM.
17059         [BZ #12782]
17060         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
17061         is returned.
17063         * string/_strerror.c (__strerror_r): Print negative errors as signed
17064         numbers.
17066         [BZ #12777]
17067         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
17068         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
17069         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
17071         * configure.in: Fix typo in redirection and correct removal of test
17072         files in two cases.
17074         [BZ #12788]
17075         * locale/setlocale.c (new_composite_name): Fix test to check for
17076         identical name of all categories.
17078         [BZ #12792]
17079         * libio/filedoalloc.c (local_isatty): New function.
17080         (_IO_file_doallocate): Use local_isatty.
17081         * stdio-common/perror.c (perror): In case a new stream is used
17082         forward the stream error.
17083         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
17084         error flag.
17086 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
17088         [BZ #11869]
17089         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
17090         alloca.
17091         * include/alloca.h (extend_alloca_account): Define.
17093         [BZ #11857]
17094         * posix/regex.h: Fix comments with documentation of user-accessible
17095         fields after compilation and describe correct free'ing of pattern
17096         after re_compile_pattern.
17097         Patch by Reuben Thomas <rrt@sc3d.org>.
17099 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
17101         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
17102         and -mno-altivec to prevent the compiler from using Altivec and/or
17103         VSX instructions when the corresponding registers are not available.
17105 2011-05-19  Andreas Schwab  <schwab@redhat.com>
17107         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
17109 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
17111         * libio/freopen.c (freopen): Use __dup2, not dup2.
17112         * libio/freopen64.c (freopen64): Likewise.
17114 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
17116         [BZ #12775]
17117         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
17118         * math/Makefile (tests): Add test-powl.
17119         (CFLAGS-test-powl.c): Define.
17120         * math/test-powl.c: New file.
17122 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
17124         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
17126 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
17128         [BZ #11837]
17129         * iconvdata/gb18030.c: Update to GB18020-2005.
17131 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
17133         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
17134         RE_SYNTAX_POSIX_AWK): Update to match recent development.
17135         Patch by Aharon Robbins <arnold@skeeve.com>.
17137         [BZ #11892]
17138         * stdlib/putenv.c (putenv): Don't always create copy of the variable
17139         on the stack.
17141         [BZ #11895]
17142         * misc/pselect.c (__pselect): Handle timeout value errors hidden
17143         through underflows.
17145         [BZ #12766]
17146         * misc/error.c (error_at_line): Ensure file_name and old_file_name
17147         point to strings before performing equality test for error_one_per_line
17148         mode.
17150         [BZ #11697]
17151         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
17153         [BZ #11820]
17154         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
17155         (struct user_fpregs_struct): Avoid __uint*_t types.
17157         [BZ #6420]
17158         * malloc/mtrace.c (tr_where): Add additional parameter to point to
17159         symbol info.  Use it instead of calling _dl_addr locally.
17160         (lock_and_info): New function.
17161         (tr_freehook): Call lock_and_info and pass symbol info as additional
17162         parameter to tr_where.
17163         (tr_mallochook): Likewise.
17164         (tr_reallochook): Likewise.
17165         (tr_memalignhook): Likewise.
17167         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
17168         used and couldn't be at all thread-safe.
17170 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
17172         * libio/freopen.c (freopen): Don't close old file descriptor
17173         before the new one is opened.  Instead dup the new file descriptor
17174         to the old one after the new stream is created.
17175         * libio/freopen64.c (freopen64): Likewise.
17176         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
17177         * libio/fileops.c (_IO_new_file_close_it): Handle new
17178         _IO_FLAGS2_NOCLOSE flag.
17179         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
17180         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
17181         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
17182         _IO_FLAGS2_NOCLOSE flag.
17183         * include/unistd.h: Add hidden_proto for dup3.
17184         Define __have_dup3.
17185         * io/dup3.c: Define hidden symbol.
17186         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
17188         [BZ #7101]
17189         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
17190         when an incomplete long option is used.
17191         * posix/tst-getopt_long1.c: New file.
17192         * posix/Makefile (tests): Add tst-getopt_long1.
17194         [BZ #10138]
17195         * scripts/config.guess: Update from autoconf-2.68.
17196         * scripts/config.sub: Likewise.
17198         [BZ #10157]
17199         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
17200         tests into ...
17201         (has_cpuclock): ...this.  New function.
17202         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
17203         macro here based on has_cpuclock code.
17205         [BZ #10149]
17206         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
17207         First byte (not low byte) is now always NUL.
17208         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
17210         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
17211         Use non-cancelable interfaces.
17213         [BZ #9809]
17214         * locale/iso-639.def: Add entry for Sorani.
17216         [BZ #11901]
17217         * include/stdlib.h: Move include protection to the right place.
17218         Define abort_msg_s.  Declare __abort_msg with it.
17219         * stdlib/abort.c (__abort_msg): Adjust type.
17220         * assert/assert.c (__assert_fail_base): New function.  Majority
17221         of code from __assert_fail.  Allocate memory for __abort_msg with
17222         mmap.
17223         (__assert_fail): Now call __assert_fail_base.
17224         * assert/assert-perr.c: Remove bulk of implementation.  Use
17225         __assert_fail_base.
17226         * include/assert.hL Declare __assert_fail_base.
17227         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
17228         mmap.
17229         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
17231 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
17233         [BZ #11952]
17234         [BZ #12453]
17235         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
17236         until all modules are registered in the DTV.
17237         * elf/Makefile: Add rules to build and run tst-tls19.
17238         * elf/tst-tls19.c: New file.
17239         * elf/tst-tls19mod1.c: New file.
17240         * elf/tst-tls19mod2.c: New file.
17241         * elf/tst-tls19mod3.c: New file.
17242         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
17244         [BZ #12083]
17245         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
17246         correctly.
17248         [BZ #12601]
17249         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
17250         two-byte sequence errors.
17251         * iconvdata/Makefile (tests): Add bug-iconv8.
17252         * iconvdata/bug-iconv8.c: New file.
17254         [BZ #12626]
17255         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
17256         buf2 definition.
17258         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
17260         [BZ #12432]
17261         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
17262         (dummy_getcfa): New function.
17263         (init): Get _Unwind_GetCFA address, use dummy if not found.
17264         (backtrace_helper): In recursion check, also check whether CFA changes.
17265         (__backtrace): Completely initialize arg.
17267         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
17268         storing incomplete byte sequence in state object.  Avoid testing for
17269         guaranteed too small input if we know there is enough data available.
17271 2011-05-11  Andreas Schwab  <schwab@redhat.com>
17273         * Makeconfig (+link-pie): Indent.
17274         * Rules (binaries-pie): Define if $(have-fpie) and
17275         $(build-shared).
17276         (binaries-shared): Also filter out $(binaries-pie).
17277         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
17278         * nscd/Makefile (others-pie): Add nscd.
17279         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
17280         ($(objpfx)nscd): Remove command override.
17281         * login/Makefile (others-pie): Add pt_chown.
17282         ($(objpfx)pt_chown): Remove command override.
17283         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
17284         remove command overrides.
17286 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
17288         * libio/tst_putwc.c: Fix error messages.
17290         [BZ #12724]
17291         * libio/fileops.c (_IO_new_file_close_it): Always flush when
17292         currently writing and seek to current position when not.
17293         * libio/Makefile (tests): Add bug-fclose1.
17294         * libio/bug-fclose1.c: New file.
17296 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
17298         [BZ #12511]
17299         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
17300         don't set DF_1_NODELETE here.
17301         (do_lookup_x): When entering new entry test for copy relocation
17302         and if necessary set DF_1_NODELETE flag.
17303         * elf/tst-unique4.cc: New file.
17304         * elf/tst-unique4.h: New file.
17305         * elf/tst-unique4lib.cc: New file.
17306         * elf/Makefile: Add rules to build and run tst-unique4.
17307         Patch by Piotr Bury <pbury@goahead.com>.
17309 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
17311         [BZ #12052]
17312         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
17314         [BZ #12625]
17315         * misc/mntent_r.c (addmntent): Flush the stream after the output
17317         [BZ #12393]
17318         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
17319         (is_trusted_path_normalize): Skip initial colon.  Append slash
17320         to empty buffer.  Duplicate is_trusted_path code but allow
17321         constructed patch to be prefix.
17322         (is_dst): Allow $ORIGIN followed by /.
17323         (_dl_dst_substitute): Correct clearing of check_for_trusted.
17324         Correct testing of result of is_trusted_path_normalize
17325         (decompose_rpath): Fix warning.
17327 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
17329         [BZ #11257]
17330         * grp/initgroups.c (internal_getgrouplist): When we found the service
17331         list through the initgroups entry in nsswitch.conf do not always
17332         continue on a successful lookup.  Don't always use the
17333         __nss_group_database value if it is set.
17334         * nss/nsswitch.conf (initgroups): Change action for successful db
17335         lookup to continue for compatibility.
17337 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
17339         [BZ #11532]
17340         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
17341         and CP774 modules.
17342         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
17343         and CP774 modules.
17344         * iconvdata/tst-tables.sh: Likewise.
17345         * iconvdata/cp770.c: New file.
17346         * iconvdata/cp771.c: New file.
17347         * iconvdata/cp772.c: New file.
17348         * iconvdata/cp773.c: New file.
17349         * iconvdata/cp774.c: New file.
17350         * iconvdata/testdata/CP770: New file.
17351         * iconvdata/testdata/CP770..UTF8: New file.
17352         * iconvdata/testdata/CP771: New file.
17353         * iconvdata/testdata/CP771..UTF8: New file.
17354         * iconvdata/testdata/CP772: New file.
17355         * iconvdata/testdata/CP772..UTF8: New file.
17356         * iconvdata/testdata/CP773: New file.
17357         * iconvdata/testdata/CP773..UTF8: New file.
17358         * iconvdata/testdata/CP774: New file.
17359         * iconvdata/testdata/CP774..UTF8: New file.
17361         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
17362         END CHARMAP line.
17363         * iconvdata/gen-8bit-gap.sh: Likewise.
17364         * iconvdata/gen-8bit.sh: Likewise.
17366         * locale/iso-639.def: Add ary entry.
17368         [BZ #11258]
17369         * locale/C-translit.h.in: Add U20A1 transliteration.
17371         [BZ #12178]
17372         * locale/iso-639.def: Add wae entry.
17373         Patch by Kevin Bortis <bortis@translate-wae.ch>.
17375         [BZ #12545]
17376         * locale/programs/localedef.c (construct_output_path): Use ssize_t
17377         for n.
17379         [BZ #12711]
17380         * locale/C-translit.h.in: Add entry for U20B9.
17381         Patch by pravin.d.s@gmail.com.
17383 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
17385         [BZ #12713]
17386         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
17387         ENAMETOOLONG use generic getcwd.
17388         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
17389         in rtld.  Use *stat64.
17390         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
17391         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
17392         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
17393         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
17394         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
17395         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
17396         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
17397         __fstatat64 macros.
17398         * include/dirent.h: Add libc_hidden_proto for rewinddir.
17399         * dirent/rewinddir.c: Add libc_hidden_def.
17400         * sysdeps/mach/hurd/rewinddir.c: Likewise.
17401         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
17403         * include/dirent.h (__alloc_dir): Add flags parameter.
17404         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
17405         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
17406         __alloc_dir.
17407         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
17408         from fdopendir if O_CLOEXEC is already set.
17410 2011-03-15  Alan Modra  <amodra@gmail.com>
17412         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
17413         l_tls_firstbyte_offset non-zero.  Save padding offset in
17414         l_tls_firstbyte_offset for later use.
17415         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
17416         freeing static tls block.
17418 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
17420         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
17421         where #ifdef was intended.  The intent is to prevent ARG_MAX from
17422         being defined by the kernel headers.
17424 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
17426         [BZ #12734]
17427         * resolv/resolv.h: Define RES_NOTLDQUERY.
17428         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
17429         no-tld-query and set RES_NOTLDQUERY.
17430         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
17431         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
17432         modern BIND to search name as TLD unless forbidden.
17434 2011-05-07  Petr Baudis  <pasky@suse.cz>
17435             Ulrich Drepper  <drepper@gmail.com>
17437         [BZ #12393]
17438         * elf/dl-load.c (fillin_rpath): Move trusted path check...
17439         (is_trusted_path): ...to here.
17440         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
17441         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
17442         using is_trusted_path_normalize() in setuid scripts.
17444 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
17446         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
17447         __BEGIN/__END_DECLS.
17449 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
17451         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
17452         NSS_STATUS_NOTFOUND if no record was found.
17454 2011-05-05  Andreas Schwab  <schwab@redhat.com>
17456         * sunrpc/Makefile (headers): Add rpc/netdb.h.
17457         (headers-not-in-tirpc): Remove rpc/netdb.h
17458         * resolv/netdb.h: Revert last change.
17460 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
17462         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
17463         circular dependency between libgcc.a and libc.a.
17465 2011-05-05  Andreas Schwab  <schwab@redhat.com>
17467         * resolv/netdb.h: Don't include <rpc/netdb.h>.
17468         * nis/Makefile: Don't install rpcsvc/*.
17469         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
17470         instead of <rpc/types.h>.
17471         (MAXHOSTNAMELEN): Define.
17473 2011-05-03  Andreas Schwab  <schwab@redhat.com>
17475         * elf/ldconfig.c (add_dir): Don't crash on empty path.
17477 2011-04-28  Maciej Babinski  <mbabinski@google.com>
17479         [BZ #12714]
17480         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
17481         gethostbyname4_r when IPv6 results are possible.
17483 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
17485         [BZ #12723]
17486         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
17487         _PC_PIPE_BUF handling.
17489 2011-04-30  Bruno Haible  <bruno@clisp.org>
17491         [BZ #12717]
17492         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
17493         * resolv/netdb.h (getnameinfo): Change type of flags parameter
17494         to 'int'.
17495         * inet/getnameinfo.c (getnameinfo): Likewise.
17497 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
17499         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
17500         to groups setting in database lookup.
17501         * nss/nsswitch.conf: Add initgroups entry.
17503 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
17505         [BZ #12685]
17506         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
17507         mode string.
17508         Patch by Eric Blake <eblake@redhat.com>.
17510 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
17512         * sunrpc/Makefile (need-export-routines): Add svc_run.
17513         (routines): Remove svc_run.
17514         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
17515         * sunrpc/clnt_perr.c (clnt_perrno): Export.
17516         * sunrpc/svc_run.c (svc_run): Likewise.
17517         * sunrpc/svc_udp.c (svcudp_create): Likewise.
17519 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
17521         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
17522         problem in reallocation in last patch.
17524 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
17526         * sunrpc/Makefile: Move inclusion of Rules.
17528 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
17530         * nss/nss_files/files-initgroups.c: New file.
17531         * nss/Makefile (libnss_files-routines): Add files-initgroups.
17532         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
17533         _nss_files_initgroups_dyn.
17535 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
17537         * elf/elf.h (R_ARM_IRELATIVE): Define.
17539 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
17541         * po/ru.po: Update from translation team.
17543 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
17545         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
17546         dependencies.
17548 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
17550         [BZ #12653]
17551         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
17552         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
17553         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
17554         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
17555         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
17557 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
17559         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
17560         differing bytes.
17561         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
17562         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
17563         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
17565 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
17567         [BZ #12420]
17568         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
17569         storing it.
17570         * stdlib/bug-getcontext.c: New file.
17571         * stdlib/Makefile: Add rules to build and run bug-getcontext.
17573 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
17575         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
17576         instructions into .machine "z9-109".
17577         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
17578         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
17580 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
17582         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
17583         between environment variables and auxiliary vector.
17585 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
17587         * Makefile: Add rules to build linkobj/libc.so.
17588         * include/libc-symbols.h: Define libc_hidden_nolink.
17589         * include/rpc/auth.h: Mark functions which are to be hidden.
17590         * include/rpc/auth_des.h: Likewise.
17591         * include/rpc/auth_unix.h: Likewise.
17592         * include/rpc/clnt.h: Likewise.
17593         * include/rpc/des_crypt.h: Likewise.
17594         * include/rpc/key_prot.h: Likewise.
17595         * include/rpc/pmap_clnt.h: Likewise.
17596         * include/rpc/pmap_prot.h: Likewise.
17597         * include/rpc/pmap_rmt.h: Likewise.
17598         * include/rpc/rpc_msg.h: Likewise.
17599         * include/rpc/svc.h: Likewise.
17600         * include/rpc/svc_auth.h: Likewise.
17601         * include/rpc/xdr.h: Likewise.
17602         * nis/Makefile: Link all DSOs against linkobj/libc.so.
17603         * nss/Makefile: Likewise.
17604         * sunrpc/Makefile: Don't install headers.  Build library with normal
17605         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
17606         * sunrpc/auth_des.c: Hide exported symbols by default, export some
17607         for the compat linking library.  Remove use of INTDEF/INTUSE.
17608         * sunrpc/auth_none.c: Likewise.
17609         * sunrpc/auth_unix.c: Likewise.
17610         * sunrpc/authdes_prot.c: Likewise.
17611         * sunrpc/authuxprot.c: Likewise.
17612         * sunrpc/clnt_gen.c: Likewise.
17613         * sunrpc/clnt_perr.c: Likewise.
17614         * sunrpc/clnt_raw.c: Likewise.
17615         * sunrpc/clnt_simp.c: Likewise.
17616         * sunrpc/clnt_tcp.c: Likewise.
17617         * sunrpc/clnt_udp.c: Likewise.
17618         * sunrpc/clnt_unix.c: Likewise.
17619         * sunrpc/des_crypt.c: Likewise.
17620         * sunrpc/des_soft.c: Likewise.
17621         * sunrpc/get_myaddr.c: Likewise.
17622         * sunrpc/key_call.c: Likewise.
17623         * sunrpc/key_prot.c: Likewise.
17624         * sunrpc/netname.c: Likewise.
17625         * sunrpc/pm_getmaps.c: Likewise.
17626         * sunrpc/pm_getport.c: Likewise.
17627         * sunrpc/pmap_clnt.c: Likewise.
17628         * sunrpc/pmap_prot.c: Likewise.
17629         * sunrpc/pmap_prot2.c: Likewise.
17630         * sunrpc/pmap_rmt.c: Likewise.
17631         * sunrpc/publickey.c: Likewise.
17632         * sunrpc/rpc_cmsg.c: Likewise.
17633         * sunrpc/rpc_common.c: Likewise.
17634         * sunrpc/rpc_dtable.c: Likewise.
17635         * sunrpc/rpc_prot.c: Likewise.
17636         * sunrpc/rpc_thread.c: Likewise.
17637         * sunrpc/rtime.c: Likewise.
17638         * sunrpc/svc.c: Likewise.
17639         * sunrpc/svc_auth.c: Likewise.
17640         * sunrpc/svc_authux.c: Likewise.
17641         * sunrpc/svc_raw.c: Likewise.
17642         * sunrpc/svc_run.c: Likewise.
17643         * sunrpc/svc_simple.c: Likewise.
17644         * sunrpc/svc_tcp.c: Likewise.
17645         * sunrpc/svc_udp.c: Likewise.
17646         * sunrpc/svc_unix.c: Likewise.
17647         * sunrpc/svcauth_des.c: Likewise.
17648         * sunrpc/xcrypt.c: Likewise.
17649         * sunrpc/xdr.c: Likewise.
17650         * sunrpc/xdr_array.c: Likewise.
17651         * sunrpc/xdr_float.c: Likewise.
17652         * sunrpc/xdr_intXX_t.c: Likewise.
17653         * sunrpc/xdr_mem.c: Likewise.
17654         * sunrpc/xdr_rec.c: Likewise.
17655         * sunrpc/xdr_ref.c: Likewise.
17656         * sunrpc/xdr_sizeof.c: Likewise.
17657         * sunrpc/xdr_stdio.c: Likewise.
17659 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
17661         [BZ #12650]
17662         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
17663         * sysdeps/ia64/dl-tls.h: Likewise.
17664         * sysdeps/powerpc/dl-tls.h: Likewise.
17665         * sysdeps/s390/dl-tls.h: Likewise.
17666         * sysdeps/sh/dl-tls.h: Likewise.
17667         * sysdeps/sparc/dl-tls.h: Likewise.
17668         * sysdeps/x86_64/dl-tls.h: Likewise.
17669         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
17671 2011-03-14  Andreas Schwab  <schwab@redhat.com>
17673         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
17674         rpath element also skip the following colon.
17675         (expand_dynamic_string_token): Add is_path parameter and pass
17676         down to DL_DST_REQUIRED and _dl_dst_substitute.
17677         (decompose_rpath): Call expand_dynamic_string_token with
17678         non-zero is_path.  Ignore empty rpaths.
17679         (_dl_map_object_from_fd): Call expand_dynamic_string_token
17680         with zero is_path.
17682 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
17684         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
17685         Make cancelable.
17687 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
17689         [BZ #12655]
17690         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
17691         Patch by Filipe David Manana <fdmanana@apache.org>.
17693 2011-04-07  Andreas Schwab  <schwab@redhat.com>
17695         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
17696         Maintain aligned stack.
17697         (CHECK_RSP): Remove unused macro.
17699 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
17701         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
17702         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
17704 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
17706         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
17708         * include/features.h: Mention __USE_XOPEN2K8 in comment.
17710 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
17712         [BZ #12518]
17713         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
17714         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
17715         * sysdeps/x86_64/memmove.c: New file.
17716         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
17717         (memcpy): Renamed to ...
17718         (__new_memcpy): This.
17719         (memcpy): Provide GLIBC_2_14 memcpy.
17720         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
17721         (memcpy): Provide GLIBC_2_2_5 memcpy.
17723 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
17725         [BZ #12631]
17726         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
17728 2011-03-30  Andreas Schwab  <schwab@redhat.com>
17730         * misc/syncfs.c: New file.
17731         * misc/Makefile (routines): Add syncfs.
17732         * posix/unistd.h: Declare syncfs.
17733         * sysdeps/unix/syscalls.list: Add syncfs.
17735 2011-04-01  Andreas Schwab  <schwab@redhat.com>
17737         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
17738         open_by_handle_at.
17739         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
17740         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
17741         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
17742         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
17743         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
17744         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
17745         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
17747 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
17749         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
17750         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
17751         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
17752         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
17753         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
17754         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
17755         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
17757         * io/Makefile: Compile fallocate.c, fallocate64.c, and
17758         sync_file_range.c with -fexceptions.
17759         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
17760         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
17761         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
17762         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
17763         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
17764         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
17765         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
17766         sync_file_range as cancellation point
17767         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
17768         now a wrapper around __call_sync_file_range with cancellation handling.
17769         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
17770         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
17771         function name to __call_sync_file_range.
17772         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
17773         Add call_sync_file_range.
17775 2011-04-01  Andreas Schwab  <schwab@redhat.com>
17777         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17778         bits/timex.h.
17780 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
17782         * iconv/iconv.h: Fix typo in comment.
17783         * io/fcntl.h: Likewise.
17784         * libio/stdio.h: Likewise.
17785         * posix/spawn.h: Likewise.
17786         * posix/unistd.h: Likewise.
17787         * stdlib/stdlib.h: Likewise.
17788         * time/time.h: Likewise.
17789         * wcsmbs/wchar.h: Likewise.
17791         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
17792         open_by_handle): Add.
17793         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
17794         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
17795         Augment a few comments.
17796         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
17797         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
17798         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
17799         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
17800         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
17801         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
17802         open_by_handle.
17804         * io/fcntl.h (AT_EMPTY_PATH): Define.
17806 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
17808         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
17809         * sysdeps/unix/sysv/linux/bits/time.h: New file.
17810         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
17811         to...
17812         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
17813         * Versions.def: Add GLIBC_2.14.
17814         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
17815         Export.
17817 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
17819         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
17820         round counter.
17821         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
17823 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
17825         [BZ #12597]
17826         * string/test-strncmp.c (do_page_test): New function.
17827         (check2): Likewise.
17828         (test_main): Call check2.
17829         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
17831 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
17833         [BZ #12587]
17834         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
17835         Handle cache information in CPU leaf 4.
17836         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
17838 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
17840         [BZ #12583]
17841         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
17842         character representation.
17843         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
17845 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
17847         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
17848         END(__isnan) to END(__isnanf) to match function entry point/label
17849         EALIGN(__isnanf,...).
17851 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
17853         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
17855 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
17857         [BZ #12510]
17858         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
17859         copy from the symbol referenced in the relocation to initialize the
17860         used variable.
17861         Patch by Piotr Bury <pbury@goahead.com>.
17862         * elf/Makefile: Add rules to build and tst-unique3.
17863         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
17864         * elf/tst-unique3.cc: New file.
17865         * elf/tst-unique3.h: New file.
17866         * elf/tst-unique3lib.cc: New file.
17867         * elf/tst-unique3lib2.cc: New file.
17869         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
17871 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
17873         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
17874         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
17875         to _start.
17877 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
17879         * elf/dl-load.c (_dl_map_object): If we are looking for the first
17880         to-be-loaded object along a path to loader is ld.so.
17882 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
17883             Ulrich Drepper  <drepper@gmail.com>
17885         * sysdeps/x86_64/memset.S: After aligning destination, code
17886         branches to different locations depending on the value of
17887         misalignment, when multiarch is enabled. Fix this.
17889 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
17891         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
17892         Set _x86_64_preferred_memory_instruction for AMD processsors.
17893         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17894         Set bit_Prefer_SSE_for_memop for AMD processors.
17896 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
17898         * libio/fmemopen.c (fmemopen): Optimize a bit.
17900 2011-03-03  Andreas Schwab  <schwab@redhat.com>
17902         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
17904 2011-03-03  Roland McGrath  <roland@redhat.com>
17906         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
17908 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
17910         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
17911         __bzero_ultra1 instead of __memset_ultra1.
17913 2011-02-23  Andreas Schwab  <schwab@redhat.com>
17914             Ulrich Drepper  <drepper@gmail.com>
17916         [BZ #12509]
17917         * include/link.h (struct link_map): Add l_orig_initfini.
17918         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
17919         returning unsuccessfully.
17920         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
17921         close of a file loaded at startup, restore the original l_initfini
17922         list.
17923         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
17924         list, store the pointer.
17925         * elf/Makefile ($(objpfx)noload-mem): New rule.
17926         (noload-ENV): Define.
17927         (tests): Add $(objpfx)noload-mem.
17928         * elf/noload.c: Include <memcheck.h>.
17929         (main): Call mtrace.  Close all opened handles.
17931 2011-02-17  Andreas Schwab  <schwab@redhat.com>
17933         [BZ #12454]
17934         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
17935         dependencies are missing.
17937 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17939         Fix __if_freereq crash: Unlike the generic version which uses free,
17940         Hurd needs munmap.
17941         * sysdeps/mach/hurd/ifreq.h: New file.
17943 2011-01-27  Petr Baudis  <pasky@suse.cz>
17944             Ulrich Drepper  <drepper@gmail.com>
17946         [BZ 12445]#
17947         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
17948         to extend_alloca().
17949         * stdio-common/bug23.c: New file.
17950         * stdio-common/Makefile (tests): Add bug23.
17952 2010-09-28  Andreas Schwab  <schwab@redhat.com>
17953             Ulrich Drepper  <drepper@gmail.com>
17955         [BZ #12489]
17956         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
17957         before performing relro protection.  At old place add assertion
17958         to make sure nothing changed.
17960 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
17961             Glauber de Oliveira Costa  <glommer@gmail.com>
17963         * elf/elf.h: Add new ARM TLS relocs.
17965 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
17967         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
17968         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
17969         cast from r3.
17970         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
17971         'tests' variable.
17972         * sysdeps/wordsize-64/tst-writev.c: New file.
17974 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
17976         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
17977         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
17978         insns in _dl_start to prevent a TOC reference before relocs are
17979         resolved.
17981 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
17983         [BZ #12469]
17984         * Makeconfig: Remove RANLIB definition.
17985         * Makerules: Don't use RANLIB.
17986         * aclocal.m4: Remove ranlib test.
17987         * configure.in: No need to check for ranlib.
17988         * elf/rtld-Rules: Don't use RANLIB.
17990 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17992         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
17993         protection macro.
17994         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
17995         inclusion protection macro.
17997         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
17998         SIGRTMIN and SIGRTMAX and print information in that case only when
17999         SIGRTMIN is defined.
18001 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
18003         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
18004         arginfo fn returning -1.
18006         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
18007         and thousands string is zero terminated.
18009 2011-02-03  Andreas Schwab  <schwab@redhat.com>
18011         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
18012         sysdeps/unix/sysv/linux/bits/socket.h.
18014 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18016         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
18017         (__CPU_COUNT): Remove old macros.
18018         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
18019         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
18020         (__CPU_ALLOC, __CPU_FREE): Add macros.
18021         (__sched_cpualloc, __sched_cpufree): Add declarations.
18023 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
18025         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
18026         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
18027         * nscd/aicache.c (addhstaiX): Return timeout of added value.
18028         (readdhstai): Return value of addhstaiX call.
18029         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
18030         (addgrbyX): Return value returned by cache_addgr.
18031         (readdgrbyname): Return value returned by addgrbyX.
18032         (readdgrbygid): Likewise.
18033         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
18034         (addpwbyX): Return value returned by cache_addpw.
18035         (readdpwbyname): Return value returned by addhstbyX.
18036         (readdpwbyuid): Likewise.
18037         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
18038         (addservbyX): Return value returned by cache_addserv.
18039         (readdservbyname): Return value returned by addservbyX:
18040         (readdservbyport): Likewise.
18041         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
18042         (addhstbyX): Return value returned by cache_addhst.
18043         (readdhstbyname): Return value returned by addhstbyX.
18044         (readdhstbyaddr): Likewise.
18045         (readdhstbynamev6): Likewise.
18046         (readdhstbyaddrv6): Likewise.
18047         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
18048         (readdinitgroups): Return value returned by addinitgroupsX.
18049         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
18050         (prune_cache): Keep track of timeout value of re-added entries.
18051         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
18052         * nscd/nscd.h: Adjust prototypes of readd* functions.
18054 2011-02-04  Roland McGrath  <roland@redhat.com>
18056         * nis/nis_server.c (nis_servstate): Use the right name for 0.
18057         (nis_stats): Likewise.
18058         * nis/nis_modify.c (nis_modify): Likewise.
18059         * nis/nis_remove.c (nis_remove): Likewise.
18060         * nis/nis_add.c (nis_add): Likewise.
18062         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
18064         * posix/fnmatch_loop.c: Add some consts.
18066         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
18068 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
18070         [BZ #12460]
18071         * config.make.in (config-cflags-novzeroupper): Define.
18072         * configure.in: Substitute libc_cv_cc_novzeroupper.
18073         * elf/Makefile (AVX-CFLAGS): Define.
18074         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
18075         (CFLAGS-tst-auditmod4a.c): Likewise.
18076         (CFLAGS-tst-auditmod4b.c): Likewise.
18077         (CFLAGS-tst-auditmod6b.c): Likewise.
18078         (CFLAGS-tst-auditmod6c.c): Likewise.
18079         (CFLAGS-tst-auditmod7b.c): Likewise.
18080         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
18082 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
18084         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
18085         function to the callback.
18086         Patch partly by Jiri Olsa <jolsa@redhat.com>.
18088 2011-02-02  Andreas Schwab  <schwab@redhat.com>
18090         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
18091         of errno.
18093 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
18095         [BZ #11724]
18096         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
18097         of constructors.
18098         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
18099         of destructors.
18100         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
18102         [BZ #11724]
18103         * elf/Makefile: Add rules to build and run new test.
18104         * elf/tst-initorder.c: New file.
18105         * elf/tst-initorder.exp: New file.
18106         * elf/tst-initordera1.c: New file.
18107         * elf/tst-initordera2.c: New file.
18108         * elf/tst-initordera3.c: New file.
18109         * elf/tst-initordera4.c: New file.
18110         * elf/tst-initorderb1.c: New file.
18111         * elf/tst-initorderb2.c: New file.
18112         * elf/tst-order-a1.c: New file.
18113         * elf/tst-order-a2.c: New file.
18114         * elf/tst-order-a3.c: New file.
18115         * elf/tst-order-a4.c: New file.
18116         * elf/tst-order-b1.c: New file.
18117         * elf/tst-order-b2.c: New file.
18118         * elf/tst-order-main.c: New file.
18119         New test case by George Gensure <werkt0@gmail.com>.
18121 2010-10-01  Andreas Schwab  <schwab@redhat.com>
18123         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
18124         decoding ACE if AI_CANONIDN.
18126 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
18128         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
18130 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
18132         * version.h (RELEASE): Bump for 2.13 release.
18133         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
18135         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
18137         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
18138         MADV_NOHUGEPAGE.
18139         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
18140         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
18141         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
18142         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
18143         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
18144         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
18146         * posix/getconf.c: Update copyright year.
18147         * catgets/gencat.c: Likewise.
18148         * csu/version.c: Likewise.
18149         * debug/catchsegv.sh: Likewise.
18150         * debug/xtrace.sh: Likewise.
18151         * elf/ldconfig.c: Likewise.
18152         * elf/ldd.bash.in: Likewise.
18153         * elf/sprof.c (print_version): Likewise.
18154         * iconv/iconv_prog.c: Likewise.
18155         * iconv/iconvconfig.c: Likewise.
18156         * locale/programs/locale.c: Likewise.
18157         * locale/programs/localedef.c: Likewise.
18158         * malloc/memusage.sh: Likewise.
18159         * malloc/mtrace.pl: Likewise.
18160         * nscd/nscd.c (print_version): Likewise.
18161         * nss/getent.c: Likewise.
18163         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
18164         PF_CAIF, and PF_ALG.
18165         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
18167 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
18169         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
18170         (modules-names): Use them.
18171         (ifunc-test-modules, ifunc-pie-tests): Define.
18172         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
18173         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
18174         (test-extras): Likewise.
18175         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
18176         $(compile-command.c).
18177         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
18178         (all-built-dso): Define.
18179         (check-textrel.out, check-execstack.out): Depend on it.
18181         * configure.in: Don't override --enable-multi-arch.
18183 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
18185         [BZ #6812]
18186         * nscd/hstcache.c (tryagain): Define.
18187         (cache_addhst): Return tryagain not notfound for temporary errors.
18188         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
18189         failed.
18191 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
18193         [BZ #10563]
18194         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
18195         to make the syscall.
18196         * sysdeps/unix/sysv/linux/setgroups.c: New file.
18198         [BZ #12378]
18199         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
18200         and fall back to matching as normal character if the string ends before
18201         the matching ']' is found.  This is what POSIX requires.
18202         * posix/testfnm.c: Adjust test result.
18203         * posix/globtest.sh: Adjust test result.  Add new test.
18204         * posix/tst-fnmatch.input: Likewise.
18205         * posix/tst-fnmatch2.c: Add new test.
18207 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
18209         * elf/Makefile (check-execstack): Revert last change.  Depend on
18210         check-execstack.h.
18211         (check-execstack.h): New target.
18212         (generated): Add check-execstack.h.
18213         * elf/check-execstack.c: Include "check-execstack.h".
18214         (main): Revert last change.
18215         (handle_file): Return zero if GNU_STACK is absent and
18216         DEFAULT_STACK_PERMS doesn't include PF_X.
18218 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
18220         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
18221         in child fails because the descriptor is already closed.
18222         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
18223         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
18224         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
18226         [BZ #12397]
18227         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
18228         syscall.
18230         [BZ #10484]
18231         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
18232         temporary buffer used to handle multi lookups locally.
18233         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
18235 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
18237         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
18238         loader is ld.so.
18240 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
18242         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
18243         alignment for SSE2.
18245 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
18247         [BZ #12394]
18248         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
18249         characters.  When rounding increased number of integer digits recompute
18250         number of groups.
18251         * stdio-common/tst-grouping.c: New file.
18252         * stdio-common/Makefile: Add rules to build and run tst-grouping.
18254 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
18256         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
18257         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
18259         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
18260         void.
18261         * bits/select.h: Likewise.
18263 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
18265         * po/ja.po: Update from translation team.
18267 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
18269         [BZ #11155]
18270         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
18271         implementation just like for lxstat, fxstatat, et al.
18273 2010-12-27  Jim Meyering  <meyering@redhat.com>
18275         [BZ #12348]
18276         * posix/regexec.c (build_trtable): Return failure indication upon
18277         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
18279 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
18281         [BZ #12201]
18282         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
18283         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
18284         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
18285         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
18287         [BZ #12207]
18288         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
18290         [BZ #12204]
18291         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
18292         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
18294 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
18296         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
18297         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
18298         script has SORT_BY_INIT_PRIORITY.
18299         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
18300         NO_CTORS_DTORS_SECTIONS is defined.
18301         * elf/soinit.c: Likewise.
18302         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
18303         NO_CTORS_DTORS_SECTIONS is defined.
18304         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
18305         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
18306         * sysdeps/sh/init-first.c: Likewise.
18307         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
18309 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
18311         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
18312         always use the slow path.
18314 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
18316         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
18317         similar rule which adds the sysdep directories to the header search in
18318         order to pick up the correct platform stackinfo.h.
18319         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
18320         perform test if it is, otherwise return successfully without testing.
18321         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
18322         DEFAULT_STACK_PERMS define in stackinfo.h.
18323         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
18324         defined in stackinfo.h.
18325         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
18326         DEFAULT_STACK_PERMS defined in stackinfo.h.
18327         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
18328         * sysdeps/ia64/stackinfo.h: Likewise.
18329         * sysdeps/s390/stackinfo.h: Likewise.
18330         * sysdeps/sh/stackinfo.h: Likewise.
18331         * sysdeps/sparc/stackinfo.h: Likewise.
18332         * sysdeps/x86_64/stackinfo.h: Likewise.
18333         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
18334         PF_X for powerpc64.  Retain PF_X for powerpc32.
18336 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
18338         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
18339         accurately.
18340         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
18341         GETDENTS_64BIT_ALIGNED.
18343 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
18345         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
18347 2010-12-10  Andreas Schwab  <schwab@redhat.com>
18349         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
18350         _GNU_SOURCE.
18352         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
18353         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
18354         Remove __restrict.
18355         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
18356         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
18358 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
18360         [BZ #11655]
18361         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
18362         are initialized.
18364 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
18366         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
18368 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
18370         * po/it.po: Update from translation team.
18372 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
18374         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
18375         unused codes.
18377 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
18379         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
18381 2010-11-24  Andreas Schwab  <schwab@redhat.com>
18383         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
18384         specially.
18385         (gaih_getanswer_slice): Likewise.
18387 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
18389         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
18391 2010-05-31  Petr Baudis  <pasky@suse.cz>
18393         [BZ #11149]
18394         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
18395         silently even in the chroot mode.
18397 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
18399         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
18400         last patch a bit.  Pretty printing
18402 2010-05-31  Petr Baudis <pasky@suse.cz>
18404         [BZ #10085]
18405         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
18406         initialization of skip_initgroups_dyn.
18408 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
18410         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
18411         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
18413 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
18415         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
18417 2010-11-11  Andreas Schwab  <schwab@redhat.com>
18419         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
18420         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
18421         (tst-fnmatch-ENV): Set MALLOC_TRACE.
18422         ($(objpfx)tst-fnmatch-mem): New rule.
18423         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
18424         * posix/tst-fnmatch.c (main): Call mtrace.
18426 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
18428         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18429         Support Intel processor model 6 and model 0x2c.
18431 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
18433         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
18434           signed comparison.
18436 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
18438         [BZ #12205]
18439         * string/test-strncasecmp.c (check_result): New function.
18440         (do_one_test): Use it.
18441         (check1): New function.
18442         (test_main): Use it.
18443         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
18444         Support strcasecmp and strncasecmp.
18446 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
18448         [BZ #12194]
18449         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
18450         * sysdeps/x86_64/bits/byteswap.h: Likewise.
18452 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
18454         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
18455         IFUNC support.
18456         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
18457         memset-x86-64.
18458         * sysdeps/x86_64/multiarch/bzero.S: New file.
18459         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
18460         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
18461         * sysdeps/x86_64/multiarch/memset.S: New file.
18462         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
18463         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18464         Set bit_Prefer_SSE_for_memop for Intel processors.
18465         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
18466         Define.
18467         (index_Prefer_SSE_for_memop): Define.
18468         (HAS_PREFER_SSE_FOR_MEMOP): Define.
18470 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
18472         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
18473         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
18475 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
18477         [BZ #12191]
18478         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
18479         (__x86_64_raw_data_cache_size_half): Likewise.
18480         (__x86_64_raw_shared_cache_size): Likewise.
18481         (__x86_64_raw_shared_cache_size_half): Likewise.
18483         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
18484         (__x86_64_raw_data_cache_size_half): Likewise.
18485         (__x86_64_raw_shared_cache_size): Likewise.
18486         (__x86_64_raw_shared_cache_size_half): Likewise.
18487         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
18488         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
18489         and __x86_64_raw_shared_cache_size_half.  Round
18490         __x86_64_data_cache_size_half, __x86_64_data_cache_size
18491         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
18492         to multiple of 256 bytes.
18494 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
18496         [BZ #12167]
18497         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
18498         of inacessible symlinks.  Verify result of symlink before returning it.
18499         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
18500         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
18502 2010-10-28  Erich Ritz  <erichritz@gmail.com>
18504         * math/math.h (isinf): Fix typo in comment.
18506 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
18508         * po/da.po: Update from translation team.
18510 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
18512         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
18513         is added to the list.
18515 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
18516             Ulrich Drepper  <drepper@gmail.com>
18518         * elf/dl-object.c (_dl_new_object): Don't append the new object to
18519         the global list here.  Move code to...
18520         (_dl_add_to_namespace_list): ...here.  New function.
18521         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
18522         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
18523         * elf/dl-load.c (lose): Don't remove the element from the list.
18524         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
18525         (_dl_map_object): Likewise.
18527 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
18529         [BZ #12159]
18530         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
18531         into all bytes of SSE register.
18532         Patch by Richard Li <richardpku@gmail.com>.
18534 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
18536         [BZ #12140]
18537         * malloc/malloc.c (_int_free): Fill correct number of bytes when
18538         perturbing.
18540 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
18542         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
18543         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
18544         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
18545         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
18546         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
18547         submachine.
18548         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
18550 2010-10-22  Andreas Schwab  <schwab@redhat.com>
18552         * include/dlfcn.h (__RTLD_SECURE): Define.
18553         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
18554         mode & __RTLD_SECURE instead.
18555         (open_path): Rename preloaded parameter to secure.
18556         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
18557         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
18558         * elf/dl-deps.c (openaux): Likewise.
18559         * elf/rtld.c (struct map_args): Remove is_preloaded.
18560         (map_doit): Don't use it.
18561         (dl_main): Likewise.
18562         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
18563         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
18565 2010-09-09  Andreas Schwab  <schwab@redhat.com>
18567         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
18568         (sysd-rules-targets): Remove duplicates.
18569         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
18570         rtld-%.$o dependency.
18572 2010-10-18  Andreas Schwab  <schwab@redhat.com>
18574         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
18575         _dl_map_object do it.
18577 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
18579         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
18580         fast fma builtins, define the macros in the C99 standard.
18581         (FP_FAST_FMAF): Likewise.
18582         (FP_FAST_FMAL): Likewise.
18583         * sysdeps/x86_64/bits/mathdef.h: Likewise.
18585         * bits/mathdef.h: Update copyright year.
18586         * sysdeps/powerpc/bits/mathdef.h: Likewise.
18588 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
18590         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
18591         builtins, define the macros in the C99 standard.
18592         (FP_FAST_FMAF): Likewise.
18593         (FP_FAST_FMAL): Likewise.
18594         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
18595         multiply/add.
18596         (FP_FAST_FMAF): Likewise.
18598 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
18600         [BZ #3268]
18601         * math/libm-test.inc (fma_test): Some new testcases.
18602         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
18603         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
18604         y and infinite z.  Do multiplication by C already in long double.
18605         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
18606         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
18607         y and infinite z.  Do bitwise or of inexact bit into u.d.
18608         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
18609         * sysdeps/i386/fpu/s_fmaf.S: Removed.
18610         * sysdeps/i386/fpu/s_fma.S: Removed.
18611         * sysdeps/i386/fpu/s_fmal.S: Removed.
18613 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
18615         [BZ #3268]
18616         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
18617         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
18618         computation is not scheduled after fetestexcept.  Fix value
18619         of minimum denormal long double.
18621 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
18623         [BZ #3268]
18624         * math/libm-test.inc (fma_test): Add some more tests.
18625         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
18626         correctly.
18628 2010-10-15  Andreas Schwab  <schwab@redhat.com>
18630         * scripts/data/localplt-s390-linux-gnu.data: New file.
18631         * scripts/data/localplt-s390x-linux-gnu.data: New file.
18633 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
18635         [BZ #3268]
18636         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
18637         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
18638         instead of dbl-64.
18639         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
18640         inlines.
18641         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
18642         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
18643         if one of x and y is very large and the other is subnormal.
18644         * sysdeps/s390/fpu/s_fmaf.c: New file.
18645         * sysdeps/s390/fpu/s_fma.c: New file.
18646         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
18647         * sysdeps/powerpc/fpu/s_fma.S: New file.
18648         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
18649         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
18650         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
18652 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
18654         [BZ #3268]
18655         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
18656         fma tests.
18657         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
18658         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
18659         * sysdeps/i386/i686/multiarch/s_fma.c: Include
18660         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
18661         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
18662         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
18663         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
18665 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
18667         [BZ #12078]
18668         * posix/regcomp.c (parse_branch): One more memory leak plugged.
18669         * posix/bug-regex31.input: Add test case.
18671 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
18673         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
18674         * posix/bug-regex31.input: New file.
18676         [BZ #12078]
18677         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
18678         (parse_sub_exp): Fix last change, use postorder.
18680         * posix/bug-regex31.c: New file.
18681         * posix/Makefile: Add rules to build and run bug-regex31.
18683         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
18685         [BZ #12078]
18686         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
18688         [BZ #12108]
18689         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
18690         to have entries in sys_siglist.
18692         [BZ #12093]
18693         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
18694         be NULL.
18696 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
18698         [BZ #3268]
18699         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
18700         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
18701         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
18702         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
18703         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
18704         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
18705         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
18706         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
18707         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
18708         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
18709         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
18710         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
18711         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
18712         * math/ftestexcept.c (fetestexcept): Likewise.
18713         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
18714         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
18715         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
18716         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
18717         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
18718         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
18719         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
18721 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
18723         [BZ #12107]
18724         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
18725         newline.
18727 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
18729         * string/bug-strstr1.c: New file.
18730         * string/Makefile: Add rules to build and run bug-strstr1.
18732 2010-10-05  Eric Blake  <eblake@redhat.com>
18734         [BZ #12092]
18735         * string/str-two-way.h (two_way_long_needle): Always clear memory
18736         when skipping input due to the shift table.
18738 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
18740         [BZ #12005]
18741         * malloc/mcheck.c: Handle large requests.
18743         [BZ #12077]
18744         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
18745         for strncmp and strncasecmp.
18746         * string/stratcliff.c: Add tests for strcmp and strncmp.
18747         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
18749 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
18751         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
18752         __set_fpscr.
18754 2010-09-30  Andreas Jaeger  <aj@suse.de>
18756         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
18757         (CGROUP_SUPER_MAGIC): Define.
18758         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
18759         Handle btrfs and cgroup file systems.
18760         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
18761         Likewise.
18763 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
18765         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
18766         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
18768 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
18770         [BZ #12067]
18771         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
18772         trying to locate the ELF header.
18774 2010-09-27  Andreas Schwab  <schwab@redhat.com>
18776         [BZ #11611]
18777         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
18778         Mask out sign-bit copies when constructing f_fsid.
18780 2010-09-24  Petr Baudis <pasky@suse.cz>
18782         * debug/stack_chk_fail_local.c: Add missing licence exception.
18783         * debug/warning-nop.c: Likewise.
18785 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
18787         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
18788         implementing getdents64 using getdents syscall, set d_type if
18789         __ASSUME_GETDENTS32_D_TYPE.
18791 2010-09-16  Andreas Schwab  <schwab@redhat.com>
18793         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
18794         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
18796 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
18798         [BZ #12037]
18799         * posix/unistd.h: Undo change of feature selection for ftruncate from
18800         2010-01-11.
18802 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
18804         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
18805         detection.
18807 2010-09-20  Andreas Schwab  <schwab@redhat.com>
18809         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
18810         fanotify_mark.
18811         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
18813 2010-09-14  Andreas Schwab  <schwab@redhat.com>
18815         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
18816         variables after CHECK_SP call.
18817         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
18819 2010-09-13  Andreas Schwab  <schwab@redhat.com>
18820             Ulrich Drepper  <drepper@redhat.com>
18822         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
18823         re-relocationg ld.so.
18824         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
18825         _dl_init_paths call.
18826         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
18827         here anymore.
18829 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
18831         * resolv/res_init.c (__res_vinit): Count the default server we added.
18833 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
18834             Ulrich Drepper  <drepper@redhat.com>
18836         [BZ #11968]
18837         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
18838         (____longjmp_chk): Use %ebx for saving value across system call.
18839         Add unwind info.
18841 2010-09-06  Andreas Schwab  <schwab@redhat.com>
18843         * manual/Makefile: Don't mix pattern rules with normal rules.
18845 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
18847         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
18848         operation.
18849         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
18850         * libio/iofopncook.c (_IO_cookie_init): Likewise.
18851         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
18852         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
18853         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
18854         Likewise.
18856 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
18858         [BZ #11979]
18859         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
18860         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
18862 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
18864         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
18865         * sysdeps/x86_64/addmul_1.S: Likewise.
18866         * sysdeps/x86_64/lshift.S: Likewise.
18867         * sysdeps/x86_64/mul_1.S: Likewise.
18868         * sysdeps/x86_64/rshift.S: Likewise.
18869         * sysdeps/x86_64/sub_n.S: Likewise.
18870         * sysdeps/x86_64/submul_1.S: Likewise.
18872 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18874         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
18875         Define __sched_param instead of SCHED_* and sched_param when
18876         <bits/sched.h> is included with __need_schedparam defined.
18877         * bits/sched.h [__need_schedparam]
18878         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
18879         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
18880         (__defined_schedparam): Define to 1.
18881         (__sched_param): New structure, identical to sched_param.
18882         (__need_schedparam): Undefine.
18884 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
18886         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
18887         (epoll_create1): Declare.
18889         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
18891 2010-08-31  Andreas Schwab  <schwab@redhat.com>
18893         [BZ #7066]
18894         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
18895         shifting retval into place.
18897 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
18899         * nis/rpcsvc/nis.h: Update copyright notice.
18900         * nis/rpcsvc/nis.x: Likewise.
18901         * nis/rpcsvc/nis_callback.h: Likewise.
18902         * nis/rpcsvc/nis_callback.x: Likewise.
18903         * nis/rpcsvc/nis_object.x: Likewise.
18904         * nis/rpcsvc/nis_tags.h: Likewise.
18905         * nis/rpcsvc/yp.h: Likewise.
18906         * nis/rpcsvc/yp.x: Likewise.
18907         * nis/rpcsvc/ypupd.h: Likewise.
18908         * nis/yp_xdr.c: Likewise.
18909         * nis/ypupdate_xdr.c: Likewise.
18911         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
18912         mainly the body of pmap_getport.  Add parameters to specify timeouts.
18913         (pmap_getport): Use __libc_rpc_getport.
18914         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
18915         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
18916         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
18918 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
18920         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
18921         fanotify_mark.
18923 2010-08-27  Roland McGrath  <roland@redhat.com>
18925         * sysdeps/i386/i686/multiarch/Makefile
18926         (CFLAGS-varshift.c): New variable.
18928 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
18930         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
18931         * sysdeps/i386/i686/multiarch/varshift.c: New file.
18933         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
18935         * sysdeps/x86_64/strlen.S: Minimal code improvement.
18937 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
18939         * sysdeps/x86_64/strlen.S: Unroll the loop.
18940         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
18941         strlen-sse2 strlen-sse2-bsf.
18942         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
18943         __strlen_no_bsf if bit_Slow_BSF is set.
18944         (__strlen_sse42): Removed.
18945         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
18946         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
18948 2010-08-25  Roland McGrath  <roland@redhat.com>
18950         * sysdeps/x86_64/multiarch/varshift.S: File removed.
18951         * sysdeps/x86_64/multiarch/varshift.c: New file.
18952         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
18953         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
18954         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
18955         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
18957 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
18959         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
18960         strlen-sse2 strlen-sse2-bsf.
18961         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
18962         __strlen_sse2_bsf if bit_Slow_BSF is unset.
18963         (__strlen_sse2): Removed.
18964         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
18965         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
18966         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
18967         bit_Slow_BSF for Atom.
18968         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
18969         (index_Slow_BSF): Define.
18970         (HAS_SLOW_BSF): Define.
18972 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
18974         [BZ #10851]
18975         * resolv/res_init.c (__res_vinit): When no server address at all
18976         is given default to loopback.
18978 2010-08-24  Roland McGrath  <roland@redhat.com>
18980         * configure.in: Remove config-name.h generation.
18981         * configure: Regenerated.
18982         * config-name.in: File removed.
18983         * scripts/config-uname.sh: New file.
18984         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
18985         ($(objdir)config-name.h): New target.
18987         * sunrpc/rpc_parse.h: Avoid nested comment.
18989 2010-08-24  Richard Henderson  <rth@redhat.com>
18990             Ulrich Drepper  <drepper@redhat.com>
18991             H.J. Lu  <hongjiu.lu@intel.com>
18993         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
18994         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
18995         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
18996         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
18997         _mm_alignr_epi8 with _mm_loadu_si128.
18998         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
18999         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
19000         (__m128i_shift_right): Removed.
19001         * sysdeps/i386/i686/multiarch/varshift.h: New file.
19002         * sysdeps/i386/i686/multiarch/varshift.S: New file.
19003         * sysdeps/x86_64/multiarch/varshift.h: New file.
19004         * sysdeps/x86_64/multiarch/varshift.S: New file.
19006 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
19008         * configure.in: Move assembler checks to before sysdep dir checking.
19010 2010-08-20  Petr Baudis  <pasky@suse.cz>
19012         * LICENSES: Sync the sunrpc license.
19014 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
19016         * sunrpc/auth_des.c: Update copyright notice once again.
19017         * sunrpc/auth_none.c: Likewise.
19018         * sunrpc/auth_unix.c: Likewise.
19019         * sunrpc/authdes_prot.c: Likewise.
19020         * sunrpc/authuxprot.c: Likewise.
19021         * sunrpc/bindrsvprt.c: Likewise.
19022         * sunrpc/clnt_gen.c: Likewise.
19023         * sunrpc/clnt_perr.c: Likewise.
19024         * sunrpc/clnt_raw.c: Likewise.
19025         * sunrpc/clnt_simp.c: Likewise.
19026         * sunrpc/clnt_tcp.c: Likewise.
19027         * sunrpc/clnt_udp.c: Likewise.
19028         * sunrpc/clnt_unix.c: Likewise.
19029         * sunrpc/des_crypt.c: Likewise.
19030         * sunrpc/des_soft.c: Likewise.
19031         * sunrpc/get_myaddr.c: Likewise.
19032         * sunrpc/getrpcport.c: Likewise.
19033         * sunrpc/key_call.c: Likewise.
19034         * sunrpc/key_prot.c: Likewise.
19035         * sunrpc/openchild.c: Likewise.
19036         * sunrpc/pm_getmaps.c: Likewise.
19037         * sunrpc/pm_getport.c: Likewise.
19038         * sunrpc/pmap_clnt.c: Likewise.
19039         * sunrpc/pmap_prot.c: Likewise.
19040         * sunrpc/pmap_prot2.c: Likewise.
19041         * sunrpc/pmap_rmt.c: Likewise.
19042         * sunrpc/rpc/auth.h: Likewise.
19043         * sunrpc/rpc/auth_unix.h: Likewise.
19044         * sunrpc/rpc/clnt.h: Likewise.
19045         * sunrpc/rpc/des_crypt.h: Likewise.
19046         * sunrpc/rpc/key_prot.h: Likewise.
19047         * sunrpc/rpc/netdb.h: Likewise.
19048         * sunrpc/rpc/pmap_clnt.h: Likewise.
19049         * sunrpc/rpc/pmap_prot.h: Likewise.
19050         * sunrpc/rpc/pmap_rmt.h: Likewise.
19051         * sunrpc/rpc/rpc.h: Likewise.
19052         * sunrpc/rpc/rpc_des.h: Likewise.
19053         * sunrpc/rpc/rpc_msg.h: Likewise.
19054         * sunrpc/rpc/svc.h: Likewise.
19055         * sunrpc/rpc/svc_auth.h: Likewise.
19056         * sunrpc/rpc/types.h: Likewise.
19057         * sunrpc/rpc/xdr.h: Likewise.
19058         * sunrpc/rpc_clntout.c: Likewise.
19059         * sunrpc/rpc_cmsg.c: Likewise.
19060         * sunrpc/rpc_common.c: Likewise.
19061         * sunrpc/rpc_cout.c: Likewise.
19062         * sunrpc/rpc_dtable.c: Likewise.
19063         * sunrpc/rpc_hout.c: Likewise.
19064         * sunrpc/rpc_main.c: Likewise.
19065         * sunrpc/rpc_parse.c: Likewise.
19066         * sunrpc/rpc_parse.h: Likewise.
19067         * sunrpc/rpc_prot.c: Likewise.
19068         * sunrpc/rpc_sample.c: Likewise.
19069         * sunrpc/rpc_scan.c: Likewise.
19070         * sunrpc/rpc_scan.h: Likewise.
19071         * sunrpc/rpc_svcout.c: Likewise.
19072         * sunrpc/rpc_tblout.c: Likewise.
19073         * sunrpc/rpc_util.c: Likewise.
19074         * sunrpc/rpc_util.h: Likewise.
19075         * sunrpc/rpcinfo.c: Likewise.
19076         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
19077         * sunrpc/rpcsvc/key_prot.x: Likewise.
19078         * sunrpc/rpcsvc/klm_prot.x: Likewise.
19079         * sunrpc/rpcsvc/mount.x: Likewise.
19080         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
19081         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
19082         * sunrpc/rpcsvc/rex.x: Likewise.
19083         * sunrpc/rpcsvc/rstat.x: Likewise.
19084         * sunrpc/rpcsvc/rusers.x: Likewise.
19085         * sunrpc/rpcsvc/sm_inter.x: Likewise.
19086         * sunrpc/rpcsvc/spray.x: Likewise.
19087         * sunrpc/rpcsvc/yppasswd.x: Likewise.
19088         * sunrpc/rtime.c: Likewise.
19089         * sunrpc/svc.c: Likewise.
19090         * sunrpc/svc_auth.c: Likewise.
19091         * sunrpc/svc_authux.c: Likewise.
19092         * sunrpc/svc_raw.c: Likewise.
19093         * sunrpc/svc_run.c: Likewise.
19094         * sunrpc/svc_simple.c: Likewise.
19095         * sunrpc/svc_tcp.c: Likewise.
19096         * sunrpc/svc_udp.c: Likewise.
19097         * sunrpc/svc_unix.c: Likewise.
19098         * sunrpc/svcauth_des.c: Likewise.
19099         * sunrpc/xcrypt.c: Likewise.
19100         * sunrpc/xdr.c: Likewise.
19101         * sunrpc/xdr_array.c: Likewise.
19102         * sunrpc/xdr_float.c: Likewise.
19103         * sunrpc/xdr_mem.c: Likewise.
19104         * sunrpc/xdr_rec.c: Likewise.
19105         * sunrpc/xdr_ref.c: Likewise.
19106         * sunrpc/xdr_sizeof.c: Likewise.
19107         * sunrpc/xdr_stdio.c: Likewise.
19109         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
19110         handling.
19112 2010-08-19  Andreas Schwab  <schwab@redhat.com>
19114         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
19116 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
19118         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
19119         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
19120         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
19121         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
19122         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
19123         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
19124         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
19125         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
19126         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
19127         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
19128         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
19129         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
19130         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
19131         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
19133 2010-07-26  Anton Blanchard  <anton@samba.org>
19135         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
19136         * malloc/arena.c (heap_trim): Likewise.
19138 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
19140         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
19141         here.  Not...
19142         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
19143         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
19145 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
19147         * sysdeps/i386/elf/Makefile: New file.
19149 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
19151         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
19152         from fanotify_init.
19153         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
19154         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
19156 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
19158         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
19159         of strncasecmp_l.
19160         * sysdeps/multiarch/strcmp.S: Likewise.
19162 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
19164         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
19165         strncase_l-nonascii.
19166         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
19167         Add strncase_l-ssse3.
19168         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
19169         * sysdeps/x86_64/strcmp.S: Likewise.
19170         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
19171         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
19172         * sysdeps/x86_64/strncase.S: New file.
19173         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
19174         * sysdeps/x86_64/strncase_l.S: New file.
19175         * string/Makefile (strop-tests): Add strncasecmp.
19176         * string/test-strncasecmp.c: New file.
19178         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
19179         warning.
19181         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
19182         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
19184 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
19186         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
19188 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
19190         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
19191         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
19192         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
19194 2010-05-01  Alan Modra  <amodra@gmail.com>
19196         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
19197         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
19198         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
19199         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
19200         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
19201         tidying.  Don't tail-call __sigjmp_save for static lib.
19202         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
19203         save location.
19204         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
19205         (CALL_MCOUNT): Add eh info, and nop after bl.
19206         (TAIL_CALL_SYSCALL_ERROR): New macro.
19207         (PSEUDO_RET): Use it.
19208         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
19209         Correct save location of integer regs and cr.
19210         (_dl_profile_resolve): Correct cr save location.  Delete nops
19211         after bl when SHARED.  Reduce cfi size a little by better
19212         placement of cfi directives.
19213         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
19214         make a stack frame.  Instead use parm save area as a temp.
19215         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
19216         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
19217         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
19218         Don't make a stack frame for parent, use parm save area.
19219         Increase child stack frame to 112 bytes.  Don't save unused reg,
19220         and adjust reg usage.  Set up cfi on error recovery and
19221         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
19222         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
19223         (__makecontext): Add dummy nop after jump to exit.
19224         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
19225         Use correct parm save area and cr save, reduce stack frame.
19226         Correct cfi for possible PSEUDO_RET frame setup.
19227         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
19228         Branch to local label emitted by PSEUDO_RET rather than
19229         __syscall_error.
19231 2010-08-12  Andreas Schwab  <schwab@redhat.com>
19233         [BZ #11904]
19234         * locale/programs/locale.c (print_assignment): New function.
19235         (show_locale_vars): Use it.
19237 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
19239         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
19240         field.
19241         (struct statfs64): Likewise.
19242         (_STATFS_F_FLAGS): Define.
19243         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
19244         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
19245         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
19246         (ST_VALID): Define locally.
19247         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
19248         __statvfs_getflags, use the provided value.
19249         * sysdeps/unix/sysv/linux/kernel-features.h: Define
19250         __ASSUME_STATFS_F_FLAGS.
19252         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
19254         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
19255         Add sys/fanotify.h.
19256         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
19257         fanotify_mask for GLIBC_2.13.
19258         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
19259         fanotify_init and fanotify_mark.
19260         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
19261         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
19263         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
19264         Add prlimit.
19265         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
19266         prlimit64 for GLIBC_2.13.
19267         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
19268         prlimit64.
19269         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
19270         syscall.
19271         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
19272         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
19273         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
19274         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
19275         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
19276         add prlimit alias.
19277         * sysdeps/unix/sysv/linux/prlimit.c: New file.
19279         [BZ #11903]
19280         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
19281         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
19283         * nss/Makefile: Add rules to build and run tst-nss-test1.
19284         * shlib-versions: Add entry for libnss_test1.
19285         * nss/nss_test1.c: New file.
19286         * nss/tst-nss-test1.c: New file.
19288         * nss/nsswitch.c (__nss_database_custom): Define new variable.
19289         (__nss_configure_lookup): Set appropriate entry in
19290         __nss_configure_lookup to true.
19291         * nss/nsswitch.h: Define enum with indeces of databases in
19292         databases and __nss_database_custom arrays.  Declare
19293         __nss_database_custom.
19294         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
19295         to avoid using nscd when custom rules are installed.
19296         * nss/getXXbyYY_r.c: Likewise.
19297         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
19299         * nss/nss_files/files-parse.c: Whitespace fixes.
19301 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
19303         [BZ #11883]
19304         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
19305         * posix/fnmatch_loop.c: Likewise.
19307 2010-07-17  Andi Kleen  <ak@linux.intel.com>
19309         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
19310         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
19311         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
19312         * Versions.def [GLIBC_2.13]: Add.
19314 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
19316         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
19317         Also fail if tpwd after pwuid call is NULL.
19319 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19321         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
19322         when converting to ms.
19324 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19326         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
19327         EOPNOTSUPP errors with ENOTTY.
19328         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
19329         EOPNOTSUPP errors with ENOTTY.
19331 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
19333         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
19334         Add strcasecmp_l-ssse3.
19335         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
19336         strcasecmp.
19337         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
19338         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
19339         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
19341 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
19343         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
19345         * string/Makefile (strop-tests): Add strcasecmp.
19346         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
19347         strcasecmp_l-nonascii.
19348         (gen-as-const-headers): Add locale-defines.sym.
19349         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
19350         * sysdeps/x86_64/strcasecmp.S: New file.
19351         * sysdeps/x86_64/strcasecmp_l.S: New file.
19352         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
19353         * sysdeps/x86_64/locale-defines.sym: New file.
19354         * string/test-strcasecmp.c: New file.
19356         * string/test-strcasestr.c: Test both ends of the range of characters.
19357         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
19359 2010-07-29  Roland McGrath  <roland@redhat.com>
19361         [BZ #11856]
19362         * manual/locale.texi (Yes-or-No Questions): Fix example code.
19364 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
19366         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
19367         for ld.so.
19369 2010-07-27  Andreas Schwab  <schwab@redhat.com>
19371         * manual/memory.texi (Malloc Tunable Parameters): Document
19372         M_PERTURB.
19374 2010-07-26  Roland McGrath  <roland@redhat.com>
19376         [BZ #11840]
19377         * configure.in (-fgnu89-inline check): Set and substitute
19378         gnu89_inline, not libc_cv_gnu89_inline.
19379         * configure: Regenerated.
19380         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
19382 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
19384         * string/test-strnlen.c: New file.
19385         * string/Makefile (strop-tests): Add strnlen.
19386         * string/tester.c (test_strnlen): Add a few more test cases.
19387         * string/tst-strlen.c: Better error reporting.
19389         * sysdeps/x86_64/strnlen.S: New file.
19391 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
19393         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
19394         lower-latency instructions.
19396 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
19398         * string/test-strcasestr.c: New file.
19399         * string/test-strstr.c: New file.
19400         * string/Makefile (strop-tests): Add strstr and strcasestr.
19401         * string/str-two-way.h: Don't undefine MAX.
19402         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
19404 2010-07-21  Andreas Schwab  <schwab@redhat.com>
19406         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
19407         strcasestr-nonascii.
19408         (CFLAGS-strcasestr-nonascii.c): Define.
19409         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
19410         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
19411         Remove unused attribute.
19413 2010-07-20  Roland McGrath  <roland@redhat.com>
19415         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
19416         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
19417         ld.so.cache was broken.  With it, there is no way to disable dsocaps
19418         like LD_HWCAP_MASK can disable hwcaps.
19420 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
19422         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
19424 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
19426         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
19427         call in strcasestr.
19428         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
19429         __strcasestr_sse42_nonascii.
19430         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
19431         strcasestr-nonascii.c.
19432         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
19434 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
19436         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
19437         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
19438         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
19439         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
19441 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
19443         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
19444         fcntl.
19446 2010-07-06  Andreas Schwab  <schwab@redhat.com>
19448         [BZ #11577]
19449         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
19450         dl_signal_cerror.
19452 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
19454         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
19455         _PC_PIPE_BUF using F_GETPIPE_SZ.
19457 2010-07-05  Roland McGrath  <roland@redhat.com>
19459         * manual/arith.texi (Rounding Functions): Fix rint description
19460         implicit in round description.
19462 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
19464         * elf/Makefile: Fix linking for a few tests to make recent linker
19465         happy.
19467 2010-06-30  Andreas Schwab  <schwab@redhat.com>
19469         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
19470         $(common-objpfx)libc_nonshared.a.
19472 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
19474         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
19475         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
19476         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
19477         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
19478         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
19479         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
19480         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
19481         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
19482         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
19483         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
19484         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
19485         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
19486         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
19487         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
19488         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
19489         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
19490         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
19491         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
19492         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
19493         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
19494         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
19495         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
19496         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
19497         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
19498         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
19499         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
19500         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
19501         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
19502         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
19503         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
19504         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
19505         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
19506         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
19507         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
19508         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
19509         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
19510         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
19511         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
19512         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
19513         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
19514         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
19515         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
19516         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
19517         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
19518         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
19519         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
19520         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
19521         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
19523 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
19525         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
19526         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
19527         * string/memmove.c (memmove): Renamed to ...
19528         (MEMMOVE): ...this.  Default to memmove.
19529         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
19530         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
19531         (END_CHK): Define.
19532         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
19533         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
19534         mempcpy-ssse3-back memmove-ssse3-back.
19535         * sysdeps/x86_64/multiarch/bcopy.S: New file .
19536         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
19537         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
19538         * sysdeps/x86_64/multiarch/memcpy.S: New file.
19539         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
19540         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
19541         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
19542         * sysdeps/x86_64/multiarch/memmove.c: New file.
19543         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
19544         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
19545         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
19546         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
19547         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
19548         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
19549         Define.
19550         (index_Fast_Copy_Backward): Define.
19551         (HAS_ARCH_FEATURE): Define.
19552         (HAS_FAST_REP_STRING): Define.
19553         (HAS_FAST_COPY_BACKWARD): Define.
19555 2010-06-21  Andreas Schwab  <schwab@redhat.com>
19557         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
19558         Restore proper fallback handling.
19560 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
19562         [BZ #11701]
19563         * posix/group_member.c (__group_member): Correct checking loop.
19565         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
19566         OOM in getpwuid_r correctly.  Return error number when the caller
19567         should return, otherwise -1.
19568         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
19569         call returning > 0 value.
19570         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
19572 2010-06-07  Andreas Schwab  <schwab@redhat.com>
19574         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
19575         libc_nonshared.a from targets in modules-names.
19577 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
19579         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
19580         requires it.
19582 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
19584         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
19585         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
19586         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
19587         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
19589 2010-06-02  Andreas Schwab  <schwab@redhat.com>
19591         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
19593 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
19595         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
19596         and F_GETPIPE_SZ.
19597         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
19598         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
19599         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
19600         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
19601         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
19602         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
19604 2010-06-14  Roland McGrath  <roland@redhat.com>
19606         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
19608 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
19610         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
19611         __REDIRECT followed by __THROW.
19612         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
19613         * posix/getopt.h (getopt): Likewise.
19615 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
19617         * hurd/lookup-at.c (__file_name_lookup_at): Accept
19618         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
19619         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
19620         in AT_FLAGS.
19621         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
19622         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
19624 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
19626         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
19628 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
19630         [BZ #11640]
19631         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19632         Properly check family and model.
19634 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
19636         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
19638 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
19640         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
19642 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
19644         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
19645         symbol reference.
19647 2010-05-19  Andreas Schwab  <schwab@redhat.com>
19649         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
19650         symbol reference.
19652 2010-05-21  Andreas Schwab  <schwab@redhat.com>
19654         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
19655         and internal_recvmmsg.
19656         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
19657         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
19658         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
19659         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
19661         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
19662         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
19663         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
19665 2010-05-20  Andreas Schwab  <schwab@redhat.com>
19667         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
19669 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
19671         POWER7 optimizations.
19672         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
19673         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
19675 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
19677         * version.h: Update for 2.13 development version.
19679 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
19681         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
19682         exceptions.  Return 0.
19684 2010-05-07  Roland McGrath  <roland@redhat.com>
19686         * elf/ldconfig.c (main): Add a const.
19688 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
19690         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
19691         (args_options): Add no-idn option.
19692         (ahosts_keys_int): Add idn_flags to ai_flags.
19693         (parse_option): Handle 'i' option to clear idn_flags.
19695         * malloc/malloc.c (_int_free): Possible race in the most recently
19696         added check.  Only act on the data if no current modification
19697         happened.
19699 See ChangeLog.17 for earlier changes.