Fix NEWS entry about clock precision
[glibc.git] / ChangeLog
blob985173df5e8d6d8b26c8ad0d0e9a511eeeeb5501
1 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
3         * NEWS: Fix note on clock function precision.  Text by Roland
4         McGrath.
6 2013-06-13  Roland McGrath  <roland@hack.frob.com>
8         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
9         it into place only when and if the sanity check passes.
11 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
13         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
14         output for whether conversion result is exact.  Take argument
15         indicating whether type is IBM long double.
16         (round_for_all): Change need_exact field to ibm_ld.
17         * stdlib/tst-strtod-round.c (struct exactness): New type.
18         (struct test): Change bool ld_ok field to struct exactness exact.
19         (TEST): Update all definitions for change to field.
20         (tests): Regenerate array contents.
21         (test_in_one_mode): Take pointer to new field instead of old ld_ok
22         field value.  Check for IBM long double here.
23         (do_test): Update calls to test_in_one_mode.
25 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
27         [BZ #12515]
28         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
29         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
31 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33         [BZ #15605]
34         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
35         generated by the compiler on loop optimizations.
36         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
37         general definitions.
39 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
41         * math/bug-nextafter.c: Include <math-tests.h>.
42         (main): Only test for exceptions if EXCEPTION_TESTS is true for
43         the relevant type.
44         * math/bug-nexttoward.c: Include <math-tests.h>.
45         (main): Only test for exceptions if EXCEPTION_TESTS is true for
46         the relevant type.
47         * math/test-misc.c: Include <math-tests.h>.
48         (main): Only test for exceptions if EXCEPTION_TESTS is true for
49         the relevant type.
51 2013-06-12  Andreas Jaeger  <aj@suse.de>
53         * po/ia.po: Update Interlingua translation from translation
54         project.
56 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
58         * include/fenv.h: Include stdbool.h.
59         (struct rm_ctx): New structure.
60         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
61         Define macro.
62         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
63         (SET_RESTORE_ROUNDF): Likewise.
64         (SET_RESTORE_ROUNDL): Likewise.
65         (SET_RESTORE_ROUND_NOEX): Likewise.
66         (SET_RESTORE_ROUND_NOEXF): Likewise.
67         (SET_RESTORE_ROUND_NOEXL): Likewise.
68         (SET_RESTORE_ROUND_53BIT): Likewise.
69         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
70         (libc_feresetround_noexf_ctx): Likewise.
71         (libc_feresetround_noexl_ctx): Likewise.
72         (libc_feholdsetround_53bit_ctx): Likewise.
73         (libc_feresetround_53bit_ctx): Likewise.
74         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
75         (libc_feholdexcept_setround_sse_ctx): New function.
76         (libc_fesetenv_sse_ctx): Likewise.
77         (libc_feupdateenv_sse_ctx): Likewise.
78         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
79         (libc_feholdexcept_setround_387_ctx): Likewise.
80         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
81         (libc_feholdsetround_387_prec_ctx): Likewise.
82         (libc_feholdsetround_387_ctx): Likewise.
83         (libc_feholdsetround_387_53bit_ctx): Likewise.
84         (libc_feholdsetround_sse_ctx): Likewise.
85         (libc_feresetround_sse_ctx): Likewise.
86         (libc_feresetround_387_ctx): Likewise.
87         (libc_feupdateenv_387_ctx): Likewise.
88         (libc_feholdexcept_setroundf_ctx): Define macro.
89         (libc_fesetenvf_ctx): Likewise.
90         (libc_feupdateenvf_ctx): Likewise.
91         (libc_feholdsetroundf_ctx): Likewise.
92         (libc_feresetroundf_ctx): Likewise.
93         (libc_feholdexcept_setround_ctx): Likewise.
94         (libc_fesetenv_ctx): Likewise.
95         (libc_feupdateenv_ctx): Likewise.
96         (libc_feholdsetround_ctx): Likewise.
97         (libc_feresetround_ctx): Likewise.
98         (libc_feholdexcept_setroundl_ctx): Likewise.
99         (libc_feupdateenvl_ctx): Likewise.
100         (libc_feholdsetroundl_ctx): Likewise.
101         (libc_feresetroundl_ctx): Likewise.
102         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
103         (libc_feresetround_53bit_ctx): Likewise.
105 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
107         * locale/iso-639.def: Convert to UTF-8.
109 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
111         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
112         (EXCEPTION_TESTS_double): Likewise.
113         (EXCEPTION_TESTS_long_double): Likewise.
114         (EXCEPTION_TESTS): Likewise.
115         * math/libm-test.inc (test_exceptions): Only test exceptions if
116         EXCEPTION_TESTS (FLOAT).
118 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
120         * benchtests/Makefile (string-bench): Add strcpy_chk and
121         stpcpy_chk.
122         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
123         * benchtests/bench-stpcpy_chk.c: New file.
124         * benchtests/bench-strcpy_chk-ifunc.c: New file.
125         * benchtests/bench-strcpy_chk.c: New file.
126         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
127         code.
128         (do_test): Likewise.
130 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
132         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
133         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
134         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
135         with tabs where appropriate.
136         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
137         dl-procinfo.h.
138         [PPC_PLATFORM_PPC440]: Likewise.
139         [PPC_PLATFORM_PPC464]: Likewise.
140         [PPC_PLATFORM_PPC476]: Likewise.
141         (_dl_string_platform): Add support for detecting ppc405, ppc440,
142         ppc464, and ppc476 platform strings merging from ports/
143         dl-procinfo.h.
145 2013-06-11  Andreas Schwab  <schwab@suse.de>
147         [BZ #14991]
148         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
149         (from_ucs4_idx): Regenerate.
150         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
151         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
152         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
153         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
154         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
155         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
156         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
157         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
158         from FROM_LOOP and TO_LOOP specific macros.
159         (BODY): Handle combining characters.
160         * iconvdata/BIG5HKSCS.irreversible: Update.
161         * iconvdata/BIG5HKSCS.precomposed: New file.
162         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
163         characters.
164         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
166 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
168         * include/sys/time.h: Fix indentation and add copyright header.
170         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
171         (do_test): Likewise.
172         * string/test-memchr.c (do_one_test): Likewise.
173         (do_test): Likewise.
174         * string/test-memcmp.c (do_one_test): Likewise.
175         (do_test): Likewise.
176         * string/test-memcpy.c (do_one_test): Likewise.
177         (do_test): Likewise.
178         * string/test-memmem.c (do_one_test): Likewise.
179         (do_test): Likewise.
180         (do_random_tests): Likewise.
181         * string/test-memmove.c (do_one_test): Likewise.
182         (do_test): Likewise.
183         * string/test-memset.c (do_one_test): Likewise.
184         (do_test): Likewise.
185         * string/test-rawmemchr.c (do_one_test): Likewise.
186         (do_test): Likewise.
187         * string/test-strcasecmp.c (do_one_test): Likewise.
188         (do_test): Likewise.
189         * string/test-strcasestr.c (do_one_test): Likewise.
190         (do_test): Likewise.
191         * string/test-strcat.c (do_one_test): Likewise.
192         (do_test): Likewise.
193         * string/test-strchr.c (do_one_test): Likewise.
194         (do_test): Likewise.
195         * string/test-strcmp.c (do_one_test): Likewise.
196         (do_test): Likewise.
197         * string/test-strcpy.c (do_one_test): Likewise.
198         (do_test): Likewise.
199         * string/test-string.h: Likewise.
200         (test_init): Likewise.
201         * string/test-strlen.c (do_one_test): Likewise.
202         (do_test): Likewise.
203         * string/test-strncasecmp.c (do_one_test): Likewise.
204         (do_test): Likewise.
205         * string/test-strncat.c (do_one_test): Likewise.
206         (do_test): Likewise.
207         * string/test-strncmp.c (do_one_test): Likewise.
208         (do_test_limit): Likewise.
209         (do_test): Likewise.
210         * string/test-strncpy.c (do_one_test): Likewise.
211         (do_test): Likewise.
212         * string/test-strnlen.c (do_one_test): Likewise.
213         (do_test): Likewise.
214         * string/test-strpbrk.c (do_one_test): Likewise.
215         (do_test): Likewise.
216         * string/test-strrchr.c (do_one_test): Likewise.
217         (do_test): Likewise.
218         * string/test-strspn.c (do_one_test): Likewise.
219         (do_test): Likewise.
220         * string/test-strstr.c (do_one_test): Likewise.
221         (do_test): Likewise.
223         * benchtests/Makefile (string-bench): Add string benchmarks.
224         * benchtests/bench-bcopy-ifunc.c: New file.
225         * benchtests/bench-bcopy.c: New file.
226         * benchtests/bench-bzero-ifunc.c: New file.
227         * benchtests/bench-bzero.c: New file.
228         * benchtests/bench-memccpy-ifunc.c: New file.
229         * benchtests/bench-memccpy.c: New file.
230         * benchtests/bench-memchr-ifunc.c: New file.
231         * benchtests/bench-memchr.c: New file.
232         * benchtests/bench-memcmp-ifunc.c: New file.
233         * benchtests/bench-memcmp.c: New file.
234         * benchtests/bench-memmem-ifunc.c: New file.
235         * benchtests/bench-memmem.c: New file.
236         * benchtests/bench-memmove-ifunc.c: New file.
237         * benchtests/bench-memmove.c: New file.
238         * benchtests/bench-mempcpy-ifunc.c: New file.
239         * benchtests/bench-mempcpy.c: New file.
240         * benchtests/bench-memset-ifunc.c: New file.
241         * benchtests/bench-memset.c: New file.
242         * benchtests/bench-rawmemchr-ifunc.c: New file.
243         * benchtests/bench-rawmemchr.c: New file.
244         * benchtests/bench-stpcpy-ifunc.c: New file.
245         * benchtests/bench-stpcpy.c: New file.
246         * benchtests/bench-stpncpy-ifunc.c: New file.
247         * benchtests/bench-stpncpy.c: New file.
248         * benchtests/bench-strcasecmp-ifunc.c: New file.
249         * benchtests/bench-strcasecmp.c: New file.
250         * benchtests/bench-strcasestr-ifunc.c: New file.
251         * benchtests/bench-strcasestr.c: New file.
252         * benchtests/bench-strcat-ifunc.c: New file.
253         * benchtests/bench-strcat.c: New file.
254         * benchtests/bench-strchr-ifunc.c: New file.
255         * benchtests/bench-strchr.c: New file.
256         * benchtests/bench-strchrnul-ifunc.c: New file.
257         * benchtests/bench-strchrnul.c: New file.
258         * benchtests/bench-strcmp-ifunc.c: New file.
259         * benchtests/bench-strcmp.c: New file.
260         * benchtests/bench-strcpy-ifunc.c: New file.
261         * benchtests/bench-strcpy.c: New file.
262         * benchtests/bench-strcspn-ifunc.c: New file.
263         * benchtests/bench-strcspn.c: New file.
264         * benchtests/bench-strlen-ifunc.c: New file.
265         * benchtests/bench-strlen.c: New file.
266         * benchtests/bench-strncasecmp-ifunc.c: New file.
267         * benchtests/bench-strncasecmp.c: New file.
268         * benchtests/bench-strncat-ifunc.c: New file.
269         * benchtests/bench-strncat.c: New file.
270         * benchtests/bench-strncmp-ifunc.c: New file.
271         * benchtests/bench-strncmp.c: New file.
272         * benchtests/bench-strncpy-ifunc.c: New file.
273         * benchtests/bench-strncpy.c: New file.
274         * benchtests/bench-strnlen-ifunc.c: New file.
275         * benchtests/bench-strnlen.c: New file.
276         * benchtests/bench-strpbrk-ifunc.c: New file.
277         * benchtests/bench-strpbrk.c: New file.
278         * benchtests/bench-strrchr-ifunc.c: New file.
279         * benchtests/bench-strrchr.c: New file.
280         * benchtests/bench-strspn-ifunc.c: New file.
281         * benchtests/bench-strspn.c: New file.
282         * benchtests/bench-strstr-ifunc.c: New file.
283         * benchtests/bench-strstr.c: New file.
285         * benchtests/Makefile: Disable parallel execution of targets.
286         (string-bench): Add memcpy.
287         (benchset): New variable to store a list of benchmark sets.
288         (bench-func): Renamed from bench.
289         (bench-set): New target.
290         (bench): Depend on bench-func and bench-set.
291         * benchtests/README: Add section on benchmark sets.
292         * benchtests/bench-memcpy-ifunc.c: New file.
293         * benchtests/bench-memcpy.c: New file.
294         * benchtests/bench-string.h: New file.
296 2013-06-11  Andreas Schwab  <schwab@suse.de>
298         [BZ #15577]
299         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
300         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
301         values in the triple.
302         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
303         terminator in the group key.
305 2013-06-11  Andreas Jaeger  <aj@suse.de>
307         * po/zh_TW.po: Update Chinese (traditional) translation from
308         translation project.
310 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
312         * include/time.h (__clock_gettime): Add libc_hidden_proto.
313         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
314         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
315         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
316         (clock_getcpuclockid): Likewise.
317         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
318         Add weak_alias and libc_hidden_def.
319         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
320         * rt/clock_gettime.c (clock_gettime): Rename to
321         __clock_gettime.  Add weak_alias and libc_hidden_def.
322         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
323         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
324         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
325         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
326         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
327         Likewise.
328         * rt/clock_settime.c (clock_settime): Rename to
329         __clock_settime.  Add weak_alias and libc_hidden_def.
330         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
332 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
334         * mach/err_boot.sub: Remove trailing whitespace.
335         * mach/err_ipc.sub: Likewise.
336         * mach/err_mach.sub: Likewise.
338         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
339         (ROUNDING_TESTS_double): Likewise.
340         (ROUNDING_TESTS_long_double): Likewise.
341         (ROUNDING_TESTS): Likewise.
342         * math/libm-test.inc: Include <math-tests.h>.
343         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
344         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
345         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
346         (IF_ROUND_INIT_FE_UPWARD): Likewise.
348 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
350         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
351         of assigning.
353 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
355         * sysdeps/gnu/errlist.awk: Do not generate space at end of
356         otherwise empty TRANS lines.
357         * sysdeps/gnu/errlist.c: Regenerated.
359         * catgets/gencat.c (error_print): Use (void) in function
360         definition.
361         * crypt/crypt_util.c (__init_des): Likewise.
362         * crypt/speeds.c (Stop): Likewise.
363         (main): Likewise.
364         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
365         * inet/ruserpass.c (token): Likewise.
366         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
367         * intl/localealias.c (extend_alias_table): Likewise.
368         * intl/plural-exp.c (init_germanic_plural): Likewise.
369         * libio/fcloseall.c (__fcloseall): Likewise.
370         * libio/genops.c (_IO_flush_all): Likewise.
371         (_IO_flush_all_linebuffered): Likewise.
372         (_IO_cleanup): Likewise.
373         (_IO_iter_begin): Likewise.
374         (_IO_iter_end): Likewise.
375         (_IO_list_lock): Likewise.
376         (_IO_list_unlock): Likewise.
377         (_IO_list_resetlock): Likewise.
378         * libio/getchar.c (getchar): Likewise.
379         * libio/getchar_u.c (getchar_unlocked): Likewise.
380         * libio/getwchar.c (getwchar): Likewise.
381         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
382         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
383         * login/getpt.c (__getpt): Likewise.
384         * login/tst-utmp.c (main): Likewise.
385         * malloc/hooks.c (__malloc_check_init): Likewise.
386         * malloc/malloc.c (__malloc_stats): Likewise.
387         * malloc/mtrace.c (tr_break): Likewise.
388         (mtrace): Likewise.
389         (muntrace): Likewise.
390         * misc/fstab.c (endfsent): Likewise.
391         * misc/getclktck.c (__getclktck): Likewise.
392         * misc/getdtsz.c (__getdtablesize): Likewise.
393         * misc/gethostid.c (gethostid): Likewise.
394         * misc/getpagesize.c (__getpagesize): Likewise.
395         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
396         (__get_nprocs): Likewise.
397         (__get_phys_pages): Likewise.
398         (__get_avphys_pages): Likewise.
399         * misc/getttyent.c (getttyent): Likewise.
400         (setttyent): Likewise.
401         (endttyent): Likewise.
402         * misc/getusershell.c (getusershell): Likewise.
403         (endusershell): Likewise.
404         (setusershell): Likewise.
405         (initshells): Likewise.
406         * misc/hsearch.c (__hdestroy): Likewise.
407         * misc/sync.c (sync): Likewise.
408         * misc/syslog.c (closelog_internal): Likewise.
409         (closelog): Likewise.
410         * misc/ttyslot.c (ttyslot): Likewise.
411         * misc/vhangup.c (vhangup): Likewise.
412         * posix/fork.c (__fork): Likewise.
413         * posix/getegid.c (__getegid): Likewise.
414         * posix/geteuid.c (__geteuid): Likewise.
415         * posix/getgid.c (__getgid): Likewise.
416         * posix/getpid.c (__getpid): Likewise.
417         * posix/getppid.c (__getppid): Likewise.
418         * posix/getuid.c (__getuid): Likewise.
419         * posix/pause.c (pause): Likewise.
420         * posix/setpgrp.c (setpgrp): Likewise.
421         * posix/setsid.c (__setsid): Likewise.
422         * posix/test-vfork.c (noop): Likewise.
423         * resolv/gethnamaddr.c (_endhtent): Likewise.
424         (_gethtent): Likewise.
425         (ht_endhostent): Likewise.
426         (gethostent): Likewise.
427         (dns_service): Likewise.
428         * stdlib/drand48.c (drand48): Likewise.
429         * stdlib/lrand48.c (lrand48): Likewise.
430         * stdlib/mrand48.c (mrand48): Likewise.
431         * stdlib/rand.c (rand): Likewise.
432         * stdlib/random.c (__random): Likewise.
433         * stdlib/setenv.c (clearenv): Likewise.
434         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
435         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
436         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
437         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
438         (__get_nprocs): Likewise.
439         (__get_phys_pages): Likewise.
440         (__get_avphys_pages): Likewise.
441         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
442         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
443         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
444         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
445         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
446         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
447         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
448         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
449         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
450         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
451         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
452         * sysdeps/mach/hurd/sync.c (sync): Likewise.
453         * sysdeps/posix/clock.c (clock): Likewise.
454         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
455         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
456         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
457         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
458         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
459         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
460         (__get_nprocs_conf): Likewise.
461         (__get_phys_pages): Likewise.
462         (__get_avphys_pages): Likewise.
463         * time/clock.c (clock): Likewise.
464         * time/tzset.c (__tzname_max): Likewise.
466 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
468         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
469         (__bswap_32): Do not use "register".
470         * crypt/crypt.c (_ufc_doit_r): Likewise.
471         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
472         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
473         * gmon/gmon.c (__monstartup): Likewise.
474         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
475         * hurd/hurdmalloc.c (more_memory): Likewise.
476         (malloc): Likewise.
477         (free): Likewise.
478         (realloc): Likewise.
479         (malloc_fork_prepare): Likewise.
480         (malloc_fork_parent): Likewise.
481         (malloc_fork_child): Likewise.
482         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
483         (_svcauth_des): Likewise.
484         * inet/inet_lnaof.c (inet_lnaof): Likewise.
485         * inet/inet_net.c (inet_network): Likewise.
486         * inet/inet_netof.c (inet_netof): Likewise.
487         * inet/rcmd.c (__validuser2_sa): Likewise.
488         * io/fts.c (fts_open): Likewise.
489         (fts_load): Likewise.
490         (fts_close): Likewise.
491         (fts_read): Likewise.
492         (fts_children): Likewise.
493         (fts_build): Likewise.
494         (fts_stat): Likewise.
495         (fts_sort): Likewise.
496         (fts_alloc): Likewise.
497         (fts_lfree): Likewise.
498         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
499         (_IO_file_xsgetn): Likewise.
500         (_IO_file_xsgetn_mmap): Likewise.
501         * libio/iofopncook.c (_IO_cookie_read): Likewise.
502         (_IO_cookie_write): Likewise.
503         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
504         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
505         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
506         * malloc/obstack.c (_obstack_begin): Likewise.
507         (_obstack_begin_1): Likewise.
508         (_obstack_newchunk): Likewise.
509         (_obstack_allocated_p): Likewise.
510         (obstack_free): Likewise.
511         (_obstack_memory_used): Likewise.
512         * misc/getttyent.c (getttynam): Likewise.
513         (getttyent): Likewise.
514         (skip): Likewise.
515         (value): Likewise.
516         * misc/getusershell.c (initshells): Likewise.
517         * misc/syslog.c (__vsyslog_chk): Likewise.
518         * misc/ttyslot.c (ttyslot): Likewise.
519         * nis/nis_hash.c (__nis_hash): Likewise.
520         * posix/fnmatch_loop.c (FCT): Likewise.
521         * posix/getconf.c (print_all): Likewise.
522         (main): Likewise.
523         * posix/getopt.c (exchange): Likewise.
524         * posix/glob.c (globfree): Likewise.
525         (prefix_array): Likewise.
526         (__glob_pattern_type): Likewise.
527         * resolv/arpa/nameser.h (NS_GET16): Likewise.
528         (NS_GET32): Likewise.
529         (NS_PUT16): Likewise.
530         (NS_PUT32): Likewise.
531         * resolv/gethnamaddr.c (getanswer): Likewise.
532         (gethostbyname2): Likewise.
533         (gethostbyaddr): Likewise.
534         (_gethtent): Likewise.
535         (_gethtbyname2): Likewise.
536         (_gethtbyaddr): Likewise.
537         * resolv/ns_print.c (dst_s_get_int16): Likewise.
538         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
539         * resolv/res_init.c (__res_vinit): Likewise.
540         (net_mask): Likewise.
541         * resolv/res_mkquery.c (outchar): Likewise.
542         (PRINT): Likewise.
543         * stdio-common/printf_fp.c (outchar): Likewise.
544         (PRINT): Likewise.
545         * stdio-common/printf_fphex.c (outchar): Likewise.
546         (PRINT): Likewise.
547         * stdio-common/printf_size.c (outchar): Likewise.
548         (PRINT): Likewise.
549         * stdio-common/test_rdwr.c (main): Likewise.
550         * stdio-common/tfformat.c (matches): Likewise.
551         * stdio-common/vfprintf.c (outchar): Likewise.
552         (printf_unknown): Likewise.
553         (buffered_vfprintf): Likewise.
554         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
555         * stdio-common/xbug.c (AppendToBuffer): Likewise.
556         (ReadFile): Likewise.
557         * stdlib/qsort.c (SWAP): Likewise.
558         (_quicksort): Likewise.
559         * stdlib/setenv.c (__add_to_environ): Likewise.
560         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
561         * stdlib/strtol_l.c (__strtol_l): Likewise.
562         * stdlib/tst-strtod.c (main): Likewise.
563         * stdlib/tst-strtol.c (main): Likewise.
564         * stdlib/tst-strtoll.c (main): Likewise.
565         * string/bits/string2.h (__strcmp_cc): Likewise.
566         (__strcmp_cg): Likewise.
567         (__strcspn_c1): Likewise.
568         (__strcspn_c2): Likewise.
569         (__strcspn_c3): Likewise.
570         (__strspn_c1): Likewise.
571         (__strspn_c2): Likewise.
572         (__strspn_c3): Likewise.
573         (__strsep_1c): Likewise.
574         (__strsep_2c): Likewise.
575         (__strsep_3c): Likewise.
576         * string/memccpy.c (__memccpy): Likewise.
577         * string/stpcpy.c (__stpcpy): Likewise.
578         * string/strcmp.c (strcmp): Likewise.
579         * string/strrchr.c (strrchr): Likewise.
580         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
581         Likewise.
582         * sysdeps/mach/hurd/getcwd.c
583         (_hurd_canonicalize_directory_name_internal): Likewise.
584         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
585         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
586         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
587         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
588         Likewise, in both definitions.
589         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
590         definitions.
591         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
592         64] (__bswap_64): Likewise.
593         * time/test_time.c (main): Likewise.
594         * time/tzfile.c (__tzfile_read): Likewise.
595         (__tzfile_compute): Likewise.
596         * time/tzset.c (__tzset_parse_tz): Likewise.
597         (tzset_internal): Likewise.
598         (compute_change): Likewise.
599         * wcsmbs/wcscat.c (__wcscat): Likewise.
600         * wcsmbs/wcschr.c (wcschr): Likewise.
601         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
602         * wcsmbs/wcscspn.c (wcscspn): Likewise.
603         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
604         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
605         * wcsmbs/wcsspn.c (wcsspn): Likewise.
606         * wcsmbs/wcsstr.c (wcsstr): Likewise.
607         * wcsmbs/wmemchr.c (wmemchr): Likewise.
608         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
609         * wcsmbs/wmemset.c (wmemset): Likewise.
611 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
613         * scripts/config.guess: Update to version 2013-05-16.
614         * scripts/config.sub: Update to version 2013-04-24.
615         * scripts/install-sh: Update to version 2011-11-20.07.
616         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
617         * scripts/move-if-change: Update to version 2012-01-06 07:23.
619 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
621         * debug/fgetws_u_chk.c: Fix leading whitespaces.
622         * elf/sln.c: Likewise.
623         * hurd/hurd/ioctl.h: Likewise.
624         * hurd/hurdmalloc.c: Likewise.
625         * hurd/xattr.c: Likewise.
626         * include/shlib-compat.h: Likewise.
627         * inet/ruserpass.c: Likewise.
628         * libio/iofgets_u.c: Likewise.
629         * libio/iofgetws_u.c: Likewise.
630         * locale/programs/ld-identification.c: Likewise.
631         * locale/programs/ld-time.c: Likewise.
632         * mach/msg-destroy.c: Likewise.
633         * nss/nss_files/files-netgrp.c: Likewise.
634         * resolv/res_data.c: Likewise.
635         * soft-fp/op-1.h: Likewise.
636         * soft-fp/op-2.h: Likewise.
637         * soft-fp/op-4.h: Likewise.
638         * soft-fp/op-common.h: Likewise.
639         * stdio-common/printf_fphex.c: Likewise.
640         * stdlib/strtod_l.c: Likewise.
641         * sunrpc/rpc/clnt.h: Likewise.
642         * sysdeps/generic/framestate.c: Likewise.
643         * sysdeps/i386/bsd-_setjmp.S: Likewise.
644         * sysdeps/i386/bsd-setjmp.S: Likewise.
645         * sysdeps/i386/__longjmp.S: Likewise.
646         * sysdeps/i386/setjmp.S: Likewise.
647         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
648         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
649         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
650         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
651         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
652         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
653         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
654         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
655         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
656         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
657         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
658         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
659         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
660         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
661         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
662         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
663         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
664         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
665         * sysdeps/ieee754/support.c: Likewise.
666         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
667         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
668         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
669         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
670         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
671         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
672         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
673         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
674         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
675         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
676         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
677         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
678         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
679         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
680         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
681         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
682         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
683         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
685 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
687         * posix/transbug.c: Remove executable mode.
689 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
691         * crypt/speeds.c: Remove trailing whitespace.
692         * dlfcn/default.c: Likewise.
693         * elf/ifuncdep2.c: Likewise.
694         * elf/ifuncmain1.c: Likewise.
695         * elf/ifuncmain1vis.c: Likewise.
696         * elf/testobj.h: Likewise.
697         * elf/tst-stackguard1.c: Likewise.
698         * gmon/sys/gmon.h: Likewise.
699         * hurd/hurdmsg.c: Likewise.
700         * hurd/new-fd.c: Likewise.
701         * hurd/ports-get.c: Likewise.
702         * iconvdata/ibm1008_420.c: Likewise.
703         * inet/tst-getni1.c: Likewise.
704         * inet/tst-getni2.c: Likewise.
705         * libio/ioungetc.c: Likewise.
706         * libio/wfiledoalloc.c: Likewise.
707         * manual/libm-err-tab.pl: Likewise.
708         * math/w_dremf.c: Likewise.
709         * misc/ftruncate.c: Likewise.
710         * posix/bug-glob2.c: Likewise.
711         * posix/tst-pcre.c: Likewise.
712         * posix/wait4.c: Likewise.
713         * resolv/README: Likewise.
714         * resolv/res_debug.h: Likewise.
715         * resolv/tst-inet_ntop.c: Likewise.
716         * setjmp/bug269-setjmp.c: Likewise.
717         * soft-fp/extended.h: Likewise.
718         * soft-fp/op-1.h: Likewise.
719         * soft-fp/op-2.h: Likewise.
720         * soft-fp/op-4.h: Likewise.
721         * soft-fp/op-8.h: Likewise.
722         * soft-fp/testit.c: Likewise.
723         * stdio-common/bug16.c: Likewise.
724         * stdlib/random.c: Likewise.
725         * sunrpc/rpcsvc/rquota.x: Likewise.
726         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
727         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
728         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
729         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
730         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
731         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
732         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
733         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
734         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
735         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
736         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
737         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
738         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
739         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
740         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
741         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
742         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
743         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
744         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
745         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
746         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
747         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
748         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
749         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
750         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
751         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
752         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
753         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
754         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
755         * sysdeps/ieee754/s_lib_version.c: Likewise.
756         * sysdeps/mach/hurd/check_fds.c: Likewise.
757         * sysdeps/mach/hurd/getsockname.c: Likewise.
758         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
759         * sysdeps/mach/hurd/recvfrom.c: Likewise.
760         * sysdeps/powerpc/bits/link.h: Likewise.
761         * sysdeps/powerpc/dl-procinfo.c: Likewise.
762         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
763         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
764         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
765         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
766         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
767         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
768         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
769         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
770         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
771         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
772         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
773         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
774         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
775         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
776         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
777         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
778         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
779         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
780         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
781         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
782         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
783         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
784         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
785         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
786         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
787         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
788         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
789         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
790         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
791         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
792         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
793         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
794         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
795         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
796         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
797         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
798         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
799         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
800         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
801         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
802         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
803         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
804         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
805         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
806         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
807         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
808         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
809         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
810         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
811         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
812         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
813         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
814         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
815         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
816         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
817         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
818         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
819         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
820         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
821         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
822         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
823         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
824         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
825         * sysdeps/powerpc/sysdep.h: Likewise.
826         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
827         * sysdeps/s390/s390-64/sub_n.S: Likewise.
828         * sysdeps/sh/dl-trampoline.S: Likewise.
829         * sysdeps/sh/memset.S: Likewise.
830         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
831         * sysdeps/sh/strlen.S: Likewise.
832         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
833         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
834         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
835         * sysdeps/sparc/sparc32/rem.S: Likewise.
836         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
837         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
838         * sysdeps/sparc/sparc32/strchr.S: Likewise.
839         * sysdeps/sparc/sparc32/udiv.S: Likewise.
840         * sysdeps/sparc/sparc32/urem.S: Likewise.
841         * sysdeps/sparc/sparc64/add_n.S: Likewise.
842         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
843         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
844         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
845         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
846         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
847         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
848         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
849         * sysdeps/unix/bsd/times.c: Likewise.
850         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
851         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
852         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
853         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
854         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
855         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
856         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
857         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
858         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
859         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
860         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
861         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
862         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
863         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
864         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
865         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
866         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
867         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
868         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
869         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
870         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
871         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
872         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
873         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
874         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
875         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
876         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
877         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
878         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
879         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
880         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
881         * sysdeps/x86_64/strcspn.S: Likewise.
883 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
885         * locale/C-translit.h: Revert #include <stdint.h> because this is a
886         generated file.  Regenerate properly from gen-translit.pl.
887         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
888         locale/C-translit.h.
890 2013-06-05  Andreas Schwab  <schwab@suse.de>
892         [BZ #15100]
893         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
894         week as 6 instead of -1.
895         * time/tst-strptime.c (day_tests): Add test case.
897 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
899         * sysdeps/generic/math_private.h
900         (libc_feholdexcept_setround_53bit): Replace with
901         libc_feholdsetround_53bit.
902         (libc_feupdateenv_53bit): Replace with
903         libc_feresetround_53bit.
904         (SET_RESTORE_ROUND_53BIT): Adjust.
906 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
908         * string/test-strchrnul.c: Add copyright header.
910         * posix/tst-getaddrinfo4.c: Increase test timeout.
912 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
914         [BZ #15536]
915         * math/libm-test.inc (MAX_EXP): Remove
916         (MIN_EXP): Define.
917         (ulp): Use MIN_EXP - MANT_DIG.
918         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
920 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
922         * po/be.po: Revert last change.
923         * po/zh_CN.po: Likewise.
924         * po/header.pot: Likewise.
926 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
928         * Makefile ($(common-objpfx)linkobj/libc.so): Define
929         link-libc-deps to empty as target-specific variable.
930         * Makerules (link-libc-args): New variable.
931         (libc-for-link): Likewise.
932         (link-libc-deps): Likewise.
933         (lib%.so): Depend on $(link-libc-deps).  Link with
934         $(link-libc-args).
935         (build-module): Link with $(link-libc-args).
936         (build-module-asneeded): Likewise.
937         (build-module-helper-objlist): Filter out $(link-libc-deps) from
938         list of objects.
939         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
940         target-specific variable.
941         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
942         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
943         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
944         libc.
945         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
946         libc and ld.so.
947         ($(objpfx)libpcprofile.so): Likewise.
948         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
949         libc_nonshared.a.
950         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
951         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
952         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
953         $(link-libc-deps).
954         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
955         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
956         * login/Makefile ($(objpfx)libutil.so): Likewise.
957         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
958         * math/Makefile ($(objpfx)libm.so): Likewise.
959         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
960         $(objpfx)libnsl.so): Define libc-for-link as target-specific
961         variable instead of depending directly on libc.
962         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
963         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
964         $(link-libc-deps).
965         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
966         libc.
967         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
968         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
969         ($(objpfx)libanl.so): Likewise.
970         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
971         ld.so.
972         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
973         $(link-libc-deps).
974         * sysdeps/i386/fpu/Makefile: Remove file.
975         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
976         ($(objpfx)libm.so): Remove dependency on ld.so.
978 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
980         [BZ # 15553]
981         * nis/yp_xdr.c (XDRMAXNAME): Define.
982         (XDRMAXRECORD): Define.
983         (xdr_domainname): Use XDRMAXNAME.
984         (xdr_mapname): Likewise.
985         (xdr_peername): Likewise.
986         (xdr_keydat): Use XDRMAXRECORD.
987         (xdr_valdat): Likewise.
989 2013-05-30  Jeff Law  <law@redhat.com>
991         [BZ #14256]
992         * manual/errno.texi (ESTALE): Update to account for more than
993         just NFS file systems.
994         * sysdeps/gnu/errlist.c: Regenerated.
996 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
998         [BZ #15465]
999         * elf/Makefile (tests): Add tst-null-argv.
1000         (modules-names):  Add tst-null-argv-lib.
1001         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
1002         (tst-null-argv-ENV): Set environment for tst-null-argv.
1003         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
1004         (RTLD_PROGNAME): New macro.
1005         * elf/tst-null-argv.c: New test case.
1006         * elf/tst-null-argv-lib.c: Library for test case.
1007         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
1008         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
1009         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
1010         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
1011         * elf/dl-init.c (call_init): Likewise.
1012         (_dl_init): Likewise.
1013         * elf/dl-load.c (print_search_path): Likewise.
1014         (_dl_map_object): Likewise.
1015         * elf/dl-lookup.c (do_lookup_x): Likewise.
1016         (add_dependency): Likewise.
1017         (_dl_lookup_symbol_x): Likewise.
1018         (_dl_debug_bindings): Likewise.
1019         * elf/dl-open.c (_dl_show_scope): Likewise.
1020         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
1021         * elf/dl-version.c (match_symbol): Likewise.
1022         (_dl_check_map_versions): Likewise.
1023         * elf/rtld.c (dl_main): Likewise.
1024         (print_unresolved): Use RTLD_PROGNAME.
1025         (print_missing_version): Likewise.
1026         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
1027         (elf_machine_rela): Likewise.
1028         * sysdeps/powerpc/powerpc32/dl-machine.c
1029         (__process_machine_rela): Likewise.
1030         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
1031         Likewise.
1032         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
1033         Likewise.
1034         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
1035         Likewise.
1036         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
1037         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
1038         Likewise.
1039         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
1040         Likewise.
1041         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
1043 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
1045         * po/be.po: Add descriptive title.
1046         * po/zh_CN.po: Likewise.
1047         * po/header.pot: Likewise.
1049 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
1051         * locale/programs/locarchive.c (create_archive): Inlucde fname in
1052         error message.
1053         (enlarge_archive): Likewise.
1055 2013-05-28  Ben North  <ben@redfrontdoor.org>
1057         * manual/arith.texi (frexp): It is the magnitude of the return
1058         value which lies in [0.5, 1), not the return value itself.
1060 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1062         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1064 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
1066         * stdio-common/bug26.c (main): Correct fscanf template.
1068         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
1069         declare _dl_skip_args.
1071         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
1072         Don't declare.
1074         * manual/platform.texi: Add missing @end deftypefun.
1076 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
1078         [BZ #15529]
1079         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
1080         bit of mantissa of 2^16382.
1081         * math/libm-test.inc (hypot_test_data): Add more tests.
1083         * math/libm-test.inc: Add drem and pow10 to list of tested
1084         functions.
1085         (pow10_test): New function.
1086         (drem_test): Likewise.
1087         (drem_test_tonearest): Likewise.
1088         (drem_test_towardzero): Likewise.
1089         (drem_test_downward): Likewise.
1090         (drem_test_upward): Likewise.
1091         (main): Call the new functions.
1093         * math/libm-test.inc (finite_test_data): Remove.
1094         (finite_test): Run tests from isfinite_test_data.
1095         (gamma_test_data): Remove.
1096         (gamma_test): Run tests from lgamma_test_data.
1097         * sysdeps/i386/fpu/libm-test-ulps: Update.
1098         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1100 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1102         * manual/platform.texi: Add PowerPC PPR function set documentation.
1103         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
1104         implementation.
1106 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
1108         * math/libm-test.inc (MAX_EXP): Define.
1109         (ULPDIFF): Define.
1110         (ulp): New function.
1111         (check_float_internal): Use ULPDIFF.
1112         (cpow_test): Disable failing test.
1113         (check_ulp): Test ulp() implemetnation.
1114         (main): Call check_ulp before starting tests.
1116 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
1118         * math/gen-libm-test.pl (generate_testfile): Do not handle
1119         START_DATA and END_DATA.
1120         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
1121         END_DATA.
1122         (acos_tonearest_test_data): Likewise.
1123         (acos_towardzero_test_data): Likewise.
1124         (acos_downward_test_data): Likewise.
1125         (acos_upward_test_data): Likewise.
1126         (acosh_test_data): Likewise.
1127         (asin_test_data): Likewise.
1128         (asin_tonearest_test_data): Likewise.
1129         (asin_towardzero_test_data): Likewise.
1130         (asin_downward_test_data): Likewise.
1131         (asin_upward_test_data): Likewise.
1132         (asinh_test_data): Likewise.
1133         (atan_test_data): Likewise.
1134         (atanh_test_data): Likewise.
1135         (atan2_test_data): Likewise.
1136         (cabs_test_data): Likewise.
1137         (cacos_test_data): Likewise.
1138         (cacosh_test_data): Likewise.
1139         (carg_test_data): Likewise.
1140         (casin_test_data): Likewise.
1141         (casinh_test_data): Likewise.
1142         (catan_test_data): Likewise.
1143         (catanh_test_data): Likewise.
1144         (cbrt_test_data): Likewise.
1145         (ccos_test_data): Likewise.
1146         (ccosh_test_data): Likewise.
1147         (ceil_test_data): Likewise.
1148         (cexp_test_data): Likewise.
1149         (cimag_test_data): Likewise.
1150         (clog_test_data): Likewise.
1151         (clog10_test_data): Likewise.
1152         (conj_test_data): Likewise.
1153         (copysign_test_data): Likewise.
1154         (cos_test_data): Likewise.
1155         (cos_tonearest_test_data): Likewise.
1156         (cos_towardzero_test_data): Likewise.
1157         (cos_downward_test_data): Likewise.
1158         (cos_upward_test_data): Likewise.
1159         (cosh_test_data): Likewise.
1160         (cosh_tonearest_test_data): Likewise.
1161         (cosh_towardzero_test_data): Likewise.
1162         (cosh_downward_test_data): Likewise.
1163         (cosh_upward_test_data): Likewise.
1164         (cpow_test_data): Likewise.
1165         (cproj_test_data): Likewise.
1166         (creal_test_data): Likewise.
1167         (csin_test_data): Likewise.
1168         (csinh_test_data): Likewise.
1169         (csqrt_test_data): Likewise.
1170         (ctan_test_data): Likewise.
1171         (ctan_tonearest_test_data): Likewise.
1172         (ctan_towardzero_test_data): Likewise.
1173         (ctan_downward_test_data): Likewise.
1174         (ctan_upward_test_data): Likewise.
1175         (ctanh_test_data): Likewise.
1176         (ctanh_tonearest_test_data): Likewise.
1177         (ctanh_towardzero_test_data): Likewise.
1178         (ctanh_downward_test_data): Likewise.
1179         (ctanh_upward_test_data): Likewise.
1180         (erf_test_data): Likewise.
1181         (erfc_test_data): Likewise.
1182         (exp_test_data): Likewise.
1183         (exp_tonearest_test_data): Likewise.
1184         (exp_towardzero_test_data): Likewise.
1185         (exp_downward_test_data): Likewise.
1186         (exp_upward_test_data): Likewise.
1187         (exp10_test_data): Likewise.
1188         (exp2_test_data): Likewise.
1189         (expm1_test_data): Likewise.
1190         (fabs_test_data): Likewise.
1191         (fdim_test_data): Likewise.
1192         (finite_test_data): Likewise.
1193         (floor_test_data): Likewise.
1194         (fma_test_data): Likewise.
1195         (fma_towardzero_test_data): Likewise.
1196         (fma_downward_test_data): Likewise.
1197         (fma_upward_test_data): Likewise.
1198         (fmax_test_data): Likewise.
1199         (fmin_test_data): Likewise.
1200         (fmod_test_data): Likewise.
1201         (fpclassify_test_data): Likewise.
1202         (frexp_test_data): Likewise.
1203         (gamma_test_data): Likewise.
1204         (hypot_test_data): Likewise.
1205         (ilogb_test_data): Likewise.
1206         (isfinite_test_data): Likewise.
1207         (isgreater_test_data): Likewise.
1208         (isgreaterequal_test_data): Likewise.
1209         (isinf_test_data): Likewise.
1210         (isless_test_data): Likewise.
1211         (islessequal_test_data): Likewise.
1212         (islessgreater_test_data): Likewise.
1213         (isnan_test_data): Likewise.
1214         (isnormal_test_data): Likewise.
1215         (issignaling_test_data): Likewise.
1216         (isunordered_test_data): Likewise.
1217         (j0_test_data): Likewise.
1218         (j1_test_data): Likewise.
1219         (jn_test_data): Likewise.
1220         (ldexp_test_data): Likewise.
1221         (lgamma_test_data): Likewise.
1222         (lrint_test_data): Likewise.
1223         (lrint_tonearest_test_data): Likewise.
1224         (lrint_towardzero_test_data): Likewise.
1225         (lrint_downward_test_data): Likewise.
1226         (lrint_upward_test_data): Likewise.
1227         (llrint_test_data): Likewise.
1228         (llrint_tonearest_test_data): Likewise.
1229         (llrint_towardzero_test_data): Likewise.
1230         (llrint_downward_test_data): Likewise.
1231         (llrint_upward_test_data): Likewise.
1232         (log_test_data): Likewise.
1233         (log10_test_data): Likewise.
1234         (log1p_test_data): Likewise.
1235         (log2_test_data): Likewise.
1236         (logb_test_data): Likewise.
1237         (logb_downward_test_data): Likewise.
1238         (lround_test_data): Likewise.
1239         (llround_test_data): Likewise.
1240         (modf_test_data): Likewise.
1241         (nearbyint_test_data): Likewise.
1242         (nextafter_test_data): Likewise.
1243         (nexttoward_test_data): Likewise.
1244         (pow_test_data): Likewise.
1245         (pow_tonearest_test_data): Likewise.
1246         (pow_towardzero_test_data): Likewise.
1247         (pow_downward_test_data): Likewise.
1248         (pow_upward_test_data): Likewise.
1249         (remainder_test_data): Likewise.
1250         (remainder_tonearest_test_data): Likewise.
1251         (remainder_towardzero_test_data): Likewise.
1252         (remainder_downward_test_data): Likewise.
1253         (remainder_upward_test_data): Likewise.
1254         (remquo_test_data): Likewise.
1255         (rint_test_data): Likewise.
1256         (rint_tonearest_test_data): Likewise.
1257         (rint_towardzero_test_data): Likewise.
1258         (rint_downward_test_data): Likewise.
1259         (rint_upward_test_data): Likewise.
1260         (round_test_data): Likewise.
1261         (scalb_test_data): Likewise.
1262         (scalbn_test_data): Likewise.
1263         (scalbln_test_data): Likewise.
1264         (signbit_test_data): Likewise.
1265         (sin_test_data): Likewise.
1266         (sin_tonearest_test_data): Likewise.
1267         (sin_towardzero_test_data): Likewise.
1268         (sin_downward_test_data): Likewise.
1269         (sin_upward_test_data): Likewise.
1270         (sincos_test_data): Likewise.
1271         (sinh_test_data): Likewise.
1272         (sinh_tonearest_test_data): Likewise.
1273         (sinh_towardzero_test_data): Likewise.
1274         (sinh_downward_test_data): Likewise.
1275         (sinh_upward_test_data): Likewise.
1276         (sqrt_test_data): Likewise.
1277         (tan_test_data): Likewise.
1278         (tan_tonearest_test_data): Likewise.
1279         (tan_towardzero_test_data): Likewise.
1280         (tan_downward_test_data): Likewise.
1281         (tan_upward_test_data): Likewise.
1282         (tanh_test_data): Likewise.
1283         (tgamma_test_data): Likewise.
1284         (trunc_test_data): Likewise.
1285         (y0_test_data): Likewise.
1286         (y1_test_data): Likewise.
1287         (yn_test_data): Likewise.
1288         (significand_test_data): Likewise.
1290         * math/gen-libm-test.pl (@functions): Remove variable.
1291         (generate_testfile): Don't handle START and END lines.
1292         * math/libm-test.inc (START): New macro.
1293         (END): Likewise.
1294         (END_COMPLEX): Likewise.
1295         (acos_test): Use END macro without arguments.
1296         (acos_test_tonearest): Likewise.
1297         (acos_test_towardzero): Likewise.
1298         (acos_test_downward): Likewise.
1299         (acos_test_upward): Likewise.
1300         (acosh_test): Likewise.
1301         (asin_test): Likewise.
1302         (asin_test_tonearest): Likewise.
1303         (asin_test_towardzero): Likewise.
1304         (asin_test_downward): Likewise.
1305         (asin_test_upward): Likewise.
1306         (asinh_test): Likewise.
1307         (atan_test): Likewise.
1308         (atanh_test): Likewise.
1309         (atan2_test): Likewise.
1310         (cabs_test): Likewise.
1311         (cacos_test): Use END_COMPLEX macro without arguments.
1312         (cacosh_test): Likewise.
1313         (carg_test): Use END macro without arguments.
1314         (casin_test): Use END_COMPLEX macro without arguments.
1315         (casinh_test): Likewise.
1316         (catan_test): Likewise.
1317         (catanh_test): Likewise.
1318         (cbrt_test): Use END macro without arguments.
1319         (ccos_test): Use END_COMPLEX macro without arguments.
1320         (ccosh_test): Likewise.
1321         (ceil_test): Use END macro without arguments.
1322         (cexp_test): Use END_COMPLEX macro without arguments.
1323         (cimag_test): Use END macro without arguments.
1324         (clog_test): Use END_COMPLEX macro without arguments.
1325         (clog10_test): Likewise.
1326         (conj_test): Likewise.
1327         (copysign_test): Use END macro without arguments.
1328         (cos_test): Likewise.
1329         (cos_test_tonearest): Likewise.
1330         (cos_test_towardzero): Likewise.
1331         (cos_test_downward): Likewise.
1332         (cos_test_upward): Likewise.
1333         (cosh_test): Likewise.
1334         (cosh_test_tonearest): Likewise.
1335         (cosh_test_towardzero): Likewise.
1336         (cosh_test_downward): Likewise.
1337         (cosh_test_upward): Likewise.
1338         (cpow_test): Use END_COMPLEX macro without arguments.
1339         (cproj_test): Likewise.
1340         (creal_test): Use END macro without arguments.
1341         (csin_test): Use END_COMPLEX macro without arguments.
1342         (csinh_test): Likewise.
1343         (csqrt_test): Likewise.
1344         (ctan_test): Likewise.
1345         (ctan_test_tonearest): Likewise.
1346         (ctan_test_towardzero): Likewise.
1347         (ctan_test_downward): Likewise.
1348         (ctan_test_upward): Likewise.
1349         (ctanh_test): Likewise.
1350         (ctanh_test_tonearest): Likewise.
1351         (ctanh_test_towardzero): Likewise.
1352         (ctanh_test_downward): Likewise.
1353         (ctanh_test_upward): Likewise.
1354         (erf_test): Use END macro without arguments.
1355         (erfc_test): Likewise.
1356         (exp_test): Likewise.
1357         (exp_test_tonearest): Likewise.
1358         (exp_test_towardzero): Likewise.
1359         (exp_test_downward): Likewise.
1360         (exp_test_upward): Likewise.
1361         (exp10_test): Likewise.
1362         (exp2_test): Likewise.
1363         (expm1_test): Likewise.
1364         (fabs_test): Likewise.
1365         (fdim_test): Likewise.
1366         (finite_test): Likewise.
1367         (floor_test): Likewise.
1368         (fma_test): Likewise.
1369         (fma_test_towardzero): Likewise.
1370         (fma_test_downward): Likewise.
1371         (fma_test_upward): Likewise.
1372         (fmax_test): Likewise.
1373         (fmin_test): Likewise.
1374         (fmod_test): Likewise.
1375         (fpclassify_test): Likewise.
1376         (frexp_test): Likewise.
1377         (gamma_test): Likewise.
1378         (hypot_test): Likewise.
1379         (ilogb_test): Likewise.
1380         (isfinite_test): Likewise.
1381         (isgreater_test): Likewise.
1382         (isgreaterequal_test): Likewise.
1383         (isinf_test): Likewise.
1384         (isless_test): Likewise.
1385         (islessequal_test): Likewise.
1386         (islessgreater_test): Likewise.
1387         (isnan_test): Likewise.
1388         (isnormal_test): Likewise.
1389         (issignaling_test): Likewise.
1390         (isunordered_test): Likewise.
1391         (j0_test): Likewise.
1392         (j1_test): Likewise.
1393         (jn_test): Likewise.
1394         (ldexp_test): Likewise.
1395         (lgamma_test): Likewise.
1396         (lrint_test): Likewise.
1397         (lrint_test_tonearest): Likewise.
1398         (lrint_test_towardzero): Likewise.
1399         (lrint_test_downward): Likewise.
1400         (lrint_test_upward): Likewise.
1401         (llrint_test): Likewise.
1402         (llrint_test_tonearest): Likewise.
1403         (llrint_test_towardzero): Likewise.
1404         (llrint_test_downward): Likewise.
1405         (llrint_test_upward): Likewise.
1406         (log_test): Likewise.
1407         (log10_test): Likewise.
1408         (log1p_test): Likewise.
1409         (log2_test): Likewise.
1410         (logb_test): Likewise.
1411         (logb_test_downward): Likewise.
1412         (lround_test): Likewise.
1413         (llround_test): Likewise.
1414         (modf_test): Likewise.
1415         (nearbyint_test): Likewise.
1416         (nextafter_test): Likewise.
1417         (nexttoward_test): Likewise.
1418         (pow_test): Likewise.
1419         (pow_test_tonearest): Likewise.
1420         (pow_test_towardzero): Likewise.
1421         (pow_test_downward): Likewise.
1422         (pow_test_upward): Likewise.
1423         (remainder_test): Likewise.
1424         (remainder_test_tonearest): Likewise.
1425         (remainder_test_towardzero): Likewise.
1426         (remainder_test_downward): Likewise.
1427         (remainder_test_upward): Likewise.
1428         (remquo_test): Likewise.
1429         (rint_test): Likewise.
1430         (rint_test_tonearest): Likewise.
1431         (rint_test_towardzero): Likewise.
1432         (rint_test_downward): Likewise.
1433         (rint_test_upward): Likewise.
1434         (round_test): Likewise.
1435         (scalb_test): Likewise.
1436         (scalbn_test): Likewise.
1437         (scalbln_test): Likewise.
1438         (signbit_test): Likewise.
1439         (sin_test): Likewise.
1440         (sin_test_tonearest): Likewise.
1441         (sin_test_towardzero): Likewise.
1442         (sin_test_downward): Likewise.
1443         (sin_test_upward): Likewise.
1444         (sincos_test): Likewise.
1445         (sinh_test): Likewise.
1446         (sinh_test_tonearest): Likewise.
1447         (sinh_test_towardzero): Likewise.
1448         (sinh_test_downward): Likewise.
1449         (sinh_test_upward): Likewise.
1450         (sqrt_test): Likewise.
1451         (tan_test): Likewise.
1452         (tan_test_tonearest): Likewise.
1453         (tan_test_towardzero): Likewise.
1454         (tan_test_downward): Likewise.
1455         (tan_test_upward): Likewise.
1456         (tanh_test): Likewise.
1457         (tgamma_test): Likewise.
1458         (trunc_test): Likewise.
1459         (y0_test): Likewise.
1460         (y1_test): Likewise.
1461         (yn_test): Likewise.
1462         (significand_test): Likewise.
1464 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
1466         [BZ #15381]
1467         * libio/genops.c (_IO_no_init): Initialize wide struct info.
1469 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
1471         [BZ #14894]
1472         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
1473         __ppc_mdoio and __ppc_mdoom.
1474         * manual/platform.texi: Document new functions __ppc_yield,
1475         __ppc_mdoio and __ppc_mdoom.
1477 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
1479         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
1480         (main): Mention "tls" pseudo-hwcap is legacy.
1481         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
1483 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
1485         * math/gen-libm-test.pl (parse_args): Output only string of
1486         arguments as text for test name, not full call or descriptions of
1487         tests for extra outputs.
1488         (generate_testfile): Do not pass function name to parse_args.
1489         Generate this_func variable from START.
1490         * math/libm-test.inc (struct test_f_f_data): Rename test_name
1491         field to arg_str.
1492         (struct test_ff_f_data): Likewise.
1493         (test_ff_f_data_nexttoward): Likewise.
1494         (struct test_fi_f_data): Likewise.
1495         (struct test_fl_f_data): Likewise.
1496         (struct test_if_f_data): Likewise.
1497         (struct test_fff_f_data): Likewise.
1498         (struct test_c_f_data): Likewise.
1499         (struct test_f_f1_data): Likewise.  Remove field extra_name.
1500         (struct test_fF_f1_data): Likewise.
1501         (struct test_ffI_f1_data): Likewise.
1502         (struct test_c_c_data): Rename test_name field to arg_str.
1503         (struct test_cc_c_data): Likewise.
1504         (struct test_f_i_data): Likewise.
1505         (struct test_ff_i_data): Likewise.
1506         (struct test_f_l_data): Likewise.
1507         (struct test_f_L_data): Likewise.
1508         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
1509         and extra2_name.
1510         (COMMON_TEST_SETUP): New macro.
1511         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
1512         (COMMON_TEST_CLEANUP): Likewise.
1513         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
1514         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
1515         macros.
1516         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
1517         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
1518         macros.
1519         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
1520         (RUN_TEST_fff_f): Take argument string.  Call new setup and
1521         cleanup macros.
1522         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
1523         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
1524         macros.
1525         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
1526         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
1527         macros.
1528         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
1529         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
1530         cleanup macros.
1531         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
1532         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
1533         cleanup macros.
1534         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
1535         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
1536         cleanup macros.
1537         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
1538         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
1539         macros.
1540         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
1541         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
1542         macros.
1543         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
1544         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
1545         macros.
1546         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
1547         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
1548         cleanup macros.
1549         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
1550         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
1551         cleanup macros.
1552         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
1553         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
1554         macros.
1555         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
1556         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
1557         cleanup macros.
1558         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
1559         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
1560         macros.
1561         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
1562         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
1563         macros.
1564         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
1565         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
1566         cleanup macros.
1567         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
1569 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
1571         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
1572         to _sifields.sigfault.
1573         (si_addr_lsb): Define new macro.
1574         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
1575         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
1576         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
1578 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
1580         [BZ #15441]
1581         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
1582         returns -1.
1583         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
1584         null return -1.
1585         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
1586         loading the domain.
1588 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
1590         * math/gen-libm-test.pl (parse_args): Do not include expected
1591         result in test name.
1592         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
1593         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
1594         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
1595         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
1596         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
1597         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1599 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
1601         * benchtests/Makefile: Sort function entries.
1603         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
1604         tanh, asinh, acosh, atanh.
1605         * benchtests/acos-inputs: New file.
1606         * benchtests/acosh-inputs: New file.
1607         * benchtests/asin-inputs: New file.
1608         * benchtests/asinh-inputs: New file.
1609         * benchtests/atanh-inputs: New file.
1610         * benchtests/cosh-inputs: New file.
1611         * benchtests/log-inputs: New file.
1612         * benchtests/sinh-inputs: New file.
1613         * benchtests/tanh-inputs: New file.
1615 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
1617         [BZ #15339]
1618         * posix/tst-getaddrinfo4.c: New test.
1619         * posix/Makefile (tests): Add it.
1621 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
1623         [BZ #15339]
1624         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
1625         when no services were used.
1626         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
1627         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
1629 2013-05-21  Andreas Schwab  <schwab@suse.de>
1631         [BZ #15014]
1632         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
1633         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
1634         successful.
1635         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
1636         redundant variable declarations and reallocation of buffer when
1637         parsing as IPv6 address.  Always set NSS status when called from
1638         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
1639         buffer too small.  Correct computation of needed size.
1640         * nss/Makefile (tests): Add test-digits-dots.
1641         * nss/test-digits-dots.c: New test.
1643 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
1645         * benchtests/Makefile: Remove instructions for adding
1646         benchmark tests.
1647         * benchtests/README: New file to explain how to execute and
1648         enhance the benchmark tests.
1650 2013-05-21  Andreas Schwab  <schwab@suse.de>
1652         [BZ #15493]
1653         * setjmp/Makefile (tests): Add tst-sigsetjmp.
1654         * setjmp/tst-sigsetjmp.c: New test.
1656 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
1658         * sysdeps/x86_64/memset.S (memset): New implementation.
1659         (__bzero): Likewise.
1660         (__memset_tail): New function.
1662 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
1664         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
1665         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
1666         __memcpy_sse2_unaligned ifunc selection.
1667         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
1668         Add memcpy-sse2-unaligned.S.
1669         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
1670         Add: __memcpy_sse2_unaligned.
1672 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
1674         [BZ #15490]
1675         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
1676         math_force_eval before restoring floating-point envrionment.
1677         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
1678         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
1679         Likewise.
1680         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
1681         <math_private.h>.
1682         (__nearbyintl): Use math_force_eval before restoring
1683         floating-point environment.
1684         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
1686         * math/gen-libm-test.pl (special_functions): Remove.
1687         (parse_args): Don't handle TEST_extra.  Handle functions with no
1688         return value.
1689         * math/libm-test.inc (struct test_sincos_data): Replace with
1690         struct test_fFF_11_data.
1691         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
1692         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
1693         (sincos_test_data): Change element type to struct
1694         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
1695         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
1696         RUN_TEST_LOOP_sincos.
1697         * math/README.libm-test: Don't mention special handling of
1698         individual functions.
1699         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
1700         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
1701         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
1702         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
1703         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
1704         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1706         * math/gen-libm-test.pl (get_variable): Remove function.
1707         (parse_args): Don't show pointer parameters to call in test
1708         names.  Use "extra output N" in test names for extra outputs
1709         rather than naming variables.
1711 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
1713         [BZ #15488]
1714         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
1715         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
1716         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
1717         double tests.
1718         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
1719         disable.
1720         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
1721         check_long_double.
1723         * math/gen-libm-test.pl (@tests): Remove variable.
1724         ($count): Likewise.
1725         (new_test): Remove function.
1726         (show_exceptions): New function.
1727         (special_functions): Use show_exceptions instead of new_test.
1728         (parse_args): Likewise.
1729         (generate_testfile): Pass only function name in generated call to
1730         print_max_error or print_complex_max_error.
1731         (get_ulps): Do not handle complex tests specially.
1732         (output_test): Rename to ...
1733         (get_all_ulps_for_test): ... this.  Return a string rather than
1734         printing to a file.  Require ulps to be present.
1735         (output_ulps): Generate arrays rather than #defines.
1736         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
1737         (struct ulp_data): New type.
1738         (BUILD_COMPLEX_ULP): Remove macro.
1739         (compare_ulp_data): New function.
1740         (find_ulps): Likewise.
1741         (find_test_ulps): Likewise.
1742         (find_function_ulps): Likewise.
1743         (find_complex_function_ulps): Likewise.
1744         (print_max_error): Determine allowed ulps using
1745         find_function_ulps.
1746         (print_complex_max_error): Determine allowed ulps using
1747         find_complex_function_ulps.
1748         (check_float_internal): Determine max ulps using find_test_ulps.
1749         (check_float): Do not take max_ulp parameter.  Update call to
1750         check_float_internal.
1751         (check_complex): Likewise.
1752         (check_int): Do not take max_ulp parameter.
1753         (check_long): Likewise.
1754         (check_bool): Likewise.
1755         (check_longlong): Likewise.
1756         (struct test_f_f_data): Remove max_ulp field.
1757         (struct test_ff_f_data): Likewise.
1758         (struct test_ff_f_data_nexttoward): Likewise.
1759         (struct test_fi_f_data): Likewise.
1760         (struct test_fl_f_data): Likewise.
1761         (struct test_if_f_data): Likewise.
1762         (struct test_fff_f_data): Likewise.
1763         (struct test_c_f_data): Likewise.
1764         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
1765         (struct test_fF_f1_data): Likewise.
1766         (struct test_ffI_f1_data): Likewise.
1767         (struct test_c_c_data): Remove max_ulp field.
1768         (struct test_cc_c_data): Likewise.
1769         (struct test_f_i_data): Likewise.
1770         (struct test_ff_i_data): Likewise.
1771         (struct test_f_l_data): Likewise.
1772         (struct test_f_L_data): Likewise.
1773         (struct test_sincos_data): Likewise.
1774         (RUN_TEST_f_f): Do not handle ulps.
1775         (RUN_TEST_LOOP_f_f): Likewise.
1776         (RUN_TEST_2_f): Likewise.
1777         (RUN_TEST_LOOP_2_f): Likewise.
1778         (RUN_TEST_fff_f): Likewise.
1779         (RUN_TEST_LOOP_fff_f): Likewise.
1780         (RUN_TEST_c_f): Likewise.
1781         (RUN_TEST_LOOP_c_f): Likewise.
1782         (RUN_TEST_f_f1): Likewise.
1783         (RUN_TEST_LOOP_f_f1): Likewise.
1784         (RUN_TEST_fF_f1): Likewise.
1785         (RUN_TEST_LOOP_fF_f1): Likewise.
1786         (RUN_TEST_fI_f1): Likewise.
1787         (RUN_TEST_LOOP_fI_f1): Likewise.
1788         (RUN_TEST_ffI_f1): Likewise.
1789         (RUN_TEST_LOOP_ffI_f1): Likewise.
1790         (RUN_TEST_c_c): Likewise.
1791         (RUN_TEST_LOOP_c_c): Likewise.
1792         (RUN_TEST_cc_c): Likewise.
1793         (RUN_TEST_LOOP_cc_c): Likewise.
1794         (RUN_TEST_f_i): Likewise.
1795         (RUN_TEST_LOOP_f_i): Likewise.
1796         (RUN_TEST_f_i_tg): Likewise.
1797         (RUN_TEST_LOOP_f_i_tg): Likewise.
1798         (RUN_TEST_ff_i_tg): Likewise.
1799         (RUN_TEST_LOOP_ff_i_tg): Likewise.
1800         (RUN_TEST_f_b): Likewise.
1801         (RUN_TEST_LOOP_f_b): Likewise.
1802         (RUN_TEST_f_b_tg): Likewise.
1803         (RUN_TEST_LOOP_f_b_tg): Likewise.
1804         (RUN_TEST_f_l): Likewise.
1805         (RUN_TEST_LOOP_f_l): Likewise.
1806         (RUN_TEST_f_L): Likewise.
1807         (RUN_TEST_LOOP_f_L): Likewise.
1808         (RUN_TEST_sincos): Likewise.
1809         (RUN_TEST_LOOP_sincos): Likewise.
1811 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
1813         [BZ #15480]
1814         [BZ #15485]
1815         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
1816         main case of finite arguments, set rounding mode to FE_TONEAREST
1817         and discard exceptions.
1818         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
1819         exceptions.
1820         (remainder_tonearest_test_data): New variable.
1821         (remainder_test_tonearest): New function.
1822         (remainder_towardzero_test_data): New variable.
1823         (remainder_test_towardzero): New function.
1824         (remainder_downward_test_data): New variable.
1825         (remainder_test_downward): New function.
1826         (remainder_upward_test_data): New variable.
1827         (remainder_test_upward): New function.
1828         (main): Call the new test functions.
1830         * math/libm-test.inc (struct test_f_f1_data): Remove field
1831         extra_init.
1832         (struct test_fF_f1_data): Likewise.
1833         (struct test_ffI_f1_data): Likewise.
1834         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
1835         based on value of EXTRA_EXPECTED.
1836         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
1837         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
1838         EXTRA_VAR based on value of EXTRA_EXPECTED.
1839         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
1840         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
1841         EXTRA_VAR based on value of EXTRA_EXPECTED.
1842         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
1843         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
1844         EXTRA_VAR based on value of EXTRA_EXPECTED.
1845         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
1846         * math/gen-libm-test.pl (parse_args): Don't output initializers
1847         for extra output values.
1849         * math/libm-test.inc (check_int): Expect result to be exactly
1850         equal to expected value and do not handle ulps.
1851         (check_long): Likewise.
1852         (check_longlong): Likewise.
1854         * math/libm-test.inc (ceil_test_data): Test for "inexact"
1855         exceptions.
1856         (cimag_test_data): Likewise.
1857         (conj_test_data): Likewise.
1858         (copysign_test_data): Likewise.
1859         (cproj_test_data): Likewise.
1860         (creal_test_data): Likewise.
1861         (fabs_test_data): Likewise.
1862         (fdim_test_data): Likewise.
1863         (finite_test_data): Likewise.
1864         (floor_test_data): Likewise.
1865         (fmax_test_data): Likewise.
1866         (fmin_test_data): Likewise.
1867         (fmod_test_data): Likewise.
1868         (fpclassify_test_data): Likewise.
1869         (frexp_test_data): Likewise.
1870         (ilogb_test_data): Likewise.
1871         (isfinite_test_data): Likewise.
1872         (isgreater_test_data): Likewise.
1873         (isgreaterequal_test_data): Likewise.
1874         (isinf_test_data): Likewise.
1875         (isless_test_data): Likewise.
1876         (islessequal_test_data): Likewise.
1877         (islessgreater_test_data): Likewise.
1878         (isnan_test_data): Likewise.
1879         (isnormal_test_data): Likewise.
1880         (issignaling_test_data): Likewise.
1881         (isunordered_test_data): Likewise.
1882         (ldexp_test_data): Likewise.
1883         (lrint_test_data): Likewise.
1884         (lrint_test_data) [TEST_FLOAT]: Disable one test.
1885         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
1886         (lrint_tonearest_test_data): Test for "inexact" exceptions.
1887         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
1888         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
1889         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
1890         test input.
1891         (lrint_towardzero_test_data): Test for "inexact" exceptions.
1892         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
1893         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
1894         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
1895         that test input.
1896         (lrint_downward_test_data): Test for "inexact" exceptions.
1897         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
1898         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
1899         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
1900         test input.
1901         (lrint_upward_test_data): Test for "inexact" exceptions.
1902         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
1903         test input.
1904         (llrint_test_data): Test for "inexact" exceptions.
1905         (llrint_test_data) [TEST_FLOAT]: Disable one test.
1906         (llrint_tonearest_test_data): Test for "inexact" exceptions.
1907         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
1908         (llrint_towardzero_test_data): Test for "inexact" exceptions.
1909         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
1910         (llrint_downward_test_data): Test for "inexact" exceptions.
1911         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
1912         (llrint_upward_test_data): Test for "inexact" exceptions.
1913         (logb_test_data): Likewise.
1914         (logb_downward_test_data): Likewise.
1915         (nextafter_test_data): Likewise.
1916         (nexttoward_test_data): Likewise.
1917         (remainder_test_data): Likewise.
1918         (remquo_test_data): Likewise.
1919         (scalbn_test_data): Likewise.
1920         (scalbln_test_data): Likewise.
1921         (signbit_test_data): Likewise.
1922         (sqrt_test_data): Likewise.
1923         (significand_test_data): Likewise.
1925 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
1927         [BZ #15424]
1928         * benchtests/bench-modf.c (struct args): Mark arg0 as
1929         volatile.
1930         * scripts/bench.pl: Mark members of struct args as volatile.
1932 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1934         [BZ # 15497]
1935         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
1936         negative infinity on POWER6 or lower.
1937         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
1939 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
1941         [BZ #15442]
1942         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
1943         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
1944         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
1945         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
1946         (_FP_SETQNAN): New macro.
1947         (_FP_SETQNAN_SEMIRAW): Likewise.
1948         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
1949         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
1950         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
1951         (FP_EXTEND): Use _FP_FRAC_SNANP.
1952         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
1953         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
1954         into account.
1955         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
1956         New macro.
1957         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
1958         Likewise.
1960 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
1962         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
1963         with DIVIDE_BY_ZERO_EXCEPTION.
1964         (gamma_test_data): Likewise.
1965         (lgamma_test_data): Likewise.
1966         (log_test_data): Likewise.
1967         (log10_test_data): Likewise.
1968         (log2_test_data): Likewise.
1969         (tgamma_test_data): Likewise.
1971         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
1972         (acos_test_tonearest): Likewise.
1973         (acos_test_towardzero): Likewise.
1974         (acos_test_downward): Likewise.
1975         (acos_test_upward): Likewise.
1976         (acosh_test): Likewise.
1977         (asin_test): Likewise.
1978         (asin_test_tonearest): Likewise.
1979         (asin_test_towardzero): Likewise.
1980         (asin_test_downward): Likewise.
1981         (asin_test_upward): Likewise.
1982         (asinh_test): Likewise.
1983         (atan_test): Likewise.
1984         (atanh_test): Likewise.
1985         (atan2_test): Likewise.
1986         (cabs_test): Likewise.
1987         (cacos_test): Likewise.
1988         (cacosh_test): Likewise.
1989         (casin_test): Likewise.
1990         (casinh_test): Likewise.
1991         (catan_test): Likewise.
1992         (catanh_test): Likewise.
1993         (cbrt_test): Likewise.
1994         (ccos_test): Likewise.
1995         (ccosh_test): Likewise.
1996         (cexp_test): Likewise.
1997         (clog_test): Likewise.
1998         (clog10_test): Likewise.
1999         (cos_test): Likewise.
2000         (cos_test_tonearest): Likewise.
2001         (cos_test_towardzero): Likewise.
2002         (cos_test_downward): Likewise.
2003         (cos_test_upward): Likewise.
2004         (cosh_test): Likewise.
2005         (cosh_test_tonearest): Likewise.
2006         (cosh_test_towardzero): Likewise.
2007         (cosh_test_downward): Likewise.
2008         (cosh_test_upward): Likewise.
2009         (cpow_test): Likewise.
2010         (csin_test): Likewise.
2011         (csinh_test): Likewise.
2012         (csqrt_test): Likewise.
2013         (ctan_test): Likewise.
2014         (ctan_test_tonearest): Likewise.
2015         (ctan_test_towardzero): Likewise.
2016         (ctan_test_downward): Likewise.
2017         (ctan_test_upward): Likewise.
2018         (ctanh_test): Likewise.
2019         (ctanh_test_tonearest): Likewise.
2020         (ctanh_test_towardzero): Likewise.
2021         (ctanh_test_downward): Likewise.
2022         (ctanh_test_upward): Likewise.
2023         (erf_test): Likewise.
2024         (erfc_test): Likewise.
2025         (exp_test): Likewise.
2026         (exp_test_tonearest): Likewise.
2027         (exp_test_towardzero): Likewise.
2028         (exp_test_downward): Likewise.
2029         (exp_test_upward): Likewise.
2030         (exp10_test): Likewise.
2031         (exp2_test): Likewise.
2032         (expm1_test): Likewise.
2033         (fmod_test): Likewise.
2034         (gamma_test): Likewise.
2035         (hypot_test): Likewise.
2036         (j0_test): Likewise.
2037         (j1_test): Likewise.
2038         (jn_test): Likewise.
2039         (lgamma_test): Likewise.
2040         (log_test): Likewise.
2041         (log10_test): Likewise.
2042         (log1p_test): Likewise.
2043         (log2_test): Likewise.
2044         (logb_test_downward): Likewise.
2045         (pow_test): Likewise.
2046         (pow_test_tonearest): Likewise.
2047         (pow_test_towardzero): Likewise.
2048         (pow_test_downward): Likewise.
2049         (pow_test_upward): Likewise.
2050         (remainder_test): Likewise.
2051         (remquo_test): Likewise.
2052         (sin_test): Likewise.
2053         (sin_test_tonearest): Likewise.
2054         (sin_test_towardzero): Likewise.
2055         (sin_test_downward): Likewise.
2056         (sin_test_upward): Likewise.
2057         (sincos_test): Likewise.
2058         (sinh_test): Likewise.
2059         (sinh_test_tonearest): Likewise.
2060         (sinh_test_towardzero): Likewise.
2061         (sinh_test_downward): Likewise.
2062         (sinh_test_upward): Likewise.
2063         (sqrt_test): Likewise.
2064         (tan_test): Likewise.
2065         (tan_test_tonearest): Likewise.
2066         (tan_test_towardzero): Likewise.
2067         (tan_test_downward): Likewise.
2068         (tan_test_upward): Likewise.
2069         (tanh_test): Likewise.
2070         (tgamma_test): Likewise.
2071         (y0_test): Likewise.
2072         (y1_test): Likewise.
2073         (yn_test): Likewise.
2075         * math/gen-libm-test.pl (adjust_arg): Remove function.
2076         (special_function): Remove argument $in_func.  Only handle
2077         generating output for tables of tests, not inside functions.
2078         (parse_args): Likewise.
2079         (generate_testfile): Remove variable $in_func.  Update call to
2080         parse_args.
2081         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
2082         (MINUS_ZERO_INIT): Rename macro to minus_zero.
2083         (PLUS_INFTY_INIT): Rename macro to plus_infty.
2084         (MINUS_INFTY_INIT): Rename macro to minus_infty.
2085         (QNAN_VALUE_INIT): Rename macro to qnan_value.
2086         (MAX_VALUE_INIT): Rename macro to max_value.
2087         (MIN_VALUE_INIT): Rename macro to min_value.
2088         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
2089         (plus_zero): Remove variable.
2090         (minus_zero): Likewise.
2091         (plus_infty): Likewise.
2092         (minus_infty): Likewise.
2093         (qnan_value): Likewise.
2094         (max_value): Likewise.
2095         (min_value): Likewise.
2096         (min_subnorm_value): Likewise.
2098 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
2100         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
2101         uint64_t or uint32_t usage.
2102         * crypt/sha256-block.c: Likewise.
2103         * crypt/sha256-crypt.c: Likewise.
2104         * crypt/sha256.c: Likewise.
2105         * crypt/sha512-block.c: Likewise.
2106         * crypt/sha512-crypt.c: Likewise.
2107         * crypt/sha512.c: Likewise.
2108         * debug/backtrace-tst.c: Likewise.
2109         * debug/pcprofiledump.c: Likewise.
2110         * elf/cache.c: Likewise.
2111         * elf/dl-cache.c: Likewise.
2112         * elf/dl-misc.c: Likewise.
2113         * elf/dl-profile.c: Likewise.
2114         * elf/dl-support.c: Likewise.
2115         * elf/ldconfig.c: Likewise.
2116         * elf/sprof.c: Likewise.
2117         * iconv/dummy-repertoire.c: Likewise.
2118         * iconv/iconv_charmap.c: Likewise.
2119         * iconv/skeleton.c: Likewise.
2120         * iconvdata/8bit-generic.c: Likewise.
2121         * iconvdata/cp737.h: Likewise.
2122         * iconvdata/cp775.h: Likewise.
2123         * iconvdata/ibm1008.h: Likewise.
2124         * iconvdata/ibm1025.h: Likewise.
2125         * iconvdata/ibm1046.h: Likewise.
2126         * iconvdata/ibm1097.h: Likewise.
2127         * iconvdata/ibm1112.h: Likewise.
2128         * iconvdata/ibm1122.h: Likewise.
2129         * iconvdata/ibm1123.h: Likewise.
2130         * iconvdata/ibm1124.h: Likewise.
2131         * iconvdata/ibm1129.h: Likewise.
2132         * iconvdata/ibm1130.h: Likewise.
2133         * iconvdata/ibm1132.h: Likewise.
2134         * iconvdata/ibm1133.h: Likewise.
2135         * iconvdata/ibm1137.h: Likewise.
2136         * iconvdata/ibm1140.h: Likewise.
2137         * iconvdata/ibm1141.h: Likewise.
2138         * iconvdata/ibm1142.h: Likewise.
2139         * iconvdata/ibm1143.h: Likewise.
2140         * iconvdata/ibm1144.h: Likewise.
2141         * iconvdata/ibm1145.h: Likewise.
2142         * iconvdata/ibm1146.h: Likewise.
2143         * iconvdata/ibm1147.h: Likewise.
2144         * iconvdata/ibm1148.h: Likewise.
2145         * iconvdata/ibm1149.h: Likewise.
2146         * iconvdata/ibm1153.h: Likewise.
2147         * iconvdata/ibm1154.h: Likewise.
2148         * iconvdata/ibm1155.h: Likewise.
2149         * iconvdata/ibm1156.h: Likewise.
2150         * iconvdata/ibm1157.h: Likewise.
2151         * iconvdata/ibm1158.h: Likewise.
2152         * iconvdata/ibm1160.h: Likewise.
2153         * iconvdata/ibm1161.h: Likewise.
2154         * iconvdata/ibm1162.h: Likewise.
2155         * iconvdata/ibm1163.h: Likewise.
2156         * iconvdata/ibm1164.h: Likewise.
2157         * iconvdata/ibm1166.h: Likewise.
2158         * iconvdata/ibm1167.h: Likewise.
2159         * iconvdata/ibm12712.h: Likewise.
2160         * iconvdata/ibm1390.h: Likewise.
2161         * iconvdata/ibm1399.h: Likewise.
2162         * iconvdata/ibm16804.h: Likewise.
2163         * iconvdata/ibm4517.h: Likewise.
2164         * iconvdata/ibm4899.h: Likewise.
2165         * iconvdata/ibm4909.h: Likewise.
2166         * iconvdata/ibm4971.h: Likewise.
2167         * iconvdata/ibm5347.h: Likewise.
2168         * iconvdata/ibm803.h: Likewise.
2169         * iconvdata/ibm856.h: Likewise.
2170         * iconvdata/ibm901.h: Likewise.
2171         * iconvdata/ibm902.h: Likewise.
2172         * iconvdata/ibm9030.h: Likewise.
2173         * iconvdata/ibm9066.h: Likewise.
2174         * iconvdata/ibm921.h: Likewise.
2175         * iconvdata/ibm922.h: Likewise.
2176         * iconvdata/ibm9448.h: Likewise.
2177         * iconvdata/isiri-3342.h: Likewise.
2178         * iconvdata/jis0201.h: Likewise.
2179         * include/link.h: Likewise.
2180         * include/netdb.h: Likewise.
2181         * inet/check_native.c: Likewise.
2182         * inet/check_pf.c: Likewise.
2183         * inet/getipv4sourcefilter.c: Likewise.
2184         * inet/getnameinfo.c: Likewise.
2185         * inet/getsourcefilter.c: Likewise.
2186         * inet/htonl.c: Likewise.
2187         * inet/setipv4sourcefilter.c: Likewise.
2188         * inet/setsourcefilter.c: Likewise.
2189         * inet/test-inet6_opt.c: Likewise.
2190         * inet/tst-network.c: Likewise.
2191         * locale/C-collate.c: Likewise.
2192         * locale/C-ctype.c: Likewise.
2193         * locale/C-time.c: Likewise.
2194         * locale/C-translit.h: Likewise.
2195         * locale/loadarchive.c: Likewise.
2196         * locale/programs/3level.h: Likewise.
2197         * locale/programs/charmap.c: Likewise.
2198         * locale/programs/charmap.h: Likewise.
2199         * locale/programs/ld-address.c: Likewise.
2200         * locale/programs/ld-collate.c: Likewise.
2201         * locale/programs/ld-ctype.c: Likewise.
2202         * locale/programs/ld-identification.c: Likewise.
2203         * locale/programs/ld-measurement.c: Likewise.
2204         * locale/programs/ld-messages.c: Likewise.
2205         * locale/programs/ld-monetary.c: Likewise.
2206         * locale/programs/ld-name.c: Likewise.
2207         * locale/programs/ld-numeric.c: Likewise.
2208         * locale/programs/ld-paper.c: Likewise.
2209         * locale/programs/ld-telephone.c: Likewise.
2210         * locale/programs/ld-time.c: Likewise.
2211         * locale/programs/linereader.c: Likewise.
2212         * locale/programs/locale.c: Likewise.
2213         * locale/programs/locarchive.c: Likewise.
2214         * locale/programs/locfile.h: Likewise.
2215         * locale/programs/repertoire.c: Likewise.
2216         * locale/programs/simple-hash.c: Likewise.
2217         * locale/programs/simple-hash.h: Likewise.
2218         * malloc/memusage.c: Likewise.
2219         * malloc/memusagestat.c: Likewise.
2220         * nis/nis_defaults.c: Likewise.
2221         * nis/nis_hash.c: Likewise.
2222         * nis/nis_print.c: Likewise.
2223         * nis/nis_xdr.c: Likewise.
2224         * nscd/connections.c: Likewise.
2225         * nscd/hstcache.c: Likewise.
2226         * nscd/nscd_gethst_r.c: Likewise.
2227         * nscd/nscd_getserv_r.c: Likewise.
2228         * nscd/nscd_helper.c: Likewise.
2229         * nscd/servicescache.c: Likewise.
2230         * nss/makedb.c: Likewise.
2231         * nss/nss_db/db-XXX.c: Likewise.
2232         * nss/nss_db/db-initgroups.c: Likewise.
2233         * nss/nss_db/db-netgrp.c: Likewise.
2234         * nss/nss_files/files-network.c: Likewise.
2235         * nss/nss_files/files-parse.c: Likewise.
2236         * posix/bug-regex5.c: Likewise.
2237         * posix/fnmatch_loop.c: Likewise.
2238         * posix/regcomp.c: Likewise.
2239         * posix/regexec.c: Likewise.
2240         * posix/tst-rfc3484-2.c: Likewise.
2241         * posix/tst-rfc3484-3.c: Likewise.
2242         * posix/tst-rfc3484.c: Likewise.
2243         * resolv/nss_dns/dns-canon.c: Likewise.
2244         * resolv/nss_dns/dns-network.c: Likewise.
2245         * resolv/res_init.c: Likewise.
2246         * resolv/res_mkquery.c: Likewise.
2247         * resolv/tst-aton.c: Likewise.
2248         * stdlib/cxa_atexit.c: Likewise.
2249         * stdlib/cxa_finalize.c: Likewise.
2250         * stdlib/gen-fpioconst.c: Likewise.
2251         * stdlib/strtol_l.c: Likewise.
2252         * string/tst-endian.c: Likewise.
2253         * sunrpc/auth_des.c: Likewise.
2254         * sunrpc/clnt_udp.c: Likewise.
2255         * sunrpc/rtime.c: Likewise.
2256         * sunrpc/svcauth_des.c: Likewise.
2257         * sunrpc/xdr.c: Likewise.
2258         * sunrpc/xdr_intXX_t.c: Likewise.
2259         * sunrpc/xdr_rec.c: Likewise.
2260         * sysdeps/generic/ldconfig.h: Likewise.
2261         * sysdeps/generic/ldsodefs.h: Likewise.
2262         * sysdeps/generic/memusage.h: Likewise.
2263         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
2264         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
2265         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
2266         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
2267         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
2268         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
2269         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
2270         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
2271         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
2272         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
2273         * sysdeps/posix/getaddrinfo.c: Likewise.
2274         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
2275         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
2276         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
2277         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
2278         * sysdeps/powerpc/test-gettimebase.c: Likewise.
2279         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
2280         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
2281         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
2282         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
2283         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
2284         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
2285         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
2286         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
2287         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
2288         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
2289         * sysdeps/x86_64/dl-tls.h: Likewise.
2290         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
2291         * time/alt_digit.c: Likewise.
2292         * time/era.c: Likewise.
2293         * wcsmbs/tst-c16c32-1.c: Likewise.
2295 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
2297         * math/libm-test.inc (struct test_sincos_data): New type.
2298         (RUN_TEST_LOOP_sincos): New macro.
2299         (sincos_test_data): New variable.
2300         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
2302 2013-05-16  Richard Henderson  <rth@redhat.com>
2304         * math/atest-exp2.c (LIMB64): New macro.
2305         (CONSTSZ): New macro.
2306         (mp_exp1, mp_exp_m1, mp_log2): New variables.
2307         (hexdig): Move ...
2308         (print_mpn_fp): ... to function scope.
2309         (read_mpn_hex): Remove.
2310         (get_log2): Remove.
2311         (exp2_mpn): Use mp_log2.
2312         (main): Use mp_exp1.
2314 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
2316         * math/libm-test.inc: Remove comment about not testing "inexact"
2317         exceptions.
2318         (INEXACT_EXCEPTION): New macro.
2319         (NO_INEXACT_EXCEPTION): Likewise.
2320         (INVALID_EXCEPTION_OK): Update value.
2321         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
2322         (OVERFLOW_EXCEPTION_OK): Likewise.
2323         (UNDERFLOW_EXCEPTION_OK): Likewise.
2324         (IGNORE_ZERO_INF_SIGN): Likewise.
2325         (ERRNO_UNCHANGED): Likewise.
2326         (ERRNO_EDOM): Likewise.
2327         (ERRNO_ERANGE): Likewise.
2328         (test_exceptions): Handle testing "inexact" exceptions.
2329         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
2330         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
2331         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
2332         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
2333         INEXACT_EXCEPTION.
2334         (rint_towardzero_test_data): Likewise.
2335         (rint_downward_test_data): Likewise.
2336         (rint_upward_test_data): Likewise.
2338         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
2339         with OVERFLOW_EXCEPTION.
2340         (exp10_test_data): Likewise.
2341         (exp2_test_data): Likewise.
2342         (expm1_test_data): Likewise.
2343         (lgamma_test_data): Likewise.
2344         (pow_test_data): Likewise.
2345         (tgamma_test_data): Likewise.
2346         (yn_test_data): Remove duplicate test of overflow.
2348         * math/libm-test.inc (struct test_cc_c_data): New type.
2349         (RUN_TEST_LOOP_cc_c): New macro.
2350         (cpow_test_data): New variable.
2351         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
2353         * math/libm-test.inc (struct test_f_L_data): New type.
2354         (RUN_TEST_LOOP_f_L): New macro.
2355         (llrint_test_data): New variable.
2356         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
2357         (llrint_tonearest_test_data): New variable.
2358         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
2359         (llrint_towardzero_test_data): New variable.
2360         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
2361         (llrint_downward_test_data): New variable.
2362         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
2363         (llrint_upward_test_data): New variable.
2364         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
2365         (llround_test_data): New variable.
2366         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
2368 2013-05-13  Peter Collingbourne  <pcc@google.com>
2370         * math/atest-exp2.c (get_log2): Remove const attribute.
2372 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
2374         * math/libm-test.inc (struct test_f_l_data): New type.
2375         (RUN_TEST_LOOP_f_l): New macro.
2376         (lrint_test_data): New variable.
2377         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
2378         (lrint_tonearest_test_data): New variable.
2379         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
2380         (lrint_towardzero_test_data): New variable.
2381         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
2382         (lrint_downward_test_data): New variable.
2383         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
2384         (lrint_upward_test_data): New variable.
2385         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
2386         (lround_test_data): New variable.
2387         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
2389 2013-05-15  Peter Collingbourne  <pcc@google.com>
2391         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
2392         (EXTRACT_WORDS64) Use where appropriate.
2393         (INSERT_WORDS64) Likewise.
2395         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
2396         constraints with x constraints.
2397         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
2399         * malloc/obstack.c (_obstack_compat): Add initializer.
2401 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
2403         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
2404         si_trapno and add si_addr_lsb to _sifields.sigfault.
2405         (si_trapno): Remove macro.
2406         (si_addr_lsb): Define new macro.
2407         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
2409 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
2411         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
2412         instead of TEST_f_l.
2413         (llrint_test_tonearest): Likewise.
2414         (llrint_test_towardzero): Likewise.
2415         (llrint_test_downward): Likewise.
2416         (llrint_test_upward): Likewise.
2417         (llround_test): Likewise.
2419         * math/libm-test.inc (struct test_f_i_data): Add comment.
2420         (RUN_TEST_LOOP_f_b): New macro.
2421         (RUN_TEST_LOOP_f_b_tg): Likewise.
2422         (finite_test_data): New variable.
2423         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
2424         (isfinite_test_data): New variable.
2425         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
2426         (isinf_test_data): New variable.
2427         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
2428         (isnan_test_data): New variable.
2429         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
2430         (isnormal_test_data): New variable.
2431         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
2432         (issignaling_test_data): New variable.
2433         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
2434         (signbit_test_data): New variable.
2435         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
2437         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
2438         with INVALID_EXCEPTION.
2439         (acosh_test_data): Likewise.
2440         (asin_test_data): Likewise.
2441         (atanh_test_data): Likewise.
2442         (fmod_test_data): Likewise.
2443         (log_test_data): Likewise.
2444         (log10_test_data): Likewise.
2445         (log2_test_data): Likewise.
2446         (pow_test_data): Likewise.
2447         (sqrt_test_data): Likewise.
2448         (y0_test_data): Likewise.
2449         (y1_test_data): Likewise.
2450         (yn_test_data): Likewise.
2452         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
2453         function contents.
2455         * math/libm-test.inc (struct test_ff_i_data): New type.
2456         (RUN_TEST_LOOP_ff_i_tg): New macro.
2457         (isgreater_test_data): New variable.
2458         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
2459         (isgreaterequal_test_data): New variable.
2460         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
2461         (isless_test_data): New variable.
2462         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
2463         (islessequal_test_data): New variable.
2464         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
2465         (islessgreater_test_data): New variable.
2466         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
2467         (isunordered_test_data): New variable.
2468         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
2470 2013-05-14  David S. Miller  <davem@davemloft.net>
2472         * sysdeps/sparc/fpu/libm-test-ulps: Update.
2474 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
2476         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
2478         * math/libm-test.inc (struct test_fF_f1_data): Change type of
2479         extra_test to int.
2480         (struct test_f_i_data): Change type of max_ulp to int.
2482         * math/libm-test.inc (test_ffI_f1_data): New type.
2483         (RUN_TEST_LOOP_ffI_f1): New macro.
2484         (remquo_test_data): New variable.
2485         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
2487         * setjmp/tst-setjmp-fp.c: New file.
2488         * setjmp/Makefile (tests): Add tst-setjmp-fp.
2489         (link-libm): New variable.
2490         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
2492         * math/libm-test.inc (struct test_f_i_data): New type.
2493         (RUN_TEST_LOOP_f_i): New macro.
2494         (RUN_TEST_LOOP_f_i_tg): Likewise.
2495         (fpclassify_test_data): New variable.
2496         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
2497         (ilogb_test_data): New variable.
2498         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
2500         * math/libm-test.inc (scalbln_test): Correct function name in END
2501         call.
2503         * math/libm-test.inc (struct test_f_f1_data): Add comment.
2504         (RUN_TEST_LOOP_fI_f1): New macro.
2505         (frexp_test_data): New variable.
2506         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
2508         * math/libm-test.inc (struct test_fF_f1_data): New type.
2509         (RUN_TEST_LOOP_fF_f1): New macro.
2510         (modf_test_data): New variable.
2511         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
2513         * math/libm-test.inc (struct test_f_f1_data): New type.
2514         (RUN_TEST_LOOP_f_f1): New macro.
2515         (gamma_test_data): New variable.
2516         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
2517         (lgamma_test_data): New variable.
2518         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
2520 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
2522         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
2523         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
2524         (main): Comment "tls" pseudo-hwcap.
2526 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
2528         * math/libm-test.inc (struct test_fl_f_data): New type.
2529         (RUN_TEST_LOOP_fl_f): New variable.
2530         (scalbln_test_data): New variable.
2531         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
2533         * math/libm-test.inc (struct test_fi_f_data): New type.
2534         (RUN_TEST_LOOP_fi_f): New macro.
2535         (ldexp_test_data): New variable.
2536         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
2537         (scalbn_test_data): New variable.
2538         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
2540         * math/libm-test.inc (struct test_c_f_data): New type.
2541         (RUN_TEST_LOOP_c_f): New macro.
2542         (cabs_test_data): New variable.
2543         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
2544         (carg_test_data): New variable.
2545         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
2546         (cimag_test_data): New variable.
2547         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
2548         (creal_test_data): New variable.
2549         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
2551         * math/libm-test.inc (struct test_if_f_data): New type.
2552         (RUN_TEST_LOOP_if_f): New macro.
2553         (jn_test_data): New variable.
2554         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
2555         (yn_test_data): New variable.
2556         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
2558         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
2560 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2562         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
2563         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
2565 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
2567         * benchtests/Makefile (CPPFLAGS-nonlib): Add
2568         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
2569         (bench-deps): Add bench-timing.h.
2570         * benchtests-bench-skeleton.c: Include bench-timing.h.
2571         (main): Use TIMING_* macros instead of clock_gettime.
2572         * benchtests/bench-timing.h: New file.
2574         [BZ #14582]
2575         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
2576         Renamed from _LIB_VERSION.
2577         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
2579 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
2581         * math/libm-test.inc (struct test_fff_f_data): New type.
2582         (RUN_TEST_LOOP_fff_f): New macro.
2583         (fma_test_data): New variable.
2584         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
2585         (fma_towardzero_test_data): New variable.
2586         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
2587         (fma_downward_test_data): New variable.
2588         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
2589         (fma_upward_test_data): New variable.
2590         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
2592         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
2593         (struct test_c_c_data): New type.
2594         (RUN_TEST_LOOP_c_c): New macro.
2595         (cacos_test_data): New variable.
2596         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
2597         (cacosh_test_data): New variable.
2598         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
2599         (casin_test_data): New variable.
2600         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
2601         (casinh_test_data): New variable.
2602         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
2603         (catan_test_data): New variable.
2604         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
2605         (catanh_test_data): New variable.
2606         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
2607         (ccos_test_data): New variable.
2608         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
2609         (ccosh_test_data): New variable.
2610         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
2611         (cexp_test_data): New variable.
2612         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
2613         (clog_test_data): New variable.
2614         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
2615         (clog10_test_data): New variable.
2616         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
2617         (conj_test_data): New variable.
2618         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
2619         (cproj_test_data): New variable.
2620         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
2621         (csin_test_data): New variable.
2622         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
2623         (csinh_test_data): New variable.
2624         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
2625         (csqrt_test_data): New variable.
2626         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
2627         (ctan_test_data): New variable.
2628         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
2629         (ctan_tonearest_test_data): New variable.
2630         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
2631         (ctan_towardzero_test_data): New variable.
2632         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
2633         (ctan_downward_test_data): New variable.
2634         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
2635         (ctan_upward_test_data): New variable.
2636         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
2637         (ctanh_test_data): New variable.
2638         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
2639         (ctanh_tonearest_test_data): New variable.
2640         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
2641         (ctanh_towardzero_test_data): New variable.
2642         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
2643         (ctanh_downward_test_data): New variable.
2644         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
2645         (ctanh_upward_test_data): New variable.
2646         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
2647         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
2648         of BUILD_COMPLEX.
2650         * math/libm-test.inc (struct test_ff_f_data): New type.
2651         (struct test_ff_f_data_nexttoward): Likewise.
2652         (RUN_TEST_LOOP_2_f): New macro.
2653         (RUN_TEST_LOOP_ff_f): Likewise.
2654         (atan2_test_data): New variable.
2655         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
2656         (copysign_test_data): New variable.
2657         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
2658         (fdim_test_data): New variable.
2659         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
2660         (fmax_test_data): New variable.
2661         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
2662         (fmin_test_data): New variable.
2663         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
2664         (fmod_test_data): New variable.
2665         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
2666         (hypot_test_data): New variable.
2667         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
2668         (nextafter_test_data): New variable.
2669         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
2670         (nexttoward_test_data): New variable.
2671         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
2672         (pow_test_data): New variable.
2673         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
2674         (pow_tonearest_test_data): New variable.
2675         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
2676         (pow_towardzero_test_data): New variable.
2677         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
2678         (pow_downward_test_data): New variable.
2679         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
2680         (pow_upward_test_data): New variable.
2681         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
2682         (remainder_test_data): New variable.
2683         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
2684         (scalb_test_data): New variable.
2685         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
2686         * sysdeps/i386/fpu/libm-test-ulps: Update.
2688 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
2690         * math/libm-test.inc (fma_test): Use max_value instead of local
2691         variable fltmax.
2692         (nextafter_test): Likewise.
2694         * math/libm-test.inc (acos_towardzero_test_data): New variable.
2695         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
2696         (acos_downward_test_data): New variable.
2697         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
2698         (acos_upward_test_data): New variable.
2699         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
2700         (acosh_test_data): New variable.
2701         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
2702         (asin_test_data): New variable.
2703         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
2704         (asin_tonearest_test_data): New variable.
2705         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
2706         (asin_towardzero_test_data): New variable.
2707         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
2708         (asin_downward_test_data): New variable.
2709         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
2710         (asin_upward_test_data): New variable.
2711         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
2712         (asinh_test_data): New variable.
2713         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
2714         (atan_test_data): New variable.
2715         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
2716         (atanh_test_data): New variable.
2717         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
2718         (cbrt_test_data): New variable.
2719         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
2720         (ceil_test_data): New variable.
2721         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
2722         (cos_test_data): New variable.
2723         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
2724         (cos_tonearest_test_data): New variable.
2725         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
2726         (cos_towardzero_test_data): New variable.
2727         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
2728         (cos_downward_test_data): New variable.
2729         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
2730         (cos_upward_test_data): New variable.
2731         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
2732         (cosh_test_data): New variable.
2733         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
2734         (cosh_tonearest_test_data): New variable.
2735         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
2736         (cosh_towardzero_test_data): New variable.
2737         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
2738         (cosh_downward_test_data): New variable.
2739         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
2740         (cosh_upward_test_data): New variable.
2741         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
2742         (erf_test_data): New variable.
2743         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
2744         (erfc_test_data): New variable.
2745         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
2746         (exp_test_data): New variable.
2747         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
2748         (exp_tonearest_test_data): New variable.
2749         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
2750         (exp_towardzero_test_data): New variable.
2751         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
2752         (exp_downward_test_data): New variable.
2753         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
2754         (exp_upward_test_data): New variable.
2755         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
2756         (exp10_test_data): New variable.
2757         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
2758         (exp2_test_data): New variable.
2759         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
2760         (expm1_test_data): New variable.
2761         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
2762         (fabs_test_data): New variable.
2763         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
2764         (floor_test_data): New variable.
2765         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
2766         (j0_test_data): New variable.
2767         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
2768         (j1_test_data): New variable.
2769         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
2770         (log_test_data): New variable.
2771         (log_test): Run tests with RUN_TEST_LOOP_f_f.
2772         (log10_test_data): New variable.
2773         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
2774         (log1p_test_data): New variable.
2775         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
2776         (log2_test_data): New variable.
2777         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
2778         (logb_test_data): New variable.
2779         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
2780         (logb_downward_test_data): New variable.
2781         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
2782         (nearbyint_test_data): New variable.
2783         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
2784         (rint_test_data): New variable.
2785         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
2786         (rint_tonearest_test_data): New variable.
2787         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
2788         (rint_towardzero_test_data): New variable.
2789         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
2790         (rint_downward_test_data): New variable.
2791         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
2792         (rint_upward_test_data): New variable.
2793         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
2794         (round_test_data): New variable.
2795         (round_test): Run tests with RUN_TEST_LOOP_f_f.
2796         (sin_test_data): New variable.
2797         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
2798         (sin_tonearest_test_data): New variable.
2799         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
2800         (sin_towardzero_test_data): New variable.
2801         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
2802         (sin_downward_test_data): New variable.
2803         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
2804         (sin_upward_test_data): New variable.
2805         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
2806         (sinh_test_data): New variable.
2807         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
2808         (sinh_tonearest_test_data): New variable.
2809         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
2810         (sinh_towardzero_test_data): New variable.
2811         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
2812         (sinh_downward_test_data): New variable.
2813         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
2814         (sinh_upward_test_data): New variable.
2815         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
2816         (sqrt_test_data): New variable.
2817         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
2818         (tan_test_data): New variable.
2819         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
2820         (tan_tonearest_test_data): New variable.
2821         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
2822         (tan_towardzero_test_data): New variable.
2823         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
2824         (tan_downward_test_data): New variable.
2825         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
2826         (tan_upward_test_data): New variable.
2827         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
2828         (tanh_test_data): New variable.
2829         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
2830         (tgamma_test_data): New variable.
2831         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
2832         (trunc_test_data): New variable.
2833         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
2834         (y0_test_data): New variable.
2835         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
2836         (y1_test_data): New variable.
2837         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
2838         (significand_test_data): New variable.
2839         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
2841 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
2843         [BZ #12387]
2844         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
2846 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
2848         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
2850 2013-05-10  Andreas Jaeger  <aj@suse.de>
2852         [BZ #15448]
2853         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
2854         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
2856 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
2858         * math/gen-libm-test.pl (adjust_arg): New function.
2859         (special_functions): Handle generating output in both functions
2860         and arrays.
2861         (parse_args): Likewise.
2862         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
2863         $in_func argument to parse_args.
2864         * math/libm-test.inc (struct test_f_f_data): New type.
2865         (IF_ROUND_INIT_): New macro.
2866         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
2867         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
2868         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
2869         (IF_ROUND_INIT_FE_UPWARD): Likewise.
2870         (ROUND_RESTORE_): Likewise.
2871         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
2872         (ROUND_RESTORE_FE_TONEAREST): Likewise.
2873         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
2874         (ROUND_RESTORE_FE_UPWARD): Likewise.
2875         (RUN_TEST_LOOP_f_f): New macro.
2876         (acos_test_data): New variable.
2877         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
2878         (acos_tonearest_test_data): New variable.
2879         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
2881 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
2883         * benchtests/bench-skeleton.c (startup): Fix coding style.
2885 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
2887         [BZ #6809]
2888         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
2889         negative infinity argument.
2890         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
2891         negative infinity argument.
2892         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
2893         negative infinity argument.
2894         * math/libm-test.inc (tgamma_test): Expect errno to be set for
2895         domain errors.
2897 2013-05-10  Florian Weimer  <fweimer@redhat.com>
2899         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
2900         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
2901         * iconv/iconv_prog.c (main): Likewise.
2902         * locale/programs/charmap-dir.c (charmap_readdir)
2903         (fopen_uncompressed): Likewise.
2904         * locale/programs/locfile.c (siblings_uncached)
2905         (write_locale_data): Use lstat64 instead of lstat.
2906         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
2907         stat.
2909 2013-05-10  Andreas Jaeger  <aj@suse.de>
2911         [BZ #15395]
2912         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
2913         localization.
2914         Include <locale.h>.
2916 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
2918         * elf/dl-close.c (_dl_close_worker): Add comments.
2920 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
2922         [BZ #15359]
2923         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
2924         high part of pi/2.
2925         (__ieee754_rem_pio2l): Update comments.
2927         [BZ #15429]
2928         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
2929         high part of pi/2.
2930         (__ieee754_rem_pio2l): Update comments.
2932         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
2933         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
2935         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
2936         M_PI_4l.
2938         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
2939         (M_PI_34_LOG10El): Likewise.
2940         (M_PI2_LOG10El): Likewise.
2941         (M_PI4_LOG10El): Likewise.
2942         (M_PI_LOG10El): Likewise.
2944 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2946         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2948 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
2950         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
2951         (MINUS_ZERO_INIT): Likewise.
2952         (PLUS_INFTY_INIT): Likewise.
2953         (MINUS_INFTY_INIT): Likewise.
2954         (QNAN_VALUE_INIT): Likewise.
2955         (MAX_VALUE_INIT): Likewise.
2956         (MIN_VALUE_INIT): Likewise.
2957         (MIN_SUBNORM_VALUE_INIT): Likewise.
2958         (plus_zero): Initialize with PLUS_ZERO_INIT.
2959         (minus_zero): Initialize with MINUS_ZERO_INIT.
2960         (plus_infty): Initialize with PLUS_INFTY_INIT.
2961         (minus_infty): Initialize with MINUS_INFTY_INIT.
2962         (qnan_value): Initialize with QNAN_VALUE_INIT.
2963         (max_value): Initialize with MAX_VALUE_INIT.
2964         (min_value): Initialize with MIN_VALUE_INIT.
2965         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
2967         * math/libm-test.inc (RUN_TEST_if_f): New macro.
2968         (jn_test): Use TEST_if_f instead of TEST_ff_f.
2969         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
2970         (yn_test): Use TEST_if_f instead of TEST_ff_f.
2972         * math/libm-test.inc (RUN_TEST_f_f): New macro.
2973         (RUN_TEST_2_f): Likewise.
2974         (RUN_TEST_ff_f): Likewise.
2975         (RUN_TEST_fi_f): Likewise.
2976         (RUN_TEST_fl_f): Likewise.
2977         (RUN_TEST_fff_f): Likewise.
2978         (RUN_TEST_c_f): Likewise.
2979         (RUN_TEST_f_f1): Likewise.
2980         (RUN_TEST_fF_f1): Likewise.
2981         (RUN_TEST_fI_f1): Likewise.
2982         (RUN_TEST_ffI_f1): Likewise.
2983         (RUN_TEST_c_c): Likewise.
2984         (RUN_TEST_cc_c): Likewise.
2985         (RUN_TEST_f_i): Likewise.
2986         (RUN_TEST_f_i_tg): Likewise.
2987         (RUN_TEST_ff_i_tg): Likewise.
2988         (RUN_TEST_f_b): Likewise.
2989         (RUN_TEST_f_b_tg): Likewise.
2990         (RUN_TEST_f_l): Likewise.
2991         (RUN_TEST_f_L): Likewise.
2992         (RUN_TEST_sincos): Likewise.
2993         * math/gen-libm-test.pl (new_test): Take new argument to indicate
2994         whether to show exceptions.  Do not include ");\n" in return
2995         value.
2996         (special_functions): Output call to RUN_TEST_sincos instead of
2997         check_float calls.  Update calls to new_test.
2998         (parse_args): Output call to single RUN_TEST_* macro instead of
2999         check_* calls and other assignments.  Update calls to new_test.
3001         [BZ #2546]
3002         [BZ #2560]
3003         [BZ #5159]
3004         [BZ #15426]
3005         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
3006         input to result for tgamma overflow.
3007         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
3008         (gamma_coeff): New variable.
3009         (NCOEFF): New macro.
3010         (gamma_positive): New function.
3011         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
3012         underflow here.  Use gamma_positive instead of exp (lgamma) for
3013         other arguments.
3014         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
3015         (gamma_coeff): New variable.
3016         (NCOEFF): New macro.
3017         (gammaf_positive): New function.
3018         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
3019         underflow here.  Use gamma_positive instead of exp (lgamma) for
3020         other arguments.
3021         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
3022         (gamma_coeff): New variable.
3023         (NCOEFF): New macro.
3024         (gammal_positive): New function.
3025         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
3026         underflow here.  Use gamma_positive instead of exp (lgamma) for
3027         other arguments.
3028         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
3029         (gamma_coeff): New variable.
3030         (NCOEFF): New macro.
3031         (gammal_positive): New function.
3032         (__ieee754_gammal_r): Handle positive infinity, overflow and
3033         underflow here.  Handle NaN the same as positive infinity.  Remove
3034         check x < 0xffffffff for negative integers.  Use gamma_positive
3035         instead of exp (lgamma) for other arguments.
3036         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
3037         (gamma_coeff): New variable.
3038         (NCOEFF): New macro.
3039         (gammal_positive): New function.
3040         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
3041         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
3042         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
3043         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
3044         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
3045         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
3046         * sysdeps/generic/math_private.h (__gamma_productf): New
3047         prototype.
3048         (__gamma_product): Likewise.
3049         (__gamma_productl): Likewise.
3050         * math/Makefile (libm-calls): Add gamma_product.
3051         * math/libm-test.inc (tgamma_test): Add more tests.
3052         * sysdeps/i386/fpu/libm-test-ulps: Update.
3053         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3055 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
3057         * benchtests/bench-skeleton.c (main): Preheat CPU.
3059 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
3061         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
3063 2013-05-07  Roland McGrath  <roland@hack.frob.com>
3065         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
3066         and _dl_skip_args_internal.
3068 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
3070         * manual/message.texi (Message Translation): Talk about users.
3071         Message to key mapping impacts design.
3073 2013-05-06  Roland McGrath  <roland@hack.frob.com>
3075         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
3077         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
3079         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
3080         * sysdeps/wordsize-64/glob64.c: ... here.
3082         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
3083         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
3084         New macros.
3086         * debug/getlogin_r_chk.c: Moved to ...
3087         * login/getlogin_r_chk.c: ... here.
3088         * debug/Makefile (routines): Move getlogin_r_chk to ...
3089         * login/Makefile (routines): ... here.
3090         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
3091         * login/Versions (libc: GLIBC_2.4): ... here.
3093         * io/poll.c (__poll): Renamed from poll.
3094         Add libc_hidden_def.
3095         (poll): Define as weak alias.
3097         * debug/ptsname_r_chk.c: Moved to ...
3098         * login/ptsname_r_chk.c: ... here.
3099         * debug/Makefile (routines): Move ptsname_r_chk to ...
3100         * login/Makefile (routines): ... here.
3101         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
3102         * login/Versions (libc: GLIBC_2.4): ... here.
3104         * posix/getlogin.c: Moved to ...
3105         * login/getlogin.c: ... here.
3106         * posix/getlogin_r.c: Moved to ...
3107         * login/getlogin_r.c: ... here.
3108         * posix/getlogin_r.c: Moved to ...
3109         * login/getlogin_r.c: ... here.
3110         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
3111         * login/Makefile (routines): ... here.
3112         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
3113         * login/Versions (libc: GLIBC_2.0): ... here.
3115         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
3116         (setrlimit): Define as weak alias.
3118         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
3119         Call __ names for open, ftruncate, and close.
3120         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
3121         (truncate): Define as weak alias.
3123 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
3125         * math/gen-libm-test.pl (parse_args): Initialize x before each
3126         test of frexp, modf and remquo.
3128         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
3129         test signgam value.
3131 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3133         [BZ #15418]
3134         [BZ #15419]
3135         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
3136         internal tests.
3137         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
3139 2013-05-06  Roland McGrath  <roland@hack.frob.com>
3141         * elf/dl-writev.h: New file.
3142         * elf/dl-misc.c: Include it.
3143         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
3144         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
3146 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
3148         * math/libm-test.inc (noXFails): Remove variable.
3149         (noXPasses): Likewise.
3150         (BUILD_COMPLEX_INT): Remove macro.
3151         (print_screen): Remove xfail argument.
3152         (print_screen_max_error): Likewise.
3153         (update_stats): Likewise.
3154         (print_max_error): Likewise.  Update calls to other affected
3155         functions.
3156         (print_complex_max_error): Likewise.
3157         (test_single_exception): Update calls to print_screen.
3158         (test_single_errno): Likewise.
3159         (check_float_internal): Remove xfail argument.  Update calls to
3160         other affected functions.
3161         (check_float): Likewise.
3162         (check_complex): Likewise.
3163         (check_int): Likewise.
3164         (check_long): Likewise.
3165         (check_bool): Likewise.
3166         (check_longlong): Likewise.
3167         (main): Don't print noXFails and noXPasses.
3168         * math/gen-libm-test.pl (top level): Don't mention expected
3169         failure handling in comment.
3170         (new_test): Don't handle expected failures.
3171         (parse_args): Don't mention expected failure handling in comment.
3172         (generate_testfile): Don't handle expected failures.
3173         (parse_ulps): Likewise.
3174         (print_ulps_file): Likewise.
3175         (get_failure): Remove function.
3176         (output_test): Don't handle expected failures.
3177         * make/README.libm-test: Don't mention expected failure handling.
3179         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
3180         (minus_zero): Likewise.
3181         (plus_infty): Likewise.
3182         (minus_infty): Likewise.
3183         (qnan_value): Likewise.
3184         (max_value): Likewise.
3185         (min_value): Likewise.
3186         (min_subnorm_value): Likewise.
3187         (initialize): Do not initialize those variables dynamically.
3189 2013-05-03  Roland McGrath  <roland@hack.frob.com>
3191         * io/open.c (__open_2): Moved to ...
3192         * io/open_2.c: ... this new file.
3193         * io/open64.c (__open64_2): Moved to ...
3194         * io/open64_2.c: ... this new file.
3195         * io/openat.c (__openat_2): Moved to ...
3196         * io/openat_2.c: ... this new file.
3197         * io/openat64.c (__openat64_2): Moved to ...
3198         * io/openat64_2.c: ... this new file.
3199         * io/Makefile (routines): Add them.
3200         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
3201         * sysdeps/unix/sysv/linux/open_2.c: File removed.
3202         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
3203         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
3204         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
3205         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
3206         (__openat64): Add hidden_ver.
3207         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
3208         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
3210         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
3211         Separately conditionalize setting of GLRO(dl_sysinfo) so
3212         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
3213         as well, but the actual setting is only under [NEED_DL_SYSINFO].
3215 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3217         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
3218         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
3219         definition.
3220         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
3221         * sysdeps/unix/sysv/linux/powerpc/init-first.c
3222         (_libc_vdso_platform_setup): Add __vdso_time initialization.
3223         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
3224         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
3226 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
3228         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
3229         test signgam value.
3231         * math/libm-test.inc (hypot_test): Do not use
3232         IGNORE_ZERO_INF_SIGN.
3234 2013-05-03  Andreas Jaeger  <aj@suse.de>
3236         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
3237         Linux 3.9.
3238         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
3239         (PF_MAX): Adjust for VSOCK change.
3241 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3243         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3245 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
3247         [BZ #15264]
3248         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
3249         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
3250         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
3252 2013-05-02  David S. Miller  <davem@davemloft.net>
3254         * sysdeps/sparc/fpu/libm-test-ulps: Update.
3256 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
3258         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
3260 2013-05-01  Roland McGrath  <roland@hack.frob.com>
3262         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
3264 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
3266         [BZ #14952]
3267         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
3268         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
3269         Use __attribute__ ((__gnu_inline__)).
3270         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
3271         Don't use __attribute__ ((__gnu_inline__)).
3273 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
3275         [BZ #15423]
3276         * math/s_catan.c (__catan): Handle small real or imaginary part of
3277         input specially to avoid spurious underflow.
3278         * math/s_catanf.c (__catanf): Likewise.
3279         * math/s_catanh.c (__catanh): Likewise.
3280         * math/s_catanhf.c (__catanhf): Likewise.
3281         * math/s_catanhl.c (__catanhl): Likewise.
3282         * math/s_catanl.c (__catanl): Likewise.
3283         * math/libm-test.inc (catan_test): Add more tests.
3284         (catanh_test): Likewise.
3285         * sysdeps/i386/fpu/libm-test-ulps: Update.
3286         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3288 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3290         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3292 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
3294         [BZ #15416]
3295         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
3296         accurately for denominator in atan2.
3297         * math/s_catanf.c (__catanf): Likewise.
3298         * math/s_catanh.c (__catanh): Likewise.
3299         * math/s_catanhf.c (__catanhf): Likewise.
3300         * math/s_catanhl.c (__catanhl): Likewise.
3301         * math/s_catanl.c (__catanl): Likewise.
3302         * math/libm-test.inc (catan_test): Add more tests.
3303         (catanh_test): Likewise.
3304         * sysdeps/i386/fpu/libm-test-ulps: Update.
3305         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3307 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
3309         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
3311         * benchtests/Makefile (bench): Remove slow benchmarks.
3312         * benchtests/atan-inputs: Add slow benchmark inputs.
3313         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
3314         (BENCH_FUNC): Accept variant offset.
3315         (VARIANT): Define.
3316         * benchtests/bench-skeleton.c (main): Run benchmark for each
3317         variant.
3318         * benchtests/cos-inputs: Add slow benchmark inputs.
3319         * benchtests/exp-inputs: Likewise.
3320         * benchtests/pow-inputs: Likewise.
3321         * benchtests/sin-inputs: Likewise.
3322         * benchtests/slowatan-inputs: Remove.
3323         * benchtests/slowatan.c: Remove.
3324         * benchtests/slowcos-inputs: Remove.
3325         * benchtests/slowcos.c: Remove.
3326         * benchtests/slowexp-inputs: Remove.
3327         * benchtests/slowexp.c: Remove.
3328         * benchtests/slowpow-inputs: Remove.
3329         * benchtests/slowpow.c: Remove.
3330         * benchtests/slowsin-inputs: Remove.
3331         * benchtests/slowsin.c: Remove.
3332         * benchtests/slowtan-inputs: Remove.
3333         * benchtests/slowtan.c: Remove.
3334         * benchtests/tan-inputs: Add slow benchmark inputs.
3335         * scripts/bench.pl: Parse comments and directives.
3337         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
3338         in CPPFLAGS.
3339         ($(objpfx)bench-%.c): Remove *-ITER.
3340         * benchtests/bench-modf.c: Remove definition of ITER.
3341         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
3342         (main): Loop for DURATION seconds instead of fixed number of
3343         iterations.
3344         * scripts/bench.pl: Don't expect iterations in parameters.
3346 2013-04-29  Roland McGrath  <roland@hack.frob.com>
3348         * io/fchdir.c (__fchdir): Renamed from fchdir.
3349         (fchdir): Define as weak alias.
3351 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
3353         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
3354         (ERRNO_EDOM): Likewise.
3355         (ERRNO_ERANGE): Likewise.
3356         (noErrnoTests): New variable.
3357         (init_max_error): Set errno to 0.
3358         (test_single_errno): New function.
3359         (test_errno): Likewise.
3360         (check_float_internal): Call test_errno.  Set errno to 0.
3361         (check_complex): Refer to errno tests in comment.
3362         (check_int): Call test_errno.  Set errno to 0.
3363         (check_long): Likewise.
3364         (check_bool): Likewise.
3365         (check_longlong): Likewise.
3366         (cos_test): Use ERRNO_* flags for errno tests instead of
3367         check_int.
3368         (expm1_test): Likewise.
3369         (fmod_test): Likewise.
3370         (ilogb_test): Likewise.
3371         (lgamma_test): Likewise.
3372         (pow_test): Likewise.
3373         (remainder_test): Likewise.
3374         (sin_test): Likewise.
3375         (tan_test): Likewise.
3376         (yn_test): Likewise.
3377         (initialize): Set errno to 0.
3378         (main): Print number of errno tests.
3379         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
3381 2013-04-29  Andreas Jaeger  <aj@suse.de>
3383         [BZ #15084]
3384         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
3385         and RES_USEVC.
3387         [BZ #15085]
3388         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
3389         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
3390         unimplemented.
3392         [BZ #15380]
3393         * stdlib/random.c (__initstate): Return NULL if
3394         __initstate fails.
3396         [BZ #15086]
3397         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
3398         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
3399         RES_SNGLKUPREOP.
3401 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3403         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3405 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
3407         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
3408         of individual tests.
3409         (casin_test): Likewise.
3410         (casinh_test): Likewise.
3412 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
3414         [BZ #15409]
3415         * math/s_catan.c (__catan): Handle arguments with large real or
3416         imaginary part separately without squaring.
3417         * math/s_catanf.c (__catanf): Likewise.
3418         * math/s_catanh.c (__catanh): Likewise.
3419         * math/s_catanhf.c (__catanhf): Likewise.
3420         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
3421         and redefine.
3422         (__catanhl): Handle arguments with large real or imaginary part
3423         separately without squaring.
3424         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
3425         and redefine.
3426         (__catanl): Handle arguments with large real or imaginary part
3427         separately without squaring.
3428         * math/libm-test.inc (catan_test): Add more tests.
3429         (catanh_test): Likewise.
3430         * sysdeps/i386/fpu/libm-test-ulps: Update.
3431         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3433 2013-04-27  Andreas Jaeger  <aj@suse.de>
3435         [BZ #15007]
3436         * stdlib/stdlib.h: Update guards for qecvt.
3437         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
3438         <stdlib.h>.
3440 2013-04-27  Allan McRae  <allan@archlinux.org>
3442         * sysdeps/i386/fpu/libm-test-ulps: Update.
3444 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
3446         [BZ #15406]
3447         * math/s_catan.c: Include <float.h>.
3448         (__catan): Ensure underflow exception occurs for underflowed
3449         result.
3450         * math/s_catanf.c: Include <float.h>.
3451         (__catanf): Ensure underflow exception occurs for underflowed
3452         result.
3453         * math/s_catanh.c: Include <float.h>.
3454         (__catanh): Ensure underflow exception occurs for underflowed
3455         result.
3456         * math/s_catanhf.c: Include <float.h>.
3457         (__catanhf): Ensure underflow exception occurs for underflowed
3458         result.
3459         * math/s_catanhl.c: Include <float.h>.
3460         (__catanhl): Ensure underflow exception occurs for underflowed
3461         result.
3462         * math/s_catanl.c: Include <float.h>.
3463         (__catanl): Ensure underflow exception occurs for underflowed
3464         result.
3465         * math/libm-test.inc (catan_test): Add more tests.
3466         (catanh_test): Likewise.
3468         [BZ #15405]
3469         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
3470         underflowed result.
3471         * math/s_ccoshf.c (__ccoshf): Likewise.
3472         * math/s_ccoshl.c (__ccoshl): Likewise.
3473         * math/s_csin.c (__csin): Likewise.
3474         * math/s_csinf.c (__csinf): Likewise.
3475         * math/s_csinh.c (__csinh): Likewise.
3476         * math/s_csinhf.c (__csinhf): Likewise.
3477         * math/s_csinhl.c (__csinhl): Likewise.
3478         * math/s_csinl.c (__csinl): Likewise.
3479         * math/libm-test.inc (ccos_test): Add more tests.
3480         (ccosh_test): Likewise.
3481         (csin_test): Likewise.
3482         (csinh_test): Likewise.
3484 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3486         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
3487         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
3488         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
3489         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
3490         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
3491         powerpc/power5+/fpu folders.
3492         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
3495 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
3497         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3499 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
3501         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
3502         additions to variable.
3503         [$(config-machine) = x86_64] (modules-names): Likewise.
3504         ($(objpfx)tst-audit3): Remove dependency.
3505         ($(objpfx)tst-audit3.out): Likewise.
3506         ($(objpfx)tst-audit4): Likewise.
3507         ($(objpfx)tst-audit4.out): Likewise.
3508         ($(objpfx)tst-audit5): Likewise.
3509         ($(objpfx)tst-audit5.out): Likewise.
3510         ($(objpfx)tst-audit6): Likewise.
3511         ($(objpfx)tst-audit6.out): Likewise.
3512         ($(objpfx)tst-audit7): Likewise.
3513         ($(objpfx)tst-audit7.out): Likewise.
3514         (tst-audit3-ENV): Remove variable.
3515         (tst-audit4-ENV): Likewise.
3516         (tst-audit5-ENV): Likewise.
3517         (tst-audit6-ENV): Likewise.
3518         (tst-audit7-ENV): Likewise.
3519         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
3520         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
3521         addition to variable.
3522         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
3523         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
3524         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
3525         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
3526         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
3527         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
3528         tst-audit3, tst-audit4 and tst-audit5.
3529         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
3530         tst-audit6 and tst-audit7.
3531         [$(subdir) = elf] (modules-names): Add audit modules for those
3532         tests.
3533         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
3534         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
3535         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
3536         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
3537         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
3538         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
3539         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
3540         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
3541         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
3542         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
3543         [$(subdir) = elf] (tst-audit3-ENV): New variable.
3544         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
3545         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
3546         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
3547         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
3548         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
3549         Likewise.
3550         [$(subdir) = elf && $(config-cflags-avx) = yes]
3551         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
3552         [$(subdir) = elf && $(config-cflags-avx) = yes]
3553         (CFLAGS-tst-auditmod4a.c): Likewise.
3554         [$(subdir) = elf && $(config-cflags-avx) = yes]
3555         (CFLAGS-tst-auditmod4b.c): Likewise.
3556         [$(subdir) = elf && $(config-cflags-avx) = yes]
3557         (CFLAGS-tst-auditmod6b.c): Likewise.
3558         [$(subdir) = elf && $(config-cflags-avx) = yes]
3559         (CFLAGS-tst-auditmod6c.c): Likewise.
3560         [$(subdir) = elf && $(config-cflags-avx) = yes]
3561         (CFLAGS-tst-auditmod7b.c): Likewise.
3562         * elf/tst-audit3.c: Move to ...
3563         * sysdeps/x86_64/tst-audit3.c: ... here.
3564         * elf/tst-audit4.c: Move to ...
3565         * sysdeps/x86_64/tst-audit4.c: ... here.
3566         * elf/tst-audit5.c: Move to ...
3567         * sysdeps/x86_64/tst-audit5.c: ... here.
3568         * elf/tst-audit6.c: Move to ...
3569         * sysdeps/x86_64/tst-audit6.c: ... here.
3570         * elf/tst-audit7.c: Move to ...
3571         * sysdeps/x86_64/tst-audit7.c: ... here.
3572         * elf/tst-auditmod3a.c: Move to ...
3573         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
3574         * elf/tst-auditmod3b.c: Move to ...
3575         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
3576         * elf/tst-auditmod4a.c: Move to ...
3577         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
3578         * elf/tst-auditmod4b.c: Move to ...
3579         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
3580         * elf/tst-auditmod5a.c: Move to ...
3581         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
3582         * elf/tst-auditmod5b.c: Move to ...
3583         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
3584         * elf/tst-auditmod6a.c: Move to ...
3585         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
3586         * elf/tst-auditmod6b.c: Move to ...
3587         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
3588         * elf/tst-auditmod6c.c: Move to ...
3589         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
3590         * elf/tst-auditmod7a.c: Move to ...
3591         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
3592         * elf/tst-auditmod7b.c: Move to ...
3593         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
3595 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
3597         [BZ #15366]
3598         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
3599         define unconditionally.
3600         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
3601         define unconditionally.
3602         (INT8_C, INT16_C, etc.): Likewise.
3604 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
3606         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
3607         __ehdr_start with hidden visibility.
3609         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
3611 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
3613         * math/libm-test.inc (cos_test): Use accurate hex constants.
3614         (sincost_test): Likewise.
3616 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
3618         * math/libm-test.inc (catan_test): Add more tests.
3619         (catanh_test): Likewise.
3621         * math/s_catanf.c (__catanf): Use suffixed floating-point
3622         constants.
3623         * math/s_catanhf.c (__catanhf): Likewise.
3624         * math/s_catanhl.c (__catanhl): Likewise.
3625         * math/s_catanl.c (__catanl): Likewise.
3627         [BZ #15394]
3628         * math/s_catan.c (__catan): Calculate imaginary part of result
3629         with log1p not log unless computing log of number close to 0.
3630         * math/s_catanf.c (__catanf): Likewise.
3631         * math/s_catanl.c (__catanl): Likewise.
3632         * math/s_catanh.c (__catanh): Calculate real part of result with
3633         log1p not log unless computing log of number close to 0.
3634         * math/s_catanhf.c (__catanhf): Likewise.
3635         * math/s_catanhl.c (__catanhl): Likewise.
3636         * math/libm-test.inc (catan_test): Add more tests.
3637         (catanh_test): Likewise.
3638         * sysdeps/i386/fpu/libm-test-ulps: Update.
3639         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3641 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
3643         * benchtests/Makefile: Mention files in which fast and slow
3644         paths of math functions are implemented.
3646 2013-04-23  Roland McGrath  <roland@hack.frob.com>
3648         * sysdeps/posix/timespec_get.c: New file.
3650 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3652         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
3653         POWER.
3654         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
3655         for POWER.
3656         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
3657         powerpc/power5/fpu folders.
3658         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
3659         * benchtests/Makefile: Add modf testcase.
3660         * benchtests/bench-modf.c: New file: Benchmark test for mo
3662 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
3664         [BZ #14888]
3665         * time/Makefile (tests): Add tst-strptime-whitespace.
3666         * time/strptime_l.c (get_number): Use ISSPACE.
3667         (__strptime_internal): Likewise.
3668         * time/tst-strptime-whitespace.c: New test case.
3670 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
3672         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
3673         member.
3674         (_nss_files_init): Set it here.
3676 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
3678         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
3679         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
3680         unsigned.
3682 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
3684         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
3686 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
3688         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
3689         size just once.
3691 2013-04-21  David S. Miller  <davem@davemloft.net>
3693         * po/ru.po: Update Russion translation from translation project.
3695 2013-04-17  Adam Conrad  <adconrad@0c3.net>
3697         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
3698         and setfsgid.
3700 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
3702         * configure.in: Remove i386 configure warning. Remove i386 case.
3703         * configure: Regenerate.
3704         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
3705         Add example to error message.
3706         * sysdeps/i386/configure: Regenerate.
3708 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
3710         * benchtests/Makefile (bench): Add cos, tan, slowcos and
3711         slowtan.
3712         * benchtests/cos-inputs: New file.
3713         * benchtests/slowcos-inputs: New file.
3714         * benchtests/slowcos.c: New file.
3715         * benchtests/slowtan-inputs: New file.
3716         * benchtests/slowtan.c: New file.
3717         * benchtests/tan-inputs: New file.
3719 2013-04-16  Roland McGrath  <roland@hack.frob.com>
3721         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
3722         considered kosher.
3724 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
3726         * benchtests/Makefile: Include cppflags-iterator.mk to add
3727         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
3729         * Makefile.in (bench-clean): New target.
3730         * benchtests/Makefile (bench-clean): Likewise.
3732 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
3734         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
3736 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
3738         * stdio-common/tstdiomisc.c: Fix coding-style violation.
3740 2013-04-15  Andreas Schwab  <schwab@suse.de>
3742         * nscd/grpcache.c (cache_addgr): Properly check for short write.
3743         * nscd/initgrcache.c (addinitgroupsX): Likewise.
3744         * nscd/pwdcache.c (cache_addpw): Likewise.
3745         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
3746         more than recsize.
3748 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
3750         * benchtests/Makefile (bench): Write all output to
3751         bench-out.tmp together.
3753 2013-04-15  Andreas Schwab  <schwab@suse.de>
3755         * nscd/nscd.c (main): Don't fork again after closing files.
3757 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
3759         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
3761         * benchtests/Rules (bench-deps): Collect dependencies into a
3762         single variable.  Add Makefile to dependencies.
3763         ($(objpfx)bench-%.c): Depend on bench-deps.
3765 2013-04-12  Roland McGrath  <roland@hack.frob.com>
3766             Xavier Roche  <roche+kml2@exalead.com>
3768         [BZ #15361]
3769         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
3770         just that it's a file descriptor.
3771         * manual/llio.texi (Synchronizing AIO Operations): Update description
3772         for EBADF error from aio_fsync.
3774 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
3776         * Rules (bench): Move target definition...
3777         * benchtests/Makefile: ... here.
3779 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
3781         * math/libm-test.inc (cos_test): Fix PI/2 test.
3782         (sincos_test): Likewise.
3783         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
3784         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
3786 2013-04-11  Andreas Schwab  <schwab@suse.de>
3788         [BZ #13988]
3789         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
3790         accept exponent character only when digits were seen.
3791         * stdio-common/Makefile (tests): Add bug26.
3792         * stdio-common/bug26.c: New file.
3794         [BZ #14293]
3795         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
3796         non-freeable.
3798 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
3800         * Makeconfig (rtld-prefix): Define built linker prefix.
3801         * Rules (run-bench): Use it.
3802         * math/Makefile (run-regen-ulps): Likewise.
3804         * Rules (bench): Remove eval.
3806 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
3807             Roland McGrath  <roland@hack.frob.com>
3808             Ondrej Bilka  <neleai@seznam.cz>
3810         [BZ #15346]
3811         * time/getdate.c: Include ctype.h and alloca.h.
3812         (__getdate_r): Trim leading and trailing spaces of input.
3813         * time/tst-getdate.c (tests): Add tests with leading and
3814         trailing spaces.
3816 2013-04-08  Roland McGrath  <roland@hack.frob.com>
3818         [BZ #14280]
3819         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
3820         when computing value.
3822 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
3824         * math/README.libm-test (How can I generate "libm-test-ulps"?):
3825         Use testrun.sh to run libm tests.
3827         [BZ #15309]
3828         * elf/dl-open.c (dl_open_worker): memset all of seen array.
3830 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
3832         [BZ #15264]
3833         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
3835 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
3837         * Makefile.in (regen-ulps): New target.
3838         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
3839         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
3840         [ifneq (no,$(PERL)] (regen-ulps): New target.
3841         [ifeq (no,$(PERL)] (regen-ulps): New target.
3842         * math/libm-test.inc (ulps_file_name): Define.
3843         (output_dir): New variable.
3844         (options): Add "output-dir" option.
3845         (parse_opt): Handle 'o' case.
3846         (main): If output_dir is non-NULL use it as a prefix
3847         otherwise use "".
3848         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
3850 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
3852         [BZ #10060, #10062]
3853         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
3854         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
3855         fail configure if __sync_val_compare_and_swap is not inlined.
3856         * sysdeps/i386/configure: Regenerate.
3857         * configure.in: Build for i686 when configured for i386.
3858         * configure: Regenerate.
3859         * README: Remove i386 reference.
3861 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
3863         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
3864         * sysdeps/s390/s390-64/sysdep.h: Likewise.
3866 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
3868         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
3869         (lmsnanval): New variables.
3870         (F): Add conversion tests.
3871         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
3872         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
3874         * stdio-common/tstdiomisc.c (F): Properly collect individual
3875         tests' results.
3877         [BZ #14686, #15336]
3878         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
3879         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
3880         Instead, use input NaN values or generate a qNaN by arithmetic
3881         operation.  Also fix bugs to comply with the standard.
3882         * math/libm-test.inc (remainder_test): Add more tests.
3884         [BZ #15335, #15342]
3885         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
3886         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
3887         input NaN values or generate a qNaN by arithmetic operation.
3889         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
3890         unreachable code.
3892         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
3893         definitions.
3895 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
3897         [BZ #14478]
3898         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
3899         underflowed result.
3900         * math/s_cexpf.c (__cexpf): Likewise.
3901         * math/s_cexpl.c (__cexpl): Likewise.
3902         * math/libm-test.inc (cexp_test): Add more tests.
3904 2013-04-03  Andreas Schwab  <schwab@suse.de>
3906         [BZ #15330]
3907         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
3908         order arrays from heap if bigger than alloca cutoff.
3910 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
3912         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
3913         (SNAN_TESTS_double): Refer to GCC PR56831.
3914         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
3915         GCC PR56828.
3917 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
3919         * Rules (bench): Move bench.out after the run is complete.
3921         * Rules (bench): Echo currently running benchmark.
3923         * benchtests/Makefile (bench): Add atan and slowatan.
3924         * benchtests/atan-inputs: New file.
3925         * benchtests/slowatan-inputs: New file.
3926         * benchtests/slowatan.c: New file.
3928         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
3929         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
3930         its value.
3932         [BZ #15305]
3933         * sysdeps/unix/sysv/linux/kernel-features.h
3934         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
3935         __ASSUME_XFS_RESTRICTED_CHOWN.
3936         * sysdeps/unix/sysv/linux/pathconf.c
3937         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
3938         Save and restore errno.
3940 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
3942         [BZ #15327]
3943         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
3944         arguments using __kernel_casinh.
3945         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
3946         arguments using __kernel_casinhf.
3947         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
3948         arguments using __kernel_casinhl.
3949         * math/libm-test.inc (cacosh_test): Add more tests.
3950         * sysdeps/i386/fpu/libm-test-ulps: Update.
3951         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3953 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
3955         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
3956         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
3958         * bench/Makefile (bench): Add sin and slowsin.
3959         * benchtests/sin-inputs: New file.
3960         * benchtests/slowsin-inputs: New file.
3961         * benchtests/slowsin.c: New file.
3963         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
3964         (bench): Add slowexp and slowpow.
3965         (exp-ITER): Increase iterations.
3966         (pow-ITER): Likewise.
3967         * benchtests/exp-inputs: Change input.
3968         * benchtests/pow-inputs: Likewise.
3969         * benchtests/slowexp-inputs: New file.
3970         * benchtests/slowexp.c: New file.
3971         * benchtests/slowpow-inputs: New file.
3972         * benchtests/slowpow.c: New file.
3974 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3976         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
3977         instructions.
3978         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
3979         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
3980         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
3981         * benchtests/Makefile: Add rint benchtest.
3982         * benchtests/rint-inputs: Input for rint benchtest.
3984 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
3986         * Versions.def (libm): Add GLIBC_2.18.
3987         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
3988         hidden libm prototypes.
3989         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
3990         * math/Makefile (libm-calls): Add s_issignaling.
3991         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
3992         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
3993         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
3994         declaration.
3995         * math/math.h [__USE_GNU] (issignaling): New macro.
3996         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
3997         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
3998         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
3999         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
4000         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
4001         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
4002         * manual/arith.texi (issignaling): New section.
4003         * manual/libm-err-tab.pl (@all_functions): Update comment.
4004         * math/gen-libm-test.pl (parse_args): Apply special handling for
4005         issignaling.
4006         * math/libm-test.inc (print_float, issignaling_test): New
4007         functions.
4008         (check_float_internal): Add issignaling checks.
4009         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
4010         default definition.
4011         * sysdeps/powerpc/math-tests.h: New file.
4012         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
4013         tests.
4014         * math/test-snan.c (TEST_FUNC): Likewise.
4016 2013-03-30  David S. Miller  <davem@davemloft.net>
4018         * po/de.po: Update from translation team.
4020 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
4022         [BZ #10357]
4023         * math/k_casinh.c (__kernel_casinh): Handle arguments with
4024         imaginary part less than 1.0 and real part less than 0.5
4025         specially.
4026         * math/k_casinhf.c (__kernel_casinhf): Likewise.
4027         * math/k_casinhl.c (__kernel_casinhl): Likewise.
4028         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
4029         (cacos_test): Add more tests.
4030         (casin_test): Likewise.
4031         (casinh_test): Likewise.
4032         * sysdeps/i386/fpu/libm-test-ulps: Update.
4033         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4035 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
4037         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
4038         ONE with its value.
4040         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
4041         (__pow_mp): Replace ONE and MONE with their values.
4042         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
4043         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
4044         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
4045         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
4046         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
4047         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
4049         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
4051         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
4052         (__pow_mp): Replace ZERO and MZERO with their values.
4053         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
4054         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
4055         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
4056         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
4057         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
4058         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
4059         (__sqr): Likewise.
4061         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
4063         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
4065 2013-03-28  Roland McGrath  <roland@hack.frob.com>
4067         * include/stdlib.h [!SHARED] (__call_tls_dtors):
4068         Declare with __attribute__ ((weak)).
4069         * stdlib/exit.c (__libc_atexit) [!SHARED]:
4070         Call __call_tls_dtors only if it's not NULL.
4072 2013-03-28  Roland McGrath  <roland@hack.frob.com>
4074         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
4075         didn't do it already, then set _dl_phdr and _dl_phnum based on the
4076         magic __ehdr_start linker symbol if it's defined.
4077         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
4078         them up here if it was already done.
4080         * elf/dl-support.c (_dl_phdr): Make pointer to const.
4081         (_dl_aux_init): Use const in cast when setting it.
4082         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
4083         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
4084         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
4086         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
4087         Declare them here.
4088         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
4089         * csu/libc-tls.c: Nor here.
4090         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
4092         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
4093         (__libc_message): Never call vsyslog.
4095 2013-03-28  Alan Modra  <amodra@gmail.com>
4097         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
4098         Define as empty.
4099         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
4100         Likewise.
4102 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4104         [BZ #15214]
4105         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
4106         underflow.
4107         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4109 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
4111         [BZ #15304]
4112         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
4113         Don't add gid passed as argument.
4115         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
4117 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
4119         [BZ #15307]
4120         * math/k_casinh.c (__kernel_casinh): Handle arguments with
4121         imaginary part between 1.0 and 1.5 and real part less than 0.5
4122         specially.
4123         * math/k_casinhf.c (__kernel_casinhf): Likewise.
4124         * math/k_casinhl.c (__kernel_casinhl): Likewise.
4125         * math/libm-test.inc (cacos_test): Add more tests.
4126         (casin_test): Likewise.
4127         (casinh_test): Likewise.
4128         * sysdeps/i386/fpu/libm-test-ulps: Update.
4129         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4131 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
4133         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
4134         constants.
4135         (norm): Likewise.
4136         (denorm): Likewise.
4137         (__dbl_mp): Likewise.
4138         (add_magnitudes): Likewise.
4139         (sub_magnitudes): Likewise.
4140         (__add): Likewise.
4141         (__sub): Likewise.
4142         (__mul): Likewise.
4143         (__sqr): Likewise.
4144         (__inv): Likewise.
4145         (__dvd): Likewise.
4147         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
4148         commented code.
4149         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
4150         (__dubcos): Likewise.
4151         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
4152         (__ieee754_acos): Likewise.
4153         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
4154         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
4155         (__exp1): Likewise.
4156         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
4157         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
4158         (log1): Likewise.
4159         (my_log2): Likewise.
4160         (checkint): Likewise.
4161         * sysdeps/ieee754/dbl-64/e_remainder.c
4162         (__ieee754_remainder): Likewise.
4163         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
4164         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
4165         (bsloww): Likewise.
4166         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
4168         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
4169         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
4170         MANTISSA_STORE_T to store computations on mantissa.  Use
4171         macros for rounding and division.
4172         (denorm): Likewise.
4173         (__dbl_mp): Likewise.
4174         (add_magnitudes): Likewise.
4175         (sub_magnitudes): Likewise.
4176         (__mul): Likewise.
4177         (__sqr): Likewise.
4178         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
4179         powers of two in terms of TWOPOW macro.
4180         (mp_no): Make type of mantissa as MANTISSA_T.
4181         [!RADIXI]: Define RADIXI.
4182         [!TWO52]: Define TWO52.
4183         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
4185 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4187         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
4188         llroundl symbol when building for PPC32.
4190 2013-03-24  Mark H Weaver  <mhw@netris.org>
4192         * manual/arith.texi (Normalization Functions): Fix prototypes for
4193         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
4195 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4197         [BZ #13889]
4198         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
4199         high value to check if expl overflow.
4200         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
4201         to check for underflow and overflow.
4202         * math/libm-test.inc: Add exp test.
4204 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
4206         [BZ #11120]
4207         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
4208         with NOT_IN_libc.
4210 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4212         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
4213         symbol.
4215 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
4217         * math/gen-libm-test.pl (parse_args, special_functions): Properly
4218         wrap blocks consisting of several statements.
4220         * sysdeps/generic/math-tests.h: New file.
4221         * sysdeps/i386/fpu/math-tests.h: Likewise.
4222         * math/test-snan.c: Include it.
4223         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
4225 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
4227         [BZ #15285]
4228         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
4229         (__ieee754_j0l): Do not improve calculations using cos of twice
4230         input for inputs above LDBL_MAX / 2.0L.
4231         (__ieee754_y0l): Likewise.
4232         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
4233         (__ieee754_j1l): Do not improve calculations using cos of twice
4234         input for inputs above LDBL_MAX / 2.0L.
4235         (__ieee754_y1l): Likewise.
4236         * math/libm-test.inc (j0_test): Add another test.
4237         (j1_test): Likewise.
4238         (y0_test): Likewise.
4239         (y1_test): Likewise.
4240         * sysdeps/i386/fpu/libm-test-ulps: Update.
4242 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
4244         * Rules ($(objpfx)bench-%.c): Include code from a C source
4245         file.
4247 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
4249         [BZ #15287]
4250         * math/k_casinh.c (__kernel_casinh): Handle arguments with
4251         imaginary part 1.0 and real part less than 0.5 specially.
4252         * math/k_casinhf.c (__kernel_casinhf): Likewise.
4253         * math/k_casinhl.c (__kernel_casinhl): Likewise.
4254         * math/libm-test.inc (cacos_test): Add more tests.
4255         (casin_test): Likewise.
4256         (casinh_test): Likewise.
4257         * sysdeps/i386/fpu/libm-test-ulps: Update.
4258         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4260 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
4262         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
4263         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
4265 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
4267         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
4268         * config.make.in (config-cflags-sse4): Remove variable.
4269         (config-cflags-avx): Likewise.
4270         (config-cflags-sse2avx): Likewise.
4271         (config-cflags-novzeroupper): Likewise.
4272         (config-asflags-i686): Likewise.
4273         (have-mfma4): Likewise.
4274         (have-as-vis3): Likewise.
4275         (MIG): Likewise.
4276         * configure.in (MIG): Do not AC_SUBST.
4277         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
4278         (libc_cv_cc_sse4): Do not AC_SUBST.
4279         (libc_cv_cc_avx): Likewise.
4280         (libc_cv_cc_sse2avx): Likewise.
4281         (libc_cv_cc_novzeroupper): Likewise.
4282         (libc_cv_cc_fma4): Likewise.
4283         (libc_cv_as_i686): Likewise.
4284         (libc_cv_sparc_as_vis3): Likewise.
4285         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
4286         LIBC_CONFIG_VAR.
4287         (config-asflags-i686): Likewise.
4288         (config-cflags-avx): Likewise.
4289         (config-cflags-sse2avx): Likewise.
4290         (have-mfma4): Likewise.
4291         (config-cflags-novzeroupper): Likewise.
4292         * sysdeps/mach/configure.in (MIG): Likewise.
4293         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
4294         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
4295         LIBC_CONFIG_VAR.
4296         (config-cflags-avx): Likewise.
4297         (config-cflags-sse2avx): Likewise.
4298         (have-mfma4): Likewise.
4299         (config-cflags-novzeroupper): Likewise.
4300         * configure: Regenerated.
4301         * sysdeps/i386/configure: Likewise.
4302         * sysdeps/mach/configure: Likewise.
4303         * sysdeps/sparc/configure: Likewise.
4304         * sysdeps/x86_64/configure: Likewise.
4306 2013-03-20  Roland McGrath  <roland@hack.frob.com>
4308         [BZ #14812]
4309         * locale/programs/localedef.c (options): Put N_ translation marker
4310         on argument names, not just descriptions.
4312 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
4314         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
4316 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
4318         [BZ #14176]
4319         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
4321 2013-03-19  Roland McGrath  <roland@hack.frob.com>
4323         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
4324         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
4325         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
4326         [!BEFORE_ABORT] (before_abort): New function.
4327         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
4328         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
4329         (writev_for_fatal): New function.
4330         (WRITEV_FOR_FATAL): New macro; call that.
4331         (backtrace_and_maps): New function.
4332         (BEFORE_ABORT): New macro; call that.
4333         (struct str_list): Type removed.
4334         (__libc_message, __libc_fatal): Functions removed.
4335         Include <sysdeps/posix/libc_fatal.c> instead.
4337 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
4339         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
4340         constants.
4341         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
4342         double constants.
4344 2013-03-19  Andreas Schwab  <schwab@suse.de>
4346         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
4347         * sysdeps/gnu/configure: Regenerate.
4349         * configure.in: Substitute libc_cv_rtlddir.
4350         * configure: Regenerate.
4351         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
4352         * Makeconfig (rtlddir, inst_rtlddir): New variables.
4353         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
4354         * elf/Makefile (install-others, CFLAGS-interp.c)
4355         (ldso_install, common-ldd-rewrite): Likewise.
4356         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
4357         $(inst_slibdir)/$(rtld-installed-name).
4358         * scripts/rellns-sh: Add -p option.
4359         * Makerules (make-shlib-link): Use rellns-sh to get relative name
4360         for source.
4362 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
4364         * manual/nptl.texi: Renamed to ...
4365         * manual/threads.texi: ... this.
4366         * manual/Makefile (chapters): Update.
4368 2013-03-18  Roland McGrath  <roland@hack.frob.com>
4370         [BZ #14812]
4371         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
4372         on argument names, not just descriptions.
4373         * malloc/memusagestat.c (options): Likewise.
4374         * nss/getent.c (options): Likewise.
4376 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
4378         [BZ #14812]
4379         * iconv/iconv_prog.c (options): Put N_ translation marker
4380         on argument names, not just descriptions.
4381         * iconv/iconvconfig.c (options): Likewise.
4383 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
4385         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
4386         implementation which is faster on all x86_64 architectures.
4387         Tested on AMD, Intel Nehalem, SNB, IVB.
4388         * sysdeps/x86_64/strnlen.S: Likewise.
4390         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
4391         Remove all multiarch strlen and strnlen versions.
4392         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
4393         Remove strlen and strnlen related parts.
4395         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
4396         Inline strlen part.
4397         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
4399         * sysdeps/x86_64/multiarch/strlen.S: Remove.
4400         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
4401         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
4402         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
4403         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
4404         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
4406 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
4408         * manual/memory.texi (Malloc Tunable Parameters):
4409         Sort parameters alphabetically. Add comments for missing entries.
4411 2013-03-17  David S. Miller  <davem@davemloft.net>
4413         * sysdeps/sparc/fpu/libm-test-ulps: Update.
4415 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
4417         [BZ #15283]
4418         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
4419         for arguments at most half maximum finite value.
4420         * math/libm-test.inc (j0_test): Add more tests.
4421         (j1_test): Likewise.
4422         (y0_test): Likewise.
4423         (y1_test): Likewise.
4424         * sysdeps/i386/fpu/libm-test-ulps: Update.
4425         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4427         [BZ #14155]
4428         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
4429         1 / x and functions P and Q for arguments above 0x1p256L.
4430         (__ieee754_y0l): Likewise.
4431         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
4432         (__ieee754_y1l): Likewise.
4433         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
4434         (j1_test): Likewise.
4435         (y0_test): Likewise.
4436         (y1_test): Likewise.
4438 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
4440         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
4441         variable.
4443 2013-03-15  Roland McGrath  <roland@hack.frob.com>
4445         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
4446         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
4447         zero since it's initialized to EXEC_PAGESIZE.
4449         * sysdeps/unix/sysv/linux/ldsodefs.h
4450         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
4451         * sysdeps/generic/ldsodefs.h: ... here.
4453 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
4455         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
4457         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
4458         math/test-snan.c.
4459         * math/test-snan.c: Renamed from
4460         sysdeps/powerpc/fpu/test-powerpc-snan.c.
4461         * math/Makefile (tests): Add test-snan.
4462         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
4463         test-powerpc-snan.
4465         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
4466         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
4467         functions.
4468         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
4469         __builtin_nan family of functions.
4470         * math/libm-test.inc (initialize): Initialize qnan_value with
4471         __builtin_nan family of functions.
4472         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
4473         Remove variables.
4474         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
4475         Remove functions.
4476         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
4477         storage class.  Initialize qNaN_var and sNaN_var with
4478         __builtin_nan and __builtin_nans families of functions,
4479         respectively.
4481         * math/libm-test.inc (acosh_test): Also test with qNaN input.
4482         (sqrt_test): Remove duplicate test with qNaN input.
4483         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
4484         (round_test, signbit_test, significand_test): Note missing +/-Inf
4485         as well as qNaN tests.
4487         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
4488         qNaN_var.  Fix a few strings, too.
4489         * math/libm-test.inc (nan_value): Rename to qnan_value.
4490         * math/gen-libm-test.pl (%beautify): Adjust to that.
4491         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
4492         * math/test-misc.c (main): Likewise.
4493         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
4494         to __qnan_bytes, and __qnan_union, respectively.
4495         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
4496         Likewise.
4497         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
4498         and lqnanval, respectively.
4499         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
4500         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
4501         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
4502         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
4504         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
4505         * math/test-misc.c (main) [__x86_64__]: Enable test for long
4506         doubles.
4508         * math/test-misc.c (main): Fix copy'n'pastos.
4509         * misc/tst-efgcvt.c (special): Likewise.
4511         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
4512         Remove declarations.
4514 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
4516         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
4517         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
4518         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
4519         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
4521 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4523         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
4524         macro to return vdso values correctly in IFUNC implementations.
4525         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
4526         Optimization by using IFUNC.
4528 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
4529             Richard Henderson  <rth@redhat.com>
4530             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
4532         * Makefile.in (bench): New target.
4533         * NEWS: Mention the benchmark framework.
4534         * Rules (bench): Likewise.
4535         (binaries-bench): Generate binaries for functions to
4536         benchmark.
4537         * benchtests/Makefile: New makefile for benchmark tests.
4538         * benchtests/bench-skeleton.c: New skeleton file for benchmark
4539         programs.
4540         * benchtests/exp-inputs: New input file for EXP function.
4541         * benchtests/pow-inputs: New input file for POW function.
4542         * scripts/bench.pl: New script to generate source files for
4543         benchmark programs.
4545 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
4547         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
4548         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
4549         computations on mantissa.  Use macros for rounding and
4550         division.
4551         (denorm): Likewise.
4552         (__dbl_mp): Likewise.
4553         (add_magnitudes): Likewise.
4554         (sub_magnitudes): Likewise.
4555         (__mul): Likewise.
4556         (__sqr): Likewise.
4557         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
4558         powers of two in terms of TWOPOW macro.
4559         (mp_no): Make type of mantissa as MANTISSA_T.
4560         [!RADIXI]: Define RADIXI.
4561         [!TWO52]: Define TWO52.
4562         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
4564         * manual/nptl.texi (cindex): Modify threads to pthreads.
4566 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
4568         * sysdeps/x86_64/preconfigure: Regenerated.
4570 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
4572         [BZ #14155]
4573         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
4574         0x1p28 and above.
4575         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
4576         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
4577         0x1p28 and above.
4578         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
4579         * math/libm-test.inc (j0_test): Do not allow one spurious
4580         underflow exception.
4581         (y1_test): Likewise.
4583 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
4585         * manual/Makefile (chapters): Add nptl.
4586         * manual/debug.texi (Debugging Support): Add link to Threads
4587         chapter.
4588         * manual/nptl.texi: New file.
4590         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
4592 2013-03-14  Petr Baudis  <pasky@ucw.cz>
4594         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
4595         for non-NULL pointer before the memory validity test. Pointed
4596         out by Holger Brunck <holger.brunck@keymile.com>.
4598 2013-03-13  Andreas Schwab  <schwab@suse.de>
4600         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
4601         instead of .os.
4603 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
4605         * timezone/zic.c: Update from tzcode 2013b.
4607 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
4609         * manual/install.texi (Configuring and compiling):
4610         Mention i686 and i586.
4611         * INSTALL: Regenerate.
4613 2013-03-12  Roland McGrath  <roland@hack.frob.com>
4615         * sysdeps/init_array/elf-init.c: New file.
4616         * csu/elf-init.c
4617         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
4618         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
4620         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
4621         __gmon_start__ as global, but as static with a .preinit_array pointer.
4622         * sysdeps/init_array/gmon-start.c: New file.  Use that.
4623         * sysdeps/init_array/crti.S: New file, empty except for comments.
4624         * sysdeps/init_array/crtn.S: Likewise.
4626 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
4628         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
4629         definining bcopy.
4630         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
4631         Remove Prefer_SSE_for_memop.
4632         * sysdeps/x86_64/multiarch/init-arch.h: Remove
4633         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
4634         HAS_PREFER_SSE_FOR_MEMOP.
4635         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
4636         memset-x86-64.
4637         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
4638         Remove bzero, memset ifunc support.
4639         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
4640         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
4641         * sysdeps/x86_64/multiarch/memset.S: Likewise.
4642         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
4644 2013-03-11  Andreas Schwab  <schwab@suse.de>
4646         [BZ #15234]
4647         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
4648         by SHLIB_COMPAT.
4649         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
4650         (GLIBC_2.16): Remove pthread_atfork.
4652 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
4654         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
4655         (ptestcases.h): Likewise.
4657 2013-03-08  Roland McGrath  <roland@hack.frob.com>
4659         * Makeconfig ($(common-objpfx)config.status): Depend on
4660         sysdeps/*/preconfigure{,.in} too.
4662 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
4664         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
4665         (__free_hook): Use void * instead of __malloc_ptr_t.
4666         (__malloc_hook): Likewise.
4667         (__realloc_hook): Likewise.
4668         (__memalign_hook): Likewise.
4669         (__after_morecore_hook): Likewise.
4670         * malloc/arena.c (save_malloc_hook): Likewise.
4671         (save_free_hook): Likewise.
4672         * malloc/hooks.c (malloc_hook_ini): Likewise.
4673         (realloc_hook_ini): Likewise.
4674         (memalign_hook_ini): Likewise.
4675         * malloc/malloc.c (malloc_hook_ini): Likewise.
4676         (realloc_hook_ini): Likewise.
4677         (memalign_hook_ini): Likewise.
4678         (__free_hook): Likewise.
4679         (__malloc_hook): Likewise.
4680         (__realloc_hook): Likewise.
4681         (__memalign_hook): Likewise.
4682         (__libc_malloc): Likewise.
4683         (__libc_free): Likewise.
4684         (__libc_realloc): Likewise.
4685         (__libc_memalign): Likewise.
4686         (__libc_valloc): Likewise.
4687         (__libc_pvalloc): Likewise.
4688         (__libc_calloc): Likewise.
4689         (__posix_memalign): Likewise.
4690         * malloc/morecore.c (__sbrk): Likewise.
4691         (__default_morecore): Likewise.
4693         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
4695         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
4696         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
4697         __malloc_ptrdiff_t.
4699         * malloc/malloc.h (__malloc_size_t): Remove macro.
4700         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
4701         __malloc_size_t.
4702         (old_memalign_hook): Likewise.
4703         (old_realloc_hook): Likewise.
4704         (struct hdr): Likewise.
4705         (flood): Likewise.
4706         (mallochook): Likewise.
4707         (memalignhook): Likewise.
4708         (reallochook): Likewise.
4709         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
4710         (tr_old_realloc_hook): Likewise.
4711         (tr_old_memalign_hook): Likewise.
4712         (tr_mallochook): Likewise.
4713         (tr_reallochook): Likewise.
4714         (tr_memalignhook): Likewise.
4716 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4718         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
4719         default_ldbl_pack and using as default implementation.
4720         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
4721         implementation.
4722         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
4723         redundant definition.
4724         (ldbl_insert_mantissa): Likewise.
4725         (ldbl_canonicalize): Likewise.
4726         (ldbl_nearbyint): Likewise.
4727         (ldbl_pack): Rename to ldbl_pack_ppc.
4728         (ldbl_unpack): Rename to ldbl_unpack_ppc.
4729         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
4730         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
4732 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
4734         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
4735         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
4736         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
4737         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
4738         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
4739         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
4740         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
4741         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
4743 2013-03-07  Andreas Jaeger  <aj@suse.de>
4745         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4746         bits/mman-linux.h.
4748 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
4750         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
4751         Include mpa.h and declare __MPEXP.
4752         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
4753         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
4754         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
4755         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
4756         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
4757         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
4758         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
4760         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
4761         (__slowpow): Use long double EXPL and LOGL functions to
4762         compute POW.
4763         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
4764         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
4765         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
4766         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
4767         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
4768         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
4770         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
4771         intermediate variable to calculate exponent.
4772         (__sqr): Likewise.
4773         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
4774         Likewise.
4775         (__sqr): Likewise.
4777         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
4778         [!NO__SQR]: Define __sqr.
4779         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
4780         and NO__SQR.  Remove all code except __mul and __sqr.  Include
4781         sysdeps/ieee754/dbl-64/mpa.c.
4782         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
4784         [BZ #12723]
4785         * posix/Makefile (tests): Add tst-pathconf.
4786         * posix/tst-pathconf.c: New test case.
4787         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
4788         _PC_PIPE_BUF.
4789         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
4791 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
4793         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
4795 2013-03-06  Andreas Jaeger  <aj@suse.de>
4797         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
4798         definition via __MAP_ANONYMOUS.
4800         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
4801         it's not part of Linux headers.
4803         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
4804         (MAP_HUGE_MASK): Define.
4806         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
4807         Define.
4808         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
4809         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
4810         Define.
4811         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
4812         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
4813         Define.
4814         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
4815         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
4816         Define.
4817         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
4819         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
4820         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
4821         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
4822         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
4823         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
4824         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
4826         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
4827         Handle f2fs.
4829         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
4830         Handle f2fs and efivarfs.
4832         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
4833         f2fs.
4835         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
4836         (EFIVARFS_MAGIC): Add.
4837         (F2FS_LINK_MAX): Add.
4839 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
4841         * stdio-common/vfprintf.c: Replace __builtin_expect with
4842         __glibc_unlikely.
4844 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
4846         [BZ #13550]
4847         * sysdeps/generic/bp-sym.h: Remove file.
4848         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
4849         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
4850         <bp-sym.h> and <bp-asm.h>.
4851         (__longjmp): Don't use BP_SYM.
4852         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
4853         and <bp-asm.h>.
4854         (memcpy): Don't use BP_SYM.
4855         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
4856         <bp-sym.h> and <bp-asm.h>.
4857         (memcpy): Don't use BP_SYM.
4858         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
4859         <bp-asm.h>.
4860         (memcpy): Don't use BP_SYM.
4861         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
4862         <bp-asm.h>.
4863         (memset): Don't use BP_SYM.
4864         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
4865         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
4866         (__bzero): Don't use BP_SYM.
4867         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
4868         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
4869         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
4870         <bp-sym.h> and <bp-asm.h>.
4871         (memcmp): Don't use BP_SYM.  Remove comment about bounded
4872         pointers.
4873         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
4874         <bp-sym.h> and <bp-asm.h>.
4875         (memcpy): Don't use BP_SYM.
4876         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
4877         <bp-sym.h> and <bp-asm.h>.
4878         (memset): Don't use BP_SYM.
4879         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
4880         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
4881         (__bzero): Don't use BP_SYM.
4882         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
4883         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
4884         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
4885         <bp-sym.h> and <bp-asm.h>.
4886         (strncmp): Don't use BP_SYM.  Remove comment about bounded
4887         pointers.
4888         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
4889         <bp-sym.h> and <bp-asm.h>.
4890         (memcpy): Don't use BP_SYM.
4891         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
4892         <bp-sym.h> and <bp-asm.h>.
4893         (memset): Don't use BP_SYM.
4894         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
4895         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
4896         (__bzero): Don't use BP_SYM.
4897         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
4898         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
4899         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
4900         <bp-sym.h> and <bp-asm.h>.
4901         (__memchr): Don't use BP_SYM.
4902         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
4903         <bp-sym.h> and <bp-asm.h>.
4904         (memcmp): Don't use BP_SYM.  Remove comment about bounded
4905         pointers.
4906         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
4907         <bp-sym.h> and <bp-asm.h>.
4908         (memcpy): Don't use BP_SYM.
4909         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
4910         <bp-sym.h> and <bp-asm.h>.
4911         (__mempcpy): Don't use BP_SYM.
4912         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
4913         <bp-sym.h> and <bp-asm.h>.
4914         (__memrchr): Don't use BP_SYM.
4915         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
4916         <bp-sym.h> and <bp-asm.h>.
4917         (memset): Don't use BP_SYM.
4918         (__bzero): Likewise.
4919         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
4920         <bp-sym.h> and <bp-asm.h>.
4921         (__rawmemchr): Don't use BP_SYM.
4922         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
4923         <bp-sym.h> and <bp-asm.h>.
4924         (__STRCMP): Don't use BP_SYM.
4925         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
4926         <bp-sym.h> and <bp-asm.h>.
4927         (strchr): Don't use BP_SYM.
4928         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
4929         <bp-sym.h> and <bp-asm.h>.
4930         (__strchrnul): Don't use BP_SYM.
4931         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
4932         <bp-sym.h> and <bp-asm.h>.
4933         (strlen): Don't use BP_SYM.
4934         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
4935         <bp-sym.h> and <bp-asm.h>.
4936         (strncmp): Don't use BP_SYM.  Remove comment about bounded
4937         pointers.
4938         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
4939         <bp-sym.h> and <bp-asm.h>.
4940         (__strnlen): Don't use BP_SYM.
4941         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
4942         <bp-sym.h> and <bp-asm.h>.
4943         (__GI__setjmp): Don't use BP_SYM.
4944         (_setjmp): Likewise.
4945         (__sigsetjmp): Likewise.
4946         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
4947         (L(start_addresses)): Don't use BP_SYM.
4948         (_start): Likewise.
4949         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
4950         <bp-asm.h>.
4951         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
4952         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
4953         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
4954         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
4955         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
4956         <bp-asm.h>.
4957         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
4958         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
4959         about bounded pointers.
4960         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
4961         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
4962         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
4963         <bp-asm.h>.
4964         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
4965         about bounded pointers.  Remove GKM FIXME comments.
4966         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
4967         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
4968         <bp-asm.h>.
4969         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
4970         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
4971         Remove GKM FIXME comments.
4972         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
4973         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
4974         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
4975         <bp-asm.h>.
4976         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
4977         about bounded pointers.  Remove GKM FIXME comment.
4978         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
4979         and <bp-asm.h>.
4980         (strncmp): Don't use BP_SYM.  Remove comment about bounded
4981         pointers.
4982         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
4983         <bp-sym.h> and <bp-asm.h>.
4984         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
4985         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
4986         <bp-sym.h> and <bp-asm.h>.
4987         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
4988         comment.
4990 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
4992         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
4993         call free(NULL).
4995 2013-03-05  David S. Miller  <davem@davemloft.net>
4997         * po/es.po: Update from translation team.
4999 2013-03-05  Andreas Jaeger  <aj@suse.de>
5001         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
5002         <bits/mman-linux.h>.
5003         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
5004         is fine.
5005         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
5006         <bits/mman-linux.h> to end of file.
5007         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
5008         is fine.
5009         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
5010         <bits/mman-linux.h> to end of file.
5011         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
5012         is fine.
5013         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
5014         <bits/mman-linux.h> to end of file.
5016         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
5017         (MCL_CURRENT, MCL_FUTURE): Define here.
5019 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
5021         [BZ #15232]
5022         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
5023         attribute_hidden.
5024         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
5026 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
5028         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
5029         fourth parameter needed for rt_sigprocmask syscall.
5030         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
5031         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
5032         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
5033         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
5034         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
5035         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
5037 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
5039         [BZ #13550]
5040         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
5041         comment about bounded pointers.
5042         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
5043         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
5045 2013-03-04  Andreas Jaeger  <aj@suse.de>
5047         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
5048         common definitions.
5050         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
5051         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
5052         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
5053         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
5054         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
5055         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
5057 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5059         [BZ #15055]
5060         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
5061         __ieee754_sqrl instead of __sqrl.
5063 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
5065         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
5066         * sysdeps/powerpc/fpu_control.h: ... here.
5067         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
5068         * sysdeps/powerpc/bits/fenvinline.h: ... here.
5069         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
5070         * sysdeps/powerpc/bits/mathinline.h: ... here.
5072 2013-03-01  Roland McGrath  <roland@hack.frob.com>
5074         * elf/dl-hwcaps.c (_dl_important_hwcaps):
5075         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
5076         to just [NEED_DL_SYSINFO_DSO].
5077         * elf/dl-support.c: Likewise.
5078         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
5079         * elf/rtld.c (dl_main): Likewise.
5080         * elf/setup-vdso.h (setup_vdso): Likewise.
5081         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
5082         * sysdeps/unix/sysv/linux/dl-sysdep.c
5083         (_dl_discover_osversion): Likewise.
5085 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
5087         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
5088         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
5090 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
5092         * NEWS: Mention libm performance improvements and non-x86 PI
5093         futex support.
5095         * csu/libc-start.c (__pthread_initialize_minimal): Change
5096         function arguments.
5097         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
5099 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
5101         [BZ #13550]
5102         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
5103         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
5104         <bp-sym.h> and <bp-asm.h>.
5105         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
5106         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
5107         and <bp-asm.h>.
5108         (memcpy): Don't use BP_SYM.
5109         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
5110         <bp-asm.h>.
5111         (__mpn_add_n): Don't use BP_SYM.
5112         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
5113         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
5114         and <bp-asm.h>.
5115         (__mpn_addmul_1): Don't use BP_SYM.
5116         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
5117         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
5118         <bp-sym.h>.
5119         (_setjmp): Don't use BP_SYM.
5120         (__novmx_setjmp): Likewise.
5121         (__GI__setjmp): Likewise.
5122         (__vmx_setjmp): Likewise.
5123         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
5124         <bp-sym.h>.
5125         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
5126         (__bzero): Don't use BP_SYM.
5127         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
5128         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
5129         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
5130         <bp-sym.h> and <bp-asm.h>.
5131         (memcpy): Don't use BP_SYM.
5132         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
5133         <bp-sym.h> and <bp-asm.h>.
5134         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
5135         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
5136         <bp-sym.h> and <bp-asm.h>.
5137         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
5138         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
5139         <bp-asm.h>.
5140         (__mpn_lshift): Don't use BP_SYM.
5141         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
5142         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
5143         <bp-asm.h>.
5144         (memset): Don't use BP_SYM.
5145         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
5146         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
5147         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
5148         <bp-asm.h>.
5149         (__mpn_mul_1): Don't use BP_SYM.
5150         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
5151         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
5152         <bp-sym.h> and <bp-asm.h>.
5153         (memcmp): Don't use BP_SYM.
5154         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
5155         <bp-sym.h> and <bp-asm.h>.
5156         (memcpy): Don't use BP_SYM.
5157         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
5158         <bp-sym.h> and <bp-asm.h>.
5159         (memset): Don't use BP_SYM.
5160         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
5161         <bp-sym.h> and <bp-asm.h>.
5162         (strncmp): Don't use BP_SYM.
5163         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
5164         <bp-sym.h> and <bp-asm.h>.
5165         (memcpy): Don't use BP_SYM.
5166         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
5167         <bp-sym.h> and <bp-asm.h>.
5168         (memset): Don't use BP_SYM.
5169         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
5170         <bp-sym.h> and <bp-asm.h>.
5171         (__memchr): Don't use BP_SYM.
5172         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
5173         <bp-sym.h> and <bp-asm.h>.
5174         (memcmp): Don't use BP_SYM.
5175         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
5176         <bp-sym.h> and <bp-asm.h>.
5177         (memcpy): Don't use BP_SYM.
5178         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
5179         <bp-sym.h> and <bp-asm.h>.
5180         (__mempcpy): Don't use BP_SYM.
5181         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
5182         <bp-sym.h> and <bp-asm.h>.
5183         (__memrchr): Don't use BP_SYM.
5184         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
5185         <bp-sym.h> and <bp-asm.h>.
5186         (memset): Don't use BP_SYM.
5187         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
5188         <bp-sym.h> and <bp-asm.h>.
5189         (__rawmemchr): Don't use BP_SYM.
5190         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
5191         <bp-sym.h> and <bp-asm.h>.
5192         (__STRCMP): Don't use BP_SYM.
5193         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
5194         <bp-sym.h> and <bp-asm.h>.
5195         (strchr): Don't use BP_SYM.
5196         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
5197         <bp-sym.h> and <bp-asm.h>.
5198         (__strchrnul): Don't use BP_SYM.
5199         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
5200         <bp-sym.h> and <bp-asm.h>.
5201         (strlen): Don't use BP_SYM.
5202         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
5203         <bp-sym.h> and <bp-asm.h>.
5204         (strncmp): Don't use BP_SYM.
5205         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
5206         <bp-sym.h> and <bp-asm.h>.
5207         (__strnlen): Don't use BP_SYM.
5208         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
5209         <bp-asm.h>.
5210         (__mpn_rshift): Don't use BP_SYM.
5211         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
5212         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
5213         <bp-sym.h> and <bp-asm.h>.
5214         (__sigsetjmp): Don't use BP_SYM.
5215         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
5216         (L(start_addresses)): Don't use BP_SYM.
5217         (_start): Likewise.
5218         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
5219         <bp-asm.h>.
5220         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
5221         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
5222         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
5223         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
5224         <bp-asm.h>.
5225         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
5226         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
5227         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
5228         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
5229         <bp-asm.h>.
5230         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
5231         comments.
5232         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
5233         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
5234         <bp-asm.h>.
5235         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
5236         FIXME comments.
5237         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
5238         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
5239         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
5240         <bp-asm.h>.
5241         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
5242         comment.
5243         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
5244         and <bp-asm.h>.
5245         (strncmp): Don't use BP_SYM,
5246         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
5247         <bp-asm.h>.
5248         (__mpn_sub_n): Don't use BP_SYM.
5249         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
5250         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
5251         and <bp-asm.h>.
5252         (__mpn_submul_1): Don't use BP_SYM.
5253         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
5254         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
5255         <bp-sym.h> and <bp-asm.h>.
5256         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
5257         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
5258         <bp-sym.h> and <bp-asm.h>.
5259         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
5260         comment.
5262 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
5264         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
5265         Use ZK to minimize writes to Z.
5266         (sub_magnitudes): Simplify code a bit.
5267         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
5268         Use ZK to minimize writes to Z.
5269         (sub_magnitudes): Simplify code a bit.
5271 2013-02-27  Roland McGrath  <roland@hack.frob.com>
5273         * csu/gmon-start.c: Add special exception to license text.
5275 2013-02-27  Richard Henderson  <rth@redhat.com>
5277         * scripts/config.guess: Update from config.git.
5278         * scripts/config.sub: Likewise.
5280 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
5282         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
5284         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
5286         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
5288         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
5290         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
5292 2013-02-26  Roland McGrath  <roland@hack.frob.com>
5294         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
5295         [$(build-shared = yes].
5297 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
5299         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
5300         (__mul): Reduce iterations for calculating mantissa.
5302         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
5303         MPTWO.
5304         (__mpranred): Likewise.
5306         [BZ #15160]
5307         * malloc/memusagestat.c (main): Draw graphs for heap and stack
5308         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
5310 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
5312         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
5313         Define __attribute__.
5315 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
5317         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
5318         unused.
5319         * posix/regex_internal.h (__attribute): Remove.
5320         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
5321         (re_string_context_at): Likewise.
5322         (bitset_not): Use __attribute__ and mark function as possibly
5323         unused.
5324         (bitset_merge): Likewise.
5325         (bitset_mask): Likewise.
5326         (re_string_char_size_at): Likewise.
5327         (re_string_wchar_at): Likewise.
5328         (re_string_elem_size_at): Likewise.
5330 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
5332         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
5333         code.
5334         (cc32): Likewise.
5336         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
5337         (__acr): Likewise.
5338         (__cpy): Likewise.
5339         (norm): Likewise.
5340         (denorm): Likewise.
5341         (__dbl_mp): Likewise.
5342         (add_magnitudes): Likewise.
5343         (sub_magnitudes): Likewise.
5344         (__mul): Likewise.
5345         (__inv): Likewise.
5347         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
5348         style.
5350         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
5351         style.
5353         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
5354         code.
5356         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
5357         up changes with default code.
5358         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
5359         Likewise.
5361 2013-02-24  Allan McRae  <allan@archlinux.org>
5363         * manual/socket.texi (The Internet Namespace): Order menu items
5364         to match that in the file.
5366         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
5367         node listing of the info page menu.
5369 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
5371         [BZ #13550]
5372         * sysdeps/i386/bp-asm.h: Remove file.
5373         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
5374         (PARMS): Do not use macros from bp-asm.h.
5375         (S1): Likewise.
5376         (S2): Likewise.
5377         (SIZE): Likewise.
5378         (__mpn_add_n): Do not use BP_SYM
5379         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
5380         "bp-asm.h".
5381         (PARMS): Do not use macros from bp-asm.h.
5382         (S1): Likewise.
5383         (SIZE): Likewise.
5384         (__mpn_addmul_1): Do not use BP_SYM
5385         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
5386         "bp-asm.h".
5387         (PARMS): Do not use macros from bp-asm.h.
5388         (SIGMSK): Likewise.
5389         (_setjmp): Likewise.  Do not use BP_SYM.
5390         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
5391         "bp-asm.h".
5392         (PARMS): Do not use macros from bp-asm.h.
5393         (SIGMSK): Likewise.
5394         (setjmp): Likewise.  Do not use BP_SYM.
5395         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
5396         "bp-asm.h".
5397         (PARMS): Do not use macros from bp-asm.h.
5398         (__frexp): Do not use BP_SYM.
5399         (frexp): Likewise.
5400         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
5401         "bp-asm.h".
5402         (PARMS): Do not use macros from bp-asm.h.
5403         (__frexpf): Do not use BP_SYM.
5404         (frexpf): Likewise.
5405         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
5406         "bp-asm.h".
5407         (PARMS): Do not use macros from bp-asm.h.
5408         (__frexpl): Do not use BP_SYM.
5409         (frexpl): Likewise.
5410         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
5411         "bp-asm.h".
5412         (PARMS): Do not use macros from bp-asm.h.
5413         (__remquo): Do not use BP_SYM.
5414         (remquo): Likewise.
5415         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
5416         "bp-asm.h".
5417         (PARMS): Do not use macros from bp-asm.h.
5418         (__remquof): Do not use BP_SYM.
5419         (remquof): Likewise.
5420         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
5421         "bp-asm.h".
5422         (PARMS): Do not use macros from bp-asm.h.
5423         (__remquol): Do not use BP_SYM.
5424         (remquol): Likewise.
5425         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
5426         "bp-asm.h".
5427         (PARMS): Do not use macros from bp-asm.h.
5428         (DEST): Likewise.
5429         (SRC): Likewise.
5430         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
5431         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
5432         "bp-asm.h".
5433         (PARMS): Do not use macros from bp-asm.h.
5434         (strlen): Do not use BP_SYM.
5435         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
5436         "bp-asm.h".
5437         (PARMS): Do not use macros from bp-asm.h.
5438         (S1): Likewise.
5439         (S2): Likewise.
5440         (SIZE): Likewise.
5441         (__mpn_add_n): Do not use BP_SYM.
5442         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
5443         "bp-asm.h".
5444         (PARMS): Do not use macros from bp-asm.h.
5445         (S1): Likewise.
5446         (SIZE): Likewise.
5447         (__mpn_addmul_1): Do not use BP_SYM.
5448         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
5449         weak_alias.
5450         (bzero): Likewise.
5451         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
5452         "bp-asm.h".
5453         (PARMS): Do not use macros from bp-asm.h.
5454         (S): Likewise.
5455         (SIZE): Likewise.
5456         (__mpn_lshift): Do not use BP_SYM.
5457         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
5458         "bp-asm.h".
5459         (PARMS): Do not use macros from bp-asm.h.
5460         (DEST): Likewise.
5461         (SRC): Likewise.
5462         (LEN): Likewise.
5463         (memcpy): Likewise.  Do not use BP_SYM.
5464         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
5465         libc_hidden_def and weak_alias.
5466         (mempcpy): Do not use BP_SYM in weak_alias.
5467         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
5468         "bp-asm.h".
5469         (PARMS): Do not use macros from bp-asm.h.
5470         (DEST): Likewise.
5471         (LEN): Likewise.
5472         [!BZERO_P] (CHR): Likewise.
5473         (memset): Likewise.  Do not use BP_SYM.
5474         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
5475         "bp-asm.h".
5476         (PARMS): Do not use macros from bp-asm.h.
5477         (S1): Likewise.
5478         (SIZE): Likewise.
5479         (__mpn_mul_1): Do not use BP_SYM.
5480         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
5481         "bp-asm.h".
5482         (PARMS): Do not use macros from bp-asm.h.
5483         (S): Likewise.
5484         (SIZE): Likewise.
5485         (__mpn_rshift): Do not use BP_SYM.
5486         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
5487         "bp-asm.h".
5488         (PARMS): Do not use macros from bp-asm.h.
5489         (STR): Likewise.
5490         (CHR): Likewise.
5491         (strchr): Likewise.  Do not use BP_SYM.
5492         (index): Do not use BP_SYM in weak_alias.
5493         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
5494         "bp-asm.h".
5495         (PARMS): Do not use macros from bp-asm.h.
5496         (DEST): Likewise.
5497         (SRC): Likewise.
5498         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
5499         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
5500         "bp-asm.h".
5501         (PARMS): Do not use macros from bp-asm.h.
5502         (strlen): Do not use BP_SYM.
5503         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
5504         "bp-asm.h".
5505         (PARMS): Do not use macros from bp-asm.h.
5506         (S1): Likewise.
5507         (S2): Likewise.
5508         (SIZE): Likewise.
5509         (__mpn_sub_n): Do not use BP_SYM.
5510         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
5511         "bp-asm.h".
5512         (PARMS): Do not use macros from bp-asm.h.
5513         (S1): Likewise.
5514         (SIZE): Likewise.
5515         (__mpn_submul_1): Do not use BP_SYM.
5516         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
5517         "bp-asm.h".
5518         (PARMS): Do not use macros from bp-asm.h.
5519         (S1): Likewise.
5520         (S2): Likewise.
5521         (SIZE): Likewise.
5522         (__mpn_add_n): Do not use BP_SYM.
5523         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
5524         weak_alias.
5525         (bzero): Likewise.
5526         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
5527         "bp-asm.h".
5528         (PARMS): Do not use macros from bp-asm.h.
5529         (BLK2): Likewise.
5530         (LEN): Likewise.
5531         (memcmp): Do not use BP_SYM.
5532         (bcmp): Do not use BP_SYM in weak_alias.
5533         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
5534         "bp-asm.h".
5535         (PARMS): Do not use macros from bp-asm.h.
5536         (DEST): Likewise.
5537         (SRC): Likewise.
5538         (LEN): Likewise.
5539         (memcpy): Likewise.  Do not use BP_SYM.
5540         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
5541         "bp-asm.h".
5542         (PARMS): Do not use macros from bp-asm.h.
5543         (DEST): Likewise.
5544         (SRC): Likewise.
5545         (LEN): Likewise.
5546         (memmove): Likewise.  Do not use BP_SYM.
5547         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
5548         "bp-asm.h".
5549         (PARMS): Do not use macros from bp-asm.h.
5550         (DEST): Likewise.
5551         (SRC): Likewise.
5552         (LEN): Likewise.
5553         (__mempcpy): Likewise.  Do not use BP_SYM.
5554         (mempcpy): Do not use BP_SYM in weak_alias.
5555         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
5556         "bp-asm.h".
5557         (PARMS): Do not use macros from bp-asm.h.
5558         (DEST): Likewise.
5559         (LEN): Likewise.
5560         [!BZERO_P] (CHR): Likewise.
5561         (memset): Likewise.  Do not use BP_SYM.
5562         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
5563         "bp-asm.h".
5564         (PARMS): Do not use macros from bp-asm.h.
5565         (STR2): Likewise.
5566         (strcmp): Do not use BP_SYM.
5567         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
5568         "bp-asm.h".
5569         (PARMS): Do not use macros from bp-asm.h.
5570         (STR): Likewise.
5571         (DELIM): Likewise.
5572         [USE_AS_STRTOK_R] (SAVE): Likewise.
5573         (FUNCTION): Likewise.  Do not use BP_SYM.
5574         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
5575         aliases.
5576         (strtok_r): Likewise.
5577         (__GI___strtok_r): Likewise.
5578         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
5579         (PARMS): Do not use macros from bp-asm.h.
5580         (S): Likewise.
5581         (SIZE): Likewise.
5582         (__mpn_lshift): Do not use BP_SYM.
5583         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
5584         (PARMS): Do not use macros from bp-asm.h.
5585         (STR): Likewise.
5586         (CHR): Likewise.
5587         (__memchr): Do not use BP_SYM.
5588         (memchr): Do not use BP_SYM in weak_alias.
5589         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
5590         (PARMS): Do not use macros from bp-asm.h.
5591         (BLK2): Likewise.
5592         (LEN): Likewise.
5593         (memcmp): Do not use BP_SYM.
5594         (bcmp): Do not use BP_SYM in weak_alias.
5595         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
5596         (PARMS): Do not use macros from bp-asm.h.
5597         (S1): Likewise.
5598         (SIZE): Likewise.
5599         (__mpn_mul_1): Do not use BP_SYM.
5600         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
5601         "bp-asm.h".
5602         (PARMS): Do not use macros from bp-asm.h.
5603         (STR): Likewise.
5604         (CHR): Likewise.
5605         (__rawmemchr): Do not use BP_SYM.
5606         (rawmemchr): Do not use BP_SYM in weak_alias.
5607         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
5608         (PARMS): Do not use macros from bp-asm.h.
5609         (S): Likewise.
5610         (SIZE): Likewise.
5611         (__mpn_rshift): Do not use BP_SYM.
5612         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
5613         (PARMS): Do not use macros from bp-asm.h.
5614         (SIGMSK): Likewise.
5615         (__sigsetjmp): Likewise.  Do not use BP_SYM.
5616         * sysdeps/i386/start.S: Do not include "bp-sym.h".
5617         (_start): Do not use BP_SYM.
5618         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
5619         (PARMS): Do not use macros from bp-asm.h.
5620         (DEST): Likewise.
5621         (SRC): Likewise.
5622         (__stpcpy): Likewise.  Do not use BP_SYM.
5623         (stpcpy): Do not use BP_SYM in weak_alias.
5624         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
5625         "bp-asm.h".
5626         (PARMS): Do not use macros from bp-asm.h.
5627         (DEST): Likewise.
5628         (SRC): Likewise.
5629         (LEN): Likewise.
5630         (__stpncpy): Likewise.  Do not use BP_SYM.
5631         (stpncpy): Do not use BP_SYM in weak_alias.
5632         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
5633         (PARMS): Do not use macros from bp-asm.h.
5634         (STR): Likewise.
5635         (CHR): Likewise.
5636         (strchr): Likewise.  Do not use BP_SYM.
5637         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
5638         "bp-asm.h".
5639         (PARMS): Do not use macros from bp-asm.h.
5640         (STR): Likewise.
5641         (CHR): Likewise.
5642         (__strchrnul): Likewise.  Do not use BP_SYM.
5643         (strchrnul): Do not use BP_SYM in weak_alias.
5644         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
5645         "bp-asm.h".
5646         (PARMS): Do not use macros from bp-asm.h.
5647         (STOP): Likewise.
5648         (strcspn): Do not use BP_SYM.
5649         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
5650         "bp-asm.h".
5651         (PARMS): Do not use macros from bp-asm.h.
5652         (STR): Likewise.
5653         (STOP): Likewise.
5654         (strpbrk): Likewise.  Do not use BP_SYM.
5655         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
5656         "bp-asm.h".
5657         (PARMS): Do not use macros from bp-asm.h.
5658         (STR): Likewise.
5659         (CHR): Likewise.
5660         (strrchr): Likewise.  Do not use BP_SYM.
5661         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
5662         (PARMS): Do not use macros from bp-asm.h.
5663         (SKIP): Likewise.
5664         (strspn): Do not use BP_SYM.
5665         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
5666         (PARMS): Do not use macros from bp-asm.h.
5667         (STR): Likewise.
5668         (DELIM): Likewise.
5669         (SAVE): Likewise.
5670         (FUNCTION): Likewise.  Do not use BP_SYM.
5671         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
5672         aliases.
5673         (strtok_r): Likewise.
5674         (__GI___strtok_r): Likewise.
5675         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
5676         (PARMS): Do not use macros from bp-asm.h.
5677         (S1): Likewise.
5678         (S2): Likewise.
5679         (SIZE): Likewise.
5680         (__mpn_sub_n): Do not use BP_SYM.
5681         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
5682         "bp-asm.h".
5683         (PARMS): Do not use macros from bp-asm.h.
5684         (S1): Likewise.
5685         (SIZE): Likewise.
5686         (__mpn_submul_1): Do not use BP_SYM.
5687         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
5688         <bp-sym.h>.
5689         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
5690         and <bp-asm.h>.
5691         (PARMS): Do not use macros from bp-asm.h.
5692         (FLAGS): Likewise.
5693         (PTID): Likewise.
5694         (TLS): Likewise.
5695         (CTID): Likewise.
5696         (__clone): Do not use BP_SYM.
5697         (clone): Do not use BP_SYM in weak_alias.
5698         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
5699         and <bp-asm.h>.
5700         (PARMS): Do not use macros from bp-asm.h.
5701         (LEN): Likewise.
5702         (__mmap64): Do not use BP_SYM.
5703         (mmap64): Do not use BP_SYM in weak_alias.
5704         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
5705         <bp-sym.h> and <bp-asm.h>.
5706         (PARMS): Do not use macros from bp-asm.h.
5707         (__posix_fadvise64_l64): Do not use BP_SYM.
5708         * sysdeps/unix/sysv/linux/i386/semtimedop.S
5709         (PARMS): Do not use macros from bp-asm.h.
5710         (NSOPS): Likewise.
5711         (semtimedop): Do not use BP_SYM.
5712         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
5713         and <bp-asm.h>.
5715 2013-02-21  Allan McRae  <allan@archlinux.org>
5717         * manual/message.texi (Charset conversion in gettext):
5718         Move @end statement to beginning of line.
5720 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
5722         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
5723         static.
5724         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
5725         Likewise.
5727         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
5728         (denorm): Likewise.
5729         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
5730         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
5732 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
5734         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
5735         tail-call to the resolved function if pltexit isn't needed.
5737 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
5739         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
5740         or Y being zero as being unlikely.
5741         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
5742         Likewise.
5744 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
5746         * manual/nss.texi (System Databases and Name Service Switch):
5747         Remove frobnicate @pxref.
5749 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
5751         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
5752         __attribute__ ((unused)) to __attribute__ ((__unused__)).
5754 2013-02-20  Petr Machata  <pmachata@redhat.com>
5756         * elf/elf.h (R_ARM_TARGET1): New macro.
5757         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
5758         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
5759         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
5760         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
5761         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
5762         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
5763         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
5764         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
5765         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
5766         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
5767         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
5768         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
5769         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
5770         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
5771         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
5772         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
5773         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
5774         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
5775         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
5776         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
5777         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
5778         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
5779         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
5780         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
5781         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
5782         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
5783         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
5784         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
5785         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
5786         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
5787         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
5788         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
5789         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
5790         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
5791         (R_ARM_THM_GOT_BREL12): Likewise.
5792         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
5793         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
5794         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
5795         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
5796         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
5797         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
5798         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
5799         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
5800         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
5802 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
5804         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
5805         __attribute_used__ to __attribute__ ((unused)).
5807 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
5809         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
5810         powerpc mpa.c.
5811         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
5812         comment formatting.
5813         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
5815 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
5817         [BZ #13550]
5818         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
5819         Remove macro.
5820         (ENTER): Remove both macro definitions.
5821         (LEAVE): Likewise.
5822         (CHECK_BOUNDS_LOW): Likewise.
5823         (CHECK_BOUNDS_HIGH): Likewise.
5824         (CHECK_BOUNDS_BOTH): Likewise.
5825         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
5826         (RETURN_BOUNDED_POINTER): Likewise.
5827         (RETURN_NULL_BOUNDED_POINTER): Likewise.
5828         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
5829         (POP_ERRNO_LOCATION_RETURN): Likewise.
5830         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
5831         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
5832         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
5833         macros.
5834         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
5835         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
5836         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
5837         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
5838         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
5839         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
5840         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
5841         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
5842         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
5843         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
5844         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
5845         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
5846         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
5847         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
5848         removed macros.
5849         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
5850         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
5851         macros.
5852         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
5853         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
5854         * sysdeps/i386/i586/memset.S (memset): Likewise.
5855         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
5856         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
5857         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
5858         macros.
5859         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
5860         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
5861         Change uses of L(2) to L(out).
5862         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
5863         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
5864         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
5865         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
5866         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
5867         removed macros.
5868         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
5869         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
5870         macros.
5871         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
5872         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
5873         (RETURN): Do not use macro LEAVE.
5874         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
5875         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
5876         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
5877         * sysdeps/i386/i686/memset.S (memset): Likewise.
5878         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
5879         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
5880         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
5881         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
5882         Likewise.
5883         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
5884         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
5885         L(1_2) and L(1_3) into L(1).
5886         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
5887         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
5888         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
5889         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
5890         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
5891         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
5892         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
5893         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
5894         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
5895         macros.
5896         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
5897         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
5898         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
5899         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
5900         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
5901         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
5902         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
5903         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
5904         * sysdeps/i386/strcspn.S (strcspn): Likewise.
5905         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
5906         * sysdeps/i386/strrchr.S (strrchr): Likewise.
5907         * sysdeps/i386/strspn.S (strspn): Likewise.
5908         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
5909         conditional code.
5910         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
5911         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
5912         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
5913         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
5914         L(1_3) into L(1_1).
5915         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
5916         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
5917         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
5918         macros.
5919         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
5921 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
5923         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
5924         macro.
5926 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
5928         * math/atest-exp.c (exp_mpn): Remove ROUND.
5929         * math/atest-exp2.c (exp_mpn): Likewise.
5930         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
5932         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
5933         * stdlib/tst-tls-atexit-lib.c: Likewise.
5934         * stdlib/tst-tls-atexit.c: Likewise.
5936 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
5938         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
5939         and __attribute_alloc_size__.
5941 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
5943         * include/programs/xmalloc.h: Change __attribute_alloc_size to
5944         __attribute_alloc_size__.
5945         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
5946         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
5948 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
5950         * include/programs/xmalloc.h: New file.
5951         * catgets/gencat.c: Include it.
5952         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
5953         * elf/pldd.c: Likewise.
5954         * iconv/iconv_charmap.c: Likewise.
5955         * iconv/iconvconfig.c: Likewise.
5956         * iconv/strtab.c: Likewise.
5957         * locale/programs/locale.c: Likewise.
5958         * locale/programs/localedef.h: Likewise.
5959         * locale/programs/simple-hash.c: Likewise.
5960         * nscd/nscd.h: Likewise.
5961         * nss/makedb.c: Likewise.
5962         * sysdeps/generic/ldconfig.h: Likewise.
5964 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
5966         * Versions.def: Add GLIBC_2.18.
5967         * include/link.h (struct link_map): New member l_tls_dtor_count.
5968         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
5969         (__call_tls_dtors): Likewise.
5970         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
5971         __cxa_thread_atexit_impl.
5972         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
5973         Likewise.
5974         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
5975         Likewise.
5976         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
5977         Likewise.
5978         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
5979         Likewise.
5980         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
5981         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
5982         Likewise.
5983         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
5984         Likewise.
5985         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
5986         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
5987         Likewise.
5988         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
5989         (tests): Add test case tst-tls-atexit.
5990         (modules-names): Add shared library for tst-tls-atexit.
5991         * stdlib/Versions (GLIBC_2.17): Add __cxa_thread_atexit_impl.
5992         (GLIBC_PRIVATE): Add __call_tls_dtors.
5993         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
5994         for libstdc++.
5995         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
5996         * stdlib/tst-tls-atexit.c: New test case.
5997         * stdlib/tst-tls-atexit-lib.c: New test case.
5999         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
6001         * elf/Versions (ld): Add _dl_find_dso_for_object.
6002         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
6003         * elf/dl-open.c (_dl_find_dso_for_object): New function.
6004         (dl_open_worker): Use _dl_find_dso_for_object.
6005         * elf/dl-sym.c (do_sym): Likewise.
6006         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
6008 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
6010         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
6011         Syntactic changes only.
6012         (_dl_runtime_profile): Do a tail-call to the resolved function.
6014 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
6016         [BZ #13550]
6017         * sysdeps/x86_64/bp-asm.h: Remove file.
6018         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
6019         <bp-sym.h> and <bp-asm.h>.
6020         (__clone): Do not use BP_SYM.
6021         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
6022         <bp-sym.h> and <bp-asm.h>.
6023         * sysdeps/unix/x86_64/sysdep.S: Likewise.
6024         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
6025         "bp-asm.h".
6026         (_setjmp): Do not use BP_SYM.
6027         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
6028         "bp-asm.h".
6029         (setjmp): Do not use BP_SYM.
6030         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
6031         libc_hidden_def.
6032         (mempcpy): Do not use BP_SYM in weak_alias.
6033         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
6034         "bp-asm.h".
6035         (strchr): Do not use BP_SYM.
6036         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
6037         "bp-asm.h".
6038         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
6039         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
6040         (_start): Do not use BP_SYM.
6041         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
6042         "bp-asm.h".
6043         (strcat): Do not use BP_SYM.
6044         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
6045         "bp-asm.h".
6046         (STRCMP): Do not use BP_SYM.
6047         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
6048         "bp-asm.h".
6049         (STRCPY): Do not use BP_SYM.
6050         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
6051         "bp-asm.h".
6052         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
6053         "bp-asm.h".
6054         (FUNCTION): Do not use BP_SYM.
6055         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
6056         weak_alias.
6057         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
6059 2013-02-17  Andreas Jaeger  <aj@suse.de>
6061         * time/Versions: Sort entries.
6062         * string/Versions: Likewise.
6063         * resolv/Versions: Likewise.
6064         * posix/Versions: Likewise.
6065         * iconv/Versions: Likewise.
6066         * elf/Versions: Likewise.
6067         * wcsmbs/Versions: Likewise.
6069 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
6071         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
6072         loop termination condition.
6074         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
6075         variable to calculate EZ.
6076         (__sqr): Likewise.
6078         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
6079         the lower precision input.
6081 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
6083         [BZ #13550]
6084         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
6085         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
6086         (run-via-rtld-prefix): Do not handle %-bp tests.
6087         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
6088         (all-object-suffixes): Remove .ob.
6089         (bppfx): Remove variable.
6090         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
6091         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
6092         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
6093         [$(build-bounded) = yes] (libtype.ob): Likewise.
6094         * Makerules (elide-routines.ob): Remove variable.
6095         (do-tests-clean): Do not handle *-bp.out.
6096         (common-mostlyclean): Do not handle *-bp and *-bp.out.
6097         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
6098         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
6099         (tests): Do not include $(tests-bp.out).
6100         (xtests): Do not include $(xtests-bp.out).
6101         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
6102         [$(build-bounded) = yes] ($(addprefix
6103         $(objpfx),$(binaries-bounded))): Remove rule.
6104         ($(objpfx)%-bp.out): Remove rule.
6105         * config.make.in (build-bounded): Remove variable.
6106         * crypt/Makefile [$(build-bounded) = yes]
6107         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
6108         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
6109         append to variable.
6110         [$(build-bounded) = yes] (install-lib): Likewise.
6111         [$(build-bounded) = yes] (generated): Likewise.
6112         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
6113         Remove rule.
6114         * intl/Makefile [$(build-bounded) = yes]
6115         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
6116         * math/Makefile [$(build-bounded) = yes]
6117         ($(tests:%=$(objpfx)%-bp): Likewise.
6118         * misc/Makefile [$(build-bounded) = yes]
6119         ($(objpfx)tst-tsearch-bp): Likewise.
6120         * nptl/Makeconfig (bounded-thread-library): Remove variable.
6121         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
6122         Remove dependency.
6123         * string/Makefile (o-objects.ob): Remove variable.
6124         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
6125         (CFLAGS-.ob): Remove variable.
6126         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
6127         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
6128         both definitions of variable.
6129         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
6130         (ASFLAGS-.ob): Remove variable.
6132 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
6134         [BZ #13550]
6135         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
6136         Remove __BOUNDED_POINTERS__ from condition.
6137         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
6138         * string/bits/string2.h [!__NO_STRING_INLINES &&
6139         !__BOUNDED_POINTERS__]: Likewise.
6140         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
6141         Likewise.
6142         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
6143         Remove conditional code.
6144         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
6145         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
6146         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
6147         condition.
6149         [BZ #13550]
6150         * csu/libc-start.c: Do not include <bp-sym.h>.
6151         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
6152         * elf/dl-open.c: Do not include <bp-sym.h>.
6153         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
6154         * math/fegetenv.c: Do not include <bp-sym.h>.
6155         (fegetenv): Do not use BP_SYM in versioned symbols.
6156         * nptl/sysdeps/pthread/bits/libc-lockP.h
6157         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
6158         <bp-sym.h>.
6159         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6160         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
6161         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6162         (__pthread_mutex_destroy): Likewise.
6163         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6164         (__pthread_mutex_lock): Likewise.
6165         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6166         (__pthread_mutex_trylock): Likewise.
6167         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6168         (__pthread_mutex_unlock): Likewise.
6169         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6170         (__pthread_mutexattr_init): Likewise.
6171         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6172         (__pthread_mutexattr_destroy): Likewise.
6173         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6174         (__pthread_mutexattr_settype): Likewise.
6175         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6176         (__pthread_rwlock_init): Likewise.
6177         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6178         (__pthread_rwlock_destroy): Likewise.
6179         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6180         (__pthread_rwlock_rdlock): Likewise.
6181         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6182         (__pthread_rwlock_tryrdlock): Likewise.
6183         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6184         (__pthread_rwlock_wrlock): Likewise.
6185         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6186         (__pthread_rwlock_trywrlock): Likewise.
6187         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6188         (__pthread_rwlock_unlock): Likewise.
6189         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6190         (__pthread_key_create): Likewise.
6191         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6192         (__pthread_setspecific): Likewise.
6193         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6194         (__pthread_getspecific): Likewise.
6195         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
6196         Likewise.
6197         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6198         (_pthread_cleanup_push_defer): Likewise.
6199         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6200         (_pthread_cleanup_pop_restore): Likewise.
6201         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6202         (pthread_setcancelstate): Likewise.
6203         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
6204         <bp-sym.h>.
6205         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
6206         (memchr): Do not use BP_SYM in weak_alias.
6207         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
6208         (fegetenv): Do not use BP_SYM in versioned symbols.
6209         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
6210         (fesetenv): Do not use BP_SYM in versioned symbols.
6211         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
6212         (feupdateenv): Do not use BP_SYM in versioned symbols.
6213         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
6214         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
6215         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
6216         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
6217         (open64): Do not use BP_SYM in weak_alias.
6218         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
6219         (fegetenv): Do not use BP_SYM in versioned symbols.
6220         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
6221         (fesetenv): Do not use BP_SYM in versioned symbols.
6222         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
6223         (feupdateenv): Do not use BP_SYM in versioned symbols.
6224         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
6225         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
6226         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
6227         (feraiseexcept): Do not use BP_SYM in versioned symbols.
6228         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
6229         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
6230         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
6231         <bp-sym.h>.
6232         (__libc_start_main): Do not use BP_SYM.
6234 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
6236         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
6237         redundant return line.
6238         (norm): Likewise.
6239         (denorm): Likewise.
6240         (dbl_mp): Likewise.
6241         (sub_magnitudes): Likewise.
6242         (__add): Likewise.
6243         (__sub): Likewise.
6244         (__mul): Likewise.
6245         (__inv): Likewise.
6246         (__dvd): Likewise.
6247         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
6248         (norm): Likewise.
6249         (denorm): Likewise.
6250         (dbl_mp): Likewise.
6251         (sub_magnitudes): Likewise.
6252         (__add): Likewise.
6253         (__sub): Likewise.
6254         (__mul): Likewise.
6255         (__inv): Likewise.
6256         (__dvd): Likewise.
6258         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
6259         instead of __mul.
6260         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
6261         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
6262         (cc32): Likewise.
6264         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
6265         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
6266         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
6267         of __mul for squares.
6268         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
6269         function
6270         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
6271         Likewise.
6272         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
6273         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
6275 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
6277         [BZ #13550]
6278         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
6279         code.
6280         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
6281         prototype or function definition.  Rename ubp_* variables and
6282         parameters.  Remove argv definitions conditional on
6283         [__BOUNDED_POINTERS__].
6284         * debug/backtrace.c (__backtrace): Do not use __unbounded.
6285         * elf/dl-runtime.c (_dl_fixup): Likewise.
6286         * include/set-hooks.h (RUN_HOOK): Likewise.
6287         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
6288         definition.
6289         * string/strcpy.c (strcpy): Do not use __unbounded.
6290         * sysdeps/generic/frame.h (struct layout): Likewise.
6291         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
6292         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
6293         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
6294         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
6295         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
6296         (__backtrace): Likewise.
6297         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
6298         use __ptrvalue.
6299         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
6300         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
6301         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
6302         Likewise.
6303         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
6304         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
6305         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
6306         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
6307         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
6308         Do not use __unbounded.
6309         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
6310         Rename __unboundedrlimits parameter to rlimits in prototype.
6311         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
6312         Do not use __unbounded.
6313         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
6314         not use __ptrvalue.
6315         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
6316         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
6317         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
6318         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
6319         __ptrvalue or __unbounded.
6320         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
6321         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
6322         use __unbounded.
6323         (__new_msgctl): Do not use __ptrvalue.
6324         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
6325         __unbounded.
6326         (__libc_msgrcv): Do not use __ptrvalue.
6327         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
6328         startup_info): Do not use __unbounded.
6329         (__libc_start_main): Likewise.  Rename ubp_* variables and
6330         parameters.  Remove argv definitions conditional on
6331         [__BOUNDED_POINTERS__].
6332         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
6333         __ptrvalue.
6334         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
6335         use __unbounded.
6336         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
6337         or __ptrvalue.
6338         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
6339         use __unbounded.
6340         (__new_shmctl): Do not use __ptrvalue.
6341         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
6342         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
6343         Likewise.
6344         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
6345         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
6346         (__libc_sigaction): Likewise.
6347         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
6348         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
6349         Likewise.
6350         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
6352 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
6354         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
6356         * string/mempcpy.c: Implement by calling memcpy.
6358 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
6360         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
6362         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
6363         evaluation.
6365         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
6366         values in the mantissa.
6368         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
6369         minimize writes to Z.
6370         (sub_magnitudes): Simplify code a bit.
6372 2013-02-12  Roland McGrath  <roland@hack.frob.com>
6374         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
6375         from the message.  The linker prefixes all warnings with that already.
6377 2013-02-12  Andreas Schwab  <schwab@suse.de>
6379         [BZ #15078]
6380         * posix/regexec.c (extend_buffers): Add parameter min_len.
6381         (check_matching): Pass minimum needed length.
6382         (clean_state_log_if_needed): Likewise.
6383         (get_subexp): Likewise.
6384         * posix/Makefile (tests): Add bug-regex34.
6385         (bug-regex34-ENV): Define.
6386         * posix/bug-regex34.c: New file.
6388         [BZ #11561]
6389         * posix/regcomp.c (parse_bracket_exp): When looking up collating
6390         elements compare against the byte sequence of it, not its name.
6391         * posix/Makefile (tests): Add bug-regex35.
6392         (bug-regex35-ENV): Define.
6393         * posix/bug-regex35.c: New file.
6395 2013-02-11  Tom de Vries  <tom@codesourcery.com>
6397         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
6398         comment.
6399         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
6400         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
6401         (CHECK_EOL): Add undef.
6403 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
6405         * bits/stdlib-bsearch.h: New file.
6406         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
6407         * stdlib/stdlib.h: Likewise.
6409 2013-02-11  Roland McGrath  <roland@hack.frob.com>
6411         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
6412         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
6413         declaration.
6414         * manual/search.texi (Array Search Function): Add missing const in
6415         lfind prototype.
6416         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
6417         declaration to use rlim_t.
6418         (Basic Scheduling Functions): Remove erroneous const from
6419         sched_getparam prototype.  Remove erroneous * from
6420         sched_get_priority_max and sched_get_priority_min prototypes.
6421         (Resource Usage): Fix summary @comment on vtimes to refer to
6422         sys/vtimes.h rather than vtimes.h.
6423         Add missing *s in vtimes prototype.
6424         (Limits on Resources): Fix ulimit prototype to return long int.
6425         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
6426         prototypes to use long int rather than double.
6427         (BSD Random): Fix initstate and setstate to use char *, not void *.
6428         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
6429         prototype to make second argument 'struct aiocb64 *const[]'.
6430         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
6431         (Status of AIO Operations): Remove erroneous const in aio_return and
6432         aio_return64 prototypes.
6433         (Synchronizing I/O): Fix sync prototype to return void.
6434         * manual/startup.texi (Suboptions): Remove an erroneous const in
6435         getsubopt prototype.
6436         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
6437         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
6438         use size_t rather than int.
6439         (Scanning All Users): Likewise for getpwent_r.
6440         (Setting Groups): Add missing const to setgroups prototype.
6441         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
6442         * manual/socket.texi (Host Names): Fix gethostbyaddr and
6443         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
6444         'const void *' rather than 'const char *'.
6445         (Host Address Functions): Likewise for inet_ntop.
6446         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
6447         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
6448         ssize_t for return value.
6449         (Sending Data): Likewise for send, sendto, sendmsg.
6450         (Socket Option Functions): Add a missing const in setsockopt prototype.
6451         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
6452         use wchar_t for the argument.
6453         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
6454         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
6455         take no arguments.
6456         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
6457         double/float/long double for second argument.
6458         Fix return types of significand, significandf, significandl.
6459         * manual/filesys.texi (Setting Permissions): Use mode_t for second
6460         argument in fchmod prototype.
6461         (File Owner): Use uid_t and gid_t in fchown prototype.
6462         (File Times): Add const to utimes, futimes, and lutimes prototypes.
6463         (Making Special Files): Use mode_t and dev_t in mknod prototype.
6464         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
6465         use 'const struct dirent **' as argument types to CMP function pointer
6466         argument.
6467         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
6468         (File Times): Fix summary magic @comment for struct utimbuf and utime
6469         to refer to utime.h, not time.h.
6470         * manual/string.texi (Argz Functions): Add missing const in
6471         argz_extract and argz_next prototypes.
6472         (Finding Tokens in a String): Likewise for basename.
6473         (String/Array Comparison): Fix typo in wcscasecmp prototype.
6474         (Copying and Concatenation): Fix typo in wmemmove prototype.
6475         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
6476         (Signal Stack): Remove erroneous const in sigstack prototype.
6477         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
6478         prototype.
6479         (Simple Calendar Time): Likewise for stime.
6480         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
6481         prototype.
6482         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
6483         say sys/sysctl.h instead.
6484         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
6485         and vsyslog prototypes.
6487 2013-02-11  Tom de Vries  <tom@codesourcery.com>
6489         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
6490         Remove.
6492 2013-02-11  Roland McGrath  <roland@hack.frob.com>
6494         * misc/sys/mman.h: Fix typo in mremap comment.
6496 2013-02-08  Roland McGrath  <roland@hack.frob.com>
6498         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
6499         the '\0' terminator.
6501 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
6503         [BZ #13550]
6504         * debug/segfault.c: Don't include <bp-checks.h>.
6505         * sysdeps/generic/bp-checks.h: Remove file.
6506         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
6507         (__GETDENTS): Don't use CHECK_N.
6508         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
6509         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
6510         (__getgroups): Don't use CHECK_N.
6511         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
6512         (setgroups): Don't use CHECK_N.
6513         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
6514         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
6515         (__libc_msgrcv): Don't use CHECK_N.
6516         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
6517         (__libc_msgsnd): Don't use CHECK_N.
6518         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
6519         <bp-checks.h>.
6520         (__libc_pread): Don't use CHECK_N.
6521         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
6522         include <bp-checks.h>.
6523         (__libc_pread64): Don't use CHECK_N.
6524         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
6525         include <bp-checks.h>.
6526         (__libc_pwrite): Don't use CHECK_N.
6527         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
6528         include <bp-checks.h>.
6529         (__libc_pwrite64): Don't use CHECK_N.
6530         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
6531         <bp-checks.h>.
6532         (__libc_pread): Don't use CHECK_N.
6533         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
6534         include <bp-checks.h>.
6535         (__libc_pread64): Don't use CHECK_N.
6536         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
6537         include <bp-checks.h>.
6538         (__libc_pwrite): Don't use CHECK_N.
6539         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
6540         include <bp-checks.h>.
6541         (__libc_pwrite64): Don't use CHECK_N.
6542         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
6543         (do_pread): Don't use CHECK_N.
6544         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
6545         (do_pread64): Don't use CHECK_N.
6546         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
6547         (do_pwrite): Don't use CHECK_N.
6548         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
6549         (do_pwrite64): Don't use CHECK_N.
6550         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
6551         (__libc_readv): Don't use CHECK_N.
6552         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
6553         (semop): Don't use CHECK_N.
6554         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
6555         <bp-checks.h>.
6556         (semtimedop): Don't use CHECK_N.
6557         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
6558         (__libc_pread): Don't use CHECK_N.
6559         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
6560         <bp-checks.h>.
6561         (__libc_pread64): Don't use CHECK_N.
6562         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
6563         <bp-checks.h>.
6564         (__libc_pwrite): Don't use CHECK_N.
6565         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
6566         <bp-checks.h>.
6567         (__libc_pwrite64): Don't use CHECK_N.
6568         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
6569         <bp-checks.h>.
6570         (__libc_msgrcv): Don't use CHECK_N.
6571         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
6572         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
6573         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
6574         (__libc_writev): Don't use CHECK_N.
6576 2013-02-08  Roland McGrath  <roland@hack.frob.com>
6578         * string/strcpy.c: Removed unused variable.
6580         * Makeconfig (+sysdep-includes): Define with := rather than =.
6581         Use an existing include/ subdir of each sysdeps dir before it.
6583 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
6585         * nscd/connection.c (register_traced_file): Comment function.
6586         [HAVE_INOTIFY] (union __inev): Define.
6587         [HAVE_INOTIFY] (inotify_check_files): New function.
6588         [HAVE_INOTIFY] (clear_db_cache): Likewise.
6589         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
6590         clear_db_cache.
6591         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
6593 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
6595         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
6596         loaded if not already and that a failure is permanent.
6598 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
6600         [BZ #15006]
6601         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
6602         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
6604 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
6606         [BZ #13550]
6607         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
6608         (CHECK_1_NULL_OK): Likewise.
6609         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
6610         (__fxstat): Do not use CHECK_1.
6611         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
6612         <bp-checks.h>.
6613         (___fxstat64): Do not use CHECK_1.
6614         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
6615         <bp-checks.h>.
6616         (__fxstatat): Do not use CHECK_1.
6617         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
6618         <bp-checks.h>.
6619         (__fxstatat64): Do not use CHECK_1.
6620         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
6621         <bp-checks.h>.
6622         (__fxstat): Do not use CHECK_1.
6623         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
6624         <bp-checks.h>.
6625         (__fxstatat): Do not use CHECK_1.
6626         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
6627         <bp-checks.h>.
6628         (__getresgid): Do not use CHECK_1.
6629         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
6630         <bp-checks.h>.
6631         (__getresuid): Do not use CHECK_1.
6632         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
6633         <bp-checks.h>.
6634         (__lxstat): Do not use CHECK_1.
6635         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
6636         <bp-checks.h>.
6637         (__old_msgctl): Do not use CHECK_1.
6638         (__new_msgctl): Likewise.
6639         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
6640         <bp-checks.h>.
6641         (__new_setrlimit): Do not use CHECK_1.
6642         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
6643         <bp-checks.h>.
6644         (__old_shmctl): Do not use CHECK_1.
6645         (__new_shmctl): Likewise.
6646         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
6647         <bp-checks.h>.
6648         (__xstat): Do not use CHECK_1.
6649         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
6650         (__lxstat): Do not use CHECK_1.
6651         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
6652         <bp-checks.h>.
6653         (___lxstat64): Do not use CHECK_1.
6654         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
6655         (__old_msgctl): Do not use CHECK_1.
6656         (__new_msgctl): Likewise.
6657         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
6658         <bp-checks.h>.
6659         (__gettimeofday): Do not use CHECK_1.
6660         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
6661         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
6662         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
6663         <bp-checks.h>.
6664         (__gettimeofday): Do not use CHECK_1.
6665         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
6666         (__old_shmctl): Do not use CHECK_1_NULL_OK.
6667         (__new_shmctl): Do not use CHECK_1.
6668         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
6669         <bp-checks.h>.
6670         (do_sigtimedwait): Do not use CHECK_1.
6671         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
6672         <bp-checks.h>.
6673         (do_sigwaitinfo): Do not use CHECK_1.
6674         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
6675         <bp-checks.h>.
6676         (msgctl): Do not use CHECK_1.
6677         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
6678         <bp-checks.h>.
6679         (shmctl): Do not use CHECK_1.
6680         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
6681         (ustat): Do not use CHECK_1.
6682         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
6683         <bp-checks.h>.
6684         (__fxstat): Do not use CHECK_1.
6685         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
6686         <bp-checks.h>.
6687         (__fxstatat): Do not use CHECK_1.
6688         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
6689         <bp-checks.h>.
6690         (__lxstat): Do not use CHECK_1.
6691         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
6692         <bp-checks.h>.
6693         (__xstat): Do not use CHECK_1.
6694         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
6695         (__xstat): Do not use CHECK_1.
6696         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
6697         (___xstat64): Do not use CHECK_1.
6699         [BZ #13550]
6700         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
6701         definitions.
6702         (CHECK_BOUNDS_HIGH): Likewise.
6703         * string/strcpy.c: Do not include <bp-checks.h>.
6704         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
6706 2013-02-07  Roland McGrath  <roland@hack.frob.com>
6708         * nscd/nscd-client.h (__nscd_drop_map_ref):
6709         Add __attribute__ ((unused)).
6710         * nis/nss-nisplus.h (niserr2nss): Likewise.
6712         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
6713         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
6715         * csu/libc-tls.c (init_static_tls, init_slotinfo):
6716         Remove inline keyword.
6717         * include/rounding-mode.h (round_away): Likewise.
6718         * libio/wfileops.c (adjust_wide_data): Likewise.
6719         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
6720         (__m128i_strloadu_tolower): Likewise.
6721         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
6722         (__m128i_strloadu_tolower): Likewise.
6723         * time/mktime.c (ydhms_diff): Likewise.
6724         * locale/elem-hash.h (elem_hash): Likewise.
6725         * locale/setlocale.c (setdata): Likewise.
6726         * posix/regex_internal.h (re_string_char_size_at): Likewise.
6727         (re_string_wchar_at): Likewise.
6728         (bitset_not, bitset_merge, bitset_mask): Likewise.
6729         [!(__GNUC__ > 3)] (inline): Remove macro.
6730         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
6731         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
6732         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
6733         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
6734         * string/memcmp.c (memcmp_bytes): Likewise.
6735         * locale/programs/locarchive.c (compute_hashval): Likewise.
6736         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
6737         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
6738         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
6739         * nss/getent.c (print_rpc, print_protocols): Likewise.
6740         (print_passwd, print_group, print_aliases): Likewise.
6741         * nis/nss-nisplus.h (niserr2nss): Likewise.
6742         * nscd/connections.c (restart_p): Likewise.
6743         Change return type to bool.
6745 2013-02-05  Roland McGrath  <roland@hack.frob.com>
6747         * Makeconfig (all-Depend-files): Add existing
6748         $(sorted-subdirs:=/Depend) files.
6749         (all-subdirs): Remove nss.
6750         * sysdeps/unix/inet/Subdirs: Add it here instead.
6751         * hesiod/Depend: New file.
6753         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
6754         instead of calling alloca.
6756         * io/lseek.c (__lseek): Rename to __libc_lseek.
6757         Define __lseek as an alias.
6759         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
6761 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
6763         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
6764         else clause and remove check for non-standard endianness.
6766 2013-02-04  David S. Miller  <davem@davemloft.net>
6768         * sysdeps/sparc/fpu/libm-test-ulps: Update.
6770 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
6772         [BZ #13550]
6773         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
6774         (__ubp_memchr): Remove prototype.
6775         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
6776         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
6777         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
6778         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
6779         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
6780         Remove alias.
6781         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
6782         (__ubp_memchr): Likewise.
6783         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
6784         (__ubp_memchr): Likewise.
6785         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
6786         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
6787         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
6788         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
6789         CHECK_STRING.
6790         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
6791         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
6792         (__getcwd): Do not use CHECK_STRING.
6793         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
6794         <bp-checks.h>.
6795         (__real_chown): Do not use CHECK_STRING.
6796         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
6797         <bp-checks.h>.
6798         (fchownat): Do not use CHECK_STRING.
6799         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
6800         CHECK_STRING.
6801         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
6802         <bp-checks.h>.
6803         (__lchown): Do not use CHECK_STRING.
6804         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
6805         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
6806         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
6807         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
6808         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
6809         include <bp-checks.h>.
6810         (truncate64): Do not use CHECK_STRING.
6811         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
6812         <bp-checks.h>.
6813         (__real_chown): Do not use CHECK_STRING.
6814         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
6815         <bp-checks.h>.
6816         (__lchown): Do not use CHECK_STRING.
6817         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
6818         <bp-checks.h>.
6819         (__chown): Do not use CHECK_STRING.
6820         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
6821         <bp-checks.h>.
6822         (truncate64): Do not use CHECK_STRING.
6823         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
6824         Likewise.
6825         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
6826         (__xmknod): Do not use CHECK_STRING.
6827         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
6828         <bp-checks.h>.
6829         (__xmknodat): Do not use CHECK_STRING.
6830         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
6831         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
6833 2013-02-04  Andreas Schwab  <schwab@suse.de>
6835         [BZ #14142]
6836         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
6837         * include/netdb.h: Likewise for h_errno.
6838         * elf/tst-stackguard1.c: Include <tls.h>.
6840 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
6842         * elf/link.h (struct link_map): Extend the l_addr comment.
6843         * include/link.h (struct link_map): Likewise.
6845 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
6847         [BZ #13550]
6848         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
6849         (BOUNDED_1): Remove macro.
6850         * debug/backtrace.c: Don't include <bp-checks.h>.
6851         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
6852         (__backtrace): Likewise.
6853         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
6854         <bp-checks.h>.
6855         (__backtrace): Don't use BOUNDED_1.
6856         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
6857         <bp-checks.h>.
6858         (__backtrace): Don't use BOUNDED_1.
6859         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
6860         (__backtrace): Don't use BOUNDED_1.
6861         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
6862         (shmat): Don't use BOUNDED_N.
6864 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
6866         [BZ #13550]
6867         * sysdeps/generic/bp-start.h: Remove file.
6868         * csu/libc-start.c: Don't include <bp-start.h>.
6869         (LIBC_START_MAIN): Set up __environ directly instead of using
6870         INIT_ARGV_and_ENVIRON.
6871         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
6872         <bp-start.h>.
6874         [BZ #13550]
6875         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
6876         definitions.
6877         (CHECK_FCNTL): Likewise.
6878         (CHECK_N_PAGES): Likewise.
6880         [BZ #13550]
6881         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
6882         definitions.
6883         (CHECK_SIGSET_NULL_OK): Likewise.
6884         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
6885         <bp-checks.h>.
6886         (sigpending): Don't use CHECK_SIGSET.
6887         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
6888         <bp-checks.h>.
6889         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
6890         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
6891         <bp-checks.h>.
6892         (do_sigsuspend): Don't use CHECK_SIGSET.
6893         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
6894         use CHECK_SIGSET.
6895         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
6896         (do_sigwait): Don't use CHECK_SIGSET.
6897         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
6898         use CHECK_SIGSET.
6899         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
6900         include <bp-checks.h>.
6901         (sigpending): Don't use CHECK_SIGSET.
6902         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
6903         include <bp-checks.h>.
6904         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
6905         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
6906         <bp-checks.h>.
6907         (sigpending): Don't use CHECK_SIGSET.
6908         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
6909         <bp-checks.h>.
6910         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
6912         [BZ #13550]
6913         * sysdeps/generic/bp-semctl.h: Remove file.
6914         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
6915         <bp-checks.h> and <bp-semctl.h>.
6916         (__old_semctl): Don't use CHECK_SEMCTL.
6917         (__new_semctl): Likewise.
6918         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
6919         and <bp-semctl.h>.
6920         (__old_semctl): Don't use CHECK_SEMCTL.
6921         (__new_semctl): Likewise.
6922         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
6923         <bp-checks.h> and <bp-semctl.h>.
6924         (__old_semctl): Don't use CHECK_SEMCTL.
6925         (__new_semctl): Likewise.
6926         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
6927         <bp-checks.h> and <bp-semctl.h>.
6928         (semctl): Don't use CHECK_SEMCTL.
6930         [BZ #13550]
6931         * Makerules (elide-bp-thunks): Remove variable.
6932         (elide-routines.oS): Don't use $(elide-bp-thunks).
6933         (elide-routines.os): Likewise.
6934         (elide-routines.o): Likewise.
6935         (elide-routines.op): Likewise.
6936         (elide-routines.og): Likewise.
6937         (objects): Don't use $(bp-thunks).
6938         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
6939         include.
6940         (common-generated): Do not add s-proto-bp.d.
6941         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
6942         (int): Likewise.
6943         (typ): Likewise.
6944         Do not generate makefile rules for bounded-pointer thunks.
6945         * sysdeps/generic/bp-thunks.h: Remove file.
6946         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
6947         * sysdeps/unix/s-proto-bp.S: Likewise.
6949         [BZ #15062]
6950         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
6951         parts of result separately when argument is not close to line from
6952         -i to i and one part of argument is small.
6953         * math/k_casinhf.c (__kernel_casinhf): Likewise.
6954         * math/k_casinhl.c (__kernel_casinhl): Likewise.
6955         * math/libm-test.inc (cacos_test): Add more tests.
6956         (casin_test): Likewise.
6957         (casinh_test): Likewise.
6958         * sysdeps/i386/fpu/libm-test-ulps: Update.
6959         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6961 2013-01-31  David S. Miller  <davem@davemloft.net>
6963         * po/de.po: Update from translation team.
6965 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
6967         * time/tzfile.c: Include stdint.h for SIZE_MAX.
6969 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
6971         * configure.in (_AC_PROG_CC_C89): New definition.
6972         * configure: Regenerate.
6974         * configure.in (AC_PROG_CPP): New definition.
6975         * configure: Regenerate.
6977 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
6979         * debug/tst-backtrace.h: New file.
6980         * debug/tst-backtrace2.c: Include tst-backtrace.h.
6981         (ret): Remove variable.
6982         (x): Likewise.
6983         (FAIL): Remove macro.
6984         (NO_INLINE): Likewise.
6985         (fn1): Use match function instead of strstr.
6986         * debug/tst-backtrace3.c: Include tst-backtrace.h.
6987         (ret): Remove variable.
6988         (x): Likewise.
6989         (FAIL): Remove macro.
6990         (NO_INLINE): Likewise.
6991         (fn): Use match function instead of strstr.
6992         * debug/tst-backtrace4.c: Include tst-backtrace.h.
6993         (ret): Remove variable.
6994         (x): Likewise.
6995         (FAIL): Remove macro.
6996         (NO_INLINE): Likewise.
6997         (handle_signal): Use match function instead of strstr.
6998         * debug/tst-backtrace5.c: Include tst-backtrace.h.
6999         (ret): Remove variable.
7000         (x): Likewise.
7001         (FAIL): Remove macro.
7002         (NO_INLINE): Likewise.
7003         (handle_signal): Use match function instead of strstr.
7005 2013-01-23  Roland McGrath  <roland@hack.frob.com>
7007         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
7009 2013-01-23  David S. Miller  <davem@davemloft.net>
7011         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
7012         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
7013         argument of CAS if possible.
7014         * sysdeps/sparc/sparc64/bits/atomic.h
7015         (__arch_compare_and_exchange_val_32_acq): Likewise.
7016         (__arch_compare_and_exchange_val_64_acq): Likewise.
7018 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
7020         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
7021         * sysdeps/posix/ulimit.c: ... this.
7022         Include <limits.h>.
7023         * sysdeps/unix/bsd/ulimit.c: Remove file.
7025 2013-01-23  Adam Conrad  <adconrad@0c3.net>
7027         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
7028         (LDFLAGS-tst-array5): Likewise.
7030 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
7032         [BZ #15036]
7033         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
7034         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
7035         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
7036         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
7038 2013-01-21  David S. Miller  <davem@davemloft.net>
7040         * sysdeps/sparc/backtrace.c: New file.
7041         * sysdeps/sparc/sparc32/backtrace.h: New file.
7042         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
7043         * sysdeps/sparc/sparc64/backtrace.h: New file.
7044         * sysdeps/sparc/sparc64/backtrace.c: Delete.
7045         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
7046         -funwind-tables.
7048 2013-01-21  Andreas Schwab  <schwab@suse.de>
7050         [BZ #15020]
7051         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
7052         closed its stdout.
7054 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
7056         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
7057         "mpa2.h".
7058         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
7060 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
7061             Mark Mitchell  <mark@codesourcery.com>
7062             Tom de Vries  <tom@codesourcery.com>
7063             Paul Pluzhnikov  <ppluzhnikov@google.com>
7065         * debug/tst-backtrace2.c: New file.
7066         * debug/tst-backtrace3.c: Likewise.
7067         * debug/tst-backtrace4.c: Likewise.
7068         * debug/tst-backtrace5.c: Likewise.
7069         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
7070         (CFLAGS-tst-backtrace3.c): Likewise.
7071         (CFLAGS-tst-backtrace4.c): Likewise.
7072         (CFLAGS-tst-backtrace5.c): Likewise.
7073         (LDFLAGS-tst-backtrace2): Likewise.
7074         (LDFLAGS-tst-backtrace3): Likewise.
7075         (LDFLAGS-tst-backtrace4): Likewise.
7076         (LDFLAGS-tst-backtrace5): Likewise.
7077         (tests): Add new tests tst-backtrace2, tst-backtrace3,
7078         tst-backtrace4 and tst-backtrace5.
7080 2013-01-18  Anton Blanchard  <anton@samba.org>
7081             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
7083         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
7084         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
7085         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
7086         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
7087         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
7088         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
7089         "+r" and remove output regs list as redundant.  Add explicit inline
7090         asm to specify register of return val to work around compiler codegen
7091         bug.  Remove (int) cast on return value.  Add return type parameter to
7092         use in macro so that this macro does not truncate return value for
7093         64-bit values.
7094         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
7095         pass to INTERNAL_VSYSCALL_NCS.
7096         (INLINE_VSYSCALL): Add 'long int' as return type to
7097         INTERNAL_VSYSCALL_NCS macro invocation.
7098         (INTERNAL_VSYSCALL): Add 'long int' as return type to
7099         INTERNAL_VSYSCALL_NCS macro invocation.
7100         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
7102 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
7104         [BZ #14496]
7105         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
7106         Fix application of SIMD FP exception mask.
7108         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
7109         mp_no from a power of two.
7110         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
7111         __mpexp_twomm1.  Use __pow_mp.
7113         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
7114         multiplication.
7116 2013-01-17  David S. Miller  <davem@davemloft.net>
7118         * sysdeps/sparc/fpu/libm-test-ulps: Update.
7120 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
7122         [BZ #15023]
7123         * include/complex.h: Condition contents on [!_COMPLEX_H].
7124         (__kernel_casinhf): New prototype.
7125         (__kernel_casinh): Likewise.
7126         (__kernel_casinhl): Likewise.
7127         * math/Makefile (libm_calls): Add k_casinh.
7128         * math/k_casinh.c: New file.
7129         * math/k_casinhf.c: Likewise.
7130         * math/k_casinhl.c: Likewise.
7131         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
7132         finite nonzero arguments.
7133         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
7134         finite nonzero arguments.
7135         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
7136         finite nonzero arguments.
7137         * math/s_casinh.c: Do not include <float.h>.
7138         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
7139         * math/s_casinhf.c: Do not include <float.h>.
7140         (__casinhf): Move code for finite nonzero arguments to
7141         k_casinhf.c.
7142         * math/s_casinhl.c: Do not include <float.h>.
7143         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
7144         redefine.
7145         (__casinhl): Move code for finite nonzero arguments to
7146         k_casinhl.c.
7147         * math/libm-test.inc (cacos_test): Add more tests.
7148         * sysdeps/i386/fpu/libm-test-ulps: Update.
7149         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7151 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
7153         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
7154         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
7155         [!HAVE_MREMAP]: Remove [defined linux] case.
7156         * malloc/arena.c: Do not include <malloc-sysdep.h>.
7158 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
7160         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
7162 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
7164         * elf/elf.h (R_386_SIZE32): New relocation.
7165         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
7166         R_386_SIZE32.
7167         (elf_machine_rela): Likewise.
7168         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
7169         R_X86_64_SIZE64 and R_X86_64_SIZE32.
7171 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
7173         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
7174         (FP_FAST_FMA): Do not define.
7175         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
7176         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
7177         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
7178         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
7179         !_SOFT_FLOAT]: Likewise.
7180         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
7181         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
7182         value.
7183         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
7184         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
7185         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
7186         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
7187         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
7188         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
7189         file.
7191 2013-01-16  Andreas Schwab  <schwab@suse.de>
7193         [BZ #14327]
7194         * include/stdlib.h (__mktemp): Add declaration.
7195         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
7196         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
7198 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
7200         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
7201         definitions.
7202         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
7203         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
7204         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
7205         definitions here.
7206         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
7207         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
7208         definitions.
7209         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
7210         and ONE.
7211         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
7212         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
7213         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
7214         definitions.
7215         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
7216         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
7217         definitions.
7218         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
7220         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
7222 2013-01-15  David S. Miller  <davem@davemloft.net>
7224         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
7225         trunc{,f} to libm-sysdep_routes.
7226         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
7227         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
7228         file.
7229         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
7230         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
7231         file.
7232         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
7233         file.
7234         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
7235         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
7236         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
7237         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
7238         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
7239         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
7240         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
7241         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
7243         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
7244         nearbyint{,f} to libm-sysdep_routes.
7245         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
7246         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
7247         New file.
7248         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
7249         file.
7250         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
7251         New file.
7252         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
7253         file.
7254         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
7255         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
7256         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
7257         file.
7258         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
7259         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
7260         file.
7261         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
7262         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
7263         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
7265         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
7266         libc_feholdexcept and libc_fesetenv.
7268 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
7270         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
7272 2013-01-14  David S. Miller  <davem@davemloft.net>
7274         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
7275         (SPARC_ASM_VIS2_IFUNC): Likewise.
7276         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
7277         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
7278         use of 'siam' instruction.
7279         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
7280         Likewise.
7281         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
7282         Likewise.
7283         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
7284         Likewise.
7285         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
7286         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
7287         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
7288         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
7289         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
7290         file.
7291         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
7292         file.
7293         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
7294         file.
7295         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
7296         file.
7297         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
7298         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
7299         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
7300         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
7301         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
7302         new VIS2 routines.
7303         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
7304         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
7305         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
7306         Likewise.
7307         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
7308         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
7309         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
7310         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
7311         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
7312         routines to libm-sysdep_routines.
7313         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
7315         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
7316         fdim/fdimf to libm-sysdep_routines.
7317         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
7318         file.
7319         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
7320         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
7321         file.
7322         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
7323         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
7324         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
7325         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
7326         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
7327         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
7328         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
7330 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
7332         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
7333         to optimize copies.
7335         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
7336         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
7337         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
7339         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
7340         local variable MPTWO.
7341         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
7342         Likewise.
7344 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
7346         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
7347         GLOB_NOESCAPE.
7349 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
7351         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
7353 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
7355         * manual/pattern.texi (glob_t): Document gl_flags.
7356         (glob64_t): Likewise.
7358 2013-01-11  David S. Miller  <davem@davemloft.net>
7360         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
7361         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
7362         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
7363         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
7364         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
7365         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
7366         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
7367         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
7368         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
7369         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
7370         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
7371         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
7372         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
7374         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
7375         sparc V9 rather than using V8 code.
7376         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
7377         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
7379         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
7380         Move to...
7381         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
7382         Here.
7384 2013-01-11  Roland McGrath  <roland@hack.frob.com>
7386         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
7387         not in the main loop.
7388         * configure: Regenerated.
7390 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
7392         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
7393         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
7394         to just #else.
7395         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
7396         [!__GLIBC_HAVE_LONG_LONG] case.
7397         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
7398         condition to just #else.
7399         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
7400         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
7401         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
7402         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
7403         unconditional.
7404         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
7405         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
7406         #elif condition to just #else.
7407         * sysdeps/unix/sysv/linux/sys/sysmacros.h
7408         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
7409         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
7410         #elif condition to just #else.
7412 2013-01-11  Steve Ellcey  <sellcey@mips.com>
7414         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
7415         (EF_MIPS_ARCH_64): Fix value.
7416         (EF_MIPS_ARCH_32R2): New.
7417         (EF_MIPS_ARCH_64R2): New.
7419 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
7421         * Makeconfig (+link-pie-before-libc): New.
7422         (+link-pie-after-libc): Likewise.
7423         (+link-pie-tests): Likewise.
7424         (+link-pie): Rewritten.
7425         (link-before-libc): Remove $(config-LDFLAGS).
7426         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
7427         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
7428         (config-LDFLAGS): Renamed to ...
7429         (rtld-LDFLAGS): This.
7430         (rtld-tests-LDFLAGS): New macro.
7431         (link-libc-rpath-link): Likewise.
7432         (link-libc-tests-rpath-link): Likewise.
7433         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
7434         (link-libc): Prepand $(link-libc-rpath-link).
7435         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
7436         (test-program-prefix): New macro.
7437         (test-via-rtld-prefix): Likewise.
7438         (test-program-cmd): Likewise.
7439         (host-test-program-cmd): Likewise.
7440         * Makefile ($(common-objpfx)testrun.sh): Replace
7441         $(run-program-prefix) with $(test-program-prefix).
7442         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
7443         $(rtld-LDFLAGS).
7444         ($(common-objpfx)shlib.lds): Likewise.
7445         (build-module-helper): Likewise.
7446         ($(common-objpfx)format.lds): Likewise.
7447         * Rules (binaries-pie-tests): New.
7448         (binaries-pie-notests): Likewise.
7449         (binaries-pie): Rewritten.
7450         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
7451         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
7452         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
7453         (make-test-out): Replace $(host-built-program-cmd) with
7454         $(host-test-program-cmd).
7455         * config.make.in (build-hardcoded-path-in-tests): New variable.
7456         * configure.in (--enable-hardcoded-path-in-tests): New configure
7457         option.
7458         (hardcoded_path_in_tests): New AC_SUBST.
7459         * configure: Regenerated.
7460         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
7461         $(built-program-cmd) with $(test-program-cmd).
7462         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
7463         (test_program_cmd): This.
7464         * elf/Makefile ($(objpfx)order.out): Run test with
7465         $(test-program-prefix).
7466         ($(objpfx)order2.out): Likewise.
7467         ($(objpfx)tst-initorder.out): Likewise.
7468         ($(objpfx)tst-initorder2.out): Likewise.
7469         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
7470         $(test-program-cmd).
7471         ($(objpfx)tst-array1-static.out): Likewise.
7472         ($(objpfx)tst-array2.out): Likewise.
7473         ($(objpfx)tst-array3.out): Likewise.
7474         ($(objpfx)tst-array4.out): Likewise.
7475         ($(objpfx)tst-array5.out): Likewise.
7476         ($(objpfx)tst-array5-static.out): Likewise.
7477         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
7478         $(test-program-cmd).
7479         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
7480         $(run-program-prefix) with $(test-program-prefix).
7481         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
7482         (test_program_prefix): This.
7483         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
7484         $(run-program-prefix) with $(test-program-prefix).
7485         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
7486         (test_program_prefix): This.
7487         * iconvdata/tst-tables.sh: Likewise.
7488         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
7489         $(run-program-prefix) with $(test-program-prefix).
7490         ($(objpfx)tst-translit.out): Likewise.
7491         ($(objpfx)tst-gettext2.out): Likewise.
7492         ($(objpfx)tst-gettext4.out): Likewise.
7493         ($(objpfx)tst-gettext6.out): Likewise.
7494         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
7495         (test_program_prefix): This.
7496         * intl/tst-gettext2.sh: Likewise.
7497         * intl/tst-gettext4.sh  Likewise.
7498         * intl/tst-gettext6.sh: Likewise.
7499         * intl/tst-translit.sh: Likewise.
7500         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
7501         with $(test-program-cmd).
7502         * libio/Makefile ($(objpfx)test-freopen.out): Replace
7503         $(run-program-prefix) with $(test-program-prefix).
7504         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
7505         (test_program_prefix): This.
7506         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
7507         $(run-program-prefix) with $(test-program-prefix).
7508         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
7509         (test_program_prefix): This.
7510         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
7511         * posix/Makefile ($(objpfx)globtest.out): Replace
7512         $(run-via-rtld-prefix) and $(test-wrapper) with
7513         $(test-program-prefix) and $(test-via-rtld-prefix).
7514         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
7515         $(test-program-prefix).
7516         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
7517         $(host-test-program-cmd).
7518         (tst-spawn-ARGS): Likewise.
7519         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
7520         $(test-program-prefix).
7521         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
7522         (test_via_rtld_prefix): This.
7523         (test_wrapper): Renamed to ...
7524         (test_program_prefix): This.
7525         (run_program_prefix): Replaced by test_program_prefix.
7526         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
7527         (test_program_prefix): This.
7528         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
7529         with $(host-test-program-cmd).
7530         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
7531         $(run-program-prefix) with $(test-program-prefix).
7532         ($(objpfx)tst-printf.out): Likewise.
7533         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
7534         $(test-program-cmd).
7535         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
7536         (test_program_prefix): This.
7537         * stdio-common/tst-unbputc.sh: Likewise.
7538         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
7539         $(run-program-prefix) with $(test-program-prefix).
7540         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
7541         (test_program_prefix): This.
7542         * string/Makefile ($(objpfx)tst-svc.out):  Replace
7543         $(built-program-cmd) with $(test-program-cmd).
7545 2013-01-11  Andreas Jaeger  <aj@suse.de>
7547         [BZ #15003]
7548         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
7549         value. Sync with Linux 3.7.
7551 2013-01-10  David S. Miller  <davem@davemloft.net>
7553         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
7554         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
7555         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
7557 2013-01-10  Roland McGrath  <roland@hack.frob.com>
7559         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
7560         never set.
7561         * configure: Regenerated.
7563 2013-01-10  David S. Miller  <davem@davemloft.net>
7565         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
7566         sparc V9 rather than using V8 code.
7567         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
7568         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
7570 2013-01-10  Roland McGrath  <roland@hack.frob.com>
7572         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
7573         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
7574         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
7575         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
7576         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
7577         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
7578         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
7579         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
7580         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
7581         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
7582         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
7583         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
7584         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
7585         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
7586         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
7587         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
7588         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
7589         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
7590         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
7591         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
7592         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
7593         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
7594         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
7595         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
7596         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
7597         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
7598         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
7600 2013-01-10  David S. Miller  <davem@davemloft.net>
7602         * sysdeps/sparc/fpu/libm-test-ulps: Update.
7604 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
7606         * posix/Makefile (tests-static): New variable.
7607         (tests): Add $(tests-static).
7608         (tst-exec-static-ARGS): New variable.
7609         (tst-spawn-static-ARGS): Likewise.
7610         * posix/tst-exec-static.c: New file.
7611         * posix/tst-spawn-static.c: Likewise.
7612         * posix/tst-exec.c: Support run directly.
7613         * posix/tst-spawn.c: Likewise.
7615 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
7617         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
7618         long.
7619         * math/bits/mathcalls.h (llrint): Likewise.
7620         (llround): Likewise.
7621         * stdlib/stdlib.h (struct drand48_data): Likewise.
7622         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
7623         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
7624         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
7625         Likewise.
7626         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
7627         Likewise.
7628         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
7629         (elf_greg_t): Likewise.
7630         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
7631         (__jmp_buf): Likewise.
7632         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
7633         definitions.
7634         (llrint): Likewise, for all definitions.
7635         (llrintl): Likewise.
7637         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
7638         Remove [__GNUC__] condition.
7639         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
7640         condition to just [__USE_ISOC99].
7641         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
7643 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
7645         [BZ #14200]
7646         * sysdeps/unix/sysv/linux/x86/bits/environments.h
7647         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
7648         defined.
7649         (_POSIX_V6_ILP32_OFF32): Likewise.
7650         (_XBS5_ILP32_OFF32): Likewise.
7651         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
7652         (__ILP32_OFFBIG_LDFLAGS): Likewise.
7654 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
7656         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
7658         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
7659         doubles __mpexp_twomm1.  Adjust usage.
7660         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
7661         Remove.
7663 2013-01-10  Andreas Schwab  <schwab@suse.de>
7665         [BZ #14964]
7666         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
7667         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
7669 2013-01-09  David S. Miller  <davem@davemloft.net>
7671         [BZ #15003]
7672         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
7673         TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
7674         TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
7675         TCP_FASTOPEN): Define.
7676         (tcp_repair_opt): New structure.
7677         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
7678         enum values.
7679         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
7680         TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
7681         TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
7682         (tcp_cookie_transactions): New structure.
7684 2013-01-09  Anton Blanchard  <anton@samba.org>
7686         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
7687         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
7688         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
7689         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
7691 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
7693         * include/features.h (__USE_ANSI): Remove.
7695 2013-01-09  Roland McGrath  <roland@hack.frob.com>
7697         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
7699         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
7701 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
7703         * sysdeps/s390/fpu/libm-test-ulps: Update.
7705         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7707         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
7708         (__acr): Likewise.
7709         (__cpy): Likewise.
7710         (norm): Likewise.
7711         (denorm): Likewise.
7712         (__mp_dbl): Likewise.
7713         (__dbl_mp): Likewise.
7714         (add_magnitudes): Likewise.
7715         (sub_magnitudes): Likewise.
7716         (__add): Likewise.
7717         (__sub): Likewise.
7718         (__mul): Likewise.
7719         (__inv): Likewise.
7720         (__dvd): Likewise.
7721         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
7722         (__acr): Likewise.
7723         (__cpy): Likewise.
7724         (norm): Likewise.
7725         (denorm): Likewise.
7726         (__mp_dbl): Likewise.
7727         (__dbl_mp): Likewise.
7728         (add_magnitudes): Likewise.
7729         (sub_magnitudes): Likewise.
7730         (__add): Likewise.
7731         (__sub): Likewise.
7732         (__mul): Likewise.
7733         (__inv): Likewise.
7734         (__dvd): Likewise.
7735         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
7736         (__acr): Likewise.
7737         (__cpy): Likewise.
7738         (norm): Likewise.
7739         (denorm): Likewise.
7740         (__mp_dbl): Likewise.
7741         (__dbl_mp): Likewise.
7742         (add_magnitudes): Likewise.
7743         (sub_magnitudes): Likewise.
7744         (__add): Likewise.
7745         (__sub): Likewise.
7746         (__mul): Likewise.
7747         (__inv): Likewise.
7748         (__dvd): Likewise.
7750 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
7752         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
7753         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
7754         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
7755         2 && __USE_EXTERN_INLINES]: Likewise.
7757 2013-01-08  Andreas Jaeger  <aj@suse.de>
7759         [BZ# 14985]
7760         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
7761         Remove.
7762         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
7763         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
7765 2013-01-07  Anton Blanchard  <anton@samba.org>
7767         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
7768         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
7769         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
7770         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
7771         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
7772         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
7773         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
7774         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
7775         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
7776         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
7777         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
7778         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
7779         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
7780         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
7781         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
7782         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
7783         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
7784         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
7785         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
7786         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
7787         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
7788         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
7789         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
7790         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
7791         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
7792         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
7793         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
7794         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
7795         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
7796         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
7797         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
7798         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
7799         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
7800         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
7801         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
7802         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
7803         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
7804         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
7805         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
7806         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
7807         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
7808         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
7809         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
7811 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
7813         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
7814         (__MALLOC_PMT): Likewise.
7815         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
7816         [__GNUC__], only on [_LIBC].
7817         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
7818         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
7819         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
7820         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
7821         forward declaration.
7822         (realloc_hook_ini): Likewise.
7823         (memalign_hook_ini): Likewise.
7824         (__libc_memalign): Do not use __MALLOC_PMT in variable
7825         declaration.
7826         (__libc_valloc): Likewise.
7827         (__libc_pvalloc): Likewise.
7828         (__libc_calloc): Likewise.
7829         (__posix_memalign): Likewise.
7831         [BZ #14996]
7832         * math/s_casinh.c: Include <float.h>.
7833         (__casinh): Do not do computation with squaring and square root
7834         for large arguments.
7835         * math/s_casinhf.c: Include <float.h>.
7836         (__casinhf): Do not do computation with squaring and square root
7837         for large arguments.
7838         * math/s_casinhl.c: Include <float.h>.
7839         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
7840         (__casinhl): Do not do computation with squaring and square root
7841         for large arguments.
7842         * math/libm-test.inc (casin_test): Add more tests.
7843         (casinh_test): Likewise.
7844         * sysdeps/i386/fpu/libm-test-ulps: Update.
7845         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7847 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
7849         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
7850         (__x86_64_raw_data_cache_size): Likewise.
7851         (__x86_64_data_cache_size_half): Likewise.
7852         (__x86_64_raw_data_cache_size_half): Likewise.
7853         (__x86_64_shared_cache_size): Likewise.
7854         (__x86_64_raw_shared_cache_size): Likewise.
7855         (__x86_64_shared_cache_size_half): Likewise.
7856         (__x86_64_raw_shared_cache_size_half): Likewise.
7857         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
7858         to ...
7859         (__x86_data_cache_size): This.
7860         (__x86_64_raw_data_cache_size): Renamed to ...
7861         (__x86_raw_data_cache_size): This.
7862         (__x86_64_data_cache_size_half): Renamed to ...
7863         (__x86_data_cache_size_half): This.
7864         (__x86_64_raw_data_cache_size_half): Renamed to ...
7865         (__x86_raw_data_cache_size_half): This.
7866         (__x86_64_shared_cache_size): Renamed to ...
7867         (__x86_shared_cache_size): This.
7868         (__x86_64_raw_shared_cache_size): Renamed to ...
7869         (__x86_raw_shared_cache_size): This.
7870         (__x86_64_shared_cache_size_half): Renamed to ...
7871         (__x86_shared_cache_size_half): This.
7872         (__x86_64_raw_shared_cache_size_half): Renamed to ...
7873         (__x86_raw_shared_cache_size_half): This.
7874         * sysdeps/x86_64/memcpy.S: Updated.
7875         * sysdeps/x86_64/memset.S: Likewise.
7876         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
7877         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
7878         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
7880 2013-01-04  David S. Miller  <davem@davemloft.net>
7882         * sysdeps/sparc/fpu/libm-test-ulps: Update.
7884 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
7886         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
7887         1 to avoid redefinition warning.
7888         (__USE_GNU): Don't define.
7889         (init_signaling_nan): Protoize.
7891         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7893 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
7895         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
7896         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
7897         (__cpymn): Likewise.
7898         (norm): Remove commented code.
7899         (denorm): Likewise.
7900         (__mp_dbl): Likewise.
7901         (__inv): Likewise.
7902         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
7903         (__cpymn): Likewise.
7904         (norm): Remove commented code.
7905         (denorm): Likewise.
7906         (__mp_dbl): Likewise.
7907         (__inv): Likewise.
7909         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
7910         mp_no value for 1.0 and 2.0.
7911         (norm): Use RADIXI instead of radixi.d.
7912         (denorm): Likewise.
7913         (__mul): Use 0.0 instead of zero.d.
7914         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
7915         mp_no value for 1.0 and 2.0.
7916         (norm): Use RADIXI instead of radixi.d.
7917         (denorm): Likewise.
7918         (__mul): Use 0.0 instead of zero.d.
7920 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
7922         [BZ #14994]
7923         * math/s_casinh.c (__casinh): Reduce finite argument to first
7924         quadrant then set signs of results at the end.
7925         * math/s_casinhf.c (__casinhf): Likewise.
7926         * math/s_casinhl.c (__casinhl): Likewise.
7927         * math/libm-test.inc (casin_test): Add more tests.
7928         (casinh_test): Likewise.
7929         * sysdeps/i386/fpu/libm-test-ulps: Update.
7930         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7932 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
7934         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
7936         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
7938         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
7939         declarations.
7940         (denorm): Likewise.
7941         (__mp_dbl): Likewise.
7942         (__inv): Likewise.
7944         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
7945         and adjust the header comment.
7947         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
7948         variable name from declaration.
7950 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
7952         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7953         Initialize COMMON_CPUID_INDEX_7 element.
7954         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
7955         (CPUID_RTM): Likewise.
7956         (HAS_RTM): Likewise.
7957         (COMMON_CPUID_INDEX_7): New enum.
7959 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
7961         [BZ #14981]
7962         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
7963         size is zero, record memory as freed.
7965 2013-01-03  Andreas Jaeger  <aj@suse.de>
7967         * po/ia.po: Add new Interlingua translation.
7969 2012-01-03  Allan McRae  <allan@archlinux.org>
7971         * locale/programs/localedef.c: Fix description of '--posix' flag.
7973 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
7975         * NEWS: Update dates in second copyright notice.
7976         * README: Update copyright dates in example.
7977         * manual/libc.texinfo: Update copyright dates.
7978         * scripts/test-installation.pl: Update copyright date in --version
7979         output.
7981         * hurd/ctty-input.c: Fix copyright notice formatting.
7982         * hurd/ctty-output.c: Likewise.
7983         * hurd/dtable.c: Likewise.
7984         * hurd/hurd-raise.c: Likewise.
7985         * hurd/hurdprio.c: Likewise.
7986         * hurd/msgportdemux.c: Likewise.
7987         * misc/sys/file.h: Likewise.
7988         * misc/sys/ioctl.h: Likewise.
7989         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
7990         * sysdeps/mach/hurd/chdir.c: Likewise.
7991         * sysdeps/mach/hurd/fchdir.c: Likewise.
7992         * sysdeps/mach/hurd/rename.c: Likewise.
7993         * sysdeps/mach/hurd/rmdir.c: Likewise.
7994         * sysdeps/mach/hurd/seekdir.c: Likewise.
7995         * sysdeps/mach/hurd/setsid.c: Likewise.
7996         * sysdeps/posix/wait3.c: Likewise.
7998         * All files with FSF copyright notices: Update copyright dates
7999         using scripts/update-copyrights.
8000         * intl/plural.c: Regenerated.
8001         * locale/programs/charmap-kw.h: Likewise.
8002         * locale/programs/locfile-kw.h: Likewise.
8004 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
8006         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
8007         four values.
8009         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
8010         calculation loop and add branch prediction.
8012         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
8013         check access beyond bounds of m1np.
8015         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
8016         MPTWO.
8017         (__inv): Remove local variable MPTWO to use the global
8018         constant.
8019         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
8020         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
8021         variable MPTWO.
8022         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
8023         MP3HALFS static const.
8025 2013-01-01  David S. Miller  <davem@davemloft.net>
8027         * po/ca.po: Update from translation team.
8029 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
8031         * scripts/update-copyrights: New file.
8032         * Makeconfig: Reformat copyright notice.
8033         * ctype/ctype.h: Likewise.
8034         * debug/swprintf_chk.c: Likewise.
8035         * elf/dl-cache.c: Likewise.
8036         * elf/dl-debug.c: Likewise.
8037         * elf/dl-object.c: Likewise.
8038         * grp/initgroups.c: Likewise.
8039         * hurd/Makefile: Likewise.
8040         * hurd/hurd/signal.h: Likewise.
8041         * hurd/hurdfault.c: Likewise.
8042         * hurd/hurdioctl.c: Likewise.
8043         * hurd/hurdlookup.c: Likewise.
8044         * hurd/intr-msg.c: Likewise.
8045         * iconv/gconv_open.c: Likewise.
8046         * libio/swprintf.c: Likewise.
8047         * locale/lc-ctype.c: Likewise.
8048         * locale/nl_langinfo.c: Likewise.
8049         * mach/Machrules: Likewise.
8050         * mach/Makefile: Likewise.
8051         * malloc/obstack.h: Likewise.
8052         * manual/Makefile: Likewise.
8053         * manual/tsort.awk: Likewise.
8054         * misc/bits/stab.def: Likewise.
8055         * nis/nis_print_group_entry.c: Likewise.
8056         * nis/nis_table.c: Likewise.
8057         * nis/nss_compat/compat-pwd.c: Likewise.
8058         * nis/nss_compat/compat-spwd.c: Likewise.
8059         * po/Makefile: Likewise.
8060         * posix/fnmatch.c: Likewise.
8061         * posix/regex.h: Likewise.
8062         * resolv/Makefile: Likewise.
8063         * resolv/nss_dns/dns-network.c: Likewise.
8064         * resolv/res_hconf.c: Likewise.
8065         * scripts/gen-sorted.awk: Likewise.
8066         * soft-fp/soft-fp.h: Likewise.
8067         * stdio-common/printf.h: Likewise.
8068         * stdlib/monetary.h: Likewise.
8069         * stdlib/random.c: Likewise.
8070         * stdlib/random_r.c: Likewise.
8071         * sysdeps/generic/Makefile: Likewise.
8072         * sysdeps/gnu/Makefile: Likewise.
8073         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
8074         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8075         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
8076         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8077         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
8078         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8079         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8080         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
8081         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
8082         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8083         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
8084         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
8085         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
8086         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
8087         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
8088         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
8089         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
8090         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
8091         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
8092         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8093         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
8094         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
8095         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
8096         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
8097         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
8098         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
8099         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
8100         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
8101         * sysdeps/mach/hurd/errnos.awk: Likewise.
8102         * sysdeps/mach/hurd/fork.c: Likewise.
8103         * sysdeps/mach/hurd/getcwd.c: Likewise.
8104         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
8105         * sysdeps/mach/hurd/mmap.c: Likewise.
8106         * sysdeps/mach/hurd/utimes.c: Likewise.
8107         * sysdeps/mach/hurd/xmknod.c: Likewise.
8108         * sysdeps/posix/profil.c: Likewise.
8109         * sysdeps/posix/readdir_r.c: Likewise.
8110         * sysdeps/powerpc/bits/mathdef.h: Likewise.
8111         * sysdeps/powerpc/bits/setjmp.h: Likewise.
8112         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
8113         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
8114         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
8115         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
8116         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
8117         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
8118         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
8119         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
8120         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
8121         * sysdeps/pthread/lio_listio.c: Likewise.
8122         * sysdeps/sparc/dl-procinfo.h: Likewise.
8123         * sysdeps/unix/i386/sysdep.S: Likewise.
8124         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
8125         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
8126         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
8127         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
8128         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
8129         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
8130         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
8131         * sysdeps/unix/sysv/linux/speed.c: Likewise.
8132         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
8133         * sysdeps/wordsize-32/divdi3.c: Likewise.
8134         * time/sys/time.h: Likewise.
8135         * wcsmbs/Makefile: Likewise.
8137 2013-01-01  David S. Miller  <davem@davemloft.net>
8139         * po/fr.po: Update from translation team.
8141         * catgets/gencat.c: Update copyright year.
8142         * csu/version.c: Likewise.
8143         * debug/catchsegv.sh: Likewise.
8144         * debug/pcprofiledump.c: Likewise.
8145         * debug/xtrace.sh: Likewise.
8146         * elf/ldconfig.c: Likewise.
8147         * elf/ldd.bash.in: Likewise.
8148         * elf/pldd.c: Likewise.
8149         * elf/sotruss.ksh: Likewise.
8150         * elf/sprof.c: Likewise.
8151         * iconv/iconv_prog.c: Likewise.
8152         * iconv/iconvconfig.c: Likewise.
8153         * locale/programs/locale.c: Likewise.
8154         * locale/programs/localedef.c: Likewise.
8155         * login/programs/pt_chown.c: Likewise.
8156         * malloc/memusage.sh: Likewise.
8157         * malloc/memusagestat.c: Likewise.
8158         * malloc/mtrace.pl: Likewise.
8159         * nscd/nscd.c: Likewise.
8160         * nss/getent.c: Likewise.
8161         * nss/makedb.c: Likewise.
8162         * posix/getconf.c: Likewise.
8164 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
8166         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
8167         numbers.
8169 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
8171         * math/bits/mathcalls.h (modf): Use __nonnull.
8173 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
8175         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
8176         (split): Use macro CN instead of the bare value.
8177         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
8178         could be used.
8179         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
8180         instead of the bare value.
8181         (power1): Likewise.
8183 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
8185         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
8186         __ATAN_TWOM.
8187         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
8189         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
8190         their values.
8191         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
8192         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
8193         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
8194         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
8196 2012-12-28  Andreas Jaeger  <aj@suse.de>
8198         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
8199         values are from Linux 3.7.
8201         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
8202         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
8204 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
8206         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
8207         TRUE case.
8209         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
8210         (norm): Likewise.
8211         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
8212         variables with preprocessor constants.
8213         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
8214         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
8215         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
8217 2012-12-27  Bruno Haible  <bruno@clisp.org>
8219         [BZ #14317]
8220         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
8221         only if needed.
8223 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
8225         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
8226         and use variable directly.
8227         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
8229         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
8230         MPONE.
8231         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
8232         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
8233         variable MPONE.
8234         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
8235         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
8236         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
8237         include directive.  Remove local variable MPONE.
8238         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
8239         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
8240         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
8242 2012-12-25  David S. Miller  <davem@davemloft.net>
8244         * version.h (RELEASE): Set to "development".
8245         (VERSION): Set to "2.17.90".
8246         * NEWS: Add 2.18 section.
8248 2012-12-21  David S. Miller  <davem@davemloft.net>
8250         * po/hr.po: Update from translation team.
8252 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
8254         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
8256 2012-12-19  Steve Ellcey  <sellcey@mips.com>
8258         * NEWS:  Mention new memcpy for MIPS.
8260 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
8262         * manual/contrib.texi (Contributors): Spelling correction.
8264 2012-12-15  David S. Miller  <davem@davemloft.net>
8266         * po/ru.po: Update from translation team.
8268 2012-12-13  David S. Miller  <davem@davemloft.net>
8270         * NEWS: Mention IFUNC testsuite enhancements.
8272         * po/pl.po: Update from translation team.
8273         * po/bg.po: Likewise.
8275         * manual/contrib.texi (Contributors): Update entries for Hongjiu
8276         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
8278 2012-12-11  David S. Miller  <davem@davemloft.net>
8280         * po/sv.po: Update from translation team.
8282         * po/vi.po: Update from translation team.
8284         * po/cs.po: Update from translation team.
8286         * po/de.po: Update from translation team.
8287         * po/eo.po: Likewise.
8288         * po/nl.po: Likewise.
8290 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
8292         [BZ #14246]
8293         * manual/argp.texi (Argp Helper Functions): Move node to follow
8294         Argp Parsing State.
8296         [BZ #14872]
8297         * manual/conf.texi (Limits on File System Capacity): Mention if
8298         terminating null is included in the max size.
8300 2012-12-10  Andreas Jaeger  <aj@suse.de>
8302         * po/cs.po: Update from translation team.
8304 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
8306         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
8307         void pointer and cast to uintptr_t.
8308         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
8309         path.
8310         * sysdeps/s390/s390-64/memcpy.S: Likewise.
8311         * sysdeps/s390/s390-64/memset.S: Likewise.
8313 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
8315         [BZ #14833]
8316         * menual/message.texi (Message Translation): Fix typos.
8317         (Helper programs for gettext): Likewise.
8319 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
8321         [BZ #14898]
8322         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
8323         Change to -1.
8325 2012-12-07  David S. Miller  <davem@davemloft.net>
8327         * po/libc.pot: Update.
8329 2012-12-07  Richard Henderson  <rth@redhat.com>
8331         [BZ #10114]
8332         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
8333         normal/normal case to before the switch.
8334         (_FP_DIV): Likewise.
8336 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
8337             Mike Frysinger  <vapier@gentoo.org>
8339         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
8340         check for __NR_fadvise64_64.
8342 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
8344         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
8345         0, not just to plain "0" as a statement.
8346         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
8347         with cw.
8349 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
8351         * NEWS: Use sourceware.org in Bugzilla URL.
8353 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
8355         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
8356         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
8358         * stdio-common/tst-put-error.c (do_test): Add newline to the
8359         padded test to ensure flush.
8361 2012-12-05  Jeff Law  <law@redhat.com>
8363         * sunrpc/etc.rpc (fedfs_admin): Add entry.
8365 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
8367         * README: Don't refer to ports add-on as distributed separately.
8368         Mention AArch64 in list of systems supported in the ports add-on.
8370         * LICENSES: Add more non-FSF copyright and license notices.
8372         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
8373         ((unused)).
8375         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
8377         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
8378         10000 as width of padded output.
8380 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
8382         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
8384         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
8385         variable LX with __attribute__ ((unused)).
8386         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
8387         Likewise.
8388         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
8389         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
8390         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
8391         with __attribute__ ((unused)).
8393 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
8395         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
8397 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
8399         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
8400         (CFLAGS-nldbl-acos.c): New variable.
8401         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
8402         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
8403         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
8404         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
8405         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
8406         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
8407         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
8408         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
8409         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
8410         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
8411         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
8412         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
8413         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
8414         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
8415         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
8416         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
8417         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
8418         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
8419         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
8420         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
8421         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
8422         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
8423         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
8424         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
8425         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
8426         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
8427         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
8428         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
8429         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
8430         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
8431         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
8432         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
8433         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
8434         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
8435         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
8436         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
8437         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
8438         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
8439         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
8440         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
8441         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
8442         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
8443         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
8444         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
8445         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
8446         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
8447         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
8448         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
8449         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
8450         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
8451         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
8452         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
8453         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
8454         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
8455         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
8456         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
8457         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
8458         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
8459         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
8460         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
8461         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
8462         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
8463         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
8464         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
8465         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
8466         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
8467         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
8468         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
8469         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
8470         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
8471         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
8472         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
8473         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
8474         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
8475         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
8476         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
8477         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
8478         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
8479         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
8480         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
8481         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
8482         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
8483         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
8484         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
8485         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
8486         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
8487         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
8488         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
8489         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
8490         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
8491         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
8492         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
8493         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
8494         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
8495         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
8496         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
8497         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
8499         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
8500         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
8502         [BZ #14914]
8503         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
8504         whole low double instead of just low 47 bits when splitting values
8505         into two parts.
8507 2012-12-03  Allan McRae  <allan@archlinux.org>
8509         * manual/stdio.texi (Predefined Printf Handlers): Remove
8510         @hsep and @vsep usage.
8512 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
8514         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
8515         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
8517 2012-12-03  Jeff Law  <law@redhat.com>
8519         * time/sys/time.h (settimeofday): Do not mark TV argument
8520         as __nonnull.
8522 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
8524         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
8525         when currently writing and seek to current position when not.
8526         * libio/Makefile (tests): Remove bug-fclose1.
8527         * libio/bug-fclose1.c: Delete.
8529 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
8531         * manual/arith.texi (feenableexcept): Fix typo.
8532         (fedisableexcept): Likewise.
8534 2012-11-30  Roland McGrath  <roland@hack.frob.com>
8536         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
8537         second, differently-typed declaration, rather than a cast.
8539 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
8541         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
8542         * include/rpc/svc.h: ... here.
8544 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
8546         [BZ #13013]
8547         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
8548         depending n and resplen2 to catch cases where answer
8549         equals answerp2.
8551 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
8553         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
8554         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
8556 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
8558         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
8560 2012-11-29  Roland McGrath  <roland@hack.frob.com>
8562         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
8564 2012-11-28  Jeff Law  <law@redhat.com>
8566         [BZ #13761]
8567         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
8568         dataset_temporary.  Track alloca usage into alloca_used.
8569         If dataset is large allocate and release it via malloc/free.
8571 2012-06-04  Florian Weimer  <fweimer@redhat.com>
8573         [BZ #14197]
8574         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
8576 2012-11-28  David S. Miller  <davem@davemloft.net>
8578         * sysdeps/sparc/fpu/libm-test-ulps: Update.
8580 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
8582         [BZ #14803]
8583         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
8584         of pi/2 rounded to nearest to 64 bits.
8585         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
8586         nearest to 64 bits.
8587         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
8588         bits.
8590 2012-11-28  Jeff Law <law@redhat.com>
8591             Martin Osvald <mosvald@redhat.com>
8593         [BZ #14889]
8594         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
8595         * sunrpc/svc.c: Include time.h.
8596         (__svc_accept_failed): New function.
8597         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
8598         any reason other than EINTR, call __svc_accept_failed.
8599         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
8600         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
8602 2012-11-28  Andreas Schwab  <schwab@suse.de>
8604         * scripts/abilist.awk: Also handle indirect functions in .opd
8605         section.
8607 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
8609         [BZ #13881]
8610         * sysdeps/x86/fpu/powl_helper.c: New file.
8611         * sysdeps/x86/fpu/Makefile: Likewise.
8612         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
8613         (p3): New object.
8614         (__ieee754_powl): Use __powl_helper for finite arguments except
8615         integer exponents below 8.
8616         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
8617         (p3): New object.
8618         (__ieee754_powl): Use __powl_helper for finite arguments except
8619         integer exponents below 8.
8620         * math/libm-test.inc (pow_test): Add more tests and enable some
8621         previously disabled tests.
8622         * sysdeps/i386/fpu/libm-test-ulps: Update.
8623         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8625 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
8626             Carlos O'Donell  <carlos_odonell@mentor.com>
8628         * nss/makedb.c (is_prime): Assert that input is odd and greater
8629         than 4.  Note that fact in a comment too.
8630         (next_prime): Add 4 to input.
8632 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
8634         [BZ #11741]
8635         * libio/Makefile (tests): Add test case tst-fwrite-error.
8636         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
8637         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
8638         * libio/tst-fwrite-error.c: New test case.
8640 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
8642         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
8643         before casting to void *.
8644         * include/libc-internal.h (__pointer_type): New macro.
8645         (__integer_if_pointer_type_sub): Likewise.
8646         (__integer_if_pointer_type): Likewise.
8647         (cast_to_integer): Likewise.
8648         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
8649         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
8650         before casting to atomic64_t.
8651         (atomic_exchange_acq): Likewise.
8652         (__arch_exchange_and_add_body): Likewise.
8653         (__arch_add_body): Likewise.
8654         (atomic_add_negative): Likewise.
8655         (atomic_add_zero): Likewise.
8657 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
8659         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
8660         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
8661         (add_fdes): Likewise.
8662         (linear_search_fdes): Likewise.
8663         (binary_search_unencoded_fdes): Likewise.
8665 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
8667         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
8669 2012-11-24  Adam Conrad  <adconrad@0c3.net>
8671         * configure.in: Autodetect C++ header directories.
8672         * configure: Regenerated.
8674 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
8676         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
8678 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
8680         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8682 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
8684         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
8685         LDBL_MANT_DIG == 106]: Disable some tests.
8686         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
8687         Likewise.
8688         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
8689         Likewise.
8691         [BZ #14871]
8692         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
8693         input for small inputs.  Return +/- pi/2 for large inputs.
8694         * math/libm-test.inc (atan_test): Add more tests.
8696         * sysdeps/generic/unwind-dw2-fde-glibc.c
8697         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
8698         __attribute__ ((unused)).
8700         [BZ #14645]
8701         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
8702         x * y if x and y are nonzero and z is zero.
8704         [BZ #14811]
8705         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
8706         nonzero exponents with absolute value below 0x1p-117 to +/-
8707         0x1p-117.
8709         [BZ #14869]
8710         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
8711         up arguments below 2**-450, not just those below 2**-500.
8712         * math/libm-test.inc (hypot_test): Add another test.
8714         [BZ #14868]
8715         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
8716         Return a+b for ratio over 2**120, not 2**60.
8717         * math/libm-test.inc (hypot_test): Add another test.
8719         * math/libm-test.inc (clog_test): Use
8720         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
8721         (clog10_test): Likewise.
8723         [BZ #6778]
8724         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
8726 2012-11-22  Andreas Schwab  <schwab@suse.de>
8728         * sysdeps/i386/fpu/libm-test-ulps: Update.
8730 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
8732         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
8733         printf output with newline.
8735 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
8737         [BZ #14865]
8738         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
8739         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
8740         -z nodlopen, -z initfirst and -z execstack support.
8741         * configure: Regenerated.
8743         * elf/elf.h (DF_1_NODIRECT): New macro.
8744         (DF_1_IGNMULDEF): Likewise.
8745         (DF_1_NOKSYMS): Likewise.
8746         (DF_1_NOHDR): Likewise.
8747         (DF_1_EDITED): Likewise.
8748         (DF_1_NORELOC): Likewise.
8749         (DF_1_SYMINTPOSE): Likewise.
8750         (DF_1_GLOBAUDIT): Likewise.
8751         (DF_1_SINGLETON): Likewise.
8752         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
8753         DT_1_SUPPORTED_MASK bits.
8754         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
8756 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
8758         * sysdeps/unix/make-syscalls.sh: Document prefixes.
8760 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
8762         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
8763         macro.
8765         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
8766         (sendmmsg): Move declarations...
8767         * socket/sys/socket.h: ... here.
8768         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
8769         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
8770         include it from...
8771         * socket/recvmmsg.c: ... this new file.
8772         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
8773         (sendmmsg): Rename to __sendmmsg, create weak alias and make
8774         definition of __sendmmsg hidden.
8775         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
8776         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
8777         Move ENOSYS stub into and include it from...
8778         * socket/sendmmsg.c: ... this new file.
8779         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
8780         (sysdep_routines): Move recvmmsg and sendmmsg...
8781         * socket/Makefile (routines): ... here.
8782         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
8783         (GLIBC_PRIVATE): Add __sendmmsg.
8784         * include/sys/socket.h (__sendmmsg): Add declarations.
8785         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
8786         sendmmsg.
8788 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
8790         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
8791         variable I1 with __attribute__ ((unused)).
8792         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
8794 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
8796         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
8797         DUMMY variables with __attribute__ ((unused)).
8799         * bits/byteswap.h: Include <bits/types.h>.
8800         (__bswap_64): Use __uint64_t instead of unsigned long long int.
8802 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
8804         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
8805         string_t.  Do not manually set errno.
8806         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
8807         length with __strnlen.  Make sure to both set errno and return it on
8808         failure.
8810 2012-11-19  David S. Miller  <davem@davemloft.net>
8812         With help from Joseph Myers.
8813         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
8814         very large arguments properly.
8815         * math/libm-test.inc (atan_test): New tests.
8816         (atan2_test): New tests.
8817         * sysdeps/sparc/fpu/libm-test-ulps: Update.
8818         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8820 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
8822         [BZ #14856]
8823         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
8824         Define to 3.
8826         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
8827         [POSIX] (EADDRNOTAVAIL): Likewise.
8828         [POSIX] (EAFNOSUPPORT): Likewise.
8829         [POSIX] (EALREADY): Likewise.
8830         [POSIX] (ECONNABORTED): Likewise.
8831         [POSIX] (ECONNREFUSED): Likewise.
8832         [POSIX] (ECONNRESET): Likewise.
8833         [POSIX] (EDESTADDRREQ): Likewise.
8834         [POSIX] (EDQUOT): Likewise.
8835         [POSIX] (EHOSTUNREACH): Likewise.
8836         [POSIX] (EIDRM): Likewise.
8837         [POSIX] (EISCONN): Likewise.
8838         [POSIX] (ELOOP): Likewise.
8839         [POSIX] (EMULTIHOP): Likewise.
8840         [POSIX] (ENETDOWN): Likewise.
8841         [POSIX] (ENETUNREACH): Likewise.
8842         [POSIX] (ENOBUFS): Likewise.
8843         [POSIX] (ENODATA): Likewise.
8844         [POSIX] (ENOLINK): Likewise.
8845         [POSIX] (ENOMSG): Likewise.
8846         [POSIX] (ENOPROTOOPT): Likewise.
8847         [POSIX] (ENOSR): Likewise.
8848         [POSIX] (ENOSTR): Likewise.
8849         [POSIX] (ENOTCONN): Likewise.
8850         [POSIX] (ENOTSOCK): Likewise.
8851         [POSIX] (EOPNOTSUPP): Likewise.
8852         [POSIX] (EOVERFLOW): Likewise.
8853         [POSIX] (EPROTO): Likewise.
8854         [POSIX] (EPROTONOSUPPORT): Likewise.
8855         [POSIX] (EPROTOTYPE): Likewise.
8856         [POSIX] (ESTALE): Likewise.
8857         [POSIX] (ETIME): Likewise.
8858         [POSIX] (ETXTBSY): Likewise.
8859         [POSIX] (EWOULDBLOCK): Likewise.
8860         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
8861         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
8862         [POSIX] (SEEK_CUR): Likewise.
8863         [POSIX] (SEEK_END): Likewise.
8864         [POSIX || UNIX98] (mode_t): Do not require.
8865         [POSIX] (off_t): Likewise.
8866         [POSIX] (pid_t): Likewise.
8867         [POSIX] (sys/stat.h): Do not allow header.
8868         [POSIX] (unistd.h): Likewise.
8869         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
8870         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
8871         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
8872         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
8873         require.
8874         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
8875         sigevent): Specify elements.
8876         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
8877         entry.
8878         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
8879         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
8881         * conform/data/cpio.h-data [POSIX]: Disable whole file.
8882         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
8883         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
8884         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
8885         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
8886         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
8887         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
8888         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
8889         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
8890         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
8891         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
8892         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
8893         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
8894         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
8895         Likewise.
8896         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
8897         Likewise.
8898         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
8899         Likewise.
8900         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
8901         Likewise.
8902         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
8903         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
8904         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
8905         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
8906         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
8907         Specify lower bound on value.
8908         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
8909         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
8910         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
8911         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
8912         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
8913         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
8914         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
8915         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
8916         value.
8917         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
8918         as optional.
8919         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
8920         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
8921         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
8922         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
8923         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
8924         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
8925         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
8926         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
8927         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
8928         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
8929         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
8930         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
8931         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
8932         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
8933         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
8934         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
8935         entry.
8936         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
8937         optional.
8938         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
8939         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
8940         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
8941         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
8942         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
8943         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
8944         Likewise.
8945         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
8946         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
8947         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
8948         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
8949         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
8950         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
8951         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
8952         as optional.
8953         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
8954         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
8955         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
8956         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
8957         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
8958         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
8959         specify as optional.
8960         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
8961         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
8962         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
8963         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
8964         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
8965         [XPG3] (NL_LANGMAX): Likewise.
8966         [POSIX || XPG3] (NL_MSGMAX): Likewise.
8967         [POSIX || XPG3] (NL_NMAX): Likewise.
8968         [POSIX || XPG3] (NL_SETMAX): Likewise.
8969         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
8970         [XPG3] (NZERO): Likewise.
8971         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
8972         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
8973         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
8974         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
8975         (REG_ERANGE): Expect.
8976         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
8977         optional-constant.
8978         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
8979         Use (void) in prototype.
8980         [POSIX] (*_t): Allow.
8981         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
8982         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
8983         (WRDE_BADVAL): Expect.
8985         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
8986         expect.
8987         [XPG3 || XPG4] (O_RSYNC): Likewise.
8988         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
8989         Likewise.
8990         [XPG3 || XPG4] (pthread_sigmask): Likewise.
8991         [XPG3 || XPG4] (sigqueue): Likewise.
8992         [XPG3 || XPG4] (sigtimedwait): Likewise.
8993         [XPG3 || XPG4] (sigwaitinfo): Likewise.
8994         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
8995         [XPG3 || XPG4] (vsnprintf): Likewise.
8996         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
8997         Likewise.
8998         [XPG3 || XPG4] (blksize_t): Likewise.
8999         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
9000         Likewise.
9001         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
9002         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
9003         [XPG3 || XPG4] (struct itimerspec): Likewise.
9004         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
9005         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
9006         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
9007         [XPG3 || XPG4] (clockid_t): Likewise.
9008         [XPG3 || XPG4] (timer_t): Likewise.
9009         [XPG3 || XPG4] (clock_getres): Likewise.
9010         [XPG3 || XPG4] (clock_gettime): Likewise.
9011         [XPG3 || XPG4] (clock_settime): Likewise.
9012         [XPG3 || XPG4] (nanosleep): Likewise.
9013         [XPG3 || XPG4] (timer_create): Likewise.
9014         [XPG3 || XPG4] (timer_delete): Likewise.
9015         [XPG3 || XPG4] (timer_gettime): Likewise.
9016         [XPG3 || XPG4] (timer_getoverrun): Likewise.
9017         [XPG3 || XPG4] (timer_settime): Likewise.
9018         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
9019         [XPG3 || XPG4] (getlogin_r): Likewise.
9020         [XPG3 || XPG4] (pread): Likewise.
9021         [XPG3 || XPG4] (pthread_atfork): Likewise.
9022         [XPG3 || XPG4] (pwrite): Likewise.
9024         [BZ #14835]
9025         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
9026         <bits/siginfo.h>.
9028 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
9030         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
9031         finalizing MALLSTREAM.
9033         * sysdeps/mach/hurd/syncfs.c: New file.
9035 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
9037         [BZ #14719]
9038         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
9039         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
9040         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
9041         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
9042         (_nss_dns_gethostbyname4_r): Likewise.
9043         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
9044         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
9046 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
9048         [BZ #13763]
9049         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
9051 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
9053         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
9054         * elf/cache.c (print_entry): Print ",AArch64" for
9055         FLAG_AARCH64_LIB64
9057         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
9058         * elf/cache.c (print_entry): Print ",hard-float" for
9059         FLAG_ARM_LIBHF.
9061 2012-11-18  David S. Miller  <davem@davemloft.net>
9063         With help from Joseph Myers.
9064         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
9065         cutoff to 2**-13.
9066         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
9067         cutoff to 2**-25.
9068         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
9069         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
9070         small.
9071         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
9072         * math/libm-test.inc (y0_test): New tests.
9073         (y1_test): New tests.
9074         * sysdeps/i386/fpu/libm-test-ulps: Update.
9075         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9076         * sysdeps/sparc/fpu/libm-test-ulps: Update.
9078 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
9080         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
9081         64-bit targets.
9082         * configure: Regenerated.
9084 2012-11-17  David S. Miller  <davem@davemloft.net>
9086         [BZ #14811]
9087         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
9088         nonzero exponents with absolute value below 0x1p-128 to +/-
9089         0x1p-128.
9091 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
9093         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
9095         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
9097         * posix/getconf-speclist.c: New file.
9098         * posix/posix-envs.def: Likewise.
9099         * posix/confstr.c (START_ENV_GROUP): New macro.
9100         (END_ENV_GROUP): Likewise.
9101         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
9102         (KNOWN_PRESENT_ENV_STRING): Likewise.
9103         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
9104         (UNKNOWN_ENVIRONMENT): Likewise.
9105         (confstr): Include posix-envs.def instead of handling
9106         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
9107         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
9108         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
9109         (END_ENV_GROUP): Likewise.
9110         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
9111         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
9112         (UNKNOWN_ENVIRONMENT): Likewise.
9113         (__sysconf): Include posix-envs.def instead of handling associated
9114         cases directly here.
9115         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
9116         preprocessing getconf-speclist.c rather than running getconf or
9117         generating empty file.
9119 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
9121         * scripts/check-local-headers.sh: Ignore 'mach' headers.
9123 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
9125         [BZ #14672]
9126         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
9128 2012-11-16  David S. Miller  <davem@davemloft.net>
9130         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
9131         smaller than LDBL_EPSILON/2.0L, just return xm1.
9133 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
9135         * elf/tst-array1.c (init): Set constructor priority to 1000.
9136         (fini): Set destructor priority to 1000.
9137         * elf/tst-array2dep.c: Likewise.
9139 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
9141         [BZ #11741]
9142         * libio/fileops.c (_IO_new_file_write): Correctly return error.
9143         (_IO_new_file_xsputn): Also return EOF if none of the input
9144         data was written when overflow failed.
9145         * libio/iopadn.c (_IO_padn): Likewise.
9146         * libio/iowpadn.c (_IO_wpadn): Likewise.
9147         * stdio-common/tst-put-error.c: Add copyright notice.
9148         (do_test): Add case for printing padded string.
9149         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
9150         _IO_padn returned error.
9151         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
9152         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
9153         return EOF.
9155 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
9157         * libio/libioP.h: Add comment note that the references to C++
9158         bits are now obsolete.
9160 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
9162         * math/libm-test.inc (check_complex): Use asprintf.
9164 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
9166         * debug/pcprofiledump.c (print_version): Update copyright year.
9167         * malloc/memusagestat.c (print_version): Likewise.
9169 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
9171         [BZ #14831]
9172         * elf/Makefile (tests): Add tst-audit8.
9173         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
9174         ($(objpfx)tst-audit8.out): New target.
9175         (tst-audit8-ENV): New variable.
9176         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
9177         audit if l_reloc_result is NULL.
9178         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
9179         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
9180         * elf/tst-audit8.c: New file.
9182 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
9184         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
9185         * misc/Makefile (CFLAGS-select.c): Define.
9186         * posix/Makefile (CFLAGS-pause.c): Define.
9188 2012-11-13  David S. Miller  <davem@davemloft.net>
9190         * crypt/Makefile: Move test targets after toplevel Rules
9191         inclusion.  Grab any necessary sysdep routines when linking.
9192         * crypt/md5.c (md5_process_block): Remove define, we will always
9193         name it __md5_process_block.
9194         (md5_finish_ctx): Update md5_process_block call.
9195         (md5_stream): Likewise.
9196         (md5_process_bytes): Likewise.
9197         (md5_process_block): Rename to __md5_process_block and move to ...
9198         * crypt/md5-block.c: ... here.
9199         * crypt/sha256.c (sha256_process_block): Move to ...
9200         * crypt/sha256-block.c: ... here.
9201         * crypt/sha512.c (sha512_process_block): Move to ...
9202         * crypt/sha512-block.c: ... here.
9203         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
9204         path.
9205         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
9206         * sysdeps/sparc/sparc64/multiarch/Makefile
9207         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
9208         crypt subdir.
9209         (localedef-aux): Add md5 crypto assembler when in locale subdir.
9210         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
9211         multiarch changes.
9212         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
9213         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
9214         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
9215         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
9216         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
9217         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
9218         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
9219         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
9220         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
9221         file.
9222         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
9223         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
9224         file.
9225         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
9227 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
9229         * timezone/tzselect.ksh: Update from tzcode git revision
9230         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
9231         * timezone/zdump.c: Likewise.
9232         * timezone/zic.c: Likewise.
9233         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
9234         in TZVERSION setting, not $(PKGVERSION).
9235         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
9236         REPORT_BUGS_TO settings.
9238         [BZ #14838]
9239         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
9240         macro.
9242 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
9244         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
9245         detection to immediately after _FP_ROUND().
9246         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
9247         bits are 0.
9249 2012-11-11  David S. Miller  <davem@davemloft.net>
9251         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
9252         inttypes.h
9253         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
9254         __close rather than their public counterparts.
9256 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
9258         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
9259         file.
9260         [UNIX98] (sem_timedwait): Do not expect.
9261         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
9262         [XPG4 || UNIX98] (sockatmark): Do not expect.
9263         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
9264         (clock_getcpuclockid): Do not expect.
9265         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
9266         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
9267         Do not expect.
9268         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
9269         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
9270         [UNIX98] (vwscanf): Likewise.
9271         [UNIX98] (vswscanf): Likewise.
9273 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
9275         * timezone/version.h: Remove file.
9276         * timezone/README: Do not refer to version.h.
9277         * timezone/Makefile ($(objpfx)zic.o): New dependency on
9278         $(objpfx)version.h.
9279         ($(objpfx)zdump.o): Likewise.
9280         ($(objpfx)version.h): New target.
9282         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
9283         2012i.
9284         * timezone/README: Don't mention modification to tzselect.ksh.
9285         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
9286         work on unmodified tzselect.ksh.  Substitute version numbers in
9287         tzselect.ksh.
9289         * Makefile (format-me): Remove.
9290         (INSTALL): Adjust indentation.  Use commands directly instead of
9291         using $(format-me).
9293         * aclocal.m4 (ACX_PKGVERSION): New macro.
9294         (ACX_BUGURL): Likewise.
9295         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
9296         (PKGVERSION): New AC_DEFINE_UNQUOTED.
9297         (REPORT_BUGS_TO): Likewise.
9298         * configure: Regenerated.
9299         * config.h.in (PKGVERSION): New macro.
9300         (REPORT_BUGS_TO): Likewise.
9301         * config.make.in (PKGVERSION): New variable.
9302         (PKGVERSION_TEXI): Likewise.
9303         (REPORT_BUGS_TO): Likewise.
9304         (REPORT_BUGS_TEXI): Likewise.
9305         * Makefile (format-me): Use -I$(common-objpfx)manual.
9306         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
9307         ($(common-objpfx)manual/%): New target.
9308         (manual/%): Remove target.
9309         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
9310         (print_version): Use PKGVERSION.
9311         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
9312         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
9313         and REPORT_BUGS_TO.
9314         ($(objpfx)xtrace): Likewise.
9315         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
9316         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
9317         (print_version): Use PKGVERSION.
9318         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
9319         (do_version): Use PKGVERSION.
9320         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
9321         REPORT_BUGS_TO.
9322         (common-ldd-rewrite): Likewise.
9323         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
9324         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
9325         (print_version): Use PKGVERSION.
9326         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
9327         * elf/pldd.c (argp_program_bug_address): Remove variable.
9328         (more_help): New function.
9329         (argp): Use more_help.
9330         (print_version): Use PKGVERSION.
9331         * elf/sln.c (main): Use PKGVERSION.
9332         (usage): Use REPORT_BUGS_TO.
9333         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
9334         (top level): Use PKGVERSION.
9335         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
9336         (print_version): Use PKGVERSION.
9337         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
9338         (print_version): Use PKGVERSION.
9339         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
9340         (print_version): Use PKGVERSION.
9341         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
9342         (print_version): Use PKGVERSION.
9343         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
9344         (print_version): Use PKGVERSION.
9345         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
9346         (print_version): Use PKGVERSION.
9347         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
9348         and BUGURL.
9349         ($(objpfx)memusage): Likewise.
9350         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
9351         (do_version): Use PKGVERSION.
9352         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
9353         (print_version): Use PKGVERSION.
9354         * malloc/mtrace.pl ($PACKAGE): Remove variable.
9355         ($PKGVERSION): New variable.
9356         ($REPORT_BUGS_TO): Likewise.
9357         (usage): Use $REPORT_BUGS_TO.
9358         (top level): Use $PKGVERSION.
9359         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
9360         ($(objpfx)pkgvers.texi): New rule.
9361         ($(objpfx)stamp-pkgvers): Likewise.
9362         * manual/install.texi: Include pkgvers.texi.
9363         (--with-pkgversion): Document new configure option.
9364         (--with-bugurl): Likewise.
9365         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
9366         than necessarily for this particular distribution.  Use
9367         REPORT_BUGS_TO for where to report bugs.
9368         * INSTALL: Regenerated.
9369         * manual/libc.texinfo: Include pkgvers.texi.
9370         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
9371         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
9372         (print_version): Use PKGVERSION.
9373         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
9374         (print_version): Use PKGVERSION.
9375         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
9376         (print_version): Use PKGVERSION.
9377         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
9378         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
9379         macro.
9380         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
9381         (print_version): Use PKGVERSION.
9382         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
9383         (print_version): Use PKGVERSION.
9384         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
9385         and PKGVERSION.
9387         * timezone/checktab.awk: Update from tzcode 2012i.
9388         * timezone/ialloc.c: Likewise.
9389         * timezone/private.h: Likewise.
9390         * timezone/scheck.c: Likewise.
9391         * timezone/tzfile.h: Likewise.
9392         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
9393         (TZVERSION): Hardcode tzcode version number.
9394         * timezone/zdump.c: Update from tzcode 2012i.
9395         * timezone/zic.c: Likewise.
9396         * timezone/version.h: New file.
9397         * timezone/README: Describe version.h.  Update upstream location.
9399         [BZ #14824]
9400         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
9401         (mktemp): Enable declaration.
9402         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
9403         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
9404         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
9405         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
9406         Likewise.
9407         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
9408         Likewise.
9409         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
9410         Likewise.
9411         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
9412         Likewise.
9413         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
9414         Likewise.
9415         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
9416         Likewise.
9418         [BZ #14821]
9419         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
9420         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
9421         for copies of such integer values.
9422         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
9423         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
9425 2012-11-09  Andreas Jaeger  <aj@suse.de>
9427         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
9428         definitions and declarations that are provided by
9429         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
9431 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
9433         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
9434         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
9435         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
9436         definition.
9438 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
9440         * elf/elf.h: Update comment before AArch64 relocations.
9442 2012-11-07  David S. Miller  <davem@davemloft.net>
9444         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
9445         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
9446         (__start_context): Declare.
9447         (__makecontext_ret): Delete.
9448         (__makecontext): Hook up __start_context instead of
9449         __makecontext_ret.
9450         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
9451         (sysdep_routines): Add __start_context when in stdlib.
9453 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
9455         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
9456         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
9457         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
9458         hardcoded "nm".
9459         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
9460         (READELF): New variable.  Use it instead of hardcoded "readelf".
9462 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
9464         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
9465         * sysdeps/x86/Makefile: Here.
9466         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
9467         * sysdeps/x86/tst-xmmymm.sh: This.
9469 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
9471         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
9472         expectations.
9473         [UNIX98] (pthread_barrier_t): Do not expect.
9474         [UNIX98] (pthread_barrierattr_t): Likewise.
9475         [UNIX98] (pthread_spinlock_t): Likewise.
9476         [UNIX98] (pthread_barrier_destroy): Likewise.
9477         [UNIX98] (pthread_barrier_init): Likewise.
9478         [UNIX98] (pthread_barrier_wait): Likewise.
9479         [UNIX98] (pthread_barrierattr_destroy): Likewise.
9480         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
9481         [UNIX98] (pthread_barrierattr_init): Likewise.
9482         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
9483         [UNIX98] (pthread_getcpuclockid): Likewise.
9484         [UNIX98] (pthread_mutex_timedlock): Likewise.
9485         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
9486         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
9487         [UNIX98] (pthread_sigmask): Likewise.
9488         [UNIX98] (pthread_spin_destroy): Likewise.
9489         [UNIX98] (pthread_spin_init): Likewise.
9490         [UNIX98] (pthread_spin_lock): Likewise.
9491         [UNIX98] (pthread_spin_trylock): Likewise.
9492         [UNIX98] (pthread_spin_unlock): Likewise.
9493         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
9494         Do not expect.
9495         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
9496         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
9497         [XPG3 || XPG4] (pthread_cond_t): Likewise.
9498         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
9499         [XPG3 || XPG4] (pthread_key_t): Likewise.
9500         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
9501         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
9502         [XPG3 || XPG4] (pthread_once_t): Likewise.
9503         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
9504         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
9505         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
9506         [XPG3 || XPG4] (pthread_t): Likewise.
9508         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
9509         not expect.
9510         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
9512         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
9513         Change function return type to int.
9515         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
9516         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
9517         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
9518         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
9519         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
9520         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
9521         [!POSIX] (posix_madvise): Likewise.
9522         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
9523         && !UNIX98].
9524         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
9525         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
9526         (mode_t): Likewise.
9527         (posix_mem_offset): Likewise.
9528         (posix_typed_mem_get_info): Likewise.
9529         (posix_typed_mem_open): Likewise.
9531         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
9532         Change condition to [XOPEN2K8].
9534         * conform/conformtest.pl: Preprocess allow-header data with -x c
9535         instead of from stdin.
9536         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
9537         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
9538         [C99-based standards] (cerfc): Likewise.
9539         [C99-based standards] (cexp2): Likewise.
9540         [C99-based standards] (cexpm1): Likewise.
9541         [C99-based standards] (clog10): Likewise.
9542         [C99-based standards] (clog1p): Likewise.
9543         [C99-based standards] (clog2): Likewise.
9544         [C99-based standards] (clgamma): Likewise.
9545         [C99-based standards] (ctgamma): Likewise.
9546         [C99-based standards] (cerff): Likewise.
9547         [C99-based standards] (cerfcf): Likewise.
9548         [C99-based standards] (cexp2f): Likewise.
9549         [C99-based standards] (cexpm1f): Likewise.
9550         [C99-based standards] (clog10f): Likewise.
9551         [C99-based standards] (clog1pf): Likewise.
9552         [C99-based standards] (clog2f): Likewise.
9553         [C99-based standards] (clgammaf): Likewise.
9554         [C99-based standards] (ctgammaf): Likewise.
9555         [C99-based standards] (cerfl): Likewise.
9556         [C99-based standards] (cerfcl): Likewise.
9557         [C99-based standards] (cexp2l): Likewise.
9558         [C99-based standards] (cexpm1l): Likewise.
9559         [C99-based standards] (clog10l): Likewise.
9560         [C99-based standards] (clog1pl): Likewise.
9561         [C99-based standards] (clog2l): Likewise.
9562         [C99-based standards] (clgammal): Likewise.
9563         [C99-based standards] (ctgammal): Likewise.
9564         * conform/data/inttypes.h-data [C99-based standards]: Include
9565         stdint.h-data.  Remove all expectations for stdint.h contents.
9566         [C99-based standards] (PRI*): Do not allow.
9567         [C99-based standards] (SCN*): Likewise.
9568         [C99-based standards] (*_t): Likewise.
9569         [C99-based-standards] (PRId8): Expect macro.
9570         [C99-based-standards] (PRIi8): Likewise.
9571         [C99-based-standards] (PRIo8): Likewise.
9572         [C99-based-standards] (PRIu8): Likewise.
9573         [C99-based-standards] (PRIx8): Likewise.
9574         [C99-based-standards] (PRIX8): Likewise.
9575         [C99-based-standards] (SCNd8): Likewise.
9576         [C99-based-standards] (SCNi8): Likewise.
9577         [C99-based-standards] (SCNo8): Likewise.
9578         [C99-based-standards] (SCNu8): Likewise.
9579         [C99-based-standards] (SCNx8): Likewise.
9580         [C99-based-standards] (PRIdLEAST8): Likewise.
9581         [C99-based-standards] (PRIiLEAST8): Likewise.
9582         [C99-based-standards] (PRIoLEAST8): Likewise.
9583         [C99-based-standards] (PRIuLEAST8): Likewise.
9584         [C99-based-standards] (PRIxLEAST8): Likewise.
9585         [C99-based-standards] (PRIXLEAST8): Likewise.
9586         [C99-based-standards] (SCNdLEAST8): Likewise.
9587         [C99-based-standards] (SCNiLEAST8): Likewise.
9588         [C99-based-standards] (SCNoLEAST8): Likewise.
9589         [C99-based-standards] (SCNuLEAST8): Likewise.
9590         [C99-based-standards] (SCNxLEAST8): Likewise.
9591         [C99-based-standards] (PRIdFAST8): Likewise.
9592         [C99-based-standards] (PRIiFAST8): Likewise.
9593         [C99-based-standards] (PRIoFAST8): Likewise.
9594         [C99-based-standards] (PRIuFAST8): Likewise.
9595         [C99-based-standards] (PRIxFAST8): Likewise.
9596         [C99-based-standards] (PRIXFAST8): Likewise.
9597         [C99-based-standards] (SCNdFAST8): Likewise.
9598         [C99-based-standards] (SCNiFAST8): Likewise.
9599         [C99-based-standards] (SCNoFAST8): Likewise.
9600         [C99-based-standards] (SCNuFAST8): Likewise.
9601         [C99-based-standards] (SCNxFAST8): Likewise.
9602         [C99-based-standards] (PRId16): Likewise.
9603         [C99-based-standards] (PRIi16): Likewise.
9604         [C99-based-standards] (PRIo16): Likewise.
9605         [C99-based-standards] (PRIu16): Likewise.
9606         [C99-based-standards] (PRIx16): Likewise.
9607         [C99-based-standards] (PRIX16): Likewise.
9608         [C99-based-standards] (SCNd16): Likewise.
9609         [C99-based-standards] (SCNi16): Likewise.
9610         [C99-based-standards] (SCNo16): Likewise.
9611         [C99-based-standards] (SCNu16): Likewise.
9612         [C99-based-standards] (SCNx16): Likewise.
9613         [C99-based-standards] (PRIdLEAST16): Likewise.
9614         [C99-based-standards] (PRIiLEAST16): Likewise.
9615         [C99-based-standards] (PRIoLEAST16): Likewise.
9616         [C99-based-standards] (PRIuLEAST16): Likewise.
9617         [C99-based-standards] (PRIxLEAST16): Likewise.
9618         [C99-based-standards] (PRIXLEAST16): Likewise.
9619         [C99-based-standards] (SCNdLEAST16): Likewise.
9620         [C99-based-standards] (SCNiLEAST16): Likewise.
9621         [C99-based-standards] (SCNoLEAST16): Likewise.
9622         [C99-based-standards] (SCNuLEAST16): Likewise.
9623         [C99-based-standards] (SCNxLEAST16): Likewise.
9624         [C99-based-standards] (PRIdFAST16): Likewise.
9625         [C99-based-standards] (PRIiFAST16): Likewise.
9626         [C99-based-standards] (PRIoFAST16): Likewise.
9627         [C99-based-standards] (PRIuFAST16): Likewise.
9628         [C99-based-standards] (PRIxFAST16): Likewise.
9629         [C99-based-standards] (PRIXFAST16): Likewise.
9630         [C99-based-standards] (SCNdFAST16): Likewise.
9631         [C99-based-standards] (SCNiFAST16): Likewise.
9632         [C99-based-standards] (SCNoFAST16): Likewise.
9633         [C99-based-standards] (SCNuFAST16): Likewise.
9634         [C99-based-standards] (SCNxFAST16): Likewise.
9635         [C99-based-standards] (PRId32): Likewise.
9636         [C99-based-standards] (PRIi32): Likewise.
9637         [C99-based-standards] (PRIo32): Likewise.
9638         [C99-based-standards] (PRIu32): Likewise.
9639         [C99-based-standards] (PRIx32): Likewise.
9640         [C99-based-standards] (PRIX32): Likewise.
9641         [C99-based-standards] (SCNd32): Likewise.
9642         [C99-based-standards] (SCNi32): Likewise.
9643         [C99-based-standards] (SCNo32): Likewise.
9644         [C99-based-standards] (SCNu32): Likewise.
9645         [C99-based-standards] (SCNx32): Likewise.
9646         [C99-based-standards] (PRIdLEAST32): Likewise.
9647         [C99-based-standards] (PRIiLEAST32): Likewise.
9648         [C99-based-standards] (PRIoLEAST32): Likewise.
9649         [C99-based-standards] (PRIuLEAST32): Likewise.
9650         [C99-based-standards] (PRIxLEAST32): Likewise.
9651         [C99-based-standards] (PRIXLEAST32): Likewise.
9652         [C99-based-standards] (SCNdLEAST32): Likewise.
9653         [C99-based-standards] (SCNiLEAST32): Likewise.
9654         [C99-based-standards] (SCNoLEAST32): Likewise.
9655         [C99-based-standards] (SCNuLEAST32): Likewise.
9656         [C99-based-standards] (SCNxLEAST32): Likewise.
9657         [C99-based-standards] (PRIdFAST32): Likewise.
9658         [C99-based-standards] (PRIiFAST32): Likewise.
9659         [C99-based-standards] (PRIoFAST32): Likewise.
9660         [C99-based-standards] (PRIuFAST32): Likewise.
9661         [C99-based-standards] (PRIxFAST32): Likewise.
9662         [C99-based-standards] (PRIXFAST32): Likewise.
9663         [C99-based-standards] (SCNdFAST32): Likewise.
9664         [C99-based-standards] (SCNiFAST32): Likewise.
9665         [C99-based-standards] (SCNoFAST32): Likewise.
9666         [C99-based-standards] (SCNuFAST32): Likewise.
9667         [C99-based-standards] (SCNxFAST32): Likewise.
9668         [C99-based-standards] (PRId64): Likewise.
9669         [C99-based-standards] (PRIi64): Likewise.
9670         [C99-based-standards] (PRIo64): Likewise.
9671         [C99-based-standards] (PRIu64): Likewise.
9672         [C99-based-standards] (PRIx64): Likewise.
9673         [C99-based-standards] (PRIX64): Likewise.
9674         [C99-based-standards] (SCNd64): Likewise.
9675         [C99-based-standards] (SCNi64): Likewise.
9676         [C99-based-standards] (SCNo64): Likewise.
9677         [C99-based-standards] (SCNu64): Likewise.
9678         [C99-based-standards] (SCNx64): Likewise.
9679         [C99-based-standards] (PRIdLEAST64): Likewise.
9680         [C99-based-standards] (PRIiLEAST64): Likewise.
9681         [C99-based-standards] (PRIoLEAST64): Likewise.
9682         [C99-based-standards] (PRIuLEAST64): Likewise.
9683         [C99-based-standards] (PRIxLEAST64): Likewise.
9684         [C99-based-standards] (PRIXLEAST64): Likewise.
9685         [C99-based-standards] (SCNdLEAST64): Likewise.
9686         [C99-based-standards] (SCNiLEAST64): Likewise.
9687         [C99-based-standards] (SCNoLEAST64): Likewise.
9688         [C99-based-standards] (SCNuLEAST64): Likewise.
9689         [C99-based-standards] (SCNxLEAST64): Likewise.
9690         [C99-based-standards] (PRIdFAST64): Likewise.
9691         [C99-based-standards] (PRIiFAST64): Likewise.
9692         [C99-based-standards] (PRIoFAST64): Likewise.
9693         [C99-based-standards] (PRIuFAST64): Likewise.
9694         [C99-based-standards] (PRIxFAST64): Likewise.
9695         [C99-based-standards] (PRIXFAST64): Likewise.
9696         [C99-based-standards] (SCNdFAST64): Likewise.
9697         [C99-based-standards] (SCNiFAST64): Likewise.
9698         [C99-based-standards] (SCNoFAST64): Likewise.
9699         [C99-based-standards] (SCNuFAST64): Likewise.
9700         [C99-based-standards] (SCNxFAST64): Likewise.
9701         [C99-based-standards] (PRIdMAX): Likewise.
9702         [C99-based-standards] (PRIiMAX): Likewise.
9703         [C99-based-standards] (PRIoMAX): Likewise.
9704         [C99-based-standards] (PRIuMAX): Likewise.
9705         [C99-based-standards] (PRIxMAX): Likewise.
9706         [C99-based-standards] (PRIXMAX): Likewise.
9707         [C99-based-standards] (SCNdMAX): Likewise.
9708         [C99-based-standards] (SCNiMAX): Likewise.
9709         [C99-based-standards] (SCNoMAX): Likewise.
9710         [C99-based-standards] (SCNuMAX): Likewise.
9711         [C99-based-standards] (SCNxMAX): Likewise.
9712         [C99-based-standards] (PRIdPTR): Likewise.
9713         [C99-based-standards] (PRIiPTR): Likewise.
9714         [C99-based-standards] (PRIoPTR): Likewise.
9715         [C99-based-standards] (PRIuPTR): Likewise.
9716         [C99-based-standards] (PRIxPTR): Likewise.
9717         [C99-based-standards] (PRIXPTR): Likewise.
9718         [C99-based-standards] (SCNdPTR): Likewise.
9719         [C99-based-standards] (SCNiPTR): Likewise.
9720         [C99-based-standards] (SCNoPTR): Likewise.
9721         [C99-based-standards] (SCNuPTR): Likewise.
9722         [C99-based-standards] (SCNxPTR): Likewise.
9723         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
9724         allow.
9725         * conform/data/stdint.h-data: Update comments to clarify
9726         requirements.
9727         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
9728         type.
9729         [C99-based standards] (INT8_MAX): Likewise.
9730         [C99-based standards] (INT16_MIN): Likewise.
9731         [C99-based standards] (INT16_MAX): Likewise.
9732         [C99-based standards] (INT32_MIN): Likewise.
9733         [C99-based standards] (INT32_MAX): Likewise.
9734         [C99-based standards] (INT64_MIN): Likewise.
9735         [C99-based standards] (INT64_MAX): Likewise.
9736         [C99-based standards] (UINT8_MAX): Likewise.
9737         [C99-based standards] (UINT16_MAX): Likewise.
9738         [C99-based standards] (UINT32_MAX): Likewise.
9739         [C99-based standards] (UINT64_MAX): Likewise.
9740         [C99-based standards] (INT_LEAST8_MIN): Likewise.
9741         [C99-based standards] (INT_LEAST8_MAX): Likewise.
9742         [C99-based standards] (INT_LEAST16_MIN): Likewise.
9743         [C99-based standards] (INT_LEAST16_MAX): Likewise.
9744         [C99-based standards] (INT_LEAST32_MIN): Likewise.
9745         [C99-based standards] (INT_LEAST32_MAX): Likewise.
9746         [C99-based standards] (INT_LEAST64_MIN): Likewise.
9747         [C99-based standards] (INT_LEAST64_MAX): Likewise.
9748         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
9749         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
9750         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
9751         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
9752         [C99-based standards] (INT_FAST8_MIN): Likewise.
9753         [C99-based standards] (INT_FAST8_MAX): Likewise.
9754         [C99-based standards] (INT_FAST16_MIN): Likewise.
9755         [C99-based standards] (INT_FAST16_MAX): Likewise.
9756         [C99-based standards] (INT_FAST32_MIN): Likewise.
9757         [C99-based standards] (INT_FAST32_MAX): Likewise.
9758         [C99-based standards] (INT_FAST64_MIN): Likewise.
9759         [C99-based standards] (INT_FAST64_MAX): Likewise.
9760         [C99-based standards] (UINT_FAST8_MAX): Likewise.
9761         [C99-based standards] (UINT_FAST16_MAX): Likewise.
9762         [C99-based standards] (UINT_FAST32_MAX): Likewise.
9763         [C99-based standards] (UINT_FAST64_MAX): Likewise.
9764         [C99-based standards] (INTPTR_MIN): Likewise.
9765         [C99-based standards] (INTPTR_MAX): Likewise.
9766         [C99-based standards] (UINTPTR_MAX): Likewise.
9767         [C99-based standards] (INTMAX_MIN): Likewise.
9768         [C99-based standards] (INTMAX_MAX): Likewise.
9769         [C99-based standards] (UINTMAX_MAX): Likewise.
9770         [C99-based standards] (PTRDIFF_MIN): Likewise.
9771         [C99-based standards] (PTRDIFF_MAX): Likewise.
9772         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
9773         [C99-based standards] (SIZE_MAX): Likewise.
9774         [C99-based standards] (WCHAR_MAX): Likewise.
9775         [C99-based standards] (WINT_MAX): Likewise.
9776         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
9777         constraint on value.
9778         [C99-based standards] (WCHAR_MIN): Likewise.
9779         [C99-based standards] (WINT_MIN): Likewise.
9780         [C99-based standards] (*_t): Allow.
9781         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
9782         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
9783         Include math.h-data and complex.h-data.  Remove all expectations
9784         of math.h and complex.h contents.
9785         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
9786         at end of line.
9787         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
9788         (struct tm): Expect tag.
9789         [C99-based-standards] (wcstof): Expect function.
9790         [C99-based-standards] (wcstold): Likewise.
9791         [C99-based-standards] (wcstoll): Likewise.
9792         [C99-based-standards] (wcstoull): Likewise.
9793         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
9794         macro-int-constant.  Specify type.
9795         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
9796         constraint on value.
9797         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
9798         Specify type.
9799         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
9800         Specify value.
9801         [ISO C standards]: Do not allow headers.
9802         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
9803         wcs[abcdefghijklmnopqrstuvwxyz]*.
9804         [ISO C standards] (*_t): Do not allow.
9805         * conform/data/wctype.h-data [C99-based standards] (iswblank):
9806         Expect function.
9807         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
9808         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
9809         Specify type.
9810         [ISO C standards]: Do not allow headers.
9811         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
9812         is[abcdefghijklmnopqrstuvwxyz]*.
9813         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
9814         to[abcdefghijklmnopqrstuvwxyz]*.
9815         [ISO C standards] (*_t): Do not allow.
9816         * conform/data/stdalign.h-data: New file.
9817         * conform/data/stdbool.h-data: Likewise.
9818         * conform/data/stdnoreturn.h-data: Likewise.
9820 2012-11-07  Roland McGrath  <roland@hack.frob.com>
9822         [BZ #14815]
9823         * manual/filesys.texi (Directory Entries): Typo fix.
9824         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
9826 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
9828         * elf/elf.h (EM_AARCH64): New macro.
9829         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
9830         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
9831         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
9832         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
9833         (R_AARCH64_TLSDESC): Likewise.
9834         (NT_ARM_TLS): Likewise.
9835         (NT_ARM_HW_BREAK): Likewise.
9836         (NT_ARM_HW_WATCH): Likewise.
9838 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
9840         [BZ #14811]
9841         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
9842         (__ieee754_powl): Saturate nonzero exponents with absolute value
9843         below 0x1p-79 to +/- 0x1p-79.
9844         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
9845         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
9846         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
9847         nonzero exponents with absolute value below 0x1p-32 to +/-
9848         0x1p-32.
9849         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
9850         (__ieee754_powl): Saturate nonzero exponents with absolute value
9851         below 0x1p-79 to +/- 0x1p-79.
9852         * math/libm-test.inc (pow_test): Add more tests.
9854 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
9856         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
9857         _dl_s390_cap_flags with kernel. Increase string length.
9858         (_dl_s390_platforms): Add z196 and zEC12.
9860 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
9862         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
9863         Change XOPEN21K to XOPEN2K.
9865 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
9867         * string/memmove.c: Use memcpy when possible.
9869 2012-11-06  Andreas Jaeger  <aj@suse.de>
9871         * po/eo.po: Update from translation team.
9873 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
9875         [BZ #14793]
9876         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
9877         exponent and small x and y exponents, scale x or y up.  Increase
9878         by 2 the exponent used in scaling up.
9879         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
9880         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
9881         * math/libm-test.inc (fma_test): Add more tests.
9882         (fma_test_towardzero): Likewise.
9883         (fma_test_downward): Likewise.
9884         (fma_test_upward): Likewise.
9886 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
9888         [BZ #14805]
9889         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
9890         fenv_t *.
9892         [BZ #14801]
9893         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
9894         namespace for names of struct fields.
9895         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
9896         fenv_t fields.
9897         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
9898         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
9900 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9902         [BZ #3665]
9903         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
9905 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
9907         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
9908         PTR_DEMANGLE.
9910         [BZ #5246]
9911         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
9912         PTR_DEMANGLE.
9914 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
9916         [BZ #14797]
9917         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
9918         definitely overflow as x * y not x * y + z.
9919         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
9920         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
9921         * math/libm-test.inc (fma_test): Add more tests.
9922         (fma_test_towardzero): Likewise.
9923         (fma_test_downward): Likewise.
9924         (fma_test_upward): Likewise.
9926 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
9928         [BZ #157]
9930         * include/stub-tag.h: Remove file.
9931         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
9932         '#include' of it.
9933         * manual/maint.texi (Porting): Don't reference it.
9934         * Makerules ($(objpfx)stubs): Likewise.
9935         * dirent/closedir.c: Don't include <stub-tag.h>.
9936         * dirent/dirfd.c: Likewise.
9937         * dirent/fdopendir.c: Likewise.
9938         * dirent/getdents.c: Likewise.
9939         * dirent/getdents64.c: Likewise.
9940         * dirent/opendir.c: Likewise.
9941         * dirent/readdir.c: Likewise.
9942         * dirent/readdir64.c: Likewise.
9943         * dirent/readdir64_r.c: Likewise.
9944         * dirent/readdir_r.c: Likewise.
9945         * dirent/rewinddir.c: Likewise.
9946         * dirent/seekdir.c: Likewise.
9947         * dirent/telldir.c: Likewise.
9948         * gmon/profil.c: Likewise.
9949         * grp/setgroups.c: Likewise.
9950         * inet/if_index.c: Likewise.
9951         * io/access.c: Likewise.
9952         * io/chdir.c: Likewise.
9953         * io/chmod.c: Likewise.
9954         * io/chown.c: Likewise.
9955         * io/close.c: Likewise.
9956         * io/dup.c: Likewise.
9957         * io/dup2.c: Likewise.
9958         * io/dup3.c: Likewise.
9959         * io/euidaccess.c: Likewise.
9960         * io/faccessat.c: Likewise.
9961         * io/fchdir.c: Likewise.
9962         * io/fchmod.c: Likewise.
9963         * io/fchmodat.c: Likewise.
9964         * io/fchown.c: Likewise.
9965         * io/fchownat.c: Likewise.
9966         * io/fcntl.c: Likewise.
9967         * io/flock.c: Likewise.
9968         * io/fstatfs.c: Likewise.
9969         * io/fstatfs64.c: Likewise.
9970         * io/fstatvfs.c: Likewise.
9971         * io/fstatvfs64.c: Likewise.
9972         * io/futimens.c: Likewise.
9973         * io/fxstat.c: Likewise.
9974         * io/fxstat64.c: Likewise.
9975         * io/fxstatat.c: Likewise.
9976         * io/fxstatat64.c: Likewise.
9977         * io/getcwd.c: Likewise.
9978         * io/isatty.c: Likewise.
9979         * io/lchmod.c: Likewise.
9980         * io/lchown.c: Likewise.
9981         * io/link.c: Likewise.
9982         * io/linkat.c: Likewise.
9983         * io/lseek.c: Likewise.
9984         * io/lseek64.c: Likewise.
9985         * io/lxstat64.c: Likewise.
9986         * io/mkdir.c: Likewise.
9987         * io/mkdirat.c: Likewise.
9988         * io/mkfifo.c: Likewise.
9989         * io/mkfifoat.c: Likewise.
9990         * io/open.c: Likewise.
9991         * io/open64.c: Likewise.
9992         * io/openat.c: Likewise.
9993         * io/openat64.c: Likewise.
9994         * io/pipe.c: Likewise.
9995         * io/pipe2.c: Likewise.
9996         * io/poll.c: Likewise.
9997         * io/posix_fadvise.c: Likewise.
9998         * io/posix_fadvise64.c: Likewise.
9999         * io/posix_fallocate.c: Likewise.
10000         * io/posix_fallocate64.c: Likewise.
10001         * io/read.c: Likewise.
10002         * io/readlink.c: Likewise.
10003         * io/readlinkat.c: Likewise.
10004         * io/rmdir.c: Likewise.
10005         * io/sendfile.c: Likewise.
10006         * io/sendfile64.c: Likewise.
10007         * io/statfs.c: Likewise.
10008         * io/statfs64.c: Likewise.
10009         * io/statvfs.c: Likewise.
10010         * io/statvfs64.c: Likewise.
10011         * io/symlink.c: Likewise.
10012         * io/symlinkat.c: Likewise.
10013         * io/ttyname.c: Likewise.
10014         * io/ttyname_r.c: Likewise.
10015         * io/umask.c: Likewise.
10016         * io/unlink.c: Likewise.
10017         * io/unlinkat.c: Likewise.
10018         * io/utime.c: Likewise.
10019         * io/utimensat.c: Likewise.
10020         * io/write.c: Likewise.
10021         * io/xmknod.c: Likewise.
10022         * io/xmknodat.c: Likewise.
10023         * io/xstat.c: Likewise.
10024         * io/xstat64.c: Likewise.
10025         * login/getpt.c: Likewise.
10026         * login/grantpt.c: Likewise.
10027         * login/unlockpt.c: Likewise.
10028         * math/e_acoshl.c: Likewise.
10029         * math/e_acosl.c: Likewise.
10030         * math/e_asinl.c: Likewise.
10031         * math/e_atan2l.c: Likewise.
10032         * math/e_atanhl.c: Likewise.
10033         * math/e_coshl.c: Likewise.
10034         * math/e_expl.c: Likewise.
10035         * math/e_fmodl.c: Likewise.
10036         * math/e_gammal_r.c: Likewise.
10037         * math/e_hypotl.c: Likewise.
10038         * math/e_j0l.c: Likewise.
10039         * math/e_j1l.c: Likewise.
10040         * math/e_jnl.c: Likewise.
10041         * math/e_lgammal_r.c: Likewise.
10042         * math/e_log10l.c: Likewise.
10043         * math/e_log2l.c: Likewise.
10044         * math/e_logl.c: Likewise.
10045         * math/e_powl.c: Likewise.
10046         * math/e_rem_pio2l.c: Likewise.
10047         * math/e_sinhl.c: Likewise.
10048         * math/e_sqrtl.c: Likewise.
10049         * math/fclrexcpt.c: Likewise.
10050         * math/fedisblxcpt.c: Likewise.
10051         * math/feenablxcpt.c: Likewise.
10052         * math/fegetenv.c: Likewise.
10053         * math/fegetexcept.c: Likewise.
10054         * math/fegetround.c: Likewise.
10055         * math/feholdexcpt.c: Likewise.
10056         * math/fesetenv.c: Likewise.
10057         * math/fesetround.c: Likewise.
10058         * math/feupdateenv.c: Likewise.
10059         * math/fgetexcptflg.c: Likewise.
10060         * math/fraiseexcpt.c: Likewise.
10061         * math/fsetexcptflg.c: Likewise.
10062         * math/ftestexcept.c: Likewise.
10063         * math/k_cosl.c: Likewise.
10064         * math/k_rem_pio2l.c: Likewise.
10065         * math/k_sinl.c: Likewise.
10066         * math/k_tanl.c: Likewise.
10067         * math/s_asinhl.c: Likewise.
10068         * math/s_atanl.c: Likewise.
10069         * math/s_cbrtl.c: Likewise.
10070         * math/s_erfl.c: Likewise.
10071         * math/s_expm1l.c: Likewise.
10072         * math/s_log1pl.c: Likewise.
10073         * math/s_tanhl.c: Likewise.
10074         * misc/acct.c: Likewise.
10075         * misc/brk.c: Likewise.
10076         * misc/chflags.c: Likewise.
10077         * misc/chroot.c: Likewise.
10078         * misc/fchflags.c: Likewise.
10079         * misc/fgetxattr.c: Likewise.
10080         * misc/flistxattr.c: Likewise.
10081         * misc/fremovexattr.c: Likewise.
10082         * misc/fsetxattr.c: Likewise.
10083         * misc/fsync.c: Likewise.
10084         * misc/ftruncate.c: Likewise.
10085         * misc/futimes.c: Likewise.
10086         * misc/futimesat.c: Likewise.
10087         * misc/getdomain.c: Likewise.
10088         * misc/getdtsz.c: Likewise.
10089         * misc/gethostid.c: Likewise.
10090         * misc/gethostname.c: Likewise.
10091         * misc/getloadavg.c: Likewise.
10092         * misc/getpagesize.c: Likewise.
10093         * misc/getsysstats.c: Likewise.
10094         * misc/getxattr.c: Likewise.
10095         * misc/gtty.c: Likewise.
10096         * misc/ioctl.c: Likewise.
10097         * misc/lgetxattr.c: Likewise.
10098         * misc/listxattr.c: Likewise.
10099         * misc/llistxattr.c: Likewise.
10100         * misc/lremovexattr.c: Likewise.
10101         * misc/lsetxattr.c: Likewise.
10102         * misc/lutimes.c: Likewise.
10103         * misc/madvise.c: Likewise.
10104         * misc/mincore.c: Likewise.
10105         * misc/mlock.c: Likewise.
10106         * misc/mlockall.c: Likewise.
10107         * misc/mmap.c: Likewise.
10108         * misc/mprotect.c: Likewise.
10109         * misc/msync.c: Likewise.
10110         * misc/munlock.c: Likewise.
10111         * misc/munlockall.c: Likewise.
10112         * misc/munmap.c: Likewise.
10113         * misc/preadv.c: Likewise.
10114         * misc/preadv64.c: Likewise.
10115         * misc/ptrace.c: Likewise.
10116         * misc/pwritev.c: Likewise.
10117         * misc/pwritev64.c: Likewise.
10118         * misc/readv.c: Likewise.
10119         * misc/reboot.c: Likewise.
10120         * misc/remap_file_pages.c: Likewise.
10121         * misc/removexattr.c: Likewise.
10122         * misc/revoke.c: Likewise.
10123         * misc/select.c: Likewise.
10124         * misc/setdomain.c: Likewise.
10125         * misc/setegid.c: Likewise.
10126         * misc/seteuid.c: Likewise.
10127         * misc/sethostid.c: Likewise.
10128         * misc/sethostname.c: Likewise.
10129         * misc/setregid.c: Likewise.
10130         * misc/setreuid.c: Likewise.
10131         * misc/setxattr.c: Likewise.
10132         * misc/sstk.c: Likewise.
10133         * misc/stty.c: Likewise.
10134         * misc/swapoff.c: Likewise.
10135         * misc/swapon.c: Likewise.
10136         * misc/sync.c: Likewise.
10137         * misc/syncfs.c: Likewise.
10138         * misc/syscall.c: Likewise.
10139         * misc/truncate.c: Likewise.
10140         * misc/ualarm.c: Likewise.
10141         * misc/usleep.c: Likewise.
10142         * misc/ustat.c: Likewise.
10143         * misc/utimes.c: Likewise.
10144         * misc/vhangup.c: Likewise.
10145         * misc/writev.c: Likewise.
10146         * posix/_exit.c: Likewise.
10147         * posix/alarm.c: Likewise.
10148         * posix/execve.c: Likewise.
10149         * posix/fexecve.c: Likewise.
10150         * posix/fork.c: Likewise.
10151         * posix/fpathconf.c: Likewise.
10152         * posix/getaddrinfo.c: Likewise.
10153         * posix/getegid.c: Likewise.
10154         * posix/geteuid.c: Likewise.
10155         * posix/getgid.c: Likewise.
10156         * posix/getgroups.c: Likewise.
10157         * posix/getlogin.c: Likewise.
10158         * posix/getlogin_r.c: Likewise.
10159         * posix/getpgid.c: Likewise.
10160         * posix/getpid.c: Likewise.
10161         * posix/getppid.c: Likewise.
10162         * posix/getresgid.c: Likewise.
10163         * posix/getresuid.c: Likewise.
10164         * posix/getsid.c: Likewise.
10165         * posix/getuid.c: Likewise.
10166         * posix/glob64.c: Likewise.
10167         * posix/nanosleep.c: Likewise.
10168         * posix/pathconf.c: Likewise.
10169         * posix/pause.c: Likewise.
10170         * posix/posix_madvise.c: Likewise.
10171         * posix/pread.c: Likewise.
10172         * posix/pread64.c: Likewise.
10173         * posix/pwrite.c: Likewise.
10174         * posix/pwrite64.c: Likewise.
10175         * posix/sched_getaffinity.c: Likewise.
10176         * posix/sched_getp.c: Likewise.
10177         * posix/sched_gets.c: Likewise.
10178         * posix/sched_primax.c: Likewise.
10179         * posix/sched_primin.c: Likewise.
10180         * posix/sched_rr_gi.c: Likewise.
10181         * posix/sched_setaffinity.c: Likewise.
10182         * posix/sched_setp.c: Likewise.
10183         * posix/sched_sets.c: Likewise.
10184         * posix/sched_yield.c: Likewise.
10185         * posix/setgid.c: Likewise.
10186         * posix/setlogin.c: Likewise.
10187         * posix/setpgid.c: Likewise.
10188         * posix/setresgid.c: Likewise.
10189         * posix/setresuid.c: Likewise.
10190         * posix/setsid.c: Likewise.
10191         * posix/setuid.c: Likewise.
10192         * posix/sleep.c: Likewise.
10193         * posix/spawni.c: Likewise.
10194         * posix/sysconf.c: Likewise.
10195         * posix/times.c: Likewise.
10196         * posix/wait.c: Likewise.
10197         * posix/wait3.c: Likewise.
10198         * posix/wait4.c: Likewise.
10199         * posix/waitpid.c: Likewise.
10200         * resolv/gai_sigqueue.c: Likewise.
10201         * resource/getpriority.c: Likewise.
10202         * resource/getrlimit.c: Likewise.
10203         * resource/getrusage.c: Likewise.
10204         * resource/nice.c: Likewise.
10205         * resource/setpriority.c: Likewise.
10206         * resource/setrlimit.c: Likewise.
10207         * resource/ulimit.c: Likewise.
10208         * rt/aio_cancel.c: Likewise.
10209         * rt/aio_fsync.c: Likewise.
10210         * rt/aio_read.c: Likewise.
10211         * rt/aio_sigqueue.c: Likewise.
10212         * rt/aio_suspend.c: Likewise.
10213         * rt/aio_write.c: Likewise.
10214         * rt/clock_getres.c: Likewise.
10215         * rt/clock_gettime.c: Likewise.
10216         * rt/clock_nanosleep.c: Likewise.
10217         * rt/clock_settime.c: Likewise.
10218         * rt/lio_listio.c: Likewise.
10219         * rt/mq_close.c: Likewise.
10220         * rt/mq_getattr.c: Likewise.
10221         * rt/mq_notify.c: Likewise.
10222         * rt/mq_open.c: Likewise.
10223         * rt/mq_receive.c: Likewise.
10224         * rt/mq_send.c: Likewise.
10225         * rt/mq_setattr.c: Likewise.
10226         * rt/mq_timedreceive.c: Likewise.
10227         * rt/mq_timedsend.c: Likewise.
10228         * rt/mq_unlink.c: Likewise.
10229         * rt/shm_open.c: Likewise.
10230         * rt/shm_unlink.c: Likewise.
10231         * rt/timer_create.c: Likewise.
10232         * rt/timer_delete.c: Likewise.
10233         * rt/timer_getoverr.c: Likewise.
10234         * rt/timer_gettime.c: Likewise.
10235         * rt/timer_settime.c: Likewise.
10236         * setjmp/__longjmp.c: Likewise.
10237         * setjmp/setjmp.c: Likewise.
10238         * signal/kill.c: Likewise.
10239         * signal/killpg.c: Likewise.
10240         * signal/raise.c: Likewise.
10241         * signal/sigaction.c: Likewise.
10242         * signal/sigaltstack.c: Likewise.
10243         * signal/sigblock.c: Likewise.
10244         * signal/sigignore.c: Likewise.
10245         * signal/sigintr.c: Likewise.
10246         * signal/signal.c: Likewise.
10247         * signal/sigpause.c: Likewise.
10248         * signal/sigpending.c: Likewise.
10249         * signal/sigqueue.c: Likewise.
10250         * signal/sigreturn.c: Likewise.
10251         * signal/sigset.c: Likewise.
10252         * signal/sigsetmask.c: Likewise.
10253         * signal/sigstack.c: Likewise.
10254         * signal/sigsuspend.c: Likewise.
10255         * signal/sigtimedwait.c: Likewise.
10256         * signal/sigvec.c: Likewise.
10257         * signal/sigwait.c: Likewise.
10258         * signal/sigwaitinfo.c: Likewise.
10259         * signal/sysv_signal.c: Likewise.
10260         * socket/accept.c: Likewise.
10261         * socket/accept4.c: Likewise.
10262         * socket/bind.c: Likewise.
10263         * socket/connect.c: Likewise.
10264         * socket/getpeername.c: Likewise.
10265         * socket/getsockname.c: Likewise.
10266         * socket/getsockopt.c: Likewise.
10267         * socket/isfdtype.c: Likewise.
10268         * socket/listen.c: Likewise.
10269         * socket/recv.c: Likewise.
10270         * socket/recvfrom.c: Likewise.
10271         * socket/recvmsg.c: Likewise.
10272         * socket/send.c: Likewise.
10273         * socket/sendmsg.c: Likewise.
10274         * socket/sendto.c: Likewise.
10275         * socket/setsockopt.c: Likewise.
10276         * socket/shutdown.c: Likewise.
10277         * socket/sockatmark.c: Likewise.
10278         * socket/socket.c: Likewise.
10279         * socket/socketpair.c: Likewise.
10280         * stdio-common/ctermid.c: Likewise.
10281         * stdio-common/cuserid.c: Likewise.
10282         * stdio-common/remove.c: Likewise.
10283         * stdio-common/rename.c: Likewise.
10284         * stdio-common/renameat.c: Likewise.
10285         * stdio-common/tempname.c: Likewise.
10286         * stdlib/getcontext.c: Likewise.
10287         * stdlib/makecontext.c: Likewise.
10288         * stdlib/setcontext.c: Likewise.
10289         * stdlib/swapcontext.c: Likewise.
10290         * stdlib/system.c: Likewise.
10291         * streams/fattach.c: Likewise.
10292         * streams/fdetach.c: Likewise.
10293         * streams/getmsg.c: Likewise.
10294         * streams/getpmsg.c: Likewise.
10295         * streams/putmsg.c: Likewise.
10296         * streams/putpmsg.c: Likewise.
10297         * sysdeps/unix/bsd/getpt.c: Likewise.
10298         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
10299         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
10300         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
10301         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
10302         Likewise.
10303         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
10304         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
10305         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
10306         * sysvipc/msgctl.c: Likewise.
10307         * sysvipc/msgget.c: Likewise.
10308         * sysvipc/msgrcv.c: Likewise.
10309         * sysvipc/msgsnd.c: Likewise.
10310         * sysvipc/semctl.c: Likewise.
10311         * sysvipc/semget.c: Likewise.
10312         * sysvipc/semop.c: Likewise.
10313         * sysvipc/semtimedop.c: Likewise.
10314         * sysvipc/shmat.c: Likewise.
10315         * sysvipc/shmctl.c: Likewise.
10316         * sysvipc/shmdt.c: Likewise.
10317         * sysvipc/shmget.c: Likewise.
10318         * termios/tcdrain.c: Likewise.
10319         * termios/tcflow.c: Likewise.
10320         * termios/tcflush.c: Likewise.
10321         * termios/tcgetattr.c: Likewise.
10322         * termios/tcgetpgrp.c: Likewise.
10323         * termios/tcsendbrk.c: Likewise.
10324         * termios/tcsetattr.c: Likewise.
10325         * termios/tcsetpgrp.c: Likewise.
10326         * time/adjtime.c: Likewise.
10327         * time/clock.c: Likewise.
10328         * time/getitimer.c: Likewise.
10329         * time/gettimeofday.c: Likewise.
10330         * time/setitimer.c: Likewise.
10331         * time/settimeofday.c: Likewise.
10332         * time/stime.c: Likewise.
10333         * time/time.c: Likewise.
10335 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
10337         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
10338         /usr/old/bin.
10340         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
10341         instead of spaces.
10342         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
10344 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
10346         [BZ #14796]
10347         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
10348         FE_TONEAREST before applying Dekker multiplication and Knuth
10349         addition.  Clear inexact exceptions and check for exact zero
10350         results afterwards.
10351         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
10352         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
10353         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
10354         * math/libm-test.inc (fma_test): Add more tests.
10355         (fma_test_towardzero): Likewise.
10356         (fma_test_downward): Likewise.
10357         (fma_test_upward): Likewise.
10358         * sysdeps/generic/math_private.h (default_libc_fesetround): New
10359         function.
10360         (libc_fesetround): New macro.
10361         (libc_fesetroundf): Likewise.
10362         (libc_fesetroundl): Likewise.
10363         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
10364         function.
10365         (libc_fesetround_387): Likewise.
10366         (libc_fesetroundf): New macro.
10367         (libc_fesetround): Likewise.
10368         (libc_fesetroundl): Likewise.
10369         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
10370         function.
10371         (libc_fesetroundf): New macro.
10372         (libc_fesetround): Likewise.
10373         (libc_fesetroundl): Likewise.
10374         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
10375         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
10376         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
10377         libm_hidden_ver.
10378         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
10379         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
10380         libm_hidden_def.
10381         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
10382         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
10383         libm_hidden_ver.
10384         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
10385         libm_hidden_def.
10387         [BZ #3439]
10388         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
10389         integer constant usable in #if and use that to give value to enum
10390         constant.
10391         (FE_DIVBYZERO): Likewise.
10392         (FE_UNDERFLOW): Likewise.
10393         (FE_OVERFLOW): Likewise.
10394         (FE_INVALID): Likewise.
10395         (FE_INVALID_SNAN): Likewise.
10396         (FE_INVALID_ISI): Likewise.
10397         (FE_INVALID_IDI): Likewise.
10398         (FE_INVALID_ZDZ): Likewise.
10399         (FE_INVALID_IMZ): Likewise.
10400         (FE_INVALID_COMPARE): Likewise.
10401         (FE_INVALID_SOFTWARE): Likewise.
10402         (FE_INVALID_SQRT): Likewise.
10403         (FE_INVALID_INTEGER_CONVERSION): Likewise.
10404         (FE_TONEAREST): Likewise.
10405         (FE_TOWARDZERO): Likewise.
10406         (FE_UPWARD): Likewise.
10407         (FE_DOWNWARD): Likewise.
10408         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
10409         (FE_DIVBYZERO): Likewise.
10410         (FE_OVERFLOW): Likewise.
10411         (FE_UNDERFLOW): Likewise.
10412         (FE_INEXACT): Likewise.
10413         (FE_TONEAREST): Likewise.
10414         (FE_DOWNWARD): Likewise.
10415         (FE_UPWARD): Likewise.
10416         (FE_TOWARDZERO): Likewise.
10417         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
10418         (FE_UNDERFLOW): Likewise.
10419         (FE_OVERFLOW): Likewise.
10420         (FE_DIVBYZERO): Likewise.
10421         (FE_INVALID): Likewise.
10422         (FE_TONEAREST): Likewise.
10423         (FE_TOWARDZERO): Likewise.
10424         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
10425         (FE_OVERFLOW): Likewise.
10426         (FE_UNDERFLOW): Likewise.
10427         (FE_DIVBYZERO): Likewise.
10428         (FE_INEXACT): Likewise.
10429         (FE_TONEAREST): Likewise.
10430         (FE_TOWARDZERO): Likewise.
10431         (FE_UPWARD): Likewise.
10432         (FE_DOWNWARD): Likewise.
10433         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
10434         (FE_DIVBYZERO): Likewise.
10435         (FE_OVERFLOW): Likewise.
10436         (FE_UNDERFLOW): Likewise.
10437         (FE_INEXACT): Likewise.
10438         (FE_TONEAREST): Likewise.
10439         (FE_DOWNWARD): Likewise.
10440         (FE_UPWARD): Likewise.
10441         (FE_TOWARDZERO): Likewise.
10443 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
10445         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
10447 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
10449         * scripts/cross-test-ssh.sh (command): Use newlines to separate
10450         commands.  Quote $PWD.
10451         (blacklist_exports): Don't use remove_newlines.  Replace "declare
10452         -x" by "export".
10453         (remove_newlines): Remove.
10455 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
10457         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
10458         * stdlib/stdlib.h (atof): Moved to ...
10459         * include/bits/stdlib-float.h: Here.  New file.
10460         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
10461         * stdlib/bits/stdlib-float.h: New file.
10462         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
10463         -mno-sse -mno-mmx.
10464         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
10465         <xmmintrin.h>.
10467 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
10469         * conform/conformtest.pl (@headers): Add fenv.h.
10470         * conform/data/fenv.h-data: New file.
10471         * include/fenv.h [_ISOMAC]: Disable all contents of file except
10472         include of <math/fenv.h>.
10474         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
10475         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
10476         && !UNIX98].  Enables tests for XOPEN2K8.
10477         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
10478         POSIX2008]: Likewise.
10480         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
10481         (struct rusage): Do not expect type or its members.
10483         [BZ #3439]
10484         * math/math.h (FP_NAN): Define macro to integer constant usable in
10485         #if and use that to give value to enum constant.
10486         (FP_INFINITE): Likewise.
10487         (FP_ZERO): Likewise.
10488         (FP_SUBNORMAL): Likewise.
10489         (FP_NORMAL): Likewise.
10491 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
10493         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
10494         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
10495         arguments.
10497 2012-11-02  Roland McGrath  <roland@hack.frob.com>
10499         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
10500         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
10501         autoconf-time if not.
10502         * configure.in: Remove AC_PREREQ.
10504 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
10506         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
10507         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
10508         of the internal implementation.
10510 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
10512         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
10513         except include of <misc/sys/syslog.h>.
10515 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
10517         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
10518         function returns with a NULL context exit with zero.
10520 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
10522         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
10524 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
10526         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
10527         (run_program_cmd): This.
10528         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
10529         (tst_langinfo): New variable.  Use it.
10531 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
10533         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
10534         floating point opcodes.
10536 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
10538         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
10539         variable.
10541         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
10543         * sysdeps/mach/hurd/powerpc: Remove directory.
10544         * sysdeps/mach/powerpc: Likewise.
10546 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
10548         * scripts/check-local-headers.sh: Ignore c++ headers.
10550 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
10552         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
10553         __libc_cleanup_region_start argument.
10555 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
10557         [BZ #14784]
10558         [BZ #14785]
10559         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
10560         x * y using scaling, not as x * y + z.
10561         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
10562         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
10563         * math/libm-test.inc (fma_test): Add more tests.
10564         (fma_test_towardzero): Likewise.
10565         (fma_test_downward): Likewise.
10566         (fma_test_upward): Likewise.
10568 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
10570         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
10572 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
10574         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
10575         New variable.
10577 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
10579         * rt/tst-shm.c (worker): Correct checking for mmap failure.
10581 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
10583         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
10584         Fix sort order.
10585         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
10586         Likewise.
10588 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
10590         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
10591         Fix the order of the list for glibc 2.17.
10592         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
10593         Likewise.
10595 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
10597         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10599 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
10601         [BZ #14610]
10602         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
10603         for low part of x being zero before using __atanl (y).
10604         * math/libm-test.inc (atan2_test): Add another test.
10606         * manual/install.texi (Configuring and compiling): Document
10607         general use of test-wrapper and test-wrapper-env.
10608         * INSTALL: Regenerated.
10610         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
10611         (__fma): Do not extract and scale down low bits on after-rounding
10612         systems when result rounded to normal precision would have normal
10613         exponent.
10614         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
10615         (__fmal): Do not extract and scale down low bits on after-rounding
10616         systems when result rounded to normal precision would have normal
10617         exponent.
10618         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
10619         (__fmal): Do not extract and scale down low bits on after-rounding
10620         systems when result rounded to normal precision would have normal
10621         exponent.
10622         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
10623         macro.
10624         (fma_test): Add more tests.
10625         (fma_test_towardzero): Likewise.
10626         (fma_test_downward): Likewise.
10627         (fma_test_upward): Likewise.
10629 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
10631         * sysdeps/i386/tininess.h: Renamed to ...
10632         * sysdeps/x86/tininess.h: This.
10633         * sysdeps/x86_64/tininess.h: Removed.
10635 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
10637         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
10638         input.  Use $(build-program-cmd).
10639         ($(objpfx)tst-array1-static.out): Likewise.
10640         ($(objpfx)tst-array2.out): Likewise.
10641         ($(objpfx)tst-array3.out): Likewise.
10642         ($(objpfx)tst-array4.out): Likewise.
10643         ($(objpfx)tst-array5.out): Likewise.
10644         ($(objpfx)tst-array5-static.out): Likewise.
10646 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
10648         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
10649         if defined.
10651         * nss/nsswitch.h (nss_interface_function): Provide new
10652         macro for use with NSS functions.
10653         * grp/initgroups.c: Use new macro.
10654         * nss/getXXbyYY.c: Likewise.
10655         * nss/getXXbyYY_r.c: Likewise.
10656         * nss/getXXent.c: Likewise.
10657         * nss/getXXent_r.c: Likewise.
10658         * sysdeps/posix/getaddrinfo.c: Likewise.
10660 2012-10-30  Andreas Jaeger  <aj@suse.de>
10662         * po/ru.po: Update Russion translation from translation project.
10664 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
10666         [BZ #14152]
10667         [BZ #14783]
10668         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
10669         result and shift together with sticky bit instead of replicating
10670         round-to-nearest rounding.
10671         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
10672         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
10673         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
10674         missing underflow exceptions.
10675         (fma_test_towardzero): Add more tests.
10676         (fma_test_downward): Likewise.
10677         (fma_test_upward): Likewise.
10679         [BZ #14047]
10680         * sysdeps/generic/tininess.h: New file.
10681         * sysdeps/i386/tininess.h: Likewise.
10682         * sysdeps/sh/tininess.h: Likewise.
10683         * sysdeps/x86_64/tininess.h: Likewise.
10684         * stdlib/tst-strtod-underflow.c: Likewise.
10685         * stdlib/tst-tininess.c: Likewise.
10686         * stdlib/strtod_l.c: Include <tininess.h>.
10687         (round_and_return): Do not set errno for exact underflow cases.
10688         Force an underflow exception when setting errno for underflow.
10689         Determine underflow based on rounding to normal precision if
10690         TININESS_AFTER_ROUNDING.
10691         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
10692         ERANGE for exact underflow cases.
10693         * stdlib/Makefile (tests): Add tst-tininess and
10694         tst-strtod-underflow.
10695         ($(objpfx)tst-tininess): Use $(link-libm).
10696         ($(objpfx)tst-strtod-underflow): Likewise.
10698 2012-10-30  Andreas Jaeger  <aj@suse.de>
10700         [BZ#14767]
10701         * elf/Makefile (tests): Remove conditional for have-initfini-array
10702         since this is now always required and the variable does not exist
10703         anymore.
10704         (tests-static): Likewise.
10705         (modules-names): Likewise.
10707         * po/eo.po: Add Esperanto translation from translation project.
10709         * elf/tst-array1.c (fini_array): Make writeable so that it can be
10710         merged with constructor/destructor.
10711         (init_array): Likewise.
10712         * elf/tst-array2dep.c (fini_array): Likewise.
10713         (init_array): Likewise.
10715 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
10717         * manual/message.texi: Delete @cartouche tags.
10719 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
10721         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
10722         EOPNOTSUPP.
10723         * sysdeps/mach/hurd/fsync.c: Likewise.
10725         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
10726         [_POSIX_REALTIME_SIGNALS]: Change condition to
10727         [_POSIX_REALTIME_SIGNALS > 0].
10729 2012-10-27  Andreas Jaeger  <aj@suse.de>
10731         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
10732         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
10733         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
10734         [__WORDSIZE != 64]: Likewise.
10736 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
10738         *  iconvdata/tst-table.sh: Remove ${SHELL}.
10739         *  iconvdata/tst-tables.sh: Likewise.
10741 2012-10-25  David S. Miller  <davem@davemloft.net>
10743         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
10744         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
10745         of strtoull.
10747         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
10748         ifunc-impl-list.c
10749         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
10750         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
10751         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
10752         file.
10754 2012-10-25  Roland McGrath  <roland@hack.frob.com>
10756         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
10757         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
10758         __getdirentries.
10760 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
10761             Jim Blandy  <jimb@codesourcery.com>
10763         * scripts/cross-test-ssh.sh: New file.
10764         * manual/install.texi (Configuring and compiling): Document use of
10765         cross-test-ssh.sh.
10766         * INSTALL: Regenerated.
10768 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
10770         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
10771         EOPNOTSUPP.
10773 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
10775         * Makeconfig (run-program-prefix): Fix comment.
10777 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
10778             Jim Blandy  <jimb@codesourcery.com>
10780         * Makeconfig (test-wrapper): New variable,
10781         (test-wrapper-env): Likewise.
10782         [$(cross-compiling) = yes && $(test-wrapper) != ""]
10783         (run-built-tests): Define to yes.
10784         (run-program-prefix): Use $(test-wrapper).
10785         (built-program-cmd): Likewise.
10786         * Rules (make-test-out): Use $(test-wrapper-env) and
10787         $(host-built-program-cmd).
10788         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
10789         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
10790         tst-pathopt.sh.
10791         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
10792         $(test-wrapper-env) to tst-rtld-load-self.sh.
10793         ($(objpfx)order2.out): Use $(test-wrapper).
10794         ($(objpfx)tst-initorder.out): Likewise.
10795         ($(objpfx)tst-initorder2.out): Likewise.
10796         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
10797         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
10798         (test_wrapper_env): New variable.  Use it to run ld.so.
10799         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
10800         Use it to run ld.so.
10801         (test_wrapper_env): Likewise.
10802         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
10803         $(test-wrapper) to run-iconv-test.sh.
10804         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
10805         (ICONV): Use $test_wrapper.
10806         * posix/Makefile ($(objpfx)globtest.out): Pass
10807         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
10808         globtest.sh, not $(run-program-prefix).
10809         * posix/globtest.sh (run_via_rtld_prefix): New variable.
10810         (test_wrapper): Likewise.
10811         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
10812         set together with run_via_rtld_prefix.
10813         (run_program_prefix): Define in terms of test_wrapper and
10814         run_via_rtld_prefix.
10816 2012-10-24  Roland McGrath  <roland@hack.frob.com>
10818         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
10819         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
10820         Targets removed.
10822         [BZ #14743]
10823         * include/time.h: Remove librt_hidden_proto (clock_gettime).
10824         Declare __clock_getres, __clock_gettime, __clock_settime,
10825         __clock_nanosleep, and __clock_getcpuclockid.
10826         * rt/clock_gettime.c: Define __clock_gettime as an alias.
10827         Remove librt_hidden_def (clock_gettime).
10828         * sysdeps/unix/clock_gettime.c: Likewise.
10829         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
10830         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
10831         * rt/clock_getres.c: Define __clock_getres as an alias.
10832         * sysdeps/posix/clock_getres.c: Likewise.
10833         * rt/clock_settime.c: Define __clock_settime as an alias.
10834         * sysdeps/unix/clock_settime.c: Likewise.
10835         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
10836         * sysdeps/unix/clock_nanosleep.c: Likewise.
10837         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
10838         * rt/clock-compat.c: New file.
10839         * rt/Makefile (librt-routines): Add clock-compat and move
10840         $(clock-routines) to ...
10841         (routines): ... here, new variable.
10842         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
10843         Don't add get_clockfreq here.
10844         * rt/Versions (libc: GLIBC_2.17): New version set.
10845         Add clock_* symbols here.
10846         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
10847         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
10848         (GLIBC_2.17): Add clock_* symbols.
10849         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
10850         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
10851         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
10852         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
10853         Likewise.
10854         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
10855         Likewise.
10856         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
10857         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
10858         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
10859         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
10860         * NEWS: Mention the move.
10862         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
10863         Use __open, __read, __close rather than their public counterparts.
10864         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
10865         (__get_clockfreq_via_cpuinfo): Likewise.
10866         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
10867         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
10869         * config.h.in (HAVE_IFUNC): New #undef.
10870         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
10871         was successful.
10872         * configure: Regenerated.
10874 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
10876         * configure.in: Move READELF check to start of file.
10877         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
10878         libc_cv_asm_gnu_indirect_function in the process.
10879         * configure: Regenerated.
10881 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
10883         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
10884         send the output to /dev/null.
10885         (libc_cv_cc_with_libunwind): Likewise.
10886         (libc_cv_as_noexecstack): Likewise.
10887         * configure: Regenerate.
10889 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
10891         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
10893         * posix/globtest.sh (TMPDIR): Do not set.
10894         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
10895         (testout): Likewise.
10897 2012-10-24  Andreas Jaeger  <aj@suse.de>
10899         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
10900         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
10901         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
10902         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
10903         posix_fadvise64, posix_fallocate64.
10905         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
10906         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
10907         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
10908         Likewise.
10909         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
10910         Likewise.
10911         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
10913         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
10914         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
10915         <bits/fcntl-linux.h>.
10916         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
10918         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
10919         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
10920         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
10921         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
10922         [__WORDSIZE != 64]: Likewise.
10924 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
10926         * Makeconfig (run-built-tests): New variable.
10927         * Rules [$(cross-compiling) = yes]: Change condition to
10928         [$(run-built-tests) = no].
10929         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
10930         to [$(run-built-tests) = yes].
10931         * elf/Makefile [$(cross-compiling) = no]: Likewise
10932         * grp/Makefile [$(cross-compiling) = no]: Likewise.
10933         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
10934         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
10935         * intl/Makefile [$(cross-compiling) = no]: Likewise.
10936         * io/Makefile [$(cross-compiling) = no]: Likewise.
10937         * libio/Makefile [$(cross-compiling) = no]: Likewise.
10938         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
10939         * misc/Makefile [$(cross-compiling) = no]: Likewise.
10940         * posix/Makefile [$(cross-compiling) = no]: Likewise.
10941         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
10942         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
10943         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
10944         * string/Makefile [$(cross-compiling) = no]: Likewise.
10946         * posix/Makefile ($(objpfx)globtest.out): Pass
10947         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
10948         $(rtld-installed-name).
10949         * posix/globtest.sh (elf_objpfx): Remove variable.
10950         (rtld_installed_name): Likewise.
10951         (library_path): Likewise.
10952         (run_program_prefix): New variable.  Use for running globtest
10953         binary.
10955 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
10956             Joseph Myers  <joseph@codesourcery.com>
10958         * Makeconfig (host-built-program-cmd): New variable.
10959         * elf/Makefile (tst-stackguard1-ARGS): Use
10960         $(host-built-program-cmd).
10961         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
10962         (tst-spawn-ARGS): Likewise.
10963         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
10965 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
10966             Jim Blandy  <jimb@codesourcery.com>
10968         * Makeconfig (run-via-rtld-prefix): New variable.
10969         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
10970         (built-program-cmd): Likewise.
10972 2012-10-22  Andreas Jaeger  <aj@suse.de>
10974         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
10975         __O_RSYNC if it exists, otherwise to O_SYNC.
10977 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
10978             Joseph Myers  <joseph@codesourcery.com>
10980         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
10981         /dev/null.
10982         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
10983         from /dev/null
10984         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
10985         /dev/null.
10987 2012-10-22  Andreas Jaeger  <aj@suse.de>
10989         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
10990         Define always.
10991         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
10993         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10994         bits/fcntl-linux.h.
10996         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
10997         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
10999         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
11000         to __O_LARGEFILE.
11001         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
11002         to __O_LARGEFILE.
11004 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
11005             Joseph Myers  <joseph@codesourcery.com>
11007         * config.make.in (NM): New variable.
11009 2012-10-21  Andreas Jaeger  <aj@suse.de>
11011         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
11012         definitions and declarations that are provided by
11013         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
11015 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
11017         [BZ #14683]
11018         * elf/Makefile (tests-static): Add tst-leaks1-static.
11019         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
11020         ($(objpfx)tst-leaks1-static): New rule.
11021         ($(objpfx)tst-leaks1-static-mem): Likewise.
11022         (tst-leaks1-static-ENV): New macro.
11023         * elf/dl-open.c (dl_open_worker): Check the main application
11024         only if SHARED is defined.
11025         * elf/tst-leaks1-static.c: New file.
11027 2012-10-20  Andreas Jaeger  <aj@suse.de>
11029         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
11030         generic values for Linux.
11031         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
11032         and declarations that are provided by <bits/fcntl-linux.h> and
11033         include <bits/fcntl-linux.h>.
11034         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
11035         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
11037 2012-10-20  Roland McGrath  <roland@hack.frob.com>
11039         * io/fcntl.h: Move include of <bits/types.h> to the top and
11040         include it unconditionally.
11042 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
11044         * wcsmbs/Makefile (tests-ifunc): New variable.
11045         (tests): Add $(tests-ifunc).
11046         * wcsmbs/test-wcschr-ifunc.c: New file.
11047         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
11048         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
11049         * wcsmbs/test-wcslen-ifunc.c: Likewise.
11050         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
11051         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
11053         * string/Makefile (tests-ifunc): New variable.
11054         (tests): Add $(tests-ifunc).
11055         * string/test-memccpy.c (TEST_NAME): New macro.
11056         * string/test-memchr.c (TEST_NAME): Likewise.
11057         * string/test-memcmp.c (TEST_NAME): Likewise.
11058         * string/test-memcpy.c (TEST_NAME): Likewise.
11059         * string/test-memmem.c (TEST_NAME): Likewise.
11060         * string/test-memmove.c (TEST_NAME): Likewise.
11061         * string/test-memset.c (TEST_NAME): Likewise.
11062         * string/test-rawmemchr.c (TEST_NAME): Likewise.
11063         * string/test-stpcpy.c (TEST_NAME): Likewise.
11064         * string/test-stpncpy.c (TEST_NAME): Likewise.
11065         * string/test-strcasecmp.c (TEST_NAME): Likewise.
11066         * string/test-strcasestr.c (TEST_NAME): Likewise.
11067         * string/test-strcat.c (TEST_NAME): Likewise.
11068         * string/test-strchr.c (TEST_NAME): Likewise.
11069         * string/test-strcmp.c(TEST_NAME): Likewise.
11070         * string/test-strcpy.c (TEST_NAME): Likewise.
11071         * string/test-strcspn.c (TEST_NAME): Likewise.
11072         * string/test-strlen.c (TEST_NAME): Likewise.
11073         * string/test-strncasecmp.c (TEST_NAME): Likewise.
11074         * string/test-strncmp.c (TEST_NAME): Likewise.
11075         * string/test-strncpy.c (TEST_NAME): Likewise.
11076         * string/test-strnlen.c (TEST_NAME): Likewise.
11077         * string/test-strpbrk.c (TEST_NAME): Likewise.
11078         * string/test-strrchr.c (TEST_NAME): Likewise.
11079         * string/test-strspn.c (TEST_NAME): Likewise.
11080         * string/test-strstr.c (TEST_NAME): Likewise.
11081         * string/test-bcopy-ifunc.c: New file.
11082         * string/test-bzero-ifunc.c: Likewise.
11083         * string/test-memccpy-ifunc.c: Likewise.
11084         * string/test-memchr-ifunc.c: Likewise.
11085         * string/test-memcmp-ifunc.c: Likewise.
11086         * string/test-memcpy-ifunc.c: Likewise.
11087         * string/test-memmem-ifunc.c: Likewise.
11088         * string/test-memmove-ifunc.c: Likewise.
11089         * string/test-mempcpy-ifunc.c: Likewise.
11090         * string/test-memset-ifunc.c: Likewise.
11091         * string/test-rawmemchr-ifunc.c: Likewise.
11092         * string/test-stpcpy-ifunc.c: Likewise.
11093         * string/test-stpncpy-ifunc.c: Likewise.
11094         * string/test-strcasecmp-ifunc.c: Likewise.
11095         * string/test-strcasestr-ifunc.c: Likewise.
11096         * string/test-strcat-ifunc.c: Likewise.
11097         * string/test-strchr-ifunc.c: Likewise.
11098         * string/test-strchrnul-ifunc.c: Likewise.
11099         * string/test-strcmp-ifunc.c: Likewise.
11100         * string/test-strcpy-ifunc.c: Likewise.
11101         * string/test-strcspn-ifunc.c: Likewise.
11102         * string/test-strlen-ifunc.c: Likewise.
11103         * string/test-strncasecmp-ifunc.c: Likewise.
11104         * string/test-strncat-ifunc.c: Likewise.
11105         * string/test-strncmp-ifunc.c: Likewise.
11106         * string/test-strncpy-ifunc.c: Likewise.
11107         * string/test-strnlen-ifunc.c: Likewise.
11108         * string/test-strpbrk-ifunc.c: Likewise.
11109         * string/test-strrchr-ifunc.c: Likewise.
11110         * string/test-strspn-ifunc.c: Likewise.
11111         * string/test-strstr-ifunc.c: Likewise.
11113         * debug/Makefile (tests-ifunc): New variable.
11114         (tests): Add $(tests-ifunc).
11115         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
11116         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
11117         * debug/test-stpcpy_chk-ifunc.c: New file.
11118         * debug/test-strcpy_chk-ifunc.c: Likewise.
11120 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
11122         [BZ #13601]
11123         * elf/dl-load.c (open_verify): Retry read if the entire ELF
11124         header is not read in.
11126 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
11128         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
11129         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
11130         directly.  Pass built executable to script as
11131         $(built-program-cmd).
11132         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
11133         $testprogram without using LD_LIBRARY_PATH and $ldso.
11135         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
11136         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
11137         $(rtld-installed-name).
11138         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
11139         (rtld_installed_name): Likewise.
11140         (library_path): Likewise.
11141         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
11142         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
11143         $(run-program-prefix) to tst-tables.sh.
11144         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
11145         it to run tst-table-from and tst-table-to.
11146         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
11147         Pass it to tst-table.sh.
11148         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
11149         $(run-program-prefix) to tst-gettext.sh.
11150         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
11151         tst-translit.sh.
11152         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
11153         tst-gettext2.sh.
11154         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
11155         to run tst-gettext.
11156         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
11157         to run tst-gettext2.
11158         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
11159         to run tst-translit.
11160         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
11161         $(run-program-prefix) to tst-mtrace.sh.
11162         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
11163         to run tst-mtrace.
11164         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
11165         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
11166         $(rtld-installed-name).
11167         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
11168         (rtld_installed_name): Likewise.
11169         (run_program_prefix): New variable.  Use it to run wordexp-test.
11171         * Makeconfig (ARCH): Remove all definitions.
11172         (machine): Likewise.
11173         [ARCH]: Remove conditional code.
11174         [!objdir]: Give error.
11175         [!objdir] (objpfx): Remove.
11176         [!objdir] (common-objpfx): Likewise.
11177         [!objdir] (common-objdir): Likewise.
11178         * configure.in (config_makefile): Remove.  Hardcode Makefile in
11179         AC_CONFIG_FILES call.
11180         * configure: Regenerated.
11182         [BZ #13888]
11183         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
11184         or TMPDIR.
11185         (testout): Likewise.
11187         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
11188         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
11189         $(rtld-installed-name).
11190         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
11191         (rtld_installed_name): Likwise.
11192         (runit): Remove function.
11193         (run_getconf): New variable,  Use it for running getconf binary.
11195 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
11197         [BZ #14716]
11198         * string/test-memmem.c (check_result): New function.
11199         (do_one_test): Use it.
11200         (check1): New function.
11201         (test_main): Use it.
11203 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
11205         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
11207 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
11209         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
11210         (_G_LSEEK64): Likewise.
11211         (_G_MMAP64): Likewise.
11212         (_G_FSTAT64): Likewise.
11213         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
11214         (_G_LSEEK64): Likewise.
11215         (_G_MMAP64): Likewise.
11216         (_G_FSTAT64): Likewise.
11217         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
11218         unconditional.  Call __mmap64 directly.
11219         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
11220         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
11221         __lseek64 directly.
11222         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
11223         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
11224         __mmap64 directly.
11225         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
11226         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
11227         __lseek64 directly.
11228         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
11229         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
11230         __lseek64 directly.
11231         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
11232         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
11233         __lseek64 directly.
11234         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
11235         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
11236         __fxstat64 directly.
11237         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
11238         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
11239         unconditional.
11240         (freopen64) [!_G_OPEN64]: Remove conditional code.
11241         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
11242         unconditional.
11243         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
11244         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
11245         unconditional.
11246         (ftello64) [!_G_LSEEK64]: Remove conditional code.
11247         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
11248         unconditional.
11249         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
11250         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
11251         unconditional.
11252         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
11253         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
11254         unconditional.
11255         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
11256         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
11257         unconditional.
11258         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
11259         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
11260         unconditional.
11261         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
11263 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
11265         [BZ #12140]
11266         * manual/memory.texi (Malloc Tunable Parameters): Add note
11267         about free list pointers overwriting some perturb bytes.
11268         Wording suggested by Roland McGrath.
11270 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
11272         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
11273         (lgamma_test): Likewise.
11274         (tgamma_test): Likewise.
11276 2012-10-16  Florian Weimer  <fweimer@redhat.com>
11278         [BZ #14700]
11279         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
11280         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
11282 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
11284         * NEWS: Mention BZ #14716.
11285         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
11286         when removing AVAILABLE1_USES_J macro.
11288 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
11290         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
11291         (__bswap_64): __uint64_t for unsigned 64-bit int.
11293 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
11295         * include/string.h (memmem): Declare libc hidden alias.
11296         * string/memmem.c (memmem): Define libc hidden alias.
11297         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
11298         __read, __close instead of open, read, close.
11300 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
11302         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
11303         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
11304         global and hidden.
11305         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
11306         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
11307         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
11308         Likewise.
11309         (__rawmemchr_sse2): Likewise.
11310         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
11311         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
11312         (__strchr_sse2): Likewise.
11313         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
11314         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
11315         (__strcasecmp_sse2): Likewise.
11316         (__strncasecmp_sse2): Likewise.
11317         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
11318         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
11319         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
11320         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
11321         (__strrchr_sse2): Likewise.
11322         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
11323         ifunc-impl-list.c.
11324         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
11325         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
11326         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
11327         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
11328         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
11329         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
11330         * sysdeps/x86_64/multiarch/memset.S: Likewise.
11331         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
11332         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
11333         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
11334         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
11335         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
11336         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
11337         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
11338         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
11339         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
11340         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
11341         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
11342         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
11343         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
11344         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
11345         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
11346         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
11347         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
11348         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
11349         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
11350         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
11351         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
11352         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
11353         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
11355         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
11356         global and hidden.
11357         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
11358         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
11359         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
11360         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
11361         Likewise.
11362         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
11363         Likewise.
11364         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
11365         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
11366         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
11367         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
11368         ifunc-impl-list.c.
11369         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
11370         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
11371         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
11372         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
11373         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
11374         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
11375         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
11376         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
11377         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
11378         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
11379         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
11380         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
11381         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
11382         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
11383         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
11384         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
11385         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
11386         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
11387         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
11388         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
11389         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
11390         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
11391         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
11392         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
11393         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
11394         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
11395         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
11396         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
11397         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
11398         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
11399         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
11400         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
11401         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
11402         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
11403         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
11404         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
11405         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
11406         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
11407         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
11408         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
11409         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
11411         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
11412         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
11413         * include/ifunc-impl-list.h: New file.
11414         * misc/ifunc-impl-list.c: Likewise.
11415         * misc/Makefile (routines): Add ifunc-impl-list.
11416         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
11417         * string/test-string.h: Include <ifunc-impl-list.h>.
11418         [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
11419         impl_array): New variables.
11420         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
11421         are defined.
11422         (test_init): Call __libc_ifunc_impl_list to initialize
11423         func_list if TEST_IFUNC and TEST_NAME are defined.
11425         * string/Makefile (strop-tests): Add bcopy and bzero.
11426         * string/test-bcopy.c: New file.
11427         * string/test-bzero.c: Likewise.
11428         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
11429         defined.
11430         * string/test-memset.c: Support bzero test if TEST_BZERO is
11431         defined.
11432         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
11433         __libc_memmove.
11434         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
11435         __libc_memset.
11436         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
11437         of memset.
11439 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
11441         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
11442         * configure: Regenerated.
11444         * Makeconfig (+link-static-before-libc): Don't include
11445         $(link-static-libc).
11447         * libio/libio.h (_IO_pos_t): Remove.
11449 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
11451         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
11452         McGrath.
11454 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
11456         * crypt/crypt-entry.c: Include fips-private.h.
11457         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
11458         * crypt/md5c-test.c (main): Tolerate disabled MD5.
11459         * sysdeps/unix/sysv/linux/fips-private.h: New file.
11460         * sysdeps/generic/fips-private.h: New file, dummy fallback.
11462 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
11464         * crypt/crypt-private.h: Include stdbool.h.
11465         (_ufc_setup_salt_r): Return bool.
11466         * crypt/crypt-entry.c: Include errno.h.
11467         (__crypt_r): Return NULL with EINVAL for bad salt.
11468         * crypt/crypt_util.c (bad_for_salt): New.
11469         (_ufc_setup_salt_r): Check that salt is long enough and within
11470         the specified alphabet.
11471         * crypt/badsalttest.c: New file.
11472         * crypt/Makefile (tests): Add it.
11473         ($(objpfx)badsalttest): New.
11475 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
11477         * NEWS: Add entry for BZ #14602.
11479 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
11481         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
11482         type-generic.
11483         * math/libm-test.inc: Update comment listing what functions and
11484         macros are tested.
11485         (isgreater_test): New function.
11486         (isgreaterequal_test): Likewise.
11487         (isless_test): Likewise.
11488         (islessequal_test): Likewise.
11489         (islessgreater_test): Likewise.
11490         (isunordered_test): Likewise.
11491         (main): Call the new functions.
11493 2012-10-09  Roland McGrath  <roland@hack.frob.com>
11495         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
11496         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
11497         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
11498         * sysdeps/i386/configure: Regenerated.
11499         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
11500         * sysdeps/mach/configure: Regenerated.
11501         * sysdeps/mach/hurd/configure: Regenerated.
11502         * sysdeps/powerpc/configure: Regenerated.
11503         * sysdeps/powerpc/powerpc32/configure: Regenerated.
11504         * sysdeps/powerpc/powerpc64/configure: Regenerated.
11505         * sysdeps/s390/s390-32/configure: Regenerated.
11506         * sysdeps/s390/s390-64/configure: Regenerated.
11507         * sysdeps/sh/configure: Regenerated.
11508         * sysdeps/sparc/configure: Regenerated.
11509         * sysdeps/unix/sysv/linux/configure: Regenerated.
11510         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
11511         * sysdeps/x86_64/configure: Regenerated.
11513         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
11514         defined.  Don't check if MAP is NULL.
11516 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
11518         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
11519         (_G_stat64): Likewise.
11520         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
11521         (_G_stat64): Likewise.
11522         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
11523         instead of struct _G_stat64.
11524         * libio/fileops.c (mmap_remap_check): Likewise.
11525         (decide_maybe_mmap): Likewise.
11526         (_IO_new_file_seekoff): Likewise.
11527         (_IO_file_stat): Likewise.
11528         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
11529         _G_off64_t.
11530         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
11531         instead of struct _G_stat64.
11532         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
11534 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
11536         [BZ #14602]
11537         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
11538         Replace with ...
11539         (CHECK_EOL): New macro.
11540         (two_way_short_needle): Check beginning of haystack for EOL.  Use
11541         CHECK_EOL.
11542         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
11543         Replace with CHECK_EOL.
11544         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
11545         Replace with CHECK_EOL.
11547 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
11549         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
11550         type-generic.
11551         * math/libm-test.inc: Update comment listing what functions and
11552         macros are tested.
11553         (finite_test): New function.
11554         (isinf_test): Likewise.
11555         (isnan_test): Likewise.
11556         (fpclassify_test): Test subnormal input.
11557         (isfinite_test): Likewise.
11558         (isnormal_test): Likewise.
11559         (main): Call the new functions.
11561 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
11563         [BZ #14660]
11564         * Makerules (%.dynsym): Force C locale when running
11565         $(OBJDUMP) --dynamic-syms.
11567 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
11569         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
11570         <stdint.h>.
11572 2012-10-06  David S. Miller  <davem@davemloft.net>
11574         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
11575         upper 32-bits of the length value in %o2 since we use branch-on-register
11576         tests which consider the entire 64-bit register.
11578 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
11580         * string/test-strstr.c (check2): Add a test for page boundary.
11582 2012-10-05  David S. Miller  <davem@davemloft.net>
11584         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
11585         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
11586         file.
11587         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
11588         sysdep_routines.
11589         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
11590         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
11591         and bzero when HWCAP_SPARC_CRYPTO is present.
11593 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
11595         [BZ #14602]
11596         * string/test-strstr.c (check2): New function.
11597         (test_main): Call check2.
11599         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
11600         and bug-strchr1.
11601         * string/bug-strcasestr1.c (do_test): Moved to ...
11602         * string/test-strcasestr.c (check1): Here.  New function.
11603         (do_one_test): Break out result checking code into ...
11604         (check_result): This.  New function.
11605         (do_one_test): Call check_result.
11606         (test_main): Call check1.
11607         * string/bug-strchr1.c (do_test): Moved to ...
11608         * string/test-strchr.c (check1): Here.  New function.
11609         (do_one_test): Break out result checking code into ...
11610         (check_result): This.  New function.
11611         (do_one_test): Call check_result.
11612         (test_main): Call check1.
11613         * string/bug-strstr1.c (main): Moved to ...
11614         * string/test-strstr.c (check1): Here.  New function.
11615         (do_one_test): Break out result checking code into ...
11616         (check_result): This.  New function.
11617         (do_one_test): Call check_result.
11618         (test_main): Call check1.
11619         * string/bug-strcasestr1.c: Removed.
11620         * string/bug-strchr1.c: Likewise.
11621         * string/bug-strstr1.c: Likewise.
11623         * elf/Makefile (dl-routines): Add hwcaps.
11624         * elf/dl-support.c (_dl_important_hwcaps): Removed.
11625         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
11626         (_dl_important_hwcaps): Moved to ...
11627         * elf/dl-hwcaps.c: Here.  New file.
11628         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
11630         [BZ #14557]
11631         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
11632         if IS_IN_rtld isn't defined.
11634         * elf/dl-support.c (_dl_sysinfo_map): New.
11635         Include "get-dynamic-info.h" and "setup-vdso.h".
11636         (_dl_non_dynamic_init): Call setup_vdso.
11637         * elf/dynamic-link.h: Don't include <assert.h>.
11638         (elf_get_dynamic_info): Moved to ...
11639         * elf/get-dynamic-info.h: Here.  New file.
11640         * elf/dynamic-link.h: Include "get-dynamic-info.h".
11641         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
11642         * elf/setup-vdso.h: Here.  New file.
11643         * elf/rtld.c: Include "setup-vdso.h".
11644         (dl_main): Call setup_vdso.
11646 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
11648         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
11649         creal in comment listing functions tested.  List finite, isinf,
11650         isnan, isless, islessequal, isgreater, isgreaterequal,
11651         islessgreater, isunordered, lgamma_r and pow10 as functions and
11652         macros not tested.  Mention which functions not tested are aliases
11653         for other functions.  Fix typo.  Note that signs of NaNs are not
11654         tested.
11656         * scripts/config.guess: Update from config.git.
11657         * scripts/config.sub: Likewise.
11659 2012-10-04  Roland McGrath  <roland@hack.frob.com>
11661         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
11662         * misc/madvise.c (madvise): Renamed to __madvise.
11663         Make madvise a weak alias.
11664         * include/sys/mman.h: Declare __madvise.
11665         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
11666         * sysdeps/unix/syscalls.list
11667         (madvise): Make __madvise the strong name, and madvise a weak alias.
11668         * sysdeps/unix/sysv/linux/syscalls.list
11669         (madvise, mmap): Remove redundant entries.
11670         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
11671         * malloc/malloc.c (mtrim): Likewise.
11672         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
11674 2012-10-03  Roland McGrath  <roland@hack.frob.com>
11676         * sysdeps/mach/hurd/dl-cache.c: File removed.
11677         * config.h.in (USE_LDCONFIG): New #undef.
11678         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
11679         * configure: Regenerated.
11680         * elf/Makefile (dl-routines): Add dl-cache only under
11681         [$(use-ldconfig) = yes].
11682         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
11683         cache on [USE_LDCONFIG].
11684         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
11685         [USE_LDCONFIG].
11686         * elf/rtld.c (dl_main): Likewise.
11688 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
11690         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
11691         _SC_LEVEL4_CACHE_LINESIZE.
11693 2012-10-03  Roland McGrath  <roland@hack.frob.com>
11695         * sysdeps/unix/bsd/confstr.h: File removed.
11697 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
11699         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
11700         sys/sdt-config.h.
11702 2012-10-02  Roland McGrath  <roland@hack.frob.com>
11704         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
11705         Make 'mapoff' field ElfW(Off) rather than off_t.
11707 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
11709         * nscd/Makefile: Remove nscd-cflags and all its users.
11710         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
11711         (CFLAGS-nonlib): Add compiler flags for nscd modules.
11713         [BZ #10631]
11714         * malloc.c (malloc_printerr): Clarify error message.
11716 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
11718         [BZ #14648]
11719         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11720         Set bit_FMA_Usable if FMA is supported.
11721         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
11722         macro.
11723         (bit_FMA4_Usable): Updated.
11724         (index_FMA_Usable): New macro.
11725         (CPUID_FMA): Likewise
11726         (HAS_FMA): Defined with bit_FMA_Usable.
11728 2012-10-01  Roland McGrath  <roland@hack.frob.com>
11730         * bits/types.h (__swblk_t): Type removed.
11731         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
11732         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
11733         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
11734         (__SWBLK_T_TYPE): Likewise.
11735         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
11736         (__SWBLK_T_TYPE): Likewise.
11737         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
11738         (__SWBLK_T_TYPE): Likewise.
11739         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
11740         (__SWBLK_T_TYPE): Likewise.
11742 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
11743             Honza Horak <hhorak@redhat.com>
11745         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
11746         (xdr_mapname): Use YPMAXMAP as maxsize.
11747         (xdr_peername): Use YPMAXPEER as maxsize.
11748         (xdr_keydat): Use YPAXRECORD as maxsize.
11749         (xdr_valdat): Use YPMAXRECORD as maxsize.
11751 2012-10-01  Roland McGrath  <roland@hack.frob.com>
11753         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
11755         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
11756         * csu/init-first.c: ... here.
11757         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
11758         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
11759         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
11760         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
11761         * sysdeps/i386/init-first.c: File removed.
11762         * sysdeps/sh/init-first.c: File removed.
11764 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
11766         [BZ #14645]
11767         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
11768         if x * y might underflow to zero and z is zero.
11769         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
11770         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11771         * math/libm-test.inc (min_subnorm_value): New variable.
11772         (fma_test): Add more tests.
11773         (fma_test_towardzero): Likewise.
11774         (fma_test_downward): Likewise
11775         (fma_test_upward): Likewise.
11776         (initialize): Set min_subnorm_value.
11778 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
11780         [BZ #14638]
11781         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
11782         0 + 0.
11783         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
11784         mode for addition resulting in exact zero.
11785         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
11786         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
11787         exact 0 + 0.
11788         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
11789         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11790         * math/libm-test.inc (fma_test): Add more tests.
11791         (fma_test_towardzero): New function.
11792         (fma_test_downward): Likewise.
11793         (fma_test_upward): Likewise.
11794         (main): Call the new functions.
11796 2012-09-28  David S. Miller  <davem@davemloft.net>
11798         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
11800 2012-09-28  Roland McGrath  <roland@hack.frob.com>
11802         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
11803         instead of SIGALRM.
11805         * sysdeps/gnu/_G_config.h: Moved to ...
11806         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
11807         * sysdeps/mach/hurd/_G_config.h: Moved to ...
11808         * sysdeps/generic/_G_config.h: ... here.
11810         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
11812         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
11814         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
11815         Conditionalize target on [libnss_test1.so-version].
11817         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
11819         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
11820         (elfobjdir): Move out of conditionals.
11822         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
11823         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
11824         (__nss_lookup_function): Conditionalize label remove_from_tree on
11825         [!DO_STATIC_NSS || SHARED], matching its only use.
11827 2012-09-28  David S. Miller  <davem@davemloft.net>
11829         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
11830         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
11831         file.
11832         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
11833         sysdep_routines.
11834         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
11835         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
11836         when HWCAP_SPARC_CRYPTO is present.
11838 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
11840         * io/tst-mknodat.c: Create a FIFO instead of a socket.
11842 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
11844         [BZ #6530]
11845         * stdio-common/vfprintf.c (process_string_arg): Revert
11846         2000-07-22 change.
11848 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
11850         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
11851         for testcase.
11852         * stdio-common/tst-sprintf.c: Include <locale.h>
11853         (main): Test sprintf's handling of incomplete multibyte
11854         characters.
11856 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
11858         * elf/dl-runtime.c (VERSYMIDX): Removed.
11859         * elf/dl-version.c (VERSYMIDX): Likewise.
11860         * elf/do-rel.h (VERSYMIDX): Likewise.
11861         (VALIDX): Likewise.
11862         * elf/dynamic-link.h (VERSYMIDX): Likewise.
11863         * elf/rtld.c (VALIDX): Likewise.
11864         (ADDRIDX): Likewise.
11865         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
11866         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
11867         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
11868         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
11869         (VALIDX): Likewise.
11870         (ADDRIDX): Likewise.
11872 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
11874         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
11876 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
11878         [BZ #11438]
11879         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
11880         to global scope.
11881         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
11882         addresses are in the same scope as 192.0.2/24.
11883         * posix/gai.conf: Document new scope table defaults.
11885 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
11887         [BZ #5298]
11888         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
11889         for ftell.  Compute offsets from write pointers instead.
11890         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
11892 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
11894         [BZ #14543]
11895         * libio/Makefile (tests): New test case tst-fseek.
11896         * libio/tst-fseek.c: New test case to verify that fseek/ftell
11897         combination works in wide mode.
11898         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
11899         state when the external buffer state changes.
11901 2012-09-27  David S. Miller  <davem@davemloft.net>
11903         [BZ #14376]
11904         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
11905         pass reloc->r_addend in as the 'high' argument to
11906         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
11908         * sysdeps/sparc/fpu/libm-test-ulps: Update.
11910 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
11912         * rt/tst-aio2.c: Include <pthread.h>.
11913         * rt/tst-aio3.c: Likewise.
11915 2012-09-27  Steve Ellcey  <sellcey@mips.com>
11917         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
11919 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
11921         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
11922         contents on [SHARED].
11924 2012-09-26  Marek Polacek  <polacek@redhat.com>
11926         [BZ #14530]
11927         [BZ #13741]
11928         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
11929         for C++ and GCC <4.3 as well as for non GCC compilers.
11931 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
11933         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11935 2012-09-25  Roland McGrath  <roland@hack.frob.com>
11937         * Makefile.in (all, install): Declare with .PHONY.
11938         Reported by Michael Hope <michael.hope@linaro.org>.
11940 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
11942         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
11943         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
11944         system header.
11945         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
11946         Likewise.
11947         (sydep_routines): Add the new and the internal functions.
11948         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
11949         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
11950         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
11951         (GLIBC_2.17): Add the new function.
11952         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
11953         (GLIBC_2.17): Likewise.
11954         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
11955         (GLIBC_2.17): Likewise.
11956         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
11957         (GLIBC_2.17): Likewise.
11958         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
11960 2012-09-25  Alan Modra  <amodra@gmail.com>
11962         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
11963         Add release barrier before setting once_control to say
11964         initialisation is done.  Add hints on lwarx.  Use macro in
11965         place of isync.
11966         (clear_once_control): Add release barrier.
11968 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
11970         [BZ #13629]
11971         * math/s_clog.c (__clog): Handle more values close to |z| = 1
11972         specially.
11973         * math/s_clog10.c (__clog10): Likewise.
11974         * math/s_clog10f.c (__clog10f): Likewise.
11975         * math/s_clog10l.c (__clog10l): Likewise.
11976         * math/s_clogf.c (__clogf): Likewise.
11977         * math/s_clogl.c (__clogl): Likewise.
11978         * math/Makefile (libm-calls): Add x2y2m1.
11979         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
11980         (__x2y2m1): Likewise.
11981         (__x2y2m1l): Likewise.
11982         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
11983         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
11984         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
11985         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
11986         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
11987         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
11988         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
11989         * sysdeps/i386/fpu/libm-test-ulps: Update.
11990         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11992         [BZ #14621]
11993         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
11994         int as type of variable DEPTH.
11995         (glob): Use size_t instead of int as type of variables NEWCOUNT
11996         and OLD_PATHC.
11998 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
12000         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
12001         Add s_sincosf-sse2.
12002         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
12003         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
12004         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
12005         macros for using routine as __sincosf_ia32.
12006         Use macro for function declaration and weak_alias.
12007         * sysdeps/i386/fpu/libm-test-ulps: Update.
12009         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
12010         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12012         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
12013         subnormal argument.
12014         * math/s_cexpf.c (__cexpf): Likewise.
12015         * math/s_csinf.c (__csinf): Likewise.
12016         * math/s_csinhf.c (__csinhf): Likewise.
12017         * math/s_ctanf.c (__ctanf): Likewise.
12018         * math/s_ctanhf.c (__ctanhf): Likewise.
12019         * math/s_ccosh.c (__ccoshf): Likewise.
12020         * math/s_cexp.c (__cexpl): Likewise.
12021         * math/s_csin.c (__csin): Likewise.
12022         * math/s_csinh.c (__csinh): Likewise.
12023         * math/s_ctan.c (__ctan): Likewise.
12024         * math/s_ctanh.c (ctanh): Likewise.
12025         * math/s_ccoshl.c (__ccoshl): Likewise.
12026         * math/s_cexpl.c (__cexpl): Likewise.
12027         * math/s_csinl.c (__csinl): Likewise.
12028         * math/s_csinhl.c (__csinhl): Likewise.
12029         * math/s_ctanl.c (__ctanl): Likewise.
12030         * math/s_ctanhl.c (__ctanhl): Likewise.
12032 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
12034         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
12035         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
12036         (_IO_off_t): Define to __off_t, not _G_off_t.
12037         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
12038         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
12039         (_IO_wint_t): Define to wint_t, not _G_wint_t.
12040         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
12041         type of __dummy and __dummy2 fields.
12042         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
12043         (_G_ssize_t): Likewise.
12044         (_G_off_t): Likewise.
12045         (_G_pid_t): Likewise.
12046         (_G_uid_t): Likewise.
12047         (_G_wchar_t): Likewise.
12048         (_G_wint_t): Likewise.
12049         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
12050         (_G_ssize_t): Likewise.
12051         (_G_off_t): Likewise.
12052         (_G_pid_t): Likewise.
12053         (_G_uid_t): Likewise.
12054         (_G_wchar_t): Likewise.
12055         (_G_wint_t): Likewise.
12056         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
12057         (_G_ssize_t): Likewise.
12058         (_G_off_t): Likewise.
12059         (_G_pid_t): Likewise.
12060         (_G_uid_t): Likewise.
12061         (_G_wchar_t): Likewise.
12062         (_G_wint_t): Likewise.
12064 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
12066         * malloc/arena.c: Include malloc-sysdep.h.
12067         (shrink_heap): Use check_may_shrink_heap to decide if madvise
12068         is sufficient to shrink the heap or an unmap is needed.
12069         * sysdeps/generic/malloc-sysdep.h: New file.  Define
12070         new function check_may_shrink_heap.
12071         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
12072         new function check_may_shrink_heap.
12074 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
12076         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
12077         comments.
12079 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
12081         * catgets/test-gencat.sh: Add "set -e".
12082         * elf/tst-pathopt.sh: Likewise.
12083         * grp/tst_fgetgrent.sh: Likewise.
12084         * iconvdata/run-iconv-test.sh: Likewise.
12085         * intl/tst-gettext.sh: Likewise.
12086         * intl/tst-gettext2.sh: Likewise.
12087         * intl/tst-gettext4.sh: Likewise.
12088         * intl/tst-gettext6.sh: Likewise.
12089         * intl/tst-translit.sh: Likewise.
12090         * io/ftwtest-sh: Likewise.
12091         * libio/test-freopen.sh: Likewise.
12092         * malloc/tst-mtrace.sh: Likewise.
12093         * posix/globtest.sh: Likewise.
12094         * posix/tst-getconf.sh: Likewise.
12095         * posix/wordexp-tst.sh: Likewise.
12096         * stdio-common/tst-printf.sh: Likewise.
12097         * stdio-common/tst-unbputc.sh: Likewise.
12098         * stdlib/tst-fmtmsg.sh: Likewise.
12099         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
12100         * catgets/Makefile: Do not specify -e option when running
12101         testsuite shell scripts.
12102         * elf/Makefile: Likewise.
12103         * grp/Makefile: Likewise.
12104         * iconvdata/Makefile: Likewise.
12105         * intl/Makefile: Likewise.
12106         * io/Makefile: Likewise.
12107         * libio/Makefile: Likewise.
12108         * malloc/Makefile: Likewise.
12109         * posix/Makefile: Likewise.
12110         * stdio-common/Makefile: Likewise.
12111         * stdlib/Makefile: Likewise.
12112         * sysdeps/x86_64/Makefile: Likewise.
12114         * io/ftwtest-sh: Add copyright header.
12115         * posix/globtest.sh: Likewise.
12116         * posix/tst-getconf.sh: Likewise.
12117         * posix/wordexp-tst.sh: Likewise.
12118         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
12120 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
12122         [BZ #13679]
12123         * Makeconfig (+link): Defined as $(+link-static) if
12124         $(build-shared) isn't yes.
12125         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
12126         isn't yes.
12127         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
12129         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
12131         [BZ #14562]
12132         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
12133         new chunk size with MALLOC_ALIGN_MASK.
12135 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
12137         [BZ #5044]
12138         * stdio-common/printf_fphex.c: Include <stdbool.h> and
12139         <rounding-mode.h>.
12140         (__printf_fphex): Determine rounding using get_rounding_mode and
12141         round_away.
12142         * stdio-common/tst-printf-round.c (struct hex_test): New
12143         structure.
12144         (hex_tests): New variable.
12145         (test_hex_in_one_mode): New function.
12146         (do_test): Also run tests for hex float output.
12148 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
12150         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
12151         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
12152         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
12153         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
12154         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
12155         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
12156         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
12157         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
12159 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
12161         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
12162         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
12163         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
12164         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
12166 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
12168         [BZ #14579]
12169         * elf/rtld.c (dl_main): Limit the check for self loading to normal
12170         mode only.
12171         * elf/tst-rtld-load-self.sh: New test.
12172         * elf/Makefile: Run it.
12174 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
12176         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
12177         (tst-writev-ENV): Remove.
12178         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
12180 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
12182         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
12184 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
12186         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
12187         unconditional.
12188         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
12189         Likewise.
12190         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
12191         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
12192         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
12193         Likewise.
12195 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
12197         [BZ #14587]
12198         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
12199         * config.make.in (have-cpp-asm-debuginfo): Removed.
12200         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
12201         * configure: Regenerated.
12203 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
12205         [BZ #5044]
12206         * stdio-common/printf_fp.c: Include <stdbool.h> and
12207         <rounding-mode.h>.
12208         (___printf_fp): Determine rounding using get_rounding_mode and
12209         round_away.
12210         * stdio-common/tst-printf-round.c: New file.
12211         * stdio-common/Makefile (tests): Add tst-printf-round.
12212         (link-libm): New variable.
12213         ($(objpfx)tst-printf-round): Depend in $(link-libm).
12215 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
12217         [BZ #14576]
12218         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
12219         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
12220         Likewise.
12221         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
12222         Likewise.
12224 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
12226         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
12227         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
12228         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
12229         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
12231 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
12233         [BZ #14518]
12234         * include/rounding-mode.h: New file.
12235         * sysdeps/generic/get-rounding-mode.h: Likewise.
12236         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
12237         * stdlib/strtod_l.c: Include <rounding-mode.h>.
12238         (MAX_VALUE): New macro.
12239         (MIN_VALUE): Likewise.
12240         (overflow_value): New function.
12241         (underflow_value): Likewise.
12242         (round_and_return): Use overflow_value and underflow_value to
12243         determine return values in overflow and underflow cases.  Use
12244         round_away to determine rounding depending on rounding mode.
12245         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
12246         determine return values in overflow and underflow cases.
12247         * stdlib/tst-strtod-round.c: Include <fenv.h>.
12248         (struct test_results): New structure.
12249         (struct test): Use struct test_results to store expected results
12250         for all rounding modes.
12251         (TEST): Include expected results for all rounding modes.
12252         (test_in_one_mode): New function.
12253         (do_test): Use test_in_one_mode to compute and check results.
12254         Check results for all rounding modes.
12255         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
12256         $(link-libm).
12258 2012-12-09  Allan McRae  <allan@archlinux.org>
12260         * sysdeps/i386/fpu/libm-test-ulps: Update
12262 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
12264         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
12265         (_G_int32_t): Likewise.
12266         (_G_uint16_t): Likewise.
12267         (_G_uint32_t): Likewise.
12268         (_G_HAVE_BOOL): Likewise.
12269         (_G_HAVE_ATEXIT): Likewise.
12270         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
12271         (_G_HAVE_IO_FILE_OPEN): Likewise.
12272         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
12273         (_G_int32_t): Likewise.
12274         (_G_uint16_t): Likewise.
12275         (_G_uint32_t): Likewise.
12276         (_G_HAVE_BOOL): Likewise.
12277         (_G_HAVE_ATEXIT): Likewise.
12278         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
12279         (_G_HAVE_IO_FILE_OPEN): Likewise.
12280         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
12281         (_G_int32_t): Likewise.
12282         (_G_uint16_t): Likewise.
12283         (_G_uint32_t): Likewise.
12284         (_G_HAVE_BOOL): Likewise.
12285         (_G_HAVE_ATEXIT): Likewise.
12286         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
12287         (_G_HAVE_IO_FILE_OPEN): Likewise.
12289 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
12291         * csu/libc-tls.c: Update copyright years.
12293 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
12295         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
12296         [!_G_USING_THUNKS]: Remove conditional code.
12297         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
12298         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
12300         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
12301         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
12302         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
12303         (_G_VTABLE_LABEL_PREFIX): Likewise.
12304         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
12305         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
12306         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
12307         (_G_VTABLE_LABEL_PREFIX): Likewise.
12308         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
12309         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
12310         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
12311         (_G_VTABLE_LABEL_PREFIX): Likewise.
12312         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
12314 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
12316         * libio/Makefile: Include ../Makeconfig before tests.
12317         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
12318         only if $(build-shared) is yes.
12320         * iconv/gconv_db.c: Update copyright years.
12322 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
12324         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
12325         unwind info if defined PIC. Fix special cases description.
12326         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
12328         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
12329         DP_HI_MASK entry.
12330         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
12332 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
12334         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
12336         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
12337         is NULL.
12339         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
12340         (LDLIBS-tst-chk4): This.
12341         (LDFLAGS-tst-chk5): Renamed to ...
12342         (LDLIBS-tst-chk5): This.
12343         (LDFLAGS-tst-chk6): Renamed to ...
12344         (LDLIBS-tst-chk6): This.
12345         (LDFLAGS-tst-lfschk4): Renamed to ...
12346         (LDLIBS-tst-lfschk4): This.
12347         (LDFLAGS-tst-lfschk5): Renamed to ...
12348         (LDLIBS-tst-lfschk5): This.
12349         (LDFLAGS-tst-lfschk6): Renamed to ...
12350         (LDLIBS-tst-lfschk6): This.
12352         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
12353         on $(common-objpfx)soversions.mk.
12355 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
12357         [BZ #10014]
12358         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
12359         example host name.
12361 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
12363         * malloc/arena.c (arena_get_retry): New function that gets
12364         another arena for the caller to try its request on.
12365         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
12366         current arena cannot fulfill the request.
12367         (__libc_memalign): Likewise.
12368         (__libc_memalign): Likewise.
12369         (__libc_pvalloc): Likewise.
12370         (__libc_calloc): Likewise.
12372 2012-09-05  John Tobey  <john.tobey@gmail.com>
12374         [BZ #13542]
12375         * manual/arith.texi (Operations on Complex): Fix description
12376         of carg branch cut.
12378 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
12380         [BZ #10014]
12381         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
12382         host name.
12384         [BZ #10038]
12385         * manual/memory.texi (Memory): Make order of menu items match
12386         order of sections.
12388 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
12390         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
12391         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
12392         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
12394 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
12396         * csu/libc-tls.c (static_dtv): Renamed to ...
12397         (_dl_static_dtv): This.  Make it global.
12398         (_dl_initial_dtv): Removed.
12399         (__libc_setup_tls): Updated.
12400         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
12401         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
12402         DL_INITIAL_DTV.
12404 2012-09-06  Petr Machata  <pmachata@redhat.com>
12406         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
12407         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
12408         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
12409         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
12411 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
12413         [BZ #14545]
12414         * csu/libc-tls.c (_dl_initial_dtv): New variable.
12415         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
12416         freeing dtv[-1].
12418 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
12420         [BZ #14544]
12421         * Makeconfig (link-static-before-libc): Replace $(+prector)
12422         with $(+prectorT).
12423         (link-static-after-libc): Replace $(+postctor) with
12424         $(+postctorT).
12425         (link-bounded): Replace $(+prector)/$(+postctor) with
12426         $(+prectorT)/$(+postctorT).
12427         (+prectorT): New macro.
12428         (+postctorT): Likewise.
12430 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
12432         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
12433         (round_str): Handle values above the maximum for IBM long double
12434         as inexact.
12435         * stdlib/tst-strtod-round.c (tests): Regenerated.
12437 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
12439         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
12440         assembler flag.
12441         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
12442         zarch_nohighgprs around the zarch optimized routines.
12443         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
12444         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
12445         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
12446         for zarch.
12448 2012-09-05  David S. Miller  <davem@davemloft.net>
12450         * sysdeps/sparc/fpu/libm-test-ulps: Update.
12452         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
12453         HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
12454         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
12455         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
12456         entries.
12458 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
12460         * malloc/arena.c: Fold copyright years.
12461         * malloc/mcheck.c, malloc/memusage.c: Likewise.
12463 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
12465         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
12467 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
12469         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
12471 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
12473         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
12474         change internal state upon failure.
12476 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
12478         * malloc/mcheck.c (mcheck_check_all): Fix typo.
12479         * malloc/memusage.c (mmap): Likewise.
12480         (mmap64, mremap): Likewise.  Adjust name in comment.
12482 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
12484         * libio/fileops.c: Fix typos in comments.
12485         * libio/oldfileops.c: Likewise.
12486         * libio/wfileops.c: Likewise.
12488 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
12490         [BZ #1349]
12491         * malloc/Makefile (tests): Add tst-malloc-usable test case.
12492         (tst-malloc-usable-ENV): Set environment for test case.
12493         * malloc/hooks.c (malloc_check_get_size): New function to get
12494         requested size.
12495         * malloc/malloc.c (musable): Use malloc_check_get_size.
12496         * malloc/tst-malloc-usable.c: New test case.
12498 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
12500         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
12502 2012-09-05  Allan McRae  <allan@archlinux.org>
12504         [BZ #13966]
12505         * configure.in (CXX_SYSINCLUDES): Use compiler output to
12506         determine header location.
12507         * configure: Regenerated.
12509 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
12511         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
12512         float format.
12513         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
12514         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
12515         format.
12516         (test): Regenerate.
12518 2012-09-04  David S. Miller  <davem@davemloft.net>
12520         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
12521         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
12522         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
12524 2012-09-04  Florian Weimer  <fweimer@redhat.com>
12526         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
12527         failures.
12529         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
12531 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
12533         [BZ #9914]
12534         * libio/iogetdelim.c: Include <limits.h>.
12535         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
12536         + len + 1 would overflow.
12538 2012-09-03  Andreas Jaeger  <aj@suse.de>
12540         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12541         * sysdeps/i386/fpu/libm-test-ulps: Update.
12543 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
12545         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
12546         Add s_sinf-sse2, s_conf-sse2.
12548         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
12549         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
12550         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
12551         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
12553         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
12554         for using routine as __sinf_ia32.
12555         Use macro for function declaration and weak_alias.
12556         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
12557         for using routine as __cosf_ia32.
12558         Use macro for function declaration and weak_alias.
12560         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
12561         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
12563         * sysdeps/x86_64/fpu/s_sinf.S: New file.
12564         * sysdeps/x86_64/fpu/s_cosf.S: New file.
12565         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12567         * math/libm-test.inc (cos_test): Add more test cases.
12568         (sin_test): Likewise.
12569         (sincos_test): Likewise.
12571 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
12573         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
12574         (IFUNC_RESOLVE): Make pointers to the specialized implementations
12575         hidden.
12576         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
12578 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
12580         [BZ #14538]
12581         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
12582         first element of the GOT.
12583         (elf_machine_load_address): Return the difference between
12584         the runtime address of _DYNAMIC and elf_machine_dynamic ().
12586 2012-09-01  Allan McRae  <allan@archlinux.org>
12588         [BZ #13412]
12589         * configure.in (AWK): Require gawk version 3.0 or later.
12590         * configure: Regenerated.
12592 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
12594         * sysdeps/unix/sysv/linux/kernel-features.h
12595         (__ASSUME_POSIX_CPU_TIMERS): Remove.
12596         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
12597         [__NR_clock_getres]: Make code unconditional.
12598         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
12599         (clock_getcpuclockid): Remove code left unreachable by removal of
12600         conditionals.
12601         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
12602         code unconditional.
12603         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
12604         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
12605         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
12606         Make code unconditional.
12607         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
12608         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
12609         * sysdeps/unix/sysv/linux/clock_settime.c
12610         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
12611         conditional code.
12612         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
12613         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
12615 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
12617         [BZ #14476]
12618         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
12619         scripts/test-installation.pl.
12621         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
12622         and $ld_so_version if it is set.
12624 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
12626         [BZ #14516]
12627         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
12628         failure if reading from procfs failed.
12629         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
12631 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
12633         * sysdeps/unix/sysv/linux/kernel-features.h
12634         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
12635         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
12636         Remove conditional code.
12637         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
12638         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
12639         Remove conditional code.
12640         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
12641         * sysdeps/unix/sysv/linux/i386/fxstat.c
12642         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
12643         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
12644         * sysdeps/unix/sysv/linux/i386/fxstatat.c
12645         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
12646         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
12647         * sysdeps/unix/sysv/linux/i386/lxstat.c
12648         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
12649         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
12650         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
12651         Remove conditional code.
12652         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
12653         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
12654         Remove conditional code.
12655         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
12656         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
12657         <kernel-features.h>.
12658         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
12659         Remove.
12660         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
12661         Remove conditional code.
12662         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
12663         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
12664         Remove conditional.
12666 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
12668         [BZ #5400]
12669         * NEWS: Add fixed bug number.
12671 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
12673         [BZ #14519]
12674         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
12675         underflowing exponent in case of negative sign.
12676         * stdlib/tst-strtod-round-data: Add more tests.
12677         * stdlib/tst-strtod-round.c (tests): Regenerated.
12679         [BZ #3479]
12680         * stdlib/strtod_l.c (NDIG): Remove.
12681         (HEXNDIG): Likewise.
12682         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
12683         smallest representable value.
12684         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
12685         lie within an exact representation of 1/2 ulp of the result.
12686         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
12687         unconditionally.
12688         (TENS_P9_IDX): Define unconditionally.
12689         (TENS_P9_SIZE): Likewise.
12690         (TENS_P10_IDX): Likewise.
12691         (TENS_P10_SIZE): Likewise.
12692         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
12693         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
12694         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
12695         entries for 10^2^13 and 10^2^14.
12696         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
12697         (TENS_P13_IDX): Define.
12698         (TENS_P13_SIZE): Likewise.
12699         (TENS_P14_IDX): Likewise.
12700         (TENS_P14_SIZE): Likewise.
12701         (_fpioconst_pow10): Change array size to
12702         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
12703         unconditional.
12704         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
12705         1024]: Add entries for 10^2^13 and 10^2^14.
12706         [LAST_POW10 > _LAST_POW10]: Remove #error.
12707         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
12708         (_fpioconst_pow10): Change array size to
12709         FPIOCONST_POW10_ARRAY_SIZE.
12710         * stdlib/gen-fpioconst.c: New file.
12711         * stdlib/gen-tst-strtod-round.c: Likewise.
12712         * stdlib/tst-strtod-round-data: Likewise.
12713         * stdlib/tst-strtod-round.c: Likewise.
12714         * stdlib/Makefile (tests): Add tst-strtod-round.
12716         [BZ #14459]
12717         * stdlib/strtod_l.c: Include <stdint.h>.
12718         (NDEBUG): Do not define.
12719         (round_and_return): Change EXPONENT parameter to type intmax_t.
12720         Rearrange calculations to avoid internal overflow possibilities.
12721         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
12722         Rearrange calculations to avoid internal overflow possibilities.
12723         Assert that number fits inside MPNSIZE limbs.
12724         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
12725         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
12726         calculations and add assertions to avoid internal overflow
12727         possibilities.  Add casts to avoid signed/unsigned operations.
12728         * stdlib/tst-strtod-overflow.c: New file.
12729         * stdlib/Makefile (tests): Add tst-strtod-overflow.
12731 2012-08-25  Marek Polacek  <polacek@redhat.com>
12733         * time/time.h: Fix some typos in comments.
12735 2012-08-23  Roland McGrath  <roland@hack.frob.com>
12737         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
12738         * posix/tst-rfc3484-2.c: Likewise.
12739         * posix/tst-rfc3484-3.c: Likewise.
12741 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
12743         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
12744         (EF_ARM_ABI_FLOAT_HARD): Likewise.
12746 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
12748         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
12749         #include of fxstatat64.c.
12751 2012-08-22  Roland McGrath  <roland@hack.frob.com>
12753         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
12754         * shadow/getspent_r.c: Likewise.
12755         * shadow/getspnam.c: Likewise.
12756         * shadow/getspnam_r.c: Likewise.
12757         * gshadow/getsgent.c: Likewise.
12758         * gshadow/getsgent_r.c: Likewise.
12759         * gshadow/getsgnam.c: Likewise.
12760         * gshadow/getsgnam_r.c: Likewise.
12761         * inet/getnetbyad.c: Likewise.
12762         * inet/getnetbyad_r.c: Likewise.
12763         * inet/getnetbynm.c: Likewise.
12764         * inet/getnetbynm_r.c: Likewise.
12765         * inet/getnetent.c: Likewise.
12766         * inet/getnetent_r.c: Likewise.
12767         * inet/getproto.c: Likewise.
12768         * inet/getproto_r.c: Likewise.
12769         * inet/getprtent.c: Likewise.
12770         * inet/getprtent_r.c: Likewise.
12771         * inet/getprtname.c: Likewise.
12772         * inet/getprtname_r.c: Likewise.
12773         * inet/getrpcbyname.c: Likewise.
12774         * inet/getrpcbyname_r.c: Likewise.
12775         * inet/getrpcbynumber.c: Likewise.
12776         * inet/getrpcbynumber_r.c: Likewise.
12777         * inet/getrpcent.c: Likewise.
12778         * inet/getrpcent_r.c: Likewise.
12779         * inet/getaliasent.c: Likewise.
12780         * inet/getaliasent_r.c: Likewise.
12781         * inet/getaliasname.c: Likewise.
12782         * inet/getaliasname_r.c: Likewise.
12783         * nscd/getgrgid_r.c: Likewise.
12784         * nscd/getgrnam_r.c: Likewise.
12785         * nscd/gethstbyad_r.c: Likewise.
12786         * nscd/gethstbynm3_r.c: Likewise.
12787         * nscd/getpwnam_r.c: Likewise.
12788         * nscd/getpwuid_r.c: Likewise.
12789         * nscd/getsrvbynm_r.c: Likewise.
12790         * nscd/getsrvbypt_r.c: Likewise.
12791         * nscd/gai.c: Likewise.
12793         * configure.in (build_nscd): New substituted variable, set
12794         by --disable-build-nscd and defaults to $use_nscd.
12795         * configure: Regenerated.
12796         * config.make.in (build-nscd): New substituted variable.
12797         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
12798         Change conditional to require [$(build-nscd) = yes] as well.
12799         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
12801         [BZ# 13696]
12802         * configure.in (use_nscd): New substituted variable, set by
12803         --disable-nscd.  If enabled, define USE_NSCD.
12804         * configure: Regenerated.
12805         * config.h.in: Add USE_NSCD.
12806         * config.make.in (use-nscd): New substituted variable.
12807         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
12808         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
12809         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
12810         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
12811         (CFLAGS-getgrnam_r.c): Likewise.
12812         (CFLAGS-initgroups.c): Likewise.
12813         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
12814         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
12815         Variables removed.
12816         * inet/getnetgrent_r.c
12817         (nscd_setnetgrent): New function, broken out of ...
12818         (setnetgrent): ... here.  Call it.
12819         (innetgr): Conditionalize nscd bits on [USE_NSCD].
12820         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
12821         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
12822         * nscd/Makefile (routines, aux): Move definitions after include of
12823         Makeconfig.  Conditionalize on [$(use-nscd) != no].
12824         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
12825         Conditionalize on [USE_NSCD].
12826         (is_nscd, nscd_init_cb): Likewise.
12827         (nss_load_library): Conditionalize init callback on [USE_NSCD].
12828         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
12829         * nss/nss_db/db-init.c: Likewise.
12830         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
12831         [USE_NSCD].
12832         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
12833         (make_request): Use it.
12834         (cache_valid_p): New function.
12835         (__check_pf): Use it.
12836         * NEWS: Add item for --disable-nscd.
12838 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
12840         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
12841         to support sed >= 4.2.1-20-ga9bf076.
12842         * configure: Regenerated.
12844 2012-08-22  Roland McGrath  <roland@hack.frob.com>
12846         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
12847         Conditionalize whole body on [IREL].
12849 2012-08-22  Jeff Law <law@redhat.com>
12851         [BZ #14505]
12852         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
12853         if the family is PF_UNSPEC.
12855 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
12857         * Makerules (lib-version): Rename from V.
12858         (install-lib-nosubdir): Change V to lib-version.
12860 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
12862         [BZ #14252]
12863         * powerpc32/power6/wcschr.c: New file.
12864         * powerpc32/power6/wcscpy.c: New file.
12865         * powerpc32/power6/wcsrchr.c: New file.
12866         * powerpc64/power6/wcschr.c: New file.
12867         * powerpc64/power6/wcscpy.c: New file.
12868         * powerpc64/power6/wcsrchr.c: New file.
12870 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
12872         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
12873         (two_way_short_needle): Use it.
12874         * string/strstr.c (AVAILABLE1_USES_J): Define.
12875         * string/strcasestr.c: Likewise.
12877         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
12878         array references.
12879         * string/strcasestr.c (TOLOWER): Make side-effect safe.
12881         [BZ #11607]
12882         * NEWS: Add an entry.
12883         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
12884         define their defaults.
12885         (two_way_short_needle): Detect end-of-string on-the-fly.
12886         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
12887         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
12888         * string/bug-strcasestr1.c: New test.
12889         * string/Makefile: Run it.
12891 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
12893         [BZ #11607]
12894         * string/str-two-way.h (two_way_short_needle): Optimize matching of
12895         the first character.
12897 2012-08-21  Roland McGrath  <roland@hack.frob.com>
12899         * csu/elf-init.c (__libc_csu_irel): Function removed.
12900         * csu/libc-start.c (apply_irel): New function.
12901         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
12903 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
12905         * sysdeps/unix/sysv/linux/kernel-features.h
12906         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
12907         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
12908         <kernel-features.h>.
12909         [__NR_fadvise64_64]: Make code unconditional.
12910         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
12911         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
12912         !__NR_fadvise64_64)]: Likewise.
12913         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
12914         !__NR_fadvise64_64))]: Likewise.
12915         [__NR_fadvise64]: Make code unconditional.
12916         [!__NR_fadvise64]: Remove conditional code.
12917         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
12918         <kernel-features.h>.
12919         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
12920         unconditional.
12921         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
12922         conditional code.
12923         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
12924         not include <kernel-features.h>.
12925         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
12926         unconditional.
12927         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
12928         conditional code.
12929         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
12930         include <kernel-features.h>.
12931         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
12932         unconditional.
12933         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
12934         conditional code.
12936 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
12938         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
12939         slight instruction rearrangements per scrollpipe analysis.
12940         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
12942 2012-08-20  Roland McGrath  <roland@hack.frob.com>
12944         * manual/syslog.texi (syslog; vsyslog, closelog):
12945         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
12946         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
12948         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
12949         DSOCAPS to match condition on defining it.
12951 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
12953         * sysdeps/unix/sysv/linux/kernel-features.h
12954         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
12955         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
12956         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
12957         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
12958         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
12959         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
12960         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
12961         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
12962         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
12963         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
12965         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
12966         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
12968         * sysdeps/unix/sysv/linux/kernel-features.h
12969         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
12970         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
12971         unconditional.
12972         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
12973         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
12974         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
12975         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
12976         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
12977         Make code unconditional.
12978         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
12979         (__mmap64) [!__NR_mmap2]: Likewise.
12980         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
12981         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
12982         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
12983         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
12984         [__NR_mmap2]: Make code unconditional.
12985         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
12986         (__mmap64) [!__NR_mmap2]: Likewise.
12988 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
12990         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
12992 2012-08-18  Andreas Jaeger  <aj@suse.de>
12994         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
12996 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
12998         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
12999         * include/unistd.h (__have_sock_cloexec): Likewise.
13000         (__have_pipe2): Likewise.
13001         (__have_dup3): Likewise.
13003 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
13005         [BZ #9685]
13006         * include/unistd.h (__have_pipe2): Change define into an extern int.
13007         (__have_dup3): Likewise.
13008         * socket/have_sock_cloexec.c: Include fcntl.h.
13009         (__have_pipe2): New variable.
13010         (__have_dup3): Likewise.
13012 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
13014         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
13016 2012-08-17  Marek Polacek  <polacek@redhat.com>
13018         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
13019         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
13021 2012-08-17  Roland McGrath  <roland@hack.frob.com>
13023         * configure.in: Add AC_SUBST for sysheaders.
13024         * configure: Regenerated.
13025         * config.make.in (sysheaders): New substituted variable.
13027         * sysdeps/unix/mkfifo.c: Moved ...
13028         * sysdeps/posix/mkfifo.c: ... here.
13029         * sysdeps/unix/mkfifoat.c: Moved ...
13030         * sysdeps/posix/mkfifoat.c: ... here.
13032         * sysdeps/unix/utime.c: Moved ...
13033         * sysdeps/posix/utime.c: ... here.
13035         * sysdeps/unix/time.c: Moved ...
13036         * sysdeps/posix/time.c: ... here.
13037         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
13038         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
13040         * sysdeps/unix/nice.c: Moved ...
13041         * sysdeps/posix/nice.c: ... here.
13043         * sysdeps/unix/alarm.c: Moved ...
13044         * sysdeps/posix/alarm.c: ... here.
13046         * intl/Makefile ($(codeset_mo)): Depend on the input file.
13048 2012-08-17  Jeff Law <law@redhat.com>
13050         * intl/Makefile (codeset_mo): New variable.
13051         ($(codeset_mo)): New target.
13052         (tst-codeset.out): Depend on that.  Remove explicit rule.
13053         (tst-gettext3.out, tst-gettext5.out): Likewise.
13054         (LOCPATH-ENV, tst-codeset-ENV): New variables.
13055         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
13056         * intl/tst-codeset.sh: Remove.
13057         * intl/tst-gettext3.sh: Likewise.
13058         * intl/tst-gettext5.sh: Likewise.
13060 2012-08-17  Roland McGrath  <roland@hack.frob.com>
13062         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
13063         * sysdeps/unix/syscalls.list: ... here.
13065         * sysdeps/posix/getaddrinfo.c
13066         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
13067         (gaiconf_init, gaiconf_reload): Use them.
13068         [!_STATBUF_ST_NSEC]
13069         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
13070         Define using time_t rather than struct timespec.
13072         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
13073         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
13074         Macros removed.
13075         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
13076         [!NO_THREADS].
13077         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
13078         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
13079         Likewise.
13081         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
13082         __libc_cleanup_push argument.
13084         * bits/param.h: New file.
13085         * misc/sys/param.h: New file.
13086         * include/sys/param.h: New file.
13087         * misc/Makefile (headers): Add bits/param.h.
13088         * sysdeps/generic/sys/param.h: File removed.
13089         * sysdeps/unix/sysv/linux/bits/param.h: New file.
13090         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
13091         * sysdeps/mach/hurd/bits/param.h: New file.
13092         * sysdeps/mach/hurd/sys/param.h: File removed.
13094         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
13095         last change.
13097         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
13098         [_IO_MTSAFE_IO].
13099         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
13100         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
13101         New macros.
13103         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
13104         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
13105         rather than -D_IO_MTSAFE_IO conditionally.
13106         * stdio-common/Makefile (CPPFLAGS): Likewise.
13107         * wcsmbs/Makefile (CPPFLAGS): Likewise.
13108         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
13109         Use $(libio-mtsafe).
13110         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
13111         of -D_IO_MTSAFE_IO.
13112         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
13113         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
13114         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
13115         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
13116         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
13117         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
13118         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
13119         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
13120         (CFLAGS-fread_u_chk.c): Likewise.
13121         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
13122         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
13123         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
13124         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
13125         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
13126         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
13127         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
13128         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
13129         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
13131         * libio/Makefile: Test [$(libc-reentrant) = yes]
13132         instead of [$(filter %REENTRANT, $(defines)) nonempty].
13134         * Makeconfig
13135         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
13136         * sysdeps/pthread/configure: File removed.
13137         * sysdeps/pthread/Makeconfig: New file.
13138         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
13139         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
13141 2012-08-16  Gary Benson  <gbenson@redhat.com>
13143         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
13144         unmapping the first object in a namespace.
13146 2012-08-16  Roland McGrath  <roland@hack.frob.com>
13148         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
13149         (__internal_setnetgrent): ... this.  Add internal_function to
13150         definition.  Add libc_hidden_def.
13151         (setnetgrent): Update caller.
13152         (internal_endnetgrent): Renamed to ...
13153         (__internal_endnetgrent): ... this.  Add internal_function to
13154         definition.  Add libc_hidden_def.
13155         (endnetgrent): Update caller.
13156         (internal_getnetgrent_r): Renamed to ...
13157         (__internal_getnetgrent_r): ... this.  Add internal_function to
13158         definition.  Add libc_hidden_def.
13159         (__getnetgrent_r): Update caller.
13160         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
13162 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
13164         * stdlib/longlong.h: Update from GCC.
13166 2012-08-16  Roland McGrath  <roland@hack.frob.com>
13168         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
13169         on _QL, which is set by umul_ppmm but never used.
13170         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
13171         variables, which are set by GMP macros but never used.
13172         * stdio-common/_itowa.c (_itowa): Likewise.
13173         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
13174         * stdlib/mod_1.c (mpn_mod_1): Likewise.
13176 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
13178         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
13179         struct La_sh_regs is not constant.
13180         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
13181         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
13182         and struct La_sparc64_regs are not constant.
13184 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
13186         * sysdeps/unix/sysv/linux/kernel-features.h
13187         (__ASSUME_POSIX_TIMERS): Remove.
13188         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
13189         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
13190         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
13191         Make code unconditional.
13192         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
13193         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
13194         Make code unconditional.
13195         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
13196         * sysdeps/unix/sysv/linux/clock_nanosleep.c
13197         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
13198         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
13199         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
13200         Make code unconditional.
13201         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
13202         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
13203         (__libc_missing_posix_timers): Remove.
13205 2012-08-15  Roland McGrath  <roland@hack.frob.com>
13207         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
13208         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
13210         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
13212         * elf/dl-sym.c: Include <stdlib.h>.
13214         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
13215         constants, which avoids warnings in 32-bit builds.
13217         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
13218         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
13220         * misc/lseek.c: File moved to ...
13221         * io/lseek.c: ... here.
13223         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
13225         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
13226         shifting LEN more than 31 bits at once.
13228 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
13230         [BZ #14195]
13231         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
13232         segmentation fault for a case of two empty input strings.
13233         * string/test-strncasecmp.c (check1): Renamed to...
13234         (bz12205): ...this.
13235         (bz14195): Add new testcase for two empty input strings and N > 0.
13236         (test_main): Call new testcase, adapt for renamed function.
13238 2012-08-15  Andreas Jaeger  <aj@suse.de>
13240         [BZ #14090]
13241         * crypt/md5test2.c: New test, based on test supplied by Serge
13242         Belyshev <belyshev@depni.sinp.msu.ru>.
13243         * crypt/Makefile (xtests): Add md5test-giant..
13244         * crypt/Makefile ($(objpfx)md5test-giant): Add.
13246 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
13248         [BZ #14090]
13249         * crypt/md5.c (md5_process_block): Don't assume the buffer
13250         length is less than 2**32.
13251         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
13252         length is less than 2**64.
13254 2012-08-15  Roland McGrath  <roland@hack.frob.com>
13256         * string/str-two-way.h: Include <sys/param.h>.
13257         (MAX): Macro removed.
13259         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
13260         Move #define and #undef of memmove to just before and after
13261         including <string.h>.
13263         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
13264         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
13265         and after including <string.h>.  Move declarations of
13266         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
13267         to before #include "string/memmove.c".
13269         * include/dirent.h: Declare __getdirentries.
13271         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
13272         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
13274 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
13276         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
13277         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
13278         * sysdeps/i386/configure: Regenerated.
13279         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
13280         STABS_CURRENT_FILE, and STABS_FUN.
13281         (END): Remove call to STABS_FUN_END.
13282         (STABS_CURRENT_FILE1): Delete.
13283         (STABS_CURRENT_FILE): Likewise.
13284         (STABS_FUN): Likewise.
13285         (STABS_FUN_END): Likewise.
13286         (STABS_FUN2): Likewise.
13287         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
13288         * sysdeps/x86_64/configure: Regenerated.
13290 2012-08-14  Roland McGrath  <roland@hack.frob.com>
13292         * elf/dl-open.c: Include <atomic.h>.
13293         * elf/dl-lookup.c: Likewise.
13295 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
13297         * sysdeps/unix/sysv/linux/kernel-features.h
13298         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
13299         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
13300         unconditionally.
13301         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
13302         unconditionally.
13303         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
13304         condition on __ASSUME_CLONE_THREAD_FLAGS.
13306 2012-08-14  Andreas Jaeger  <aj@suse.de>
13308         * sysdeps/i386/fpu/libm-test-ulps: Update.
13310 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
13312         * include/atomic.h (atomic_exchange_and_add): Split into ...
13313         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
13314         New atomic macros.
13316 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
13318         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13320 2012-08-13  Jeff Law <law@redhat.com>
13322         * manual/stdio.texi (snprintf): Clarify handling of the trailing
13323         null byte in the output string.
13325 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
13327         * sysdeps/unix/sysv/linux/kernel-features.h
13328         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
13329         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
13330         (__ASSUME_ARG_MAX_STACK_BASED): Define.
13331         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
13332         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
13333         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
13334         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
13336 2012-08-09  Jeff Law <law@redhat.com>
13338         [BZ #13939]
13339         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
13340         When avoid_arena is set, don't retry in the that arena.  Pick the
13341         next one, whatever it might be.
13342         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
13343         (arena_lock): Pass in new parameter to arena_get2.
13344         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
13345         arena_get2.
13346         (__libc_malloc): Unify retrying after main arena failure with
13347         __libc_memalign version.
13348         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
13350 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
13352         [BZ #14166]
13353         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
13354         to __redirect_strstr.
13355         (__strstr_sse42): Use typeof __redirect_strstr.
13356         (__strstr_ia32): Likewise.
13357         (__libc_strstr): New prototype.
13358         (strstr): Renamed to ...
13359         (__libc_strstr): This.
13360         (strstr): New strong alias of __libc_strstr.
13361         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
13362         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
13363         __redirect_time.
13364         Include <time.h>.
13365         (__libc_time): New prototype.
13366         (time_ifunc): Replace time with __libc_time.
13367         (time): New strong alias and hidden definition of __libc_time.
13368         (__GI_time): Remove strong alias.
13369         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
13370         Include <stddef.h>.
13371         (memmove): Redefined to __redirect_memmove.
13372         (__memmove_sse2): Use typeof __redirect_memmove.
13373         (__memmove_ssse3): Likewise.
13374         (__memmove_ssse3_back): Likewise.
13375         (__libc_memmove): New prototype.
13376         (memmove): Renamed to ...
13377         (__libc_memmove): This.
13378         (memmove): New strong alias of __libc_memmove.
13380 2012-08-08  Mark Salter  <msalter@redhat.com>
13382         * elf/elf.h
13383         (R_MN10300_TLS_GD): Define.
13384         (R_MN10300_TLS_LD): Likewise.
13385         (R_MN10300_TLS_LDO): Likewise.
13386         (R_MN10300_TLS_GOTIE): Likewise.
13387         (R_MN10300_TLS_IE): Likewise.
13388         (R_MN10300_TLS_LE): Likewise.
13389         (R_MN10300_TLS_DTPMOD): Likewise.
13390         (R_MN10300_TLS_DTPOFF): Likewise.
13391         (R_MN10300_TLS_TPOFF): Likewise.
13392         (R_MN10300_SYM_DIFF): Likewise.
13393         (R_MN10300_ALIGN): Likewise.
13394         (R_MN10300_NUM): Update.
13396 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
13398         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
13399         Remove.
13401 2012-08-08  Roland McGrath  <roland@hack.frob.com>
13403         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
13405         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
13406         sysdeps/unix -> sysdeps/posix move.
13407         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
13409 2012-08-07      Allan McRae     <allan@archlinux.org>
13411         [BZ #14303]
13412         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
13413         (SUNOS_CPP): Likewise.
13414         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
13415         not found.
13416         (open_input): Call CPP using execvp.
13418 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
13420         * sysdeps/unix/sysv/linux/kernel-features.h
13421         (__ASSUME_PROT_GROWSUPDOWN): Remove.
13422         (__ASSUME_NO_CLONE_DETACHED): Likewise.
13423         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
13424         (__ASSUME_WAITID_SYSCALL): Likewise.
13425         * sysdeps/unix/sysv/linux/dl-execstack.c
13426         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
13427         code unconditional.
13428         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
13429         conditional code.
13430         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
13431         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
13432         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
13433         code.
13434         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
13435         unconditional.
13436         [__ASSUME_WAITID_SYSCALL]: Likewise.
13437         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
13439 2012-08-07  Roland McGrath  <roland@hack.frob.com>
13441         * sysdeps/unix/closedir.c: Renamed to ...
13442         * sysdeps/posix/closedir.c: ... here.
13443         * sysdeps/unix/dirfd.c: Renamed to ...
13444         * sysdeps/posix/dirfd.c: ... here.
13445         * sysdeps/unix/dirstream.h: Renamed to ...
13446         * sysdeps/posix/dirstream.h: ... here.
13447         * sysdeps/unix/fdopendir.c: Renamed to ...
13448         * sysdeps/posix/fdopendir.c: ... here.
13449         * sysdeps/unix/opendir.c: Renamed to ...
13450         * sysdeps/posix/opendir.c: ... here.
13451         * sysdeps/unix/readdir.c: Renamed to ...
13452         * sysdeps/posix/readdir.c: ... here.
13453         * sysdeps/unix/readdir_r.c: Renamed to ...
13454         * sysdeps/posix/readdir_r.c: ... here.
13455         * sysdeps/unix/rewinddir.c: Renamed to ...
13456         * sysdeps/posix/rewinddir.c: ... here.
13457         * sysdeps/unix/seekdir.c: Renamed to ...
13458         * sysdeps/posix/seekdir.c: ... here.
13459         * sysdeps/unix/telldir.c: Renamed to ...
13460         * sysdeps/posix/telldir.c: ... here.
13461         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
13462         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
13463         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
13464         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
13466         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
13467         * bits/fcntl.h: ... here.
13469         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
13470         not 0.
13471         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
13472         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
13473         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
13474         (struct flock): Move l_start, l_len to the beginning.
13475         Use __pid_t for l_pid.
13476         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
13477         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
13478         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
13479         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
13480         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
13481         [__USE_LARGEFILE64] (struct flock64): New type.
13482         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
13484         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
13485         * bits/dirent.h: ... here.
13487         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
13488         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
13490 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
13492         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
13493         Change from 2.6.0 to 2.6.16.
13494         * sysdeps/unix/sysv/linux/configure: Regenerated.
13495         * sysdeps/unix/sysv/linux/kernel-features.h
13496         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
13497         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
13498         version.
13499         (__ASSUME_UTIMES): Likewise.
13500         (__ASSUME_CLONE_STOPPED): Remove.
13501         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
13502         architectures, not kernel version.
13503         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
13504         (__ASSUME_NO_CLONE_DETACHED): Likewise.
13505         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
13506         (__ASSUME_WAITID_SYSCALL): Likewise.
13507         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
13508         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
13509         * README: State 2.6.16 as minimum Linux kernel version.  Do not
13510         refer to older versions.
13512 2012-08-06  Roland McGrath  <roland@hack.frob.com>
13514         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
13515         Define alphasort64 as an alias.
13516         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
13517         Define versionsort64 as an alias.
13518         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
13519         Define scandir64 as an alias.
13520         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
13521         Define scandirat64 as an alias.
13522         * dirent/alphasort64.c (alphasort64):
13523         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
13524         * dirent/versionsort64.c: Likewise.
13525         * dirent/scandir64.c: Likewise.
13526         * dirent/scandirat64.c: Likewise.
13527         * sysdeps/wordsize-64/alphasort.c: File removed.
13528         * sysdeps/wordsize-64/alphasort64.c: File removed.
13529         * sysdeps/wordsize-64/scandir.c: File removed.
13530         * sysdeps/wordsize-64/scandir64.c: File removed.
13531         * sysdeps/wordsize-64/scandirat.c: File removed.
13532         * sysdeps/wordsize-64/scandirat64.c: File removed.
13533         * sysdeps/wordsize-64/versionsort.c: File removed.
13534         * sysdeps/wordsize-64/versionsort64.c: File removed.
13535         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
13536         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
13537         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
13538         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
13539         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
13540         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
13541         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
13542         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
13544         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
13545         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
13546         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
13547         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
13548         [defined __arch64__ || defined __sparcv9]
13549         (__INO_T_MATCHES_INO64_T): New macro.
13550         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
13551         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
13552         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
13553         * sysdeps/unix/sysv/linux/bits/dirent.h
13554         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
13555         (_DIRENT_MATCHES_DIRENT64): New macro.
13557         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
13558         Define lockf64 as an alias.
13559         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
13560         Define fseeko64 as an alias.
13561         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
13562         Define ftello64 as an alias.
13563         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
13564         Define _IO_fgetpos64 and fgetpos64 as aliases.
13565         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
13566         Define _IO_fsetpos64 and fsetpos64 as aliases.
13567         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
13568         Conditionalize body on this.
13569         * libio/fseeko64.c: Likewise.
13570         * libio/ftello64.c: Likewise.
13571         * libio/iofgetpos64.c: Likewise.
13572         * libio/iofsetpos64.c: Likewise.
13573         * sysdeps/wordsize-64/lockf.c: File removed.
13574         * sysdeps/wordsize-64/lockf64.c: File removed.
13575         * sysdeps/wordsize-64/fseeko.c: File removed.
13576         * sysdeps/wordsize-64/fseeko64.c: File removed.
13577         * sysdeps/wordsize-64/ftello.c: File removed.
13578         * sysdeps/wordsize-64/ftello64.c: File removed.
13579         * sysdeps/wordsize-64/iofgetpos.c: File removed.
13580         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
13581         * sysdeps/wordsize-64/iofsetpos.c: File removed.
13582         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
13583         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
13584         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
13585         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
13586         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
13587         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
13588         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
13589         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
13590         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
13591         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
13592         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
13594         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
13595         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
13596         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
13597         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
13598         [defined __arch64__ || defined __sparcv9]
13599         (__OFF_T_MATCHES_OFF64_T): New macro.
13600         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
13601         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
13602         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
13603         (__OFF_T_MATCHES_OFF64_T): New macro.
13605 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
13607         * stdlib/secure-getenv.c (__secure_getenv): Replace
13608         GLIBC_2_16 with GLIBC_2_17.
13610 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
13612         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
13613         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
13615 2012-08-03  David S. Miller  <davem@davemloft.net>
13617         * sysdeps/sparc/fpu/libm-test-ulps: Update.
13619 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
13621         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
13622         Remove.
13623         (__ASSUME_CORRECT_SI_PID): Likewise.
13624         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
13625         (__ASSUME_TMPFS_NAME): Likewise.
13626         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
13627         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
13628         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
13629         (HAVE_AUX_SECURE): Make definition unconditional.
13630         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
13631         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
13633 2012-08-03  Roland McGrath  <roland@hack.frob.com>
13635         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
13636         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
13637         * sysdeps/mach/hurd/eloop-threshold.h: New file.
13638         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
13639         __eloop_threshold instead of SYMLOOP_MAX.
13641         * sysdeps/generic/eloop-threshold.h: New file.
13642         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
13643         of MAXSYMLINKS.
13644         * elf/chroot_canon.c (chroot_canon): Likewise.
13646 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
13648         [BZ #13717]
13649         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
13650         Change to 2.6.0 everywhere.
13651         * sysdeps/unix/sysv/linux/configure: Regenerated.
13652         * sysdeps/unix/sysv/linux/kernel-features.h
13653         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
13654         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
13655         kernel versions.
13656         (__ASSUME_POSIX_TIMERS): Define unconditionally.
13657         (__ASSUME_FUTEX_REQUEUE): Remove.
13658         (__ASSUME_STATFS64): Define unconditionally.
13659         (__ASSUME_AT_SECURE): Likewise.
13660         (__ASSUME_CORRECT_SI_PID): Likewise.
13661         (__ASSUME_TGKILL): Define without depending on kernel version for
13662         i386.
13663         (__ASSUME_UTIMES): Likewise.
13664         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
13665         kernel version.
13666         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
13667         (__ASSUME_TMPFS_NAME): Likewise.
13668         * README: Update reference to Linux kernel versions.
13670 2012-08-02  Marek Polacek  <polacek@redhat.com>
13672         [BZ# 14150]
13673         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
13674         libc_cv_asm_type_prefix with %.
13675         * configure: Regenerated.
13676         * include/libc-symbols.h: Remove comment about
13677         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
13678         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
13679         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
13680         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
13681         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
13682         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
13683         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
13684         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
13685         * elf/tst-unique2mod1.c: Likewise.
13686         * elf/tst-unique1mod2.c: Likewise.
13687         * elf/tst-unique1mod1.c: Likewise.
13688         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
13689         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
13690         Replace ASM_TYPE_DIRECTIVE with .type.
13691         * sysdeps/s390/s390-64/sysdep.h: Likewise.
13692         * sysdeps/i386/sysdep.h: Likewise.
13693         * sysdeps/x86_64/sysdep.h: Likewise.
13694         * sysdeps/sh/sysdep.h: Likewise.
13695         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
13696         Do not define ASM_TYPE_DIRECTIVE.
13697         * sysdeps/powerpc/sysdep.h: Likewise.
13698         * sysdeps/powerpc/powerpc32/sysdep.h:
13699         Replace ASM_TYPE_DIRECTIVE with .type.
13700         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
13701         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
13702         * sysdeps/i386/fpu/e_powf.S: Likewise.
13703         * sysdeps/i386/fpu/e_expl.S: Likewise.
13704         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
13705         * sysdeps/i386/fpu/e_acosh.S: Likewise.
13706         * sysdeps/i386/fpu/e_pow.S: Likewise.
13707         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
13708         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
13709         * sysdeps/i386/fpu/s_expm1.S: Likewise.
13710         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
13711         * sysdeps/i386/fpu/e_log2.S: Likewise.
13712         * sysdeps/i386/fpu/e_log2l.S: Likewise.
13713         * sysdeps/i386/fpu/e_scalb.S: Likewise.
13714         * sysdeps/i386/fpu/e_powl.S: Likewise.
13715         * sysdeps/i386/fpu/e_log10f.S: Likewise.
13716         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
13717         * sysdeps/i386/fpu/e_logl.S: Likewise.
13718         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
13719         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
13720         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
13721         * sysdeps/i386/fpu/e_log2f.S: Likewise.
13722         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
13723         * sysdeps/i386/fpu/e_log.S: Likewise.
13724         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
13725         * sysdeps/i386/fpu/e_logf.S: Likewise.
13726         * sysdeps/i386/fpu/e_log10l.S: Likewise.
13727         * sysdeps/i386/fpu/e_atanh.S: Likewise.
13728         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
13729         * sysdeps/i386/fpu/e_log10.S: Likewise.
13730         * sysdeps/i386/fpu/s_frexp.S: Likewise.
13731         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
13732         * sysdeps/i386/fpu/s_asinh.S: Likewise.
13733         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
13734         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
13735         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
13736         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
13737         * sysdeps/i386/i686/strtok.S: Likewise.
13738         * sysdeps/i386/i386-mcount.S: Likewise.
13739         * sysdeps/i386/strtok.S: Likewise.
13740         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
13741         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
13742         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
13743         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
13744         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
13745         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
13746         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
13747         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
13748         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
13749         * sysdeps/x86_64/_mcount.S: Likewise.
13750         * sysdeps/x86_64/strtok.S: Likewise.
13751         * sysdeps/sh/_mcount.S: Likewise.
13753 2012-08-01  Roland McGrath  <roland@hack.frob.com>
13755         * libio/iofopen.c: Include <fcntl.h>.
13756         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
13757         (_IO_fopen64, fopen64): Define as aliases.
13758         * libio/iofopen64.c: Include <fcntl.h>.
13759         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
13760         Conditionalize body on this.
13761         * sysdeps/wordsize-64/iofopen.c: File removed.
13762         * sysdeps/wordsize-64/iofopen64.c: File removed.
13764 2012-08-01  Marek Polacek  <polacek@redhat.com>
13766         * libc/Makeconfig: Use elf in place of binfmt-subdir.
13767         Use dlfcn directly instead of a variable.
13768         (binfmt-subdir): Do not define.
13769         (dlfcn): Likewise.
13771 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
13773         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
13774         Remove all definitions.
13775         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
13776         <kernel-features.h>.
13777         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
13778         (miss_F_GETOWN_EX): Remove all definitions.
13779         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
13780         macro definition.
13781         [!__ASSUME_FCNTL64]: Remove conditional code.
13782         [__ASSUME_FCNTL64]: Make code unconditional.
13783         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
13784         <kernel-features.h>.
13785         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
13786         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
13787         (lockf64) [__NR_fcntl64]: Make code unconditional.
13788         (lockf64) [__ASSUME_FCNTL64]: Likewise.
13790         * sysdeps/unix/sysv/linux/kernel-features.h
13791         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
13792         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
13793         Make code unconditional.
13794         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
13795         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
13796         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
13797         [__NR_vfork]: Make code unconditional.
13798         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
13799         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
13800         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
13801         [__NR_vfork]: Make code unconditional.
13802         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
13803         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
13805 2012-08-01  Roland McGrath  <roland@hack.frob.com>
13807         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
13808         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
13810         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
13811         Define mkstemp64 as an alias.
13812         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
13813         Define mkstemps64 as an alias.
13814         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
13815         Define mkostemp64 as an alias.
13816         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
13817         Define mkostemps64 as an alias.
13818         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
13819         Conditionalize body on this.
13820         * misc/mkostemp64.c: Likewise.
13821         * misc/mkostemps64.c: Likewise.
13822         * misc/mkstemps64.c: Likewise.
13823         * sysdeps/wordsize-64/mkstemp64.c: File removed.
13824         * sysdeps/wordsize-64/mkostemp64.c: File removed.
13825         * sysdeps/wordsize-64/mkostemp.c: File removed.
13826         * sysdeps/wordsize-64/mkstemp.c: File removed.
13827         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
13828         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
13829         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
13830         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
13832         [BZ #14138]
13833         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
13834         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
13835         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
13836         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
13838         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
13839         compat_symbol macros from <shlib-compat.h> rather than the underlying
13840         default_symbol_version and symbol_version macros, so that DEFAULT
13841         lines in shlib-versions are respected.
13842         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
13844 2012-08-01  Florian Weimer  <fweimer@redhat.com>
13846         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
13847         Declare with warn_unused_result.
13848         (setgid, setregid, setegid, setresgid): Likewise.
13849         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
13850         Likewise.
13851         * WUR-REPORT: Remove set*id functions.
13853 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
13855         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
13857 2012-07-31  Roland McGrath  <roland@hack.frob.com>
13859         [BZ #10191]
13860         * include/sys/socket.h (__libc_accept, __libc_accept4):
13861         Add attribute_hidden.
13862         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
13864         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
13865         use of PTR_MANGLE.
13866         * inet/getnetgrent_r.c (setup): Likewise.
13868         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
13870 2012-07-31  David S. Miller  <davem@davemloft.net>
13872         * sysdeps/sparc/fpu/libm-test-ulps: Update.
13874 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
13876         [BZ #13629]
13877         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
13878         value between 1.0 and 2.0 and smaller part has absolute value less
13879         than 1.0.
13880         * math/s_clog10.c (__clog10): Likewise.
13881         * math/s_clog10f.c (__clog10f): Likewise.
13882         * math/s_clog10l.c (__clog10l): Likewise.
13883         * math/s_clogf.c (__clogf): Likewise.
13884         * math/s_clogl.c (__clogl): Likewise.
13885         * math/libm-test.inc (clog_test): Add more tests.
13886         (clog10_test): Likewise.
13887         * sysdeps/i386/fpu/libm-test-ulps: Update.
13888         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13890 2012-07-31  Florian Weimer  <fweimer@redhat.com>
13892         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
13893         Exit with zero in case no suitable GID is found, and write a
13894         message to standard error.
13896 2012-07-30  Roland McGrath  <roland@hack.frob.com>
13898         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
13899         rather than to 1.
13900         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
13901         (MAXPATHLEN): Removed.
13902         (NOGROUP, NODEV): New macros.
13903         (setbit, clrbit, isset, isclr): New macros.
13904         (howmany, roundup, powerof2): New macros.
13905         (DEV_BSIZE): New macro.
13907         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
13908         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
13910         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
13911         definition on [!__NO_LONG_DOUBLE_MATH].
13913         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
13914         PTR_MANGLE and PTR_DEMANGLE.
13916         * socket/accept4.c (accept4): Rename to __libc_accept4.
13917         Define accept4 as a weak alias.
13919         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
13920         on [_DIRENT_HAVE_D_TYPE].
13921         * io/ftw.c (ftw_dir): Likewise.
13923         * io/xmknod.c (__xmknod): Don't check PATH for being null.
13925         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
13927         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
13928         Use the BSD numbers rather than the arbitrary ones we had.
13929         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
13930         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
13931         (SIGXCPU, SIGXFSZ): New macros.
13932         (_NSIG): Now 32.
13934         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
13935         initializer on [_LIBC_REENTRANT].
13937         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
13938         definitions inside [_POSIX_MAPPED_FILES].
13940         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
13942         * dirent/opendir.c: Include <fcntl.h>.
13944         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
13945         (__libc_getspecific): Likewise.
13946         (__libc_key_create): Likewise.
13948         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
13949         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
13950         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
13951         (tmpfile64): Define as alias.
13952         * sysdeps/wordsize-64/tmpfile.c: File removed.
13953         * sysdeps/wordsize-64/tmpfile64.c: File removed.
13954         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
13955         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
13957         * stdio-common/vfscanf.c: Include <stdbool.h>.
13958         * nss/makedb.c: Likewise.
13959         * stdio-common/_i18n_number.h: Likewise.
13960         * argp/argp-help.c: Likewise.
13961         * posix/wordexp.c: Likewise.
13962         * sysdeps/posix/spawni.c: Likewise.
13963         * nss/nss_files/files-initgroups.c: Likewise.
13964         * stdio-common/reg-modifier.c: Include <stdlib.h>.
13965         * nss/nss_files/files-initgroups.c: Likewise.
13966         * nss/nss_db/db-netgrp.c: Likewise.
13967         * nss/nss_db/db-initgroups.c: Likewise.
13968         * io/fchmodat.c: Include <sys/stat.h>.
13970         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
13971         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
13973         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
13974         [HAVE_MMAP].
13976         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
13977         Add multiple inclusion protection.
13979 2012-07-27  David S. Miller  <davem@davemloft.net>
13981         * sysdeps/sparc/fpu/libm-test-ulps: Update.
13983 2012-07-27  Gary Benson  <gbenson@redhat.com>
13985         [BZ #14298]
13986         * elf/rtld.c: Include <stap-probe.h>.
13987         (dl_main): Added static probes "init_start" and "init_complete".
13988         * elf/dl-load.c: Include <stap-probe.h>.
13989         (lose): Take new parameter "nsid".
13990         Added static probe "map_failed".
13991         (_dl_map_object_from_fd): Pass namespace id to lose.
13992         Added static probe "map_start".
13993         (open_verify): Pass namespace id to lose.
13994         * elf/dl-open.c: Include <stap-probe.h>.
13995         (dl_open_worker) Added static probes "map_complete", "reloc_start"
13996         and "reloc_complete".
13997         * elf/dl-close.c: Include <stap-probe.h>.
13998         (_dl_close_worker): Added static probes "unmap_start" and
13999         "unmap_complete".
14000         * elf/rtld-debugger-interface.txt: New file documenting the above.
14002 2012-07-26  Roland McGrath  <roland@hack.frob.com>
14004         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
14005         rather than a string variable.
14006         * sunrpc/rpc_main.c (h_output): Likewise.
14007         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
14009 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
14011         * inet/check_native.c: New file.
14013 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
14015         [BZ #13629]
14016         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
14017         if larger part has absolute value 1.0.
14018         * math/s_clog10.c (__clog10): Likewise.
14019         * math/s_clog10f.c (__clog10f): Likewise.
14020         * math/s_clog10l.c (__clog10l): Likewise.
14021         * math/s_clogf.c (__clogf): Likewise.
14022         * math/s_clogl.c (__clogl): Likewise.
14023         * math/libm-test.inc (clog_test): Add more tests.
14024         (clog10_test): Likewise.
14025         * sysdeps/i386/fpu/libm-test-ulps: Update.
14026         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14028         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
14029         (pltexit): Likewise.
14030         (La_regs): Likewise.
14031         (La_retval): Likewise.
14032         (int_retval): Likewise.
14033         Update #error for removed macros to refer only to definitions in
14034         tst-audit.h.
14035         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
14036         macro.
14037         (pltexit): Likewise.
14038         (La_regs): Likewise.
14039         (La_retval): Likewise.
14040         (int_retval): Likewise.
14041         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
14042         macro.
14043         (pltexit): Likewise.
14044         (La_regs): Likewise.
14045         (La_retval): Likewise.
14046         (int_retval): Likewise.
14047         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
14048         macro.
14049         (pltexit): Likewise.
14050         (La_regs): Likewise.
14051         (La_retval): Likewise.
14052         (int_retval): Likewise.
14053         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
14054         macro.
14055         (pltexit): Likewise.
14056         (La_regs): Likewise.
14057         (La_retval): Likewise.
14058         (int_retval): Likewise.
14059         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
14060         macro.
14061         (pltexit): Likewise.
14062         (La_regs): Likewise.
14063         (La_retval): Likewise.
14064         (int_retval): Likewise.
14065         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
14066         macro.
14067         (pltexit): Likewise.
14068         (La_regs): Likewise.
14069         (La_retval): Likewise.
14070         (int_retval): Likewise.
14071         * sysdeps/generic/tst-audit.h: Update comment to refer only to
14072         macro definitions in tst-audit.h.
14073         * sysdeps/i386/tst-audit.h: New file.
14074         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
14075         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
14076         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
14077         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
14078         * sysdeps/sh/tst-audit.h: Likewise.
14079         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
14080         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
14081         * sysdeps/x86_64/tst-audit.h: Likewise.
14083 2012-07-26  Andreas Jaeger  <aj@suse.de>
14085         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
14086         ptrace.
14088         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
14089         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
14090         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
14091         PTRACE_O_MASK.
14092         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
14093         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
14094         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
14096         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
14097         value.
14099         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
14100         _sigsys.
14101         (si_call_addr, si_syscall, si_arch): Define new macro.
14102         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
14103         _sigsys.
14104         (si_call_addr, si_syscall, si_arch): Define new marcro.
14105         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
14106         _sigsys.
14107         (si_call_addr, si_syscall, si_arch): Define new macro.
14108         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
14109         _sigsys.
14110         (si_call_addr, si_syscall, si_arch): Define new macro.
14112 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
14114         [BZ #13717]
14115         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
14116         Change to 2.4.21 where previously 2.4.1.
14117         * sysdeps/unix/sysv/linux/configure: Regenerated.
14118         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
14119         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
14120         Linux kernel version.
14121         (__ASSUME_STD_AUXV): Remove.
14122         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
14123         kernel version.
14124         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
14125         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
14126         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
14127         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
14128         (__ASSUME_NETLINK_SUPPORT): Likewise.
14129         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
14130         (__no_netlink_support): Remove conditional definition.
14131         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
14132         Remove.
14133         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
14134         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
14135         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
14136         (if_nameindex_ioctl): Remove.
14137         (if_nameindex_netlink): Do not handle __no_netlink_support.
14138         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
14139         code.
14140         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
14141         Remove conditional code.
14142         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
14143         code.
14144         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
14145         unconditional.
14146         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
14147         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
14148         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
14149         Remove.
14150         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
14151         [!__ASSUME_STD_AUXV]: Remove conditional code.
14152         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
14153         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
14154         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
14155         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
14156         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
14157         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
14158         code.
14159         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
14160         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
14161         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
14162         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
14163         conditional code.
14164         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
14165         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
14166         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
14167         code.
14168         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
14169         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
14170         conditional code.
14171         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
14172         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
14173         code unconditional.
14174         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
14175         conditional code.
14176         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
14177         unconditional.
14178         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
14179         conditional code.
14180         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
14181         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
14182         unconditional.
14183         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
14184         conditional code.
14185         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
14186         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
14187         code unconditional.
14188         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
14189         conditional code.
14190         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
14191         unconditional.
14192         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
14193         conditional code.
14194         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
14195         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
14196         code unconditional.
14197         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
14198         conditional code.
14199         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
14200         unconditional.
14201         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
14202         conditional code.
14204 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
14206         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
14207         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
14208         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
14209         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
14210         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
14211         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
14212         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
14213         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
14214         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
14215         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
14216         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
14217         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
14218         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
14219         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
14220         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
14221         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
14222         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
14223         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
14224         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
14225         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
14226         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
14227         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
14228         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
14230 2012-07-25  Florian Weimer  <fweimer@redhat.com>
14232         * Versions.def: Add GLIBC_2.17.
14233         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
14234         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
14235         Introduce __libc_secure_getenv.
14236         * stdlib/Versions (2.17): Add secure_getenv
14237         (GLIBC_PRIVATE): Add __libc_secure_getenv.
14238         * stdlib/secure-getenv.c: Rename __secure_getenv to
14239         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
14240         symbol __secure_getenv for GLIBC_2.0.
14241         * stdlib/tst-secure-getenv.c: New.
14242         * stdlib/Makefile (tests): Add testcase.
14243         * manual/startup.texi (Environment Access): Document
14244         secure_getenv.
14245         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
14246         __libc_secure_getenv.
14247         * inet/ruserpass.c (ruserpass): Likewise.
14248         * malloc/mtrace.c (mtrace): Likewise.
14249         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
14250         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
14251         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
14252         * sysdeps/posix/tempname.c: Likewise.  Evaluate
14253         HAVE_SECURE_GETENV.
14254         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
14255         __secure_getenv to __libc_secure_getenv.
14256         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
14257         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
14258         Likewise.
14259         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
14260         Likewise.
14261         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
14262         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
14263         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
14264         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
14265         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
14266         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
14267         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
14269 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
14271         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
14272         (struct La_i86_retval): Likewise.
14273         (struct La_x86_64_regs): Likewise.
14274         (struct La_x86_64_retval): Likewise.
14275         (struct La_x32_regs): Likewise.
14276         (struct La_x32_retval): Likewise.
14277         (struct La_ppc32_regs): Likewise.
14278         (struct La_ppc32_retval): Likewise.
14279         (struct La_ppc64_regs): Likewise.
14280         (struct La_ppc64_retval): Likewise.
14281         (struct La_sh_regs): Likewise.
14282         (struct La_sh_retval): Likewise.
14283         (struct La_s390_32_regs): Likewise.
14284         (struct La_s390_32_retval): Likewise.
14285         (struct La_s390_64_regs): Likewise.
14286         (struct La_s390_64_retval): Likewise.
14287         (struct La_sparc32_regs): Likewise.
14288         (struct La_sparc32_retval): Likewise.
14289         (struct La_sparc64_regs): Likewise.
14290         (struct La_sparc64_retval): Likewise.
14291         (struct audit_ifaces): Remove architecture-specific pltenter and
14292         pltexit members.
14293         * sysdeps/i386/ldsodefs.h: New file.
14294         * sysdeps/powerpc/ldsodefs.h: Likewise.
14295         * sysdeps/s390/ldsodefs.h: Likewise.
14296         * sysdeps/sh/ldsodefs.h: Likewise.
14297         * sysdeps/sparc/ldsodefs.h: Likewise.
14298         * sysdeps/x86_64/ldsodefs.h: Likewise.
14300 2012-07-25  Marek Polacek  <polacek@redhat.com>
14302         [BZ #6808]
14303         * math/libm-test.inc (yn_test): Add another test.
14304         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
14305         to ERANGE when the result is +-Inf.
14306         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
14307         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
14308         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
14309         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
14311 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
14313         * conform/data/time.h-data (NULL): Use macro-constant.  Require
14314         equal to 0.
14315         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
14316         clock_t.
14317         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
14319 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
14321         * configure.in <sysdeps resolving>: Correct printing
14322         Implies_before.
14323         * configure: Regenerate.
14325 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
14327         * math/w_ilogb.c: Include <limits.h>.
14328         * math/w_ilogbl.c: Likewise.
14330 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
14332         * manual/lang.texi (__va_copy): Document primarily as ISO C99
14333         va_copy.  Document allowing for unavailable va_copy only as
14334         pre-C99 compatibility.
14335         * manual/string.texi (Copying and Concatenation): Use va_copy
14336         instead of __va_copy in concat example.
14338 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
14340         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
14341         (__sendto): Use create_address_port.  Initialize APORT and deallocate
14342         it if not null.
14344         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
14345         with O_NOLINK passed to __file_name_lookup.
14347         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
14348         with O_NOLINK passed to __file_name_lookup.
14350         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
14351         negative N or less than NGIDS.
14353         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
14354         type to string_t.  Set ERANGE as errno and return it if NAME is not big
14355         enough.  Use memcpy instead of strncpy.
14357 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
14359         * elf/Makefile (check-data): Remove.
14360         (localplt.data): New vpath directive.
14361         ($(objpfx)check-localplt.out): Use localplt.data from vpath
14362         instead of $(check-data).
14363         * scripts/data/localplt-generic.data: Move to ...
14364         * sysdeps/generic/localplt.data: ... here.
14365         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
14366         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
14367         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
14368         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
14369         ... here.
14370         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
14371         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
14372         ... here.
14373         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
14374         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
14375         ... here.
14376         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
14377         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
14378         ... here.
14379         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
14380         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
14381         ... here.
14382         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
14383         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
14384         ... here.
14386 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14388         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
14389         PPC32 and PPC64 files.
14390         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
14391         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
14393 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
14395         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
14396         __makecontext_ret to ...
14397         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
14398         ... here and call exit if uc_link is NULL.  New file.
14399         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
14400         __makecontext_ret.S.
14401         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
14402         __makecontext_ret to ...
14403         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
14404         ... here and call exit if uc_link is NULL.  New file.
14405         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
14406         __makecontext_ret.S.
14408 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
14410         * elf/elf.h (R_390_IRELATIVE): New definition.
14411         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
14412         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
14413         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
14414         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
14415         (elf_machine_lazy_rel): Likewise.
14416         * sysdeps/s390/dl-irel.h: New file.
14417         * sysdeps/s390/s390-64/memcpy.S: New asm code.
14418         * sysdeps/s390/s390-64/memset.S: New asm code.
14419         * sysdeps/s390/s390-64/memcmp.S: New asm code.
14420         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
14421         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
14422         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
14423         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
14424         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
14425         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
14426         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
14427         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
14428         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
14429         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
14430         * sysdeps/s390/s390-32/memcpy.S: New asm code.
14431         * sysdeps/s390/s390-32/memset.S: New asm code.
14432         * sysdeps/s390/s390-32/memcmp.S: New asm code.
14434 2012-07-17  Marek Polacek  <polacek@redhat.com>
14436         [BZ #14349]
14437         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
14438         * sysdeps/s390/s390-64/configure.in: Likewise.
14439         * sysdeps/sparc/configure.in: Likewise.
14440         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
14441         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
14442         * sysdeps/i386/configure.in: Likewise.
14443         * sysdeps/x86_64/configure.in: Likewise.
14444         * sysdeps/sh/configure.in: Likewise.
14445         * sysdeps/s390/s390-32/configure: Regenerated.
14446         * sysdeps/s390/s390-64/configure: Likewise.
14447         * sysdeps/x86_64/configure: Likewise.
14448         * sysdeps/sh/configure: Likewise.
14449         * sysdeps/powerpc/powerpc64/configure: Likewise.
14450         * sysdeps/powerpc/powerpc32/configure: Likewise.
14451         * sysdeps/sparc/configure: Likwise.
14452         * sysdeps/i386/configure: Likewise.
14454         * elf/dl-open.c: Comment fixes.
14456 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
14458         * Makefile [CXX] (check-data): Remove.
14459         [CXX] (c++-types.data): New vpath directive.
14460         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
14461         vpath.  Do not allow for C++ type data being missing.
14462         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
14463         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
14464         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
14465         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
14466         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
14467         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
14468         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
14469         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
14470         ... here.
14471         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
14472         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
14473         ... here.
14474         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
14475         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
14476         ... here.
14477         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
14478         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
14479         ... here.
14480         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
14481         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
14482         ... here.
14483         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
14484         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
14485         ... here.
14486         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
14487         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
14488         ... here.
14489         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
14490         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
14492         * elf/tls-macros.h (TLS_LE): Move architecture-specific
14493         definitions to architecture-specific files.
14494         (TLS_IE): Likewise.
14495         (TLS_LD): Likewise.
14496         (TLS_GD): Likewise.
14497         * sysdeps/i386/tls-macros.h: New file.
14498         * sysdeps/powerpc/tls-macros.h: Likewise.
14499         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
14500         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
14501         * sysdeps/sh/tls-macros.h: Likewise.
14502         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
14503         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
14504         * sysdeps/x86_64/tls-macros.h: Likewise.
14506 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
14508         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
14509         zero value for regular exit case.
14511         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
14512         (__start_context): Preserve zero value for regular exit case.
14514 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
14515             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
14517         * manual/setjmp.texi (setcontext): Clarify normal process
14518         termination when uc_link is the null pointer.
14519         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
14520         exit call.
14522 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
14524         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
14525         preprocessor.  Test for each exception mask separately.
14527 2012-07-16  Andreas Jaeger  <aj@suse.de>
14529         * po/ru.po: Update from translation team.
14531 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
14533         * conform/data/string.h-data (NULL): Use macro-constant.  Require
14534         equal to 0.
14535         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
14536         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
14537         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
14538         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
14539         [ISO || ISO99 || ISO11] (*_t): Do not allow.
14541 2012-07-13  Andreas Jaeger  <aj@suse.de>
14543         * po/fr.po: Update from translation team.
14545 2012-07-12  Marek Polacek  <polacek@redhat.com>
14547         [BZ #14173]
14548         * math/libm-test.inc (yn_test): Add test for BZ #14173.
14549         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
14550         loop condition.
14552 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
14554         [BZ #13717]
14555         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
14556         Change to 2.4.1 where previously 2.4.0.
14557         * sysdeps/unix/sysv/linux/configure: Regenerated.
14558         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
14559         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
14560         version.
14561         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
14562         (__ASSUME_AT_CLKTCK): Remove.
14563         (__ASSUME_AT_PAGESIZE): Likewise.
14564         (__ASSUME_AT_XID): Likewise.
14565         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
14566         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
14567         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
14568         unconditionally.
14569         (HAVE_AUX_PAGESIZE): Likewise.
14570         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
14571         [__ASSUME_AT_CLKTCK]: Make code unconditional.
14572         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
14574 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
14576         [BZ #14307]
14577         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
14578         the temporary buffer used to invoke __gethostbyname2_r,
14579         __gethostbyaddr_r and gethostbyname4_r to make room for struct
14580         host_data / struct gaih_addrtuple.
14581         * resolv/nss_dns/dns-host.c (global scope): Move definition of
14582         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
14583         header file nss/nsswitch.h.
14584         * nss/nsswitch.h (global scope): Add definition of implementation
14585         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
14586         resolv/nss_dns/dns-host.c).
14588 2012-07-11  Andreas Jaeger  <aj@suse.de>
14590         * po/fr.po: Update from translation team.
14592         * po/sv.po: Update from translation team
14593         * po/fr.po: Another update from translation team.
14595 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14597         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
14598         for subnormals or multiply small sinh result by itself.
14599         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
14600         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14602 2012-07-11  David S. Miller  <davem@davemloft.net>
14604         * sysdeps/sparc/fpu/libm-test-ulps: Update.
14606 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
14608         [BZ #14347]
14609         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
14610         (INTERNAL_MARK): Shift it here.
14612 2012-07-10  Marek Polacek  <polacek@redhat.com>
14614         [BZ #14151]
14615         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
14616         libc_cv_asm_global_directive with .globl.
14617         * configure: Regenerated.
14618         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
14619         with .globl.
14620         * sysdeps/i386/configure: Regenerated.
14621         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
14622         with .globl.
14623         * sysdeps/x86_64/configure: Regenerated.
14624         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
14625         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
14626         * elf/tst-unique2mod2.c: Likewise.
14627         * elf/tst-unique2mod1.c: Likewise.
14628         * elf/tst-unique1mod2.c: Likewise.
14629         * elf/tst-unique1mod1.c: Likewise.
14630         * sysdeps/s390/s390-32/sysdep.h: Likewise.
14631         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
14632         * sysdeps/s390/s390-64/sysdep.h: Likewise.
14633         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
14634         * sysdeps/mach/sysdep.h: Likewise.
14635         * sysdeps/i386/sysdep.h: Likewise.
14636         * sysdeps/i386/i386-mcount.S: Likewise.
14637         * sysdeps/x86_64/_mcount.S: Likewise.
14638         * sysdeps/x86_64/sysdep.h: Likewise.
14639         * sysdeps/sh/_mcount.S: Likewise.
14640         * sysdeps/sh/sysdep.h: Likewise.
14641         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
14642         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
14643         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
14644         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
14645         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
14646         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
14647         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
14648         * locale/localeinfo.h: Likewise.
14649         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
14650         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
14652 2012-07-09  Roland McGrath  <roland@hack.frob.com>
14654         [BZ #14336]
14655         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
14656         system".
14657         * manual/message.texi (The Uniforum approach): Likewise.
14658         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
14659         (glibc iconv Implementation): Likewise.
14661 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
14663         [BZ #14337]
14664         * math/s_clog.c (__clog): Avoid scaling a value down where that
14665         could result in underflow.
14666         * math/s_clog10.c (__clog10): Likewise.
14667         * math/s_clog10f.c (__clog10f): Likewise.
14668         * math/s_clog10l.c (__clog10l): Likewise.
14669         * math/s_clogf.c (__clogf): Likewise.
14670         * math/s_clogl.c (__clogl): Likewise.
14671         * math/libm-test.inc (clog_test): Add more tests.
14672         (clog10_test): Likewise.
14673         * sysdeps/i386/fpu/libm-test-ulps: Update.
14674         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14676 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
14678         [BZ #14283]
14679         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
14680         by 7 not 8 to examine high bit of fractional part.
14682         [BZ #14042]
14683         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
14684         for call to __mcount_internal.
14685         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
14686         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
14687         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
14689 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
14691         [BZ #14154]
14692         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
14693         approximation for values within 0x1p-13f of an odd multiple of
14694         pi/4.
14695         * math/libm-test.inc (tan_test): Do not allow spurious underflow
14696         exception.  Add more tests.
14697         * sysdeps/i386/fpu/libm-test-ulps: Update.
14699         [BZ #6778]
14700         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
14701         inputs and return -1 for them.  Do not check for +Inf in case not
14702         reachable for +Inf.
14703         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
14704         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
14705         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
14706         and return -1 for them.  Do not check for +Inf in case not
14707         reachable for +Inf.
14708         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
14709         define.
14710         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
14711         and return -1 for them.  Do not check for +Inf in case not
14712         reachable for +Inf.
14713         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
14714         spurious underflow.
14715         * sysdeps/i386/fpu/libm-test-ulps: Update.
14716         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14718 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
14720         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
14722 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
14724         [BZ #14157]
14725         [BZ #14331]
14726         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
14727         could result in spurious underflow.  Scale down values above
14728         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
14729         * math/s_csqrtf.c (__csqrtf): Likewise.
14730         * math/s_csqrtl.c (__csqrtl): Likewise.
14731         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
14732         spurious underflow.
14733         * sysdeps/i386/fpu/libm-test-ulps: Update.
14734         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14736 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
14738         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
14739         xopen-msg.sed.
14740         * catgets/xopen-msg.awk: New file.
14741         * catgets/xopen-msg.sed: Removed.
14743         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
14744         po2text.sed.
14745         * intl/po2test.awk: New file.
14746         * intl/po2test.sed: Removed.
14748 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
14750         [BZ #14328]
14751         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
14752         or multiply small sinh result by itself.
14753         * math/s_ctanf.c (__ctanf): Likewise.
14754         * math/s_ctanh.c (__ctanh): Likewise.
14755         * math/s_ctanhf.c (__ctanhf): Likewise.
14756         * math/s_ctanhl.c (__ctanhl): Likewise.
14757         * math/s_ctanl.c (__ctanl): Likewise.
14758         * math/libm-test.inc (ctan_test_tonearest): New function.
14759         (ctan_test_towardzero): Likewise.
14760         (ctan_test_downward): Likewise.
14761         (ctan_test_upward): Likewise.
14762         (ctanh_test_tonearest): Likewise.
14763         (ctanh_test_towardzero): Likewise.
14764         (ctanh_test_downward): Likewise.
14765         (ctanh_test_upward): Likewise.
14766         (main): Call these new functions.
14767         * sysdeps/i386/fpu/libm-test-ulps: Update.
14768         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14770 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
14772         * .gitignore: Delete /ports entry.
14774 2012-07-03  Andreas Jaeger  <aj@suse.de>
14776         * po/bg.po: Update from translation team.
14777         * po/cs.po: Likewise.
14778         * po/de.po: Likewise.
14779         * po/hr.po: Likewise.
14780         * po/nl.pl: Likewise.
14781         * po/pl.po: Likewise.
14782         * po/vi.po: Likewise.
14784 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
14786         * Makeconfig [!+link] (+link-before-libc): New variable.
14787         [!+link] (+link-after-libc): Likewise.
14788         [!+link] (+link-tests): Likewise.
14789         [!+link] (+link): Define in terms of $(+link-before-libc) and
14790         $(+link-after-libc).
14791         [!+link-static] (+link-static-before-libc): New variable.
14792         [!+link-static] (+link-static-after-libc): Likewise.
14793         [!+link-static] (+link-static-tests): Likewise.
14794         [!+link-static] (+link-static): Define in terms of
14795         $(+link-static-before-libc) and $(+link-static-after-libc).
14796         [build-shared] (link-libc-before-gnulib): New variable.
14797         [build-shared] (link-libc-tests): Likewise.
14798         [build-shared] (link-libc): Define in terms of
14799         $(link-libc-before-gnulib).
14800         [!build-shared] (link-libc-tests): New variable.
14801         (link-libc-static-tests): New variable.
14802         [!gnulib] (gnulib-arch): New variable.
14803         [!gnulib] (gnulib-tests): Likewise.
14804         [!gnulib] (static-gnulib-arch): Likewise.
14805         [!gnulib] (static-gnulib-tests): Likewise.
14806         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
14807         Define with "=" instead of ":=".
14808         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
14809         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
14810         * Rules (binaries-all-notests): New variable.
14811         (binaries-all-tests): Likewise.
14812         (binaries-static-notests): Likewise.
14813         (binaries-static-tests): Likewise.
14814         (binaries-all): Define using $(binaries-all-notests) and
14815         $(binaries-all-tests).
14816         (binaries-static): Define using $(binaries-static-notests) and
14817         $(binaries-static-tests).
14818         (binaries-shared-tests): New variable.
14819         (binaries-shared-notests): Likewise.
14820         (binaries-shared): Remove variable.
14821         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
14822         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
14823         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
14824         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
14825         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
14826         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
14827         * elf/Makefile (sln-modules): New variable.
14828         (extra-objs): Add $(sln-modules:=.o).
14829         (ldconfig-modules): Add static-stubs.
14830         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
14831         * elf/static-stubs.c: New file.
14833         [BZ #14283]
14834         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
14835         by 7 not 8 to examine high bit of fractional part.  Use volatile
14836         variables when splitting into final array of floats if
14837         __FLT_EVAL_METHOD__ != 0.
14838         * math/libm-test.inc (cos_test): Add another test.
14839         (sin_test): Likewise.
14840         * sysdeps/i386/fpu/libm-test-ulps: Update.
14842         [BZ #14273]
14843         * math/libm-test.inc (cosh_test): Add more tests.
14845         * version.h (RELEASE): Set to "development".
14846         (VERSION): Set to "2.16.90".
14848 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
14850         * NEWS: Update copyright. Remove last-updated date.
14851         Mention math library bug fixes and timezone data changes.
14852         * README: Mention GNU/Hurd, x32, and HPPA support status.
14854 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
14856         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
14858 2012-06-27  Andreas Jaeger  <aj@suse.de>
14860         * manual/contrib.texi (Contributors): Add Samuel Thibault.
14862 2012-06-25  Andreas Jaeger  <aj@suse.de>
14864         * sysdeps/s390/fpu/libm-test-ulps: Update.
14866 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
14867             Thomas Schwinge  <thomas@codesourcery.com>
14869         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
14870         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
14871         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
14872         fanotify_mark.
14874 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
14876         * sysdeps/mach/start.c: Remove file.
14877         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
14878         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
14879         * sysdeps/sh/init-first.c: Likewise.
14881         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
14882         registers for frame unwinding purposes, add CFI directives.
14883         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
14884         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
14885         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
14886         Likewise.
14888         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
14889         __fortify_fail returning.
14890         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
14892         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
14893         sysdeps/sh/____longjmp_chk.S.
14894         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
14895         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
14896         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
14897         (gen-as-const-headers): Append sigaltstack-offsets.sym.
14899         * sysdeps/sh/abort-instr.h: New file.
14900         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
14901         process in case exit returns.
14903         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
14904         initialize the GOT register before use.
14906         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
14907         calculation of ARGC > 4.
14909         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
14910         meaningful names to some local labels.
14912 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
14913             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
14915         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
14916         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
14917         (__arch_compare_and_exchange_val_16_acq): Likewise.
14918         (__arch_compare_and_exchange_val_32_acq): Likewise.
14919         (atomic_exchange_and_add): Fix gUSA sequence.
14920         (atomic_add): Likewise.
14921         (atomic_add_negative): Likewise.
14922         (atomic_add_zero): Likewise.
14923         (atomic_bit_test_set): Likewise.
14925 2012-06-22  Andreas Schwab  <schwab@redhat.com>
14927         [BZ #13579]
14928         * include/link.h (struct link_map): Add l_free_initfini.
14929         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
14930         l_initfini.
14931         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
14932         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
14933         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
14934         set.
14936 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
14938         * configure.in: Use AC_LANG_SOURCE.
14939         * configure: Regenerate.
14941 2012-06-22  Roland McGrath  <roland@hack.frob.com>
14943         * configure.in (libc_cv_localstatedir): New substituted variable.
14944         * configure: Regenerated.
14945         * config.make.in (localstatedir): New variable, substituted from
14946         libc_cv_localstatedir.
14947         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
14948         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
14949         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
14950         * sysdeps/gnu/configure: Regenerated.
14952 2012-06-21  Jeff Law  <law@redhat.com>
14954         [BZ #14277]
14955         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
14956         free.  Simplify list management for _LIBC case.
14958 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
14960         [BZ #14273]
14961         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
14962         Clear sign bit of 64-bit integer value before comparing against
14963         overflow value.
14965         * sysdeps/mach/configure: Regenerated.
14967 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
14969         [BZ #14278]
14970         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
14972 2012-06-21  Jeff Law  <law@redhat.com>
14974         [BZ #13882]
14975         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
14976         uint16_t for elements in the "seen" array to avoid char overflows.
14977         * elf/dl-fini.c (_dl_sort_fini): Likewise.
14978         * elf/dl-open.c (dl_open_worker): Likewise.
14980 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
14982         * scripts/list-sources.sh: Scan PORTS for translations.
14983         * po/libc.pot: Regenerated.
14985 2012-06-21  Andreas Jaeger  <aj@suse.de>
14987         [BZ #12194]
14988         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
14989         warning.
14990         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
14991         * bits/byteswap-16.h (__bswap_16): Likewise.
14992         * bits/byteswap.h (__bswap_constant_16): Likewise.
14994 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
14996         [BZ #14117]
14997         * sysdeps/i386/fpu_control.h: Removed.
14998         * sysdeps/x86_64/fpu_control.h: Moved to ...
14999         * sysdeps/x86/fpu_control.h: Here.
15001         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
15002         (_FPU_SETCW): Likewise.
15004 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
15006         [BZ #14117]
15007         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
15008         * sysdeps/x86/fpu/bits/mathinline.h: This.
15009         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
15011         [BZ #14050]
15012         [BZ #14117]
15013         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
15014         functions if __x86_64__ is defined.
15016 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
15018         * string/endian.h: Add !__ASSEMBLER__ condition for including
15019         conversion interfaces.
15021 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
15023         [BZ #14241]
15024         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
15025         of ABS(x) in calculating zero to negative powers other than odd
15026         integers.
15027         * math/libm-test.inc (pow_test): Add more tests.
15029 2012-06-15  Andreas Jaeger  <aj@suse.de>
15031         * manual/contrib.texi (Contributors): Update entry of Liubov
15032         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
15033         Machado Filho.
15035 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
15037         * string/string.h: Add __wur to GNU version of strerror_r.
15039 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
15041         [BZ #14229]
15042         * string/Makefile (tests): Add tst-strtok_r.
15043         * string/tst-strtok_r.c: New file.
15044         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
15045         RAX_LP/RDX_LP on SAVE_PTR.
15047 2012-06-14  Roland McGrath  <roland@hack.frob.com>
15049         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
15051 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
15053         * libm_test.inc (csqrt_test): Allow more spurious underflow
15054         exceptions.
15055         (j0_test): Likewise.
15056         (j1_test): Likewise.
15057         (y0_test): Likewise.
15058         (y1_test): Likewise.
15060 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
15062         * po/Makefile (libc.pot): Use UTF-8 charset.
15064 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
15066         [BZ #14210]
15067         Suppress sign-conversion warning from FD_SET.
15068         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
15069         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
15070         not unsigned long int.
15071         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
15073 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
15075         [BZ #14050]
15076         [BZ #14117]
15077         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
15078         __extern_always_inline instead of __extern_inline.
15079         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
15080         (__signbit): Likewise.
15081         (__signbitl): Support C++ namespace.
15082         (lrintf): New inline function.
15083         (lrint): Likewise.
15084         (llrintf): Likewise.
15085         (llrint): Likewise.
15086         (fmaxf): Likewise.
15087         (fmax): Likewise.
15088         (fminf): Likewise.
15089         (fmin): Likewise.
15090         (rint): Likewise.
15091         (rintf): Likewise.
15092         (ceil): Likewise.
15093         (ceilf): Likewise.
15094         (floor): Likewise.
15095         (floorf): Likewise.
15096         (nearbyint): Likewise.
15097         (nearbyintf): Likewise.
15099 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
15101         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
15102         non-default versions.
15104 2012-06-11  Roland McGrath  <roland@hack.frob.com>
15106         [BZ #14218]
15107         * manual/argp.texi (Argp): Reword argp_parse description slightly.
15109 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
15111         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
15112         (FE_UPWARD, FE_DOWNWARD): Don't define.
15113         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
15114         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
15116         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
15117         reading it.
15118         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
15119         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
15121 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
15123         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
15124         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
15125         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
15126         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
15128 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
15130         [BZ #14117]
15131         * sysdeps/i386/fpu/bits/fenv.h: Removed.
15132         * sysdeps/i386/fpu/Implies: New file.
15133         * sysdeps/x86_64/fpu/Implies: Likewise.
15134         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
15135         * sysdeps/x86/fpu/bits/fenv.h: This.
15137         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
15138         __SSE_MATH__.
15140 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
15142         [BZ #14134]
15143         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
15144         character 0xffff that matches the last element of the
15145         conversion table.
15147 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15149         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
15150         fmodl commit.
15152 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15154         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
15155         values higher than 25.6283.
15157 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15159         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
15160         subnormal exponent extraction and add some __builtin_expect.
15161         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
15162         Fix for subnormal mantissa calculation.
15164 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
15166         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
15167         cpu2 is -1 and errno is not ENOSYS.
15169 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
15171         [BZ #14117]
15172         * sysdeps/i386/i486/bits/string.h: Renamed to ...
15173         * sysdeps/x86/bits/string.h: This.
15174         * sysdeps/x86_64/bits/string.h: Removed.
15176         * sysdeps/i386/i486/bits/string.h: Define inline functions only
15177         if not compiling for x86-64, but compiling for >= i486.
15179         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
15180         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
15182         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
15183         New macro from Linux kernel 3.4.0.
15184         (FP_XSTATE_MAGIC2): Likewise.
15185         (FP_XSTATE_MAGIC2_SIZE): Likewise.
15186         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
15187         (struct _fpx_sw_bytes): New struct.
15188         (struct _xsave_hdr): Likewise.
15189         (struct _ymmh_state): Likewise.
15190         (struct _xstate): Likewise.
15192         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
15193         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
15194         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
15195         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
15196         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
15197         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
15199         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
15200         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
15201         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
15202         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
15203         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
15204         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
15206 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
15208         [BZ #13743]
15209         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
15210         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
15211         (sysdep_headers): Include sys/platform/ppc.h.
15212         * sysdeps/powerpc/test-gettimebase.c: Test for
15213         __ppc_get_timebase() to catch future ISA opcode/insn changes.
15214         * manual/Makefile (appendices): Include platform.texi.
15215         * manual/contrib.texi (Contributors): Update @node pointers.
15216         * manual/maint.texi (Maintenance): Likewise.
15217         (Platform): New node.
15218         * manual/platform.texi: New file.  Document the new features.
15220 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
15221             Jakub Jelinek  <jakub@redhat.com>
15223         [BZ #14188]
15224         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
15225         where __builtin_expect is unavailable.
15227 2012-06-03  David S. Miller  <davem@davemloft.net>
15229         * stdlib/longlong.h: Updated from GCC.
15231 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
15233         [BZ #14042]
15234         * sysdeps/powerpc/powerpc32/mcount.c: New file.
15235         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
15236         __mcount_internal.
15237         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
15238         (GLIBC_2.16): Likewise.
15240 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
15242         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
15244 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
15246         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
15247         (default-abi): New variable.
15248         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
15249         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
15250         variable.
15251         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
15252         Likewise.
15253         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
15254         Likewise.
15255         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
15256         Likewise.
15258         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
15259         definition.  Document in comment.
15261 2012-06-01  David S. Miller  <davem@davemloft.net>
15263         * stdlib/longlong.h: Updated from GCC.
15265 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
15267         [BZ #14117]
15268         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
15269         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
15270         sys/debugreg.h sys/io.h here.
15271         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
15272         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
15273         sys/io.h.
15274         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
15275         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
15276         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
15277         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
15278         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
15279         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
15281         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
15282         Define only if __x86_64__ is defined.
15284 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
15286         [BZ #14048]
15287         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
15288         Use int64_t for variable i.
15289         * math/libm-test.inc (fmod_test): Add more tests.
15291         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
15292         z computation is not scheduled after fetestexcept.
15293         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
15294         Use math_force_eval instead of asm to ensure calculation scheduled
15295         before exception test.
15296         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
15297         Ensure a1 + u.d computation is not scheduled after fetestexcept.
15299 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
15301         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
15302         computation is not scheduled after fetestexcept.
15304 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
15306         [BZ #14117]
15307         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
15308         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
15310 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15312         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
15313         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
15315 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
15317         [BZ #14117]
15318         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
15319         <bits/wordsize.h>.
15320         (__WCHAR_MIN): Support __WORDSIZE == 64.
15321         (__WCHAR_MAX): Likewise.
15323         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
15324         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
15326         [BZ #14183]
15327         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
15328         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
15330         [BZ #14117]
15331         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
15332         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
15334         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
15335         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
15337         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
15338         Defined to 1 if __x86_64__ isn't defined.
15339         (_STAT_VER_LINUX_OLD): New.
15340         (st_atime): Remove duplicate.
15341         (st_mtime): Likewise.
15342         (st_ctime): Likewise.
15344 2012-05-31  David S. Miller  <davem@davemloft.net>
15346         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
15347         entries.
15349 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
15351         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
15352         gen-libm-test.pl.
15354         [BZ #14132]
15355         * elf/dl-reloc.c: Include <_itoa.h>.
15356         (_dl_reloc_bad_type): Remove use of INTUSE.
15357         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
15358         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
15359         * stdio-common/psiginfo.c (psiginfo): Likewise.
15360         * stdio-common/psignal.c (psignal): Likewise.
15361         * string/strsignal.c (strsignal): Likewise.
15362         * include/signal.h (_sys_siglist): Declare hidden proto.
15363         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
15364         INTVARDEF with libc_hidden_data_def.
15365         * stdio-common/itoa-udigits.c: Likewise.
15366         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
15367         (_itoa_lower_digits_internal): Remove declaration.
15368         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
15369         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
15370         (_sys_sigabbrev_internal): Remove aliases.
15371         (_sys_siglist): Define hidden alias.
15373 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
15375         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15376         bits/sysctl.h.
15378 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
15380         [BZ #14117]
15381         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
15382         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
15384         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
15385         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
15386         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
15387         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
15388         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
15389         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
15391         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
15392         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
15393         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
15395         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
15396         with __addr.
15397         (insw): Likewise.
15398         (insl): Likewise.
15399         (outsb): Likewise.
15400         (outsw): Likewise.
15401         (outsl): Likewise.
15403         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
15404         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
15405         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
15407         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
15408         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
15409         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
15410         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
15411         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
15412         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
15414         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
15415         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
15417         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
15418         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
15420         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
15421         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
15422         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
15424         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
15425         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
15426         to ...
15427         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
15429         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
15430         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
15431         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
15433         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
15434         for x86-64.
15435         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
15437 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
15439         * math/math.h (M_El): Use two more decimal places.
15440         (M_LOG2El): Likewise.
15441         (M_LOG10El): Likewise.
15442         (M_LN2l): Likewise.
15443         (M_LN10l): Likewise.
15444         (M_PIl): Likewise.
15445         (M_PI_2l): Likewise.
15446         (M_PI_4l): Likewise.
15447         (M_1_PIl): Likewise.
15448         (M_2_PIl): Likewise.
15449         (M_2_SQRTPIl): Likewise.
15450         (M_SQRT2l): Likewise.
15451         (M_SQRT1_2l): Likewise.
15453 2012-05-31  David S. Miller  <davem@davemloft.net>
15455         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
15456         values between float registers.
15457         * sysdeps/sparc/sparc64/memset.S: Likewise.
15458         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
15460 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
15462         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
15463         -D_FORTIFY_SOURCE=1.
15464         (CPPFLAGS-tst-longjmp_chk.c): Define.
15465         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
15466         (CPPFLAGS-tst-longjmp_chk2.c): Define.
15467         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
15468         CFLAGS-tst-wchar-h.c.
15470 2012-05-31  Marek Polacek  <polacek@redhat.com>
15472         [BZ #14132]
15473         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
15474         __endmntent_internal): Remove declaration.
15475         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
15476         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
15477         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
15479 2012-05-30  David S. Miller  <davem@davemloft.net>
15481         * sysdeps/sparc/sparc32/soft-fp/q_util.c
15482         (___Q_simulate_exceptions): Use real FP ops rather than writing
15483         into the %fsr.
15484         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
15485         Likewise.
15487 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
15489         [BZ #14117]
15490         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
15491         * sysdeps/x86/bits/xtitypes.h: This.
15493         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
15494         * sysdeps/x86/bits/wordsize.h: This.
15496         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
15497         * sysdeps/x86/bits/huge_vall.h: This.
15499         * sysdeps/i386/bits/select.h: Removed.
15500         * sysdeps/x86_64/bits/select.h: Renamed to ...
15501         * sysdeps/x86/bits/select.h: This.
15503         * sysdeps/i386/bits/setjmp.h: Removed.
15504         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
15505         * sysdeps/x86/bits/setjmp.h: This.
15507         * sysdeps/i386/bits/mathdef.h: Removed.
15508         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
15509         * sysdeps/x86/bits/mathdef.h: This.
15511 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
15513         [BZ #14132]
15514         * include/sys/socket.h (__connect_internal)
15515         (__libc_sa_len_internal): Remove declaration.
15516         (__connect, __libc_sa_len): Declare hidden_proto.
15517         (SA_LEN): Remove use of INTUSE.
15518         * socket/connect.c: Add libc_hidden_def.
15519         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
15520         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
15521         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
15522         alias.
15523         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
15524         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
15525         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
15526         of adding _internal alias.
15528 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
15530         [BZ #14117]
15531         * sysdeps/i386/bits/link.h: Removed.
15532         * sysdeps/i386/bits/linkmap.h: Likewise.
15533         * sysdeps/x86_64/bits/link.h: Renamed to ...
15534         * sysdeps/x86/bits/link.h: This.
15535         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
15536         * sysdeps/x86/bits/linkmap.h: This.
15538         * sysdeps/i386/bits/endian.h: Removed.
15539         * sysdeps/x86_64/bits/endian.h: Renamed to ...
15540         * sysdeps/x86/bits/endian.h: This.
15542         * sysdeps/i386/bits/byteswap.h: Removed.
15543         * sysdeps/i386/bits/byteswap-16.h: Likewise.
15544         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
15545         * sysdeps/x86/bits/byteswap.h: This.
15546         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
15547         * sysdeps/x86/bits/byteswap-16.h: This.
15548         * sysdeps/i386/Implies: Add x86.
15549         * sysdeps/x86_64/Implies: Likewise.
15551 2012-05-30  David S. Miller  <davem@davemloft.net>
15553         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
15554         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
15555         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
15556         (FP_TRAPPING_EXCEPTIONS): Define.
15557         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
15558         (FP_TRAPPING_EXCEPTIONS): Define.
15559         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
15560         subnormals only when inexact has been signalled or underflow
15561         exceptions are enabled.
15562         (_FP_PACK_CANONICAL): Likewise.
15564 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
15566         [BZ #14183]
15567         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
15568         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
15570 2012-05-30  Richard Henderson  <rth@twiddle.net>
15572         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
15573         with #ifndef NOT_IN_libc.
15575         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
15576         marked to avoid plt entry.
15578 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
15580         [BZ #14112]
15581         * Makeconfig (default-abi): New macro.
15582         (abi-includes): Likewise.
15583         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
15584         $(abi-$(default-abi)-lib-soname) for soname if defined.
15585         ($(common-objpfx)gnu/lib-names.stmp): Generate from
15586         abi-variants.
15587         * Makefile (installed-stubs): Likewise.
15588         * include/stubs-biarch.h: Removed.
15589         * scripts/lib-names.awk: Only handle one library at a time.
15590         * scripts/soversions.awk: Remove WORDSIZE support.
15591         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
15592         entries.
15593         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
15594         Removed.
15595         (syscall-list-default-condition): Likewise.
15596         (syscall-list-default-condition): Likewise.
15597         (syscall-list-includes): Likewise.
15598         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
15599         syscall-list-* with abi-*.  Handle undefined abi-variants.
15600         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
15601         * sysdeps/unix/sysv/linux/i386/Implies: New file.
15602         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
15603         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
15604         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
15605         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
15606         Removed.
15607         (syscall-list-32-options): Likewise.
15608         (syscall-list-32-condition): Likewise.
15609         (syscall-list-64-options): Likewise.
15610         (syscall-list-64-condition): Likewise.
15611         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
15612         macro.
15613         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
15614         Renamed to ...
15615         (abi-*): This.
15616         (abi-64-ld-soname): New macro.
15617         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
15618         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
15619         Renamed to ...
15620         (abi-*): This.
15621         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
15622         * sysdeps/x86_64/x32/shlib-versions: Likewise.
15624 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
15626         * sysdeps/unix/sysv/linux/kernel-features.h
15627         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
15628         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
15629         include <kernel-features.h>.
15630         [!__NR_ftruncate64]: Remove conditional code.
15631         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
15632         [__NR_ftruncate64]: Make code unconditional.
15633         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
15634         * sysdeps/unix/sysv/linux/truncate64.c: Do not
15635         include <kernel-features.h>.
15636         [!__NR_ftruncate64]: Remove conditional code.
15637         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
15638         [__NR_ftruncate64]: Make code unconditional.
15639         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
15640         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
15641         include <kernel-features.h>.
15642         [!__NR_ftruncate64]: Remove conditional code.
15643         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
15644         [__NR_ftruncate64]: Make code unconditional.
15645         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
15646         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
15647         include <kernel-features.h>.
15648         [!__NR_ftruncate64]: Remove conditional code.
15649         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
15650         [__NR_ftruncate64]: Make code unconditional.
15651         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
15653         * configure.in (libc_cv_fpie): Weaken to a compile test using
15654         LIBC_TRY_CC_OPTION.
15655         * configure: Regenerated.
15657 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
15659         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
15660         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
15661         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
15662         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
15663         Refreshed.
15664         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
15665         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
15666         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
15667         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
15668         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
15669         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
15670         Refreshed.
15672 2012-05-27  David S. Miller  <davem@davemloft.net>
15674         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
15675         (___Q_zero): New.
15676         (__Q_simulate_exceptions): Return void.  Change to simulate
15677         exceptions by writing into the %fsr.
15678         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
15679         (__Qp_handle_exceptions): Likewise.
15680         (numbers): Delete.
15681         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
15682         __Qp_handle_exceptions.
15683         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
15684         __Qp_handle_exceptions.
15685         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
15686         as unused and give dummy FP_RND_NEAREST initializer.
15687         (FP_INHIBIT_RESULTS): Define.
15688         (___Q_simulate_exceptions): Update declaration.
15689         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
15690         formatting.
15691         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
15692         as unused and give dummy FP_RND_NEAREST initializer.
15693         (__Qp_handle_exceptions): Update declaration.
15694         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
15695         formatting.
15697 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
15699         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
15700         the temporary FPU control word.
15701         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
15702         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
15703         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
15704         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
15705         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
15706         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
15707         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
15708         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
15709         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
15710         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
15711         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
15713 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
15715         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
15716         fields.
15718 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
15720         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
15721         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
15722         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
15723         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
15724         Likewise.
15725         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
15726         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
15727         Likewise.
15729 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
15731         * po/h.po: Update from translation team.
15733 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
15735         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
15737         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
15738         handling of denormals.
15739         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
15740         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
15741         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
15742         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
15743         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
15744         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
15745         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
15746         Likewise.
15748 2012-05-26  Marek Polacek  <polacek@redhat.com>
15750         [BZ #14152]
15751         * math/libm-test.inc (fma_test): Don't always expect underflow
15752         exception.
15754 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
15756         [BZ #12416]
15757         * elf/tst-execstack.c: Include stackinfo.h.
15758         (do_test): Adjust test case to ensure that pthread_getattr_np
15759         behaviour remains the same after marking stack executable.
15761 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
15763         * sysdeps/unix/sysv/linux/kernel-features.h
15764         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
15765         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
15766         kernel-features.h.
15767         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
15768         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
15769         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
15770         kernel-features.h.
15771         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
15772         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
15774 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
15776         * configure.in: Define the default includes to being none.
15777         * configure: Regenerated.
15779 2012-05-25  Roland McGrath  <roland@hack.frob.com>
15781         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
15782         * sysdeps/x86_64/setjmp.S: Likewise.
15783         * sysdeps/i386/bsd-setjmp.S: Likewise.
15784         * sysdeps/i386/bsd-_setjmp.S: Likewise.
15785         * sysdeps/i386/setjmp.S: Likewise.
15786         * sysdeps/i386/__longjmp.S: Likewise.
15787         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
15788         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
15790         * include/stap-probe.h: New file.
15791         * configure.in: Handle --enable-systemtap.
15792         * configure: Regenerated.
15793         * config.h.in (USE_STAP_PROBE): New #undef.
15794         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
15795         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
15796         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
15798 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
15800         [BZ #13717]
15801         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
15802         to 2.4.0 where earlier.
15803         * sysdeps/unix/sysv/linux/configure: Regenerated.
15804         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
15805         <kernel-features.h>.
15806         [__ASSUME_32BITUIDS]: Make code unconditional.
15807         [!__ASSUME_32BITUIDS]: Remove conditional code.
15808         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
15809         <kernel-features.h>.
15810         [__ASSUME_32BITUIDS]: Make code unconditional.
15811         [!__ASSUME_32BITUIDS]: Remove conditional code.
15812         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
15813         [__ASSUME_32BITUIDS]: Make code unconditional.
15814         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
15815         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
15816         <kernel-features.h>.
15817         [__ASSUME_32BITUIDS]: Make code unconditional.
15818         [!__ASSUME_32BITUIDS]: Remove conditional code.
15819         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
15820         <kernel-features.h>.
15821         [__ASSUME_32BITUIDS]: Make code unconditional.
15822         [!__ASSUME_32BITUIDS]: Remove conditional code.
15823         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
15824         <kernel-features.h>.
15825         [__ASSUME_32BITUIDS]: Make code unconditional.
15826         [!__ASSUME_32BITUIDS]: Remove conditional code.
15827         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
15828         <kernel-features.h>.
15829         [__ASSUME_32BITUIDS]: Make code unconditional.
15830         [!__ASSUME_32BITUIDS]: Remove conditional code.
15831         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
15832         <kernel-features.h>.
15833         [__ASSUME_32BITUIDS]: Make code unconditional.
15834         [!__ASSUME_32BITUIDS]: Remove conditional code.
15835         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
15836         <kernel-features.h>.
15837         [__ASSUME_32BITUIDS]: Make code unconditional.
15838         [!__ASSUME_32BITUIDS]: Remove conditional code.
15839         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
15840         <kernel-features.h>.
15841         [__ASSUME_32BITUIDS]: Make code unconditional.
15842         [!__ASSUME_32BITUIDS]: Remove conditional code.
15843         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
15844         <kernel-features.h>.
15845         [__ASSUME_32BITUIDS]: Make code unconditional.
15846         [!__ASSUME_32BITUIDS]: Remove conditional code.
15847         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
15848         <kernel-features.h>.
15849         [__ASSUME_32BITUIDS]: Make code unconditional.
15850         [!__ASSUME_32BITUIDS]: Remove conditional code.
15851         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
15852         <kernel-features.h>.
15853         [__ASSUME_32BITUIDS]: Make code unconditional.
15854         [!__ASSUME_32BITUIDS]: Remove conditional code.
15855         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
15856         <kernel-features.h>.
15857         [__NR_setresgid] (__setresgid): Do not declare.
15858         [__ASSUME_32BITUIDS]: Make code unconditional.
15859         [!__ASSUME_32BITUIDS]: Remove conditional code.
15860         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
15861         <kernel-features.h>.
15862         [__NR_setresuid] (__setresuid): Do not declare.
15863         [__ASSUME_32BITUIDS]: Make code unconditional.
15864         [!__ASSUME_32BITUIDS]: Remove conditional code.
15865         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
15866         <kernel-features.h>.
15867         [__ASSUME_32BITUIDS]: Make code unconditional.
15868         [!__ASSUME_32BITUIDS]: Remove conditional code.
15869         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
15870         <kernel-features.h>.
15871         [__ASSUME_32BITUIDS]: Make code unconditional.
15872         [!__ASSUME_32BITUIDS]: Remove conditional code.
15873         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
15874         <kernel-features.h>.
15875         [__ASSUME_32BITUIDS]: Make code unconditional.
15876         [!__ASSUME_32BITUIDS]: Remove conditional code.
15877         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
15878         <kernel-features.h>.
15879         [__ASSUME_32BITUIDS]: Make code unconditional.
15880         [!__ASSUME_32BITUIDS]: Remove conditional code.
15881         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
15882         <kernel-features.h>.
15883         [__ASSUME_32BITUIDS]: Make code unconditional.
15884         [!__ASSUME_32BITUIDS]: Remove conditional code.
15885         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
15886         <kernel-features.h>.
15887         [__ASSUME_32BITUIDS]: Make code unconditional.
15888         [!__ASSUME_32BITUIDS]: Remove conditional code.
15889         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
15890         <kernel-features.h>.
15891         [__ASSUME_32BITUIDS]: Make code unconditional.
15892         [!__ASSUME_32BITUIDS]: Remove conditional code.
15893         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
15894         <kernel-features.h>.
15895         [__ASSUME_32BITUIDS]: Make code unconditional.
15896         [!__ASSUME_32BITUIDS]: Remove conditional code.
15897         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
15898         <kernel-features.h>.
15899         [__ASSUME_32BITUIDS]: Make code unconditional.
15900         [!__ASSUME_32BITUIDS]: Remove conditional code.
15901         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
15902         <kernel-features.h>.
15903         [__ASSUME_32BITUIDS]: Make code unconditional.
15904         [!__ASSUME_32BITUIDS]: Remove conditional code.
15905         * sysdeps/unix/sysv/linux/kernel-features.h
15906         (__ASSUME_SETRESUID_SYSCALL): Remove.
15907         (__ASSUME_SETRESGID_SYSCALL): Likewise.
15908         (__ASSUME_32BITUIDS): Likewise.
15909         (__ASSUME_LDT_WORKS): Likewise.
15910         (__ASSUME_O_DIRECTORY): Likewise.
15911         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
15912         architecture but not kernel version.
15913         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
15914         (__ASSUME_MMAP2_SYSCALL): Likewise.
15915         (__ASSUME_STAT64_SYSCALL): Likewise.
15916         (__ASSUME_IPC64): Likewise.
15917         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
15918         <kernel-features.h>.
15919         [__ASSUME_32BITUIDS]: Make code unconditional.
15920         [!__ASSUME_32BITUIDS]: Remove conditional code.
15921         * sysdeps/unix/sysv/linux/opendir.c: Do not include
15922         <kernel-features.h>.
15923         [__ASSUME_O_DIRECTORY]: Make code unconditional.
15924         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
15925         132096]: Remove conditional code.
15926         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
15927         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
15928         <kernel-features.h>.
15929         [__ASSUME_32BITUIDS]: Make code unconditional.
15930         [!__ASSUME_32BITUIDS]: Remove conditional code.
15931         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
15932         <kernel-features.h>.
15933         [__ASSUME_32BITUIDS]: Make code unconditional.
15934         [!__ASSUME_32BITUIDS]: Remove conditional code.
15935         * sysdeps/unix/sysv/linux/setegid.c: Do not include
15936         <kernel-features.h>.
15937         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
15938         unconditional.
15939         (__setresgid): Do not declare.
15940         [__ASSUME_32BITUIDS]: Make code unconditional.
15941         [!__ASSUME_32BITUIDS]: Remove conditional code.
15942         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
15943         <kernel-features.h>.
15944         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
15945         unconditional.
15946         (__setresuid): Do not declare.
15947         [__ASSUME_32BITUIDS]: Make code unconditional.
15948         [!__ASSUME_32BITUIDS]: Remove conditional code.
15949         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
15950         <kernel-features.h>.
15951         [__ASSUME_32BITUIDS]: Make code unconditional.
15952         [!__ASSUME_32BITUIDS]: Remove conditional code.
15953         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
15954         <kernel-features.h>.
15955         [__ASSUME_32BITUIDS]: Make code unconditional.
15956         [!__ASSUME_32BITUIDS]: Remove conditional code.
15958 2012-05-25  Richard Henderson  <rth@twiddle.net>
15960         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
15961         dl_hwcap to ifunc resolver.
15962         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
15963         elf_ifunc_invoke.
15964         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
15965         dl_hwcap to ifunc resolver.
15966         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
15968 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
15970         [BZ #14153]
15971         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
15972         for |x| <= 2**-26, not 2**-57.
15973         * math/libm-test.inc (acos_test): Do not allow spurious underflow
15974         exception.
15976 2012-05-24  Jeff Law  <law@redhat.com>
15978         * stdio-common/Makefile (tests): Add bug25.
15979         * stdio-common/bug25.c: New test.
15981 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
15983         [BZ #13576]
15984         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
15985         multiple of MALLOC_ALIGNMENT in size.
15986         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
15988 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
15990         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
15991         Require >= 256.
15992         (FILENAME_MAX): Use macro-int-constant.
15993         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
15994         (_IOFBF): Use macro-int-constant.
15995         (_IOLBF): Likewise.
15996         (_IONBF): Likewise.
15997         (SEEK_CUR): Likewise.
15998         (SEEK_END): Likewise.
15999         (SEEK_SET): Likewise.
16000         (TMP_MAX): Likewise.
16001         (EOF): Use macro-int-constant.  Require < 0.
16002         (NULL): Use macro-constant.  Require == 0.
16003         (stdin): Require type to be FILE *.
16004         (stdout): Likewise.
16005         (stderr): Likewise.
16006         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
16007         macro-int-constant.
16008         (EXIT_SUCCESS): Likewise.
16009         (NULL): Use macro-constant.  Require == 0.
16010         (RAND_MAX): Use macro-int-constant.
16011         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
16012         [C99-based standards] (strtof): Require function.
16013         [C99-based standards] (strtold): Likewise.
16014         [C99-based standards] (strtoll): Likewise.
16015         [C99-based standards] (strtoull): Likewise.
16016         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
16017         [ISO || ISO99 || ISO11] (limits.h): Likewise.
16018         [ISO || ISO99 || ISO11] (math.h): Likewise.
16019         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
16020         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
16021         [ISO || ISO99 || ISO11] (*_t): Do not allow.
16023 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
16025         [BZ #14132]
16026         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
16027         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
16028         * intl/dgettext.c (DCGETTEXT): Likewise.
16029         * intl/gettext.c (DCGETTEXT): Likewise.
16030         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
16031         * posix/regex_internal.h (gettext): Likewise.
16032         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
16033         Remove declaration.
16034         * include/argz.h (__argz_count_internal)
16035         (__argz_stringify_internal): Remove declaration.
16036         (__argz_count, __argz_stringify): Declare hidden proto.
16037         * intl/dcgettext.c: Remove use of INTDEF.
16038         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
16039         * string/argz-stringify.c: Likewise.
16040         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
16041         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
16042         Declare hidden proto.
16043         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
16044         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
16045         Declare hidden proto.
16046         * include/stdio.h (__asprintf_internal): Don't declare.
16047         (__asprintf): Don't define as macro.  Declare hidden proto.
16048         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
16049         (__fsetlocking): Declare hidden proto.
16050         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
16051         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
16052         hidden proto.
16053         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
16054         (_IO_setlinebuf): Remove use of INTUSE.
16055         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
16056         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
16057         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
16058         Remove declaration.
16059         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
16060         (_IO_do_flush): Remove use of INTUSE.
16061         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
16062         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
16063         (_IO_adjust_column, _IO_least_wmarker)
16064         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
16065         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
16066         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
16067         (_IO_default_doallocate, _IO_wdefault_doallocate)
16068         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
16069         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
16070         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
16071         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
16072         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
16073         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
16074         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
16075         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
16076         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
16077         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
16078         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
16079         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
16080         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
16081         proto.
16082         (_IO_flush_all_internal, _IO_adjust_column_internal)
16083         (_IO_default_uflow_internal, _IO_default_finish_internal)
16084         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
16085         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
16086         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
16087         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
16088         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
16089         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
16090         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
16091         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
16092         (_IO_file_close_internal, _IO_file_close_it_internal)
16093         (_IO_file_underflow_internal, _IO_file_overflow_internal)
16094         (_IO_file_init_internal, _IO_file_attach_internal)
16095         (_IO_file_fopen_internal, _IO_file_read_internal)
16096         (_IO_file_sync_internal, _IO_file_seek_internal)
16097         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
16098         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
16099         (_IO_str_underflow_internal, _IO_str_overflow_internal)
16100         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
16101         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
16102         (_IO_list_all_internal, _IO_link_in_internal)
16103         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
16104         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
16105         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
16106         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
16107         (_IO_do_write_internal, _IO_padn_internal)
16108         (_IO_getline_info_internal, _IO_getline_internal)
16109         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
16110         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
16111         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
16112         (_IO_vfscanf_internal, _IO_vfprintf_internal)
16113         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
16114         (_IO_init_internal, _IO_un_link_internal): Don't declare.
16115         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
16116         with libc_hidden_ver, remove use of INTUSE.
16117         * libio/genops.c: Likewise.
16118         * libio/freopen.c: Likewise.
16119         * libio/freopen64.c: Likewise.
16120         * libio/iofclose.c: Likewise.
16121         * libio/iofdopen.c: Likewise.
16122         * libio/iofflush.c: Likewise.
16123         * libio/iofflush_u.c: Likewise.
16124         * libio/iofgets.c: Likewise.
16125         * libio/iofgets_u.c: Likewise.
16126         * libio/iofopen.c: Likewise.
16127         * libio/iofopncook.c: Likewise.
16128         * libio/iofread.c: Likewise.
16129         * libio/iofread_u.c: Likewise.
16130         * libio/ioftell.c: Likewise.
16131         * libio/iofwrite.c: Likewise.
16132         * libio/iogetline.c: Likewise.
16133         * libio/iogets.c: Likewise.
16134         * libio/iogetwline.c: Likewise.
16135         * libio/iopadn.c: Likewise.
16136         * libio/iopopen.c: Likewise.
16137         * libio/ioseekoff.c: Likewise.
16138         * libio/ioseekpos.c: Likewise.
16139         * libio/iosetbuffer.c: Likewise.
16140         * libio/iosetvbuf.c: Likewise.
16141         * libio/ioungetc.c: Likewise.
16142         * libio/ioungetwc.c: Likewise.
16143         * libio/iovdprintf.c: Likewise.
16144         * libio/iovsprintf.c: Likewise.
16145         * libio/iovsscanf.c: Likewise.
16146         * libio/memstream.c: Likewise.
16147         * libio/obprintf.c: Likewise.
16148         * libio/oldfileops.c: Likewise.
16149         * libio/oldiofclose.c: Likewise.
16150         * libio/oldiofdopen.c: Likewise.
16151         * libio/oldiofopen.c: Likewise.
16152         * libio/oldiopopen.c: Likewise.
16153         * libio/oldstdfiles.c: Likewise.
16154         * libio/putc.c: Likewise.
16155         * libio/setbuf.c: Likewise.
16156         * libio/setlinebuf.c: Likewise.
16157         * libio/stdfiles.c: Likewise.
16158         * libio/strops.c: Likewise.
16159         * libio/vasprintf.c: Likewise.
16160         * libio/vscanf.c: Likewise.
16161         * libio/vsnprintf.c: Likewise.
16162         * libio/vswprintf.c: Likewise.
16163         * libio/wfiledoalloc.c: Likewise.
16164         * libio/wfileops.c: Likewise.
16165         * libio/wgenops.c: Likewise.
16166         * libio/wmemstream.c: Likewise.
16167         * libio/wstrops.c: Likewise.
16168         * libio/__fpurge.c: Likewise.
16169         * libio/__fsetlocking.c: Likewise.
16170         * assert/assert.c: Likewise.
16171         * debug/fgets_chk.c: Likewise.
16172         * debug/fgets_u_chk.c: Likewise.
16173         * debug/fread_chk.c: Likewise.
16174         * debug/fread_u_chk.c: Likewise.
16175         * debug/gets_chk.c: Likewise.
16176         * debug/obprintf_chk.c: Likewise.
16177         * debug/vasprintf_chk.c: Likewise.
16178         * debug/vdprintf_chk.c: Likewise.
16179         * debug/vsnprintf_chk.c: Likewise.
16180         * debug/vsprintf_chk.c: Likewise.
16181         * malloc/mtrace.c: Likewise.
16182         * misc/error.c: Likewise.
16183         * misc/syslog.c: Likewise.
16184         * stdio-common/asprintf.c: Likewise.
16185         * stdio-common/fxprintf.c: Likewise.
16186         * stdio-common/getw.c: Likewise.
16187         * stdio-common/isoc99_fscanf.c: Likewise.
16188         * stdio-common/isoc99_scanf.c: Likewise.
16189         * stdio-common/isoc99_vfscanf.c: Likewise.
16190         * stdio-common/isoc99_vscanf.c: Likewise.
16191         * stdio-common/isoc99_vsscanf.c: Likewise.
16192         * stdio-common/printf-prs.c: Likewise.
16193         * stdio-common/printf_fp.c: Likewise.
16194         * stdio-common/printf_fphex.c: Likewise.
16195         * stdio-common/printf_size.c: Likewise.
16196         * stdio-common/putw.c: Likewise.
16197         * stdio-common/scanf.c: Likewise.
16198         * stdio-common/sprintf.c: Likewise.
16199         * stdio-common/tmpfile.c: Likewise.
16200         * stdio-common/vfprintf.c: Likewise.
16201         * stdio-common/vfscanf.c: Likewise.
16202         * stdlib/strfmon_l.c: Likewise.
16203         * sunrpc/openchild.c: Likewise.
16204         * sunrpc/xdr_stdio.c: Likewise.
16205         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
16206         * sysdeps/mach/hurd/tmpfile.c: Likewise.
16208 2012-05-24  Roland McGrath  <roland@hack.frob.com>
16210         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
16212         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
16213         in the third column, to generate for the shared library an IFUNC
16214         that uses _dl_vdso_vsym.
16215         * Makerules (COMPILE.c, compile-stdin.c): New variables.
16216         * Makeconfig (object-suffixes-noshared): New variable.
16218         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
16219         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
16220         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
16221         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
16223         [BZ #14132]
16224         * include/sys/time.h (__gettimeofday): Remove macro.
16225         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
16226         * time/gettimeofday.c (__gettimeofday): Remove #undef.
16227         Remove INTDEF.
16228         (__gettimeofday): Add libc_hidden_def.
16229         (gettimeofday): Add libc_hidden_weak.
16230         * sysdeps/mach/gettimeofday.c: Likewise.
16231         * sysdeps/posix/gettimeofday.c: Likewise.
16232         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
16233         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
16234         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
16235         (__gettimeofday_internal): Remove strong_alias.
16236         (__gettimeofday): Add libc_hidden_def.
16237         (gettimeofday): Add libc_hidden_weak.
16238         * sysdeps/unix/syscalls.list (gettimeofday):
16239         Remove __gettimeofday_internal alias.
16241 2012-05-24  Daniel Jacobowitz  <drow@false.org>
16242             H.J. Lu  <hongjiu.lu@intel.com>
16244         [BZ #12495]
16245         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
16246         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
16247         (largebin_index_32_big): New.
16248         (largebin_index): Use it for 16-byte alignment.
16249         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
16250         correction with front_misalign.
16252 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
16254         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
16255         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
16256         Likewise.
16257         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
16258         Likewise.
16259         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
16260         Likewise.
16261         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
16262         Likewise.
16263         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
16264         Likewise.
16265         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
16266         Likewise.
16267         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
16268         Likewise.
16269         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
16270         Likewise.
16271         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
16272         Likewise.
16273         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
16274         Likewise.
16275         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
16276         Likewise.
16277         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
16278         Likewise.
16280         * scripts/data/c++-types-x32-linux-gnu.data: New file.
16281         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
16283 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
16285         [BZ #10846]
16286         [BZ #14036]
16287         * math/libm-test.inc (exp_test): Add test from bug 14036.
16288         (pow_test): Add test from bug 10846.
16290         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
16291         and other flags.
16292         (special_function): Do not include flags in test name.
16293         (parse_args): Likewise.
16294         * sysdeps/i386/fpu/libm-test-ulps: Update.
16295         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
16296         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
16297         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
16298         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16300         * math/gen-libm-test.pl (%beautify): Add entries for underflow
16301         exceptions.
16302         * math/libm-test.inc ("Philosophy"): Update comment about
16303         exception testing.
16304         (UNDERFLOW_EXCEPTION): New macro.
16305         (UNDERFLOW_EXCEPTION_OK): Likewise.
16306         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
16307         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
16308         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
16309         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
16310         (INVALID_EXCEPTION_OK): Update value.
16311         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
16312         (OVERFLOW_EXCEPTION_OK): Likewise.
16313         (IGNORE_ZERO_INF_SIGN): Likewise.
16314         (test_exceptions): Handle underflow exceptions.
16315         (acos_test): Update for underflow exception expectations.
16316         (cexp_test): Likewise.
16317         (clog_test): Likewise.
16318         (clog10_test): Likewise.
16319         (csqrt_test): Likewise.
16320         (ctan_test): Likewise.
16321         (ctanh_test): Likewise.
16322         (exp_test): Likewise.
16323         (exp10_test): Likewise.
16324         (exp2_test): Likewise.
16325         (expm1_test): Likewise.
16326         (fma_test): Likewise.
16327         (j0_test): Likewise.
16328         (jn_test): Likewise.
16329         (nexttoward_test): Likewise.
16330         (pow_test): Likewise.
16331         (scalbn_test): Likewise.
16332         (scalbln_test): Likewise.
16333         (tan_test): Likewise.
16334         (y1_test): Likewise.
16335         * sysdeps/i386/fpu/libm-test-ulps: Update.
16336         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16338 2012-05-23  David S. Miller  <davem@davemloft.net>
16340         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
16341         (__libc_sigaction): Remove unused local variables.
16343 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
16345         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
16347 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
16349         mktime: avoid signed integer overflow
16350         * time/mktime.c (__mktime_internal): Do not mishandle the case
16351         where diff == INT_MIN.
16353         mktime: simplify computation of average
16354         * time/mktime.c (ranged_convert): Use new time_t_avg function
16355         instead of rolling our own (probably-slower) code.
16357         mktime: do not assume signed right shift propagates sign bit
16358         * time/mktime.c (isdst_differ): New static function.
16359         (__mktime_internal): No need to normalize tm_isdst now.
16360         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
16361         tm_isdst values.
16363         mktime: merge another wrapv change from gnulib
16364         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
16365         from some compilers.
16367         mktime: remove incorrect attempt at unusual arithmetics
16368         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
16369         The code didn't really work on such machines anyway.
16370         (TYPE_MINIMUM): Assume two's complement.
16371         (twos_complement_arithmetic): Verify that long_int and time_t
16372         are two's complement (or unsigned, in the latter case).
16374         mktime: check signed shifts on long_int and time_t, too
16375         * time/mktime.c (SHR): Check that shifts work as desired
16376         on the types long_int and time_t too, as SHR is used on
16377         such types.
16379         mktime: do not assume 'long' is wide enough
16380         * time/mktime.c (verify): Move decl up.
16381         (long_int): New type.
16382         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
16383         to remove assumption in the code that 'long' is wide enough to
16384         store year values.  This assumption is not true on x32 and on
16385         some non-glibc platforms.
16387         mktime: merge wrapv change from gnulib
16388         * time/mktime.c (WRAPV): New macro.
16389         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
16390         (guess_time_tm, __mktime_internal): Do not assume that signed
16391         integer overflow wraps around; modern compilers generate code
16392         where this assumption is no longer valid.
16394 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
16396         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
16397         Replace "jmp L(pseudo_end)" with "ret".
16398         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
16399         Likewise.
16401 2012-05-23  Andreas Jaeger  <aj@suse.de>
16403         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
16404         * sysdeps/unix/sysv/linux/poll.c: Remove file.
16406 2012-05-23  Andreas Jaeger  <aj@suse.de>
16407             Maximilian Attems  <max@stro.at>
16409         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
16410         New macros.
16412 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
16414         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
16415         code so that pseudo_end is just ret and the stack pointer is
16416         correct also for static library in error case.
16418 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
16420         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
16421         move to syscalls.list.
16422         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
16423         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
16424         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
16425         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
16427         * manual/install.texi (Running make install): Do not mention Linux
16428         kernel version for which pt_chown is not needed.
16429         (Linux): Do not mention problems with nscd with 2.0 kernels.
16430         * INSTALL: Regenerated.
16432 2012-05-23  Andreas Jaeger  <aj@suse.de>
16434         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
16435         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
16436         macro.
16437         * sysdeps/unix/sysv/linux/s390/bits/mman.h
16438         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
16439         * sysdeps/unix/sysv/linux/sh/bits/mman.h
16440         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
16441         * sysdeps/unix/sysv/linux/i386/bits/mman.h
16442         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
16443         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
16444         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
16445         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
16446         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
16447         * sysdeps/unix/sysv/linux/bits/in.h
16448         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
16450 2012-05-22  Roland McGrath  <roland@hack.frob.com>
16452         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
16453         (PREPARE_VERSION): Just use assert instead, it will be elided
16454         under [NDEBUG] anyway.
16456 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
16458         * sysdeps/unix/sysv/linux/Makefile: Include
16459         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
16460         (sysdep_routines): Remove sysctl.
16461         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
16462         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
16463         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
16464         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
16465         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
16467 2012-05-22  Andreas Jaeger  <aj@suse.de>
16469         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
16470         that pseudo_end is just ret and the stack pointer is correct also
16471         for static library in error case.
16473 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
16475         [BZ #14122]
16476         * nss/nsswitch.c (defconfig_entries): New variable.
16477         (__nss_database_lookup): Don't leak defconfig entries.
16478         (nss_parse_service_list): Don't leak on error paths.
16479         (free_database_entries): New function.
16480         (free_defconfig): New function.
16481         (free_mem): Move common code to free_database_entries.
16483 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
16485         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
16486         Add arch_prctl.
16487         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
16489         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
16490         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
16491         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
16492         New macro.
16493         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
16494         (INTERNAL_SYSCALL_TYPES): Likewise.
16495         (LOAD_ARGS_TYPES_[1-6]): Likewise.
16496         (LOAD_REGS_TYPES_[1-6]): Likewise.
16497         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
16498         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
16500 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16502         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
16503         copysignl for GLIBC_2_0.
16504         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
16505         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
16506         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
16507         logbl for GLIBC_2_0.
16508         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
16509         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
16511 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
16513         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
16514         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
16516         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
16517         Use "neg %eax".
16519         * time/mktime.c: Update copyright years.
16521 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
16523         mktime: merge comment-quoting-style change from gnulib
16524         * time/mktime.c: Quote 'like this' in comments.
16525         The GNU coding standards suggest that we no longer quote `like this',
16526         as "`" and "'" are typically rendered asymmetrically nowadays.
16527         The typical gnulib style is to quote 'like this' when quoting
16528         code, and "like this" when quoting English.
16530         * time/mktime.c (compile-command): Add "-I.".
16532         mktime: merge mktime-internal.h change from gnulib
16533         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
16535         mktime: merge time_r change from gnulib
16536         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
16538         mktime: merge DEBUG change from gnulib
16539         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
16540         case system <time.h> has a #define.
16542         mktime: merge <sys/types.h> change from gnulib
16543         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
16544         since <time.t> is now guaranteed to define time_t.
16546         mktime: merge HAVE_CONFIG_H change from gnulib
16547         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
16549 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
16551         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
16552         Use "neg %eax".
16554         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
16555         __rlim_t cast.
16556         (struct rusage): Use anonymous union to pad each field to
16557         __syscall_slong_t.
16559 2012-05-21  David S. Miller  <davem@davemloft.net>
16561         * Makefules (o-iterator): Remove .s cases.
16562         (compile-command.s): Delete.
16563         (COMPILE.s): Delete.
16564         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
16566 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
16568         * configure.in (libc_cv_predef_stack_protector): Only consider
16569         "foobar" and "__stack_chk_fail" lines in libc_undefs.
16570         * configure: Regenerated.
16572 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
16574         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
16575         New macro.  Use R*LP on int and pointer.
16576         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
16577         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
16578         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
16579         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
16581         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
16582         [__WORDSIZE_TIME64_COMPAT32] instead of
16583         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
16584         (struct utmp): Likewise.
16585         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
16586         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
16587         Renamed to ...
16588         (__WORDSIZE_TIME64_COMPAT32): This.
16589         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
16590         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
16591         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
16592         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
16593         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
16594         (__WORDSIZE_TIME64_COMPAT32): New macro.
16596 2012-05-21  Andreas Jaeger  <aj@suse.de>
16598         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
16599         only if [SHARED]. Add prototype for __wcschr_ia32.
16601 2012-05-21  Roland McGrath  <roland@hack.frob.com>
16603         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
16604         of %rbp unmolested in the jmp_buf while mangling the low bits.
16605         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
16606         unmolested high bits of %rbp while demangling the low bits.
16607         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
16609 2012-05-21  Andreas Jaeger  <aj@suse.de>
16611         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
16612         * sunrpc/svc_simple.c: Use it for registerrpc.
16613         * sunrpc/xcrypt.c: Use it for passwd2des.
16615         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
16617 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
16619         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
16620         Don't define if [__SYSCALL_WORDSIZE != 32].
16621         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
16622         New macro.
16624 2012-05-21  Bruno Haible  <bruno@clisp.org>
16625             Andreas Jaeger  <aj@suse.de>
16627         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
16628         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
16629         inptr and inend for must_buffer_ch.
16630         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
16631         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
16632         * stdio-common/Makefile (tests): Remove bug15.
16633         (bug15-ENV): Remove macro.
16634         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
16635         anymore.
16637 2012-05-19  Andreas Jaeger  <aj@suse.de>
16638             Roland McGrath  <roland@hack.frob.com>
16640         * manual/contrib.texi: Completely rewritten. It contains now an
16641         alphabetical list of contributors and their contributions.
16643 2012-05-21  Richard Henderson  <rth@twiddle.net>
16645         * misc/getauxval.c (__getauxval): Use unsigned long int.
16646         * misc/sys/auxv.h: Include <sys/cdefs.h>.
16647         (getauxval): Use unsigned long int.
16649 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
16651         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
16653 2012-05-21  Roland McGrath  <roland@hack.frob.com>
16655         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
16656         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
16657         __alignof__ (long double).
16659 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16661         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16663 2012-05-20  Richard Henderson  <rth@twiddle.net>
16665         * misc/getauxval.c: New file.
16666         * misc/sys/auxv.h: New file.
16667         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
16668         (routines): Add getauxval.
16669         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
16670         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
16671         * elf/dl-sysdep.c (_dl_auxv): Remove.
16672         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
16673         * elf/dl-support.c (_dl_auxv): New variable.
16674         (_dl_aux_init): Initialize it.
16675         * manual/startup.texi (Auxiliary Vector): New node.
16676         * sysdeps/generic/bits/hwcap.h: New file.
16677         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
16678         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
16679         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
16680         * sysdeps/sparc/sysdep.h: ... here.  Include it.
16681         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
16682         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
16683         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
16684         Update.
16685         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
16686         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
16687         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
16688         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
16689         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
16690         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
16691         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
16692         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
16694 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16696         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16698 2012-05-19  David S. Miller  <davem@davemloft.net>
16700         * sysdeps/sparc/fpu/libm-test-ulps: Update.
16702 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
16704         [BZ #14123]
16705         * math/s_ccosh.c: Include <float.h>
16706         (__ccosh): Avoid internal overflow calculating sinh and cosh
16707         values before multiplying by sin and cos values.
16708         * math/s_ccoshf.c: Likewise.
16709         * math/s_ccoshl.c: Likewise.
16710         * math/s_csin.c: Likewise.
16711         * math/s_csinf.c: Likewise.
16712         * math/s_csinl.c: Likewise.
16713         * math/s_csinh.c: Likewise.
16714         * math/s_csinhf.c: Likewise.
16715         * math/s_csinhl.c: Likewise.
16716         * math/libm-test.inc (ccos_test): Add more tests.
16717         (ccosh_test): Likewise.
16718         (csin_test): Likewise.
16719         (csinh_test): Likewise.
16720         * sysdeps/i386/fpu/libm-test-ulps: Update.
16721         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16723 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
16725         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
16726         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
16728         * sysdeps/x86_64/x32/_itoa.h: Add comment.
16730 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
16732         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
16733         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
16734         * sysdeps/powerpc/soft-fp/Versions: Likewise.
16735         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
16736         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
16737         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
16738         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
16739         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
16740         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
16741         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
16742         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
16743         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
16744         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
16745         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
16746         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
16747         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
16748         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
16749         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
16750         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
16751         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
16752         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
16753         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
16754         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
16755         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
16756         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
16757         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
16758         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
16759         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
16760         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
16761         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
16762         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
16764 2012-05-18  Andreas Jaeger  <aj@suse.de>
16766         * csu/.gitignore: Delete.
16768 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
16770         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
16771         (timex): Use __syscall_slong_t.
16773 2012-05-18  Andreas Jaeger  <aj@suse.de>
16774             Carlos O'Donell  <carlos_odonell@mentor.com>
16776         * manual/install.texi (Configuring and compiling): Update
16777         description about files modified in the source directory.
16778         * INSTALL: Regenerated.
16780 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
16782         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
16783         value.  Use "or" to set return value to -1.
16784         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
16785         negate return value.
16787 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
16789         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
16790         CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
16791         failure if the compiler has Graphite support disabled.
16792         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
16793         Likewise.
16794         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
16795         CFLAGS-memmove.c): Likewise.
16796         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
16797         Likewise.
16799 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
16801         * sysdeps/x86_64/x32/_itoa.h: New file.
16803         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
16804         getdents system call only if kernel and user dirents have the
16805         same d_ino and d_off.
16807         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
16808         LLONG_MAX != LONG_MAX.
16809         (_itoa_word): Use _ITOA_WORD_TYPE on value.
16810         (_fitoa_word): Likewise.
16812         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
16813         years.
16814         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
16815         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
16816         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
16818         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
16819         include <bits/wordsize.h>.  Check __x86_64__ instead of
16820         __WORDSIZE.
16821         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
16822         if __x86_64__ is defined.  Use anonymous union on fpstate.
16824         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
16825         anonymous union.
16827 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
16829         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
16830         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
16831         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
16832         Refer to _rtld_local_ro instead of _rtld_global_ro.
16833         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
16834         Likewise.
16835         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
16836         Likewise.
16837         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
16838         Likewise.
16839         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
16840         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
16841         of _rtld_global, and rtld_progname instead of _dl_argv[0].
16843         * sysdeps/powerpc/powerpc32/dl-machine.c
16844         (__elf_machine_runtime_setup) [PROF]: Don't reference
16845         _dl_prof_resolve.
16847 2012-05-18  Andreas Jaeger  <aj@suse.de>
16849         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
16850         function only available for GCCs before 3.4 since GCC 3.4
16851         introduced a builtin.
16852         (lrint): Likewise.
16853         (llrintf): Likewise.
16854         (llrint): Likewise.
16855         (fmaxf): Likewise.
16856         (fmax): Likewise.
16857         (fminf): Likewise.
16858         (fmin): Likewise.
16859         (rint): Likewise.
16860         (rintf): Likewise.
16861         (nearbyint): Likewise.
16862         (nearbyintf): Likewise.
16863         (ceil): Likewise.
16864         (ceilf): Likewise.
16865         (floor): Likewise.
16866         (floorf): Likewise.
16868 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
16870         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
16871         on both fields and cast pointer to __syscall_ulong_t.
16873         * bits/types.h (__fsword_t): New type.
16874         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
16875         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
16876         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
16877         (__FSWORD_T_TYPE): Likewise.
16878         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
16879         (__FSWORD_T_TYPE): Likewise.
16880         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
16881         (__FSWORD_T_TYPE): Likewise.
16882         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
16883         (__FSWORD_T_TYPE): Likewise.
16884         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
16885         __SWORD_TYPE with __fsword_t.
16886         (statfs64): Likewise.
16888 2012-05-17  David S. Miller  <davem@davemloft.net>
16890         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
16892 2012-05-17  Andreas Jaeger  <aj@suse.de>
16894         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
16895         warning.
16897 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
16899         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
16901 2012-05-17  Andreas Jaeger  <aj@suse.de>
16903         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
16904         when it is used.
16906 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
16908         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
16910 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
16912         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
16913         * sysdeps/x86_64/tst-mallocalign1.c: New file.
16915 2012-05-17  Andreas Jaeger  <aj@suse.de>
16916             Carlos O'Donell  <carlos_odonell@mentor.com>
16918         [BZ #14059]
16919         * sysdeps/x86_64/multiarch/init-arch.h
16920         (bit_YMM_Usable): Rename to...
16921         (bit_AVX_Usable): ... this.
16922         (bit_FMA4_Usable): New macro.
16923         (bit_XMM_state): New macro.
16924         (bit_YMM_state): New macro.
16925         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
16926         [__ASSEMBLER__] (index_AVX_Usable): ... this.
16927         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
16928         (CPUID_OSXSAVE): New macro.
16929         (CPUID_AVX): New macro.
16930         (CPUID_FMA4): New macro.
16931         (index_YMM_Usable): Rename to...
16932         (index_AVX_Usable): ... this.
16933         (HAS_AVX): Use HAS_ARCH_FEATURE.
16934         (HAS_FMA4): Likewise.
16935         (HAS_YMM_USABLE): Remove.
16936         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16937         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
16938         are present.
16939         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
16940         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
16941         * sysdeps/x86_64/multiarch/Makefile: Likewise.
16942         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
16943         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
16945 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
16947         * math/libm-test.c: Support platforms without multiple rounding modes.
16948         * math/bug-nextafter.c: Support platforms without FP exceptions.
16949         * math/bug-nexttoward.c: Likewise.
16950         * math/test-fenv.c: Likewise.
16951         * math/test-misc.c: Likewise.
16952         * stdlib/bug-getcontext.c: Likewise.
16954 2012-05-17  Andreas Jaeger  <aj@suse.de>
16956         * manual/examples/search.c (critter_cmp): Change signature to
16957         avoid warnings.
16958         * manual/string.texi (Collation Functions): Likewise.
16960 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
16962         * bits/types.h: Fold copyright years.
16963         * bits/typesizes.h: Likewise.
16964         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
16965         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
16966         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
16967         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
16968         * time/time.h: Likewise.
16970 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
16972         [BZ #208]
16973         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
16974         in instead of returning them.  Return void.
16975         (__libc_mallinfo): Accumulate over all arenas.
16976         (__malloc_stats): Adjust for change in int_mallinfo interface.
16978 2012-05-16  Roland McGrath  <roland@hack.frob.com>
16980         [BZ #10375]
16981         * configure.in (NM): Add AC_CHECK_TOOL for it.
16982         (libc_extra_cflags): New substituted variable.
16983         Check for -fstack-protector being used implicitly.
16984         * configure: Regenerated.
16985         * config.make.in (config-extra-cflags): New variable,
16986         gets @libc_extra_cflags@.
16987         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
16989         [BZ #10375]
16990         * configure.in: Check for _FORTIFY_SOURCE being predefined.
16991         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
16992         * configure: Regenerated.
16993         * config.make.in (CPPUNDEFS): New substituted variable.
16994         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
16995         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
16996         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
16998 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
17000         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
17001         (mq_attr): Use __syscall_slong_t.
17003 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
17005         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
17006         Check __x86_64__ instead of __WORDSIZE.
17007         (_STAT_VER_LINUX): Likewise.
17008         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
17009         __syscall_ulong_t and __syscall_slong_t.
17010         (stat64): Likewise.
17012 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
17014         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
17016 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
17018         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
17020 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
17022         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
17023         __syscall_ulong_t.
17025         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
17026         include <bits/wordsize.h>.  Check __x86_64__ instead of
17027         __WORDSIZE.
17028         (greg_t): Use "__extension__ long long int" if __x86_64__ is
17029         defined.
17030         (mcontext_t): Replace "unsigned long" with "unsigned long long".
17032         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
17033         include <bits/wordsize.h>.  Check __x86_64__ instead of
17034         __WORDSIZE.
17035         (user_regs_struct): Use "__extension__ unsigned long long"
17036         instead of "unsigned long" if __x86_64__ is defined.
17037         (user): Likewise.  Pad after pointer field if __ILP32__ is
17038         defined.
17040 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
17042         * configure.in (makeinfo): Require version 4.5 or later.  Allow
17043         versions 5 to 9.
17044         * configure: Regenerated.
17045         * manual/install.texi (texinfo): Increase version requirement to
17046         4.5 or later.
17047         * INSTALL: Regenerated.
17049         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
17051 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
17053         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
17055         * sysdeps/x86_64/x32/ffs.c: New file.
17057         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
17058         __syscall_ulong_t.
17059         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
17060         defined.  Use __syscall_ulong_t.
17061         (shminfo): Use __syscall_ulong_t.
17062         (shm_info): Likewise.
17064         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
17065         __syscall_ulong_t.
17067         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
17068         <bits/wordsize.h>.
17069         (msgqnum_t): Use __syscall_ulong_t.
17070         (msglen_t): Likewise.
17071         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
17072         __syscall_ulong_t.
17074         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
17075         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
17077         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
17079         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
17080         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
17082         * sysvipc/sys/msg.h (msgbuf): Replace long int with
17083         __syscall_slong_t.
17085         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
17086         include <bits/wordsize.h>.  Check __x86_64__ instead of
17087         __WORDSIZE.
17089         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
17090         "unsigned long long int" if __x86_64__ is defined.
17091         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
17093         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
17094         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
17095         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
17097         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
17098         <stdint.h>.
17099         (GET_PC): Cast to uintptr_t first.
17100         (GET_FRAME): Likewise.
17101         (GET_STACK): Likewise.
17103         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
17104         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
17105         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
17106         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
17107         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
17108         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
17109         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
17110         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
17111         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
17112         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
17113         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
17114         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
17115         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
17116         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
17117         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
17118         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
17119         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
17120         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
17121         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
17122         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
17123         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
17124         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
17125         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
17126         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
17127         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
17128         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
17129         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
17130         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
17131         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
17133 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
17135         * Makerules (+depfiles): Also collect depfiles from .oS in
17136         $(extra-objs).
17137         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
17138         .oS, $(libnldbl-routines)).
17140         * Makerules (native-compile-mkdep-flags): Define.
17141         * sunrpc/Makefile (extra-objs): Add $(addprefix
17142         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
17143         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
17144         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
17145         calling $(make-target-directory).
17147 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
17149         * bits/types.h (__snseconds_t): Removed.
17150         * time/time.h (struct timespec): Replace __snseconds_t with
17151         __syscall_slong_t.
17152         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
17153         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
17154         Likewise.
17155         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
17156         (__SNSECONDS_T_TYPE): Likewise.
17157         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
17158         (__SNSECONDS_T_TYPE): Likewise.
17159         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
17160         (__SNSECONDS_T_TYPE): Likewise.
17162 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
17164         * sysdeps/mach/hurd/bits/typesizes.h
17165         (__SYSCALL_SLONG_TYPE): New macro.
17166         (__SYSCALL_ULONG_TYPE): Likewise.
17168 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
17170         * bits/types.h (__syscall_slong_t): New type.
17171         (__syscall_ulong_t): Likewise.
17173         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
17174         (__SYSCALL_ULONG_TYPE): Likewise.
17175         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
17176         (__SYSCALL_SLONG_TYPE): Likewise.
17177         (__SYSCALL_ULONG_TYPE): Likewise.
17178         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
17179         (__SYSCALL_SLONG_TYPE): Likewise.
17180         (__SYSCALL_ULONG_TYPE): Likewise.
17181         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
17182         (__SYSCALL_SLONG_TYPE): Likewise.
17183         (__SYSCALL_ULONG_TYPE): Likewise.
17185 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
17187         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
17188         Add sigaltstack-offsets.sym.
17189         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
17190         <sigaltstack-offsets.h>.
17191         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
17192         longjmp_msg pointer.
17193         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
17194         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
17195         signal stack.
17196         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
17198 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
17200         * elf/stackguard-macros.h: Remove file.
17201         * sysdeps/generic/stackguard-macros.h: New file.
17202         * sysdeps/i386/stackguard-macros.h: Likewise.
17203         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
17204         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
17205         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
17206         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
17207         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
17208         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
17209         * sysdeps/x86_64/stackguard-macros.h: Likewise.
17210         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
17211         <elf/stackguard-macros.h>.
17213         [BZ #14109]
17214         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
17215         __aligned__ in attribute.
17216         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
17217         (gregset_t): Likewise.
17219 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
17221         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
17222         * sysdeps/x86_64/64/Implies-after: Here.  New file.
17223         * sysdeps/x86_64/x32/Implies-after: New file.
17225 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
17227         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
17228         and access return value for _dl_profile_fixup.  Use R10_LP to
17229         load frame size.
17231 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
17233         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
17235 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
17237         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
17238         * sysdeps/x86_64/x32/sysdep.h: New file.
17240 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
17242         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
17243         * sysdeps/x86_64/setjmp.S: Likewise.
17245 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17247         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
17248         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
17249         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
17250         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
17251         remove unused global constant.
17253 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
17255         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
17256         include of <not-cancel.h>.
17258 2012-05-15  Roland McGrath  <roland@hack.frob.com>
17260         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
17262 2012-05-15  Jeff Law  <law@redhat.com>
17263             Andreas Jaeger  <aj@suse.de>
17265         [BZ #13594]
17266         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
17267         out from...
17268         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
17269         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
17270         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
17271         code changing __hst_map_handle.map.
17273 2012-05-15  Roland McGrath  <roland@hack.frob.com>
17275         * configure.in (sysnames): Look for Implies-before and Implies-after
17276         files.
17277         * configure: Regenerated.
17279 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
17281         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
17282         8-byte data alignment with LP_SIZE alignment.
17284 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
17286         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
17287         into R10_LP.
17289 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
17291         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
17293 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
17295         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
17296         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
17297         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
17298         Likewise.
17299         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
17301 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
17303         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
17304         (stackinfo_sub_sp): Likewise.
17306 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
17308         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
17309         RAX_LP.
17311 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
17313         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
17314         into R*_LP.
17316 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
17318         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
17319         sizes into R*_LP.
17321 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
17323         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
17325 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
17327         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
17328         into R11_LP and load __x86_64_shared_cache_size_half into
17329         R8_LP.
17331 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
17333         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
17334         R8_LP.
17336 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17338         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
17339         logb for POWER7.
17340         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
17341         logbf for POWER7.
17342         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
17343         logbl for POWER7.
17344         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
17345         powerpc32/power7/fpu/s_logb.c via #include.
17346         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
17347         powerpc32/power7/fpu/s_logbf.c via #include.
17348         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
17349         powerpc32/power7/fpu/s_logbl.c via #include.
17351 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
17353         * README.libm: Remove file.
17355 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
17357         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
17358         count for x32.  Use R*_LP and omit operand-size suffix.
17360 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
17362         * shlib-versions: Move x86_64-.*-linux.* entries to ...
17363         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
17364         * sysdeps/x86_64/x32/shlib-versions: New file.
17366 2012-05-14  Roland McGrath  <roland@hack.frob.com>
17368         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
17369         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
17370         Use _dl_fatal_printf instead.
17372 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
17374         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
17375         set if not set by the user.  Do not allow for being unset.
17376         * sysdeps/unix/sysv/linux/configure: Regenerated.
17378 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
17380         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
17381         the `q' suffix from lea and replace .quad with ASM_ADDR.
17383 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
17385         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
17386         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
17387         instead of $17.
17388         (PTR_DEMANGLE): Likewise.
17390 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
17392         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
17393         (LP_OP): Likewise.
17394         (ASM_ADDR): Likewise.
17395         (RAX_LP): Likewise.
17396         (RBP_LP): Likewise.
17397         (RBX_LP): Likewise.
17398         (RCX_LP): Likewise.
17399         (RDI_LP): Likewise.
17400         (RSI_LP): Likewise.
17401         (RSP_LP): Likewise.
17402         (R8_LP): Likewise.
17403         (R9_LP): Likewise.
17404         (R10_LP): Likewise.
17405         (R10_LP): Likewise.
17406         (R11_LP): Likewise.
17407         (R12_LP): Likewise.
17408         (R13_LP): Likewise.
17409         (R14_LP): Likewise.
17410         (R15_LP): Likewise.
17412 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
17414         * sysdeps/x86_64/x32/dl-machine.h: New file.
17416 2012-05-14  Andreas Jaeger  <aj@suse.de>
17418         * manual/Makefile (subdir): Remove export of subdir.
17419         (all): Remove target.
17420         (.PHONY): Remove all from list.
17421         (mkinstalldirs): Remove.
17422         (.PHONY): Remove installdirs from list.
17423         ($(inst_infodir)/libc.info): Use make-target-directory.
17424         (installdirs): Remove.
17425         (subdir_%): Remove.
17426         (glibc-targets): Remove.
17427         (lib): Remove.
17428         (stubs): Remove.
17429         ($(objpfx)stubs ../po/manual.pot): Remove.
17430         ($(objpfx)stamp%): Remove.
17431         (make-target-directory): Remove.
17432         (subdir_install): Remove.
17433         (routines): Remove.
17434         (aux): Remove.
17435         (sources): Remove.
17436         (objects): Remove.
17437         (headers): Remove.
17439         [BZ #13750]
17440         * manual/.gitignore: Remove, it's not needed anymore.
17441         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
17442         all files in it.
17443         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
17444         directory.
17445         (texis): Renamed to $(objpfx)texis.
17446         (texis-path): New, contains path to generated files.
17447         (chapters.%): Use texis-path for complete path, add extra argument
17448         libc-texinfo.sh.
17449         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
17450         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
17451         (summary,texi, stamp-summary): Use complete path of
17452         files. Generate files in build dir.
17453         (dir-add.texi): Build in build dir.
17454         (libm-err.texi,stamp-libm-err): Likewise.
17455         (version.texi, stamp-version): Likewise.
17456         (.%c.texi): Likewise.
17457         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
17458         (mostlyclean): Remove target.
17459         (realclean): Remove target.
17460         (generated): Add new variable with contents from mostlyclean and
17461         realclean, remove entries duplicated in common-mostlyclean, add
17462         stamp-libm-err and stamp-version.
17463         (generated-dirs): Add libc directory.
17464         ($(inst_infodir)/libc.info): Install files from build dir.
17466         * manual/install.texi (Configuring and compiling): Adjust since
17467         the info files are not part of the tar ball anymore.
17469 2012-05-14  Andreas Jaeger  <aj@suse.de>
17471         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
17472         variable.
17474 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
17476         [BZ #13717]
17477         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
17478         to 2.2.0 where earlier.
17479         * sysdeps/unix/sysv/linux/configure: Regenerated.
17480         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
17481         Remove conditional code.
17482         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
17483         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
17484         Remove conditional code.
17485         [!__NR_lchown]: Likewise.
17486         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
17487         [__NR_lchown]: Likewise.
17488         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
17489         comment referencing __ASSUME_LCHOWN_SYSCALL.
17490         * sysdeps/unix/sysv/linux/i386/sigaction.c
17491         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
17492         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
17493         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
17494         Remove conditional code.
17495         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
17496         (__protocol_available): Remove #if 0 code.
17497         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
17498         conditional code.
17499         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
17500         * sysdeps/unix/sysv/linux/kernel-features.h
17501         (__ASSUME_GETCWD_SYSCALL): Don't define.
17502         (__ASSUME_REALTIME_SIGNALS): Likewise.
17503         (__ASSUME_PREAD_SYSCALL): Likewise.
17504         (__ASSUME_PWRITE_SYSCALL): Likewise.
17505         (__ASSUME_POLL_SYSCALL): Likewise.
17506         (__ASSUME_LCHOWN_SYSCALL): Likewise.
17507         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
17508         non-SPARC.
17509         (__ASSUME_SIOCGIFNAME): Don't define.
17510         (__ASSUME_MSG_NOSIGNAL): Likewise.
17511         (__ASSUME_SENDFILE): Define unconditionally.
17512         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
17513         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
17514         conditional code.
17515         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
17516         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
17517         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
17518         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
17519         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
17520         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
17521         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
17522         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
17523         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
17524         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
17525         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
17526         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
17527         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
17528         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
17529         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
17530         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
17531         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
17532         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
17533         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
17534         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
17535         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
17536         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
17537         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
17538         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
17539         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
17540         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
17541         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
17542         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
17543         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
17544         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
17545         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
17546         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
17547         Remove conditional code.
17548         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
17549         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
17550         Remove conditional code.
17551         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
17552         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
17553         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
17554         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
17555         Remove conditional code.
17556         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
17557         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
17558         Remove conditional code.
17559         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
17560         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
17561         Remove conditional code.
17562         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
17563         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
17564         Remove conditional code.
17565         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
17566         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
17567         Remove conditional code.
17568         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
17569         * sysdeps/unix/sysv/linux/sh/pwrite64.c
17570         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
17571         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
17572         * sysdeps/unix/sysv/linux/sigaction.c
17573         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
17574         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
17575         * sysdeps/unix/sysv/linux/sigpending.c
17576         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
17577         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
17578         * sysdeps/unix/sysv/linux/sigprocmask.c
17579         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
17580         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
17581         * sysdeps/unix/sysv/linux/sigsuspend.c
17582         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
17583         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
17584         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
17585         (__libc_missing_rt_sigs): Remove.
17586         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
17587         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
17588         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
17589         Remove conditional code.
17590         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
17591         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
17592         return 1.
17593         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
17594         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
17595         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
17596         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
17598 2012-05-14  Andreas Jaeger  <aj@suse.de>
17600         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
17601         it's not used in glibc.
17602         (__coshm1): Likewise.
17603         (__acosh1p): Likewise.
17604         (__sgn): Likewise.
17606         * manual/string.texi (Copying and Concatenation): Add missing
17607         variable in concat example.
17608         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
17610 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
17612         [BZ #14103]
17613         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
17614         __builtin_clzl with __builtin_clzll.
17616 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
17618         [BZ #14104]
17619         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
17620         libc_freeres_ptr.
17622 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
17624         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
17625         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
17626         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
17627         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
17629 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
17631         * NEWS: Update ia64 info.
17633 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
17635         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
17636         used as bcopy.
17638 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
17640         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
17641         * sysdeps/unix/syscalls.list (dup3): Likewise.
17642         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
17643         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
17645 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
17647         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
17648         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
17650 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
17652         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
17653         thread pointer.
17654         (TLS_IE): Use mov/add instead of movq/addq to load thread
17655         pointer.
17656         (TLS_GD_PREFIX): New.
17657         (TLS_GD): Use it.
17659 2012-05-11  David S. Miller  <davem@davemloft.net>
17661         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
17662         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
17663         (_FPU_SETCW): Likewise.
17665 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
17667         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
17668         is 32-byte aligned.
17670 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
17672         [BZ #11837]
17673         * iconvdata/gb18030.c: Update tables.
17674         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
17675         characters specially.
17676         (BODY for TO_LOOP): Add encoding of missing ranges.
17678 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
17680         [BZ #13673]
17681         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
17682         * sysdeps/mach/hurd/dup3.c: Likewise.
17683         * sysdeps/mach/hurd/readlinkat.c: Likewise.
17684         * sysdeps/powerpc/memmove.c:: Likewise.
17686 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
17688         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
17689         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
17691 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
17693         * elf/elf.h (R_X86_64_RELATIVE64): New.
17694         (R_X86_64_NUM): Updated.
17695         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
17696         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
17697         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
17698         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
17699         tst-quad1pie tst-quad2pie
17700         (modules-names): Add tst-quadmod1 tst-quadmod2.
17701         ($(objpfx)tst-quad1): New dependency.
17702         ($(objpfx)tst-quad2): Likewise.
17703         ($(objpfx)tst-quad1pie): Likewise.
17704         ($(objpfx)tst-quad2pie): Likewise.
17705         * sysdeps/x86_64/tst-quad1.c: New file.
17706         * sysdeps/x86_64/tst-quad1pie.c: New file.
17707         * sysdeps/x86_64/tst-quad2.c: Likewise.
17708         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
17709         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
17710         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
17711         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
17712         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
17714 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17716         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
17717         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
17718         * streams/stropts.h (t_scalar_t): Define type.
17720         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
17721         (_PATH_PRESERVE): Set to "/var/lib".
17722         (_PATH_RWHODIR): Set to "/var/spool/rwho".
17724         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
17725         instead of int.
17727         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
17728         if __dir_mkfile succeeded.
17730         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
17731         checking for _hurd_dtablesize.  Unlock it right after having
17732         finished _hurd_dtable allocation.
17734 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
17736         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
17737         * sysdeps/mach/hurd/configure: Regenerated.
17738         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
17739         special-casing to...
17740         * sysdeps/gnu/configure.in: ... this new file.
17741         * sysdeps/unix/sysv/linux/configure: Regenerated.
17742         * sysdeps/gnu/configure: New generated file.
17744         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
17745         for Linux: use nsec instead of usec, as well as:
17746         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
17747         members of type struct timespec.
17748         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
17749         New macros.
17750         (struct stat64): Likewise.
17751         (_STATBUF_ST_NSEC): New macro.
17752         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
17754         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
17755         __strtoul_internal rather than strtoul.
17757 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
17759         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
17760         and reject them.
17762 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17764         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
17765         which preserves existing values.
17766         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
17768 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
17770         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
17771         TIMEOUT values.  Return EINVAL for NFDS values either negative or
17772         greater than FD_SETSIZE.
17774 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17776         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
17777         allocated, call __vm_protect to finish enabling the existing space, and
17778         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
17779         allocate the remainder.
17781 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
17783         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
17784         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
17786 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17788         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
17789         sysdeps/mach/hurd/readlink.c.
17791         * posix/tst-sysconf.c (posix_options): Only use
17792         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
17793         _POSIX_SYNCHRONIZED_IO when they are defined
17794         * sysdeps/mach/hurd/bits/posix_opt.h:
17795         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
17796         (_XOPEN_REALTIME): Undefine macro.
17797         (_XOPEN_REALTIME_THREADS): Undefine macro.
17798         (_XOPEN_SHM): Undefine macro.
17799         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
17800         macro to -1.
17801         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
17802         macro to -1.
17803         (_POSIX_ASYNC_IO): Undefine macro.
17804         (_POSIX_PRIORITIZED_IO): Undefine macro.
17805         (_POSIX_SPIN_LOCKS): Define macro to -1.
17807         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
17808         SA_NODEFER, SA_RESETHAND.
17809         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
17810         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
17811         F_DUPFD_CLOEXEC.
17813 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
17815         * elf/Makefile (pldd-modules): Define unconditionally.
17817 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
17819         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
17821 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17823         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
17824         Return ENOENT when name is empty.
17825         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
17827 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
17829         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
17831         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
17833 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17835         Fix mlock in all cases except non-readable pages.
17836         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
17837         instead of VM_PROT_ALL as parameter to __vm_wire function.
17839         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
17840         (__mkdir): When path is `/', just fail with EEXIST.
17841         * sysdeps/mach/hurd/mkdirat.c: Likewise.
17843 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
17845         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
17846         <sys/uio.h> (for writev).
17847         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
17848         and <sys/param.h> (for MIN).
17850 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
17852         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
17853         REQUESTED_TIME.  Properly set the remaining time and return EINTR
17854         if interrupted.
17856 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
17858         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
17859         Depend on against $(link-rpcuserlibs).
17861 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17863         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
17864         (__libc_stack_end): Do not use attribute_relro.
17865         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
17866         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
17867         to libthread-provided value.
17868         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
17869         attribute_relro.
17871 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
17873         [BZ #3748]
17874         * bits/libc-lock.h (__libc_once_get): New macro.
17875         * sysdeps/mach/bits/libc-lock.h: Likewise.
17876         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
17877         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
17878         instead of using implementation details.
17880         * libio/fileops.c: Unconditionally include <kernel-features.h>.
17881         * libio/freopen.c: Likewise.
17882         * libio/freopen64.c: Likewise.
17883         * misc/syslog.c: Likewise.
17884         * nscd/connections.c: Likewise.
17885         * nscd/netgroupcache.c: Likewise.
17886         * sysdeps/posix/getcwd.c: Likewise.
17888 2012-05-10  Roland McGrath  <roland@hack.frob.com>
17890         * math/w_ilogbf.c: Add #include <limits.h>.
17892 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17894         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
17895         path instead of returning without unlocking.
17897         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
17898         immediate-write ioctls.
17899         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
17901 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
17903         * sysdeps/mach/hurd/i386/init-first.c (init): Use
17904         __builtin_frame_address instead of making assumptions about the
17905         location of the return address relative to DATA.  Force early load of
17906         the return address.
17907         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
17908         __builtin_frame_address.
17910         dup3 for GNU Hurd.
17911         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
17912         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
17913         implement dup3 and do some further code clean-ups.
17914         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
17915         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
17917 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17919         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
17921         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
17922         HURD_CRITICAL_END around holding _hurd_dtable_lock.
17923         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
17924         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
17925         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
17926         d->port.lock.
17928         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
17929         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
17930         when handler == SIG_ERR, not when handler != SIG_ERR.
17932 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
17934         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
17935         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
17936         definitions.
17938         accept4 for GNU Hurd.
17939         * include/sys/socket.h (__libc_accept4): New prototype.
17940         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
17941         to implement __libc_accept4.
17942         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
17943         __libc_accept4.
17944         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
17946         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
17947         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
17948         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
17949         signal-defines.sym.
17951 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17953         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
17955 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
17957         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
17958         assertion on O_CLOEXEC flag.
17959         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
17960         * hurd/intern-fd.c: Likewise.
17961         * hurd/port2fd.c: Likewise.
17963 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17965         [BZ #3906]
17966         * bits/in.h (IPV6_PKTINFO): Define new macro.
17967         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
17969 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17971         [BZ #13954]
17972         [BZ #13955]
17973         [BZ #13956]
17974         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
17975         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
17976         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
17977         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
17978         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
17979         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
17980         * math/libm-test.inc (logb_test) : Additional logb tests.
17982 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
17983             Andreas Jaeger  <aj@suse.de>
17985         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
17986         * configure: Regenerated.
17987         * config.h.in (LINK_OBSOLETE_RPC): New macro.
17988         * config.make.in (link-obsolete-rpc): New substituted variable.
17989         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
17990         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
17991         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
17992         (shared-only-routines): Don't set it under [link-obsolete-rpc],
17993         so that libc.a contains the symbols.
17994         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
17995         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
17996         * sunrpc/auth_none.c: Likewise.
17997         * sunrpc/auth_unix.c: Likewise.
17998         * sunrpc/authdes_prot.c: Likewise.
17999         * sunrpc/authuxprot.c: Likewise.
18000         * sunrpc/clnt_gen.c: Likewise.
18001         * sunrpc/clnt_perr.c: Likewise.
18002         * sunrpc/clnt_raw.c: Likewise.
18003         * sunrpc/clnt_simp.c: Likewise.
18004         * sunrpc/clnt_tcp.c: Likewise.
18005         * sunrpc/clnt_udp.c: Likewise.
18006         * sunrpc/clnt_unix.c: Likewise.
18007         * sunrpc/des_crypt.c: Likewise.
18008         * sunrpc/des_soft.c: Likewise.
18009         * sunrpc/get_myaddr.c: Likewise.
18010         * sunrpc/key_call.c: Likewise.
18011         * sunrpc/key_prot.c: Likewise.
18012         * sunrpc/netname.c: Likewise.
18013         * sunrpc/pm_getmaps.c: Likewise.
18014         * sunrpc/pm_getport.c: Likewise.
18015         * sunrpc/pmap_clnt.c: Likewise.
18016         * sunrpc/pmap_prot.c: Likewise.
18017         * sunrpc/pmap_prot2.c: Likewise.
18018         * sunrpc/pmap_rmt.c: Likewise.
18019         * sunrpc/publickey.c: Likewise.
18020         * sunrpc/rpc_cmsg.c: Likewise.
18021         * sunrpc/rpc_common.c: Likewise.
18022         * sunrpc/rpc_dtable.c: Likewise.
18023         * sunrpc/rpc_prot.c: Likewise.
18024         * sunrpc/rpc_thread.c: Likewise.
18025         * sunrpc/rtime.c: Likewise.
18026         * sunrpc/svc.c: Likewise.
18027         * sunrpc/svc_auth.c: Likewise.
18028         * sunrpc/svc_raw.c: Likewise.
18029         * sunrpc/svc_run.c: Likewise.
18030         * sunrpc/svc_tcp.c: Likewise.
18031         * sunrpc/svc_udp.c: Likewise.
18032         * sunrpc/svc_unix.c: Likewise.
18033         * sunrpc/svcauth_des.c: Likewise.
18034         * sunrpc/xcrypt.c: Likewise.
18035         * sunrpc/xdr.c: Likewise.
18036         * sunrpc/xdr_array.c: Likewise.
18037         * sunrpc/xdr_float.c: Likewise.
18038         * sunrpc/xdr_intXX_t.c: Likewise.
18039         * sunrpc/xdr_mem.c: Likewise.
18040         * sunrpc/xdr_rec.c: Likewise.
18041         * sunrpc/xdr_ref.c: Likewise.
18042         * sunrpc/xdr_sizeof.c: Likewise.
18043         * sunrpc/xdr_stdio.c: Likewise.
18045 2012-05-10  Roland McGrath  <roland@hack.frob.com>
18047         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
18048         change.  Update copyright years.
18050 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
18052         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
18054 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
18055             Joseph Myers  <joseph@codesourcery.com>
18056             Paul Pluzhnikov  <ppluzhnikov@google.com>
18058         [BZ #14012]
18059         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
18060         requiring rpcgen.
18061         [cross-compiling] (extra-libs): Likewise.
18062         [cross-compiling] (extra-libs-others): Likewise.
18063         [cross-compiling] (librpcsvc-routines): Likewise.
18064         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
18065         [cross-compiling] (omit-deps): Likewise.
18066         (sunrpc-CPPFLAGS): New variable.
18067         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
18068         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
18069         (cross-rpcgen-objs): New variable.
18070         (extra-objs): Append $(cross-rpcgen-objs).
18071         ($(cross-rpcgen-objs)): New rule.
18072         ($(objpfx)cross-rpcgen): Likewise.
18073         (rpcgen-cmd): Define to use $(built-program-file).  Expand
18074         comment.
18075         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
18076         ($(objpfx)x%.stmp): Likewise.
18077         * sunrpc/proto.h [IS_IN_build] (_): Define.
18078         [IS_IN_build] (_libc_intl_domainname): Likewise.
18080 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
18082         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
18083         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
18084         and R_X86_64_TPOFF64.
18086 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
18088         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
18089         sysdeps/unix/sysv/syscalls.list.
18090         (stime): Likewise.
18091         (utime): Likewise.
18092         * sysdeps/unix/sysv/syscalls.list: Remove file.
18094 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
18096         [BZ #3440]
18097         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
18098         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
18099         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
18100         (__LC_IDENTIFICATION): Make these macros useful in #if
18101         expressions, as required by C99.
18103 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
18105         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
18106         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
18107         after this.
18109 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
18111         * stdlib/longlong.h: Updated from GCC.
18113 2012-05-09  Andreas Jaeger  <aj@suse.de>
18115         * nscd/nscd.c (run_modes): Make named enum, reorder so that
18116         default is first entry.
18117         (run_mode): Set type.
18118         (main): Remove informal message about syslog.
18119         (options): Fix typo.
18121         [BZ #14053]
18122         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
18123         to asm.
18124         (lrint): Likewise.
18125         (llrintf): Likewise.
18126         (llrint): Likewise.
18127         (rint): Likewise.
18128         (rintf): Likewise.
18129         (nearbyint): Likewise.
18130         (nearbyintf): Likewise.
18132 2012-05-09  Andreas Jaeger  <aj@suse.de>
18133             Pedro Alves  <palves@redhat.com>
18135         * nscd/nscd.c (run_mode): Use enum.
18136         (main): Cleanup coding style issue.
18138 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
18139             Andreas Jaeger  <aj@suse.de>
18141         * nscd/nscd.c (go_background): Replaced with...
18142         (run_mode): ... this.
18143         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
18144         (options): Add -F --foreground.
18145         (main): Implement it.
18146         (parse_opt): Parse it.
18148 2012-05-09  Andreas Jaeger  <aj@suse.de>
18150         [BZ #14083]
18151         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
18152         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
18153         -Wconversion warning.
18154         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
18155         Likewise.
18157 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
18159         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
18160         == 0.
18161         (LC_ALL): Use macro-int-constant.
18162         (LC_COLLATE): Likewise.
18163         (LC_CTYPE): Likewise.
18164         (LC_MESSAGES): Likewise.
18165         (LC_MONETARY): Likewise.
18166         (LC_NUMERIC): Likewise.
18167         (LC_TIME): Likewise.
18168         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
18169         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
18170         [ISO || ISO99 || ISO11] (*_t): Do not allow.
18171         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
18172         Specify type.
18173         [C99-based standards] (float_t): Expect type.
18174         [C99-based standards] (double_t): Expect type.
18175         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
18176         type.
18177         [C99-based standards] (HUGE_VALL): Likewise.
18178         [C99-based standards] (INFINITY): Likewise.
18179         [C99-based standards] (NAN): Likewise.
18180         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
18181         [C99-based standards] (FP_NAN): Likewise.
18182         [C99-based standards] (FP_NORMAL): Likewise.
18183         [C99-based standards] (FP_SUBNORMAL): Likewise.
18184         [C99-based standards] (FP_ZERO): Likewise.
18185         [C99-based standards] (FP_FAST_FMA): Use
18186         optional-macro-int-constant.  Specify type.  Require == 1.
18187         [C99-based standards] (FP_FAST_FMAF): Likewise.
18188         [C99-based standards] (FP_FAST_FMAL): Likewise.
18189         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
18190         [C99-based standards] (FP_ILOGBNAN): Likewise.
18191         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
18192         Specify type.
18193         [C99-based standards] (MATH_ERREXCEPT): Likewise.
18194         [C99-based standards] (math_errhandling): Specify type.
18195         [ISO99 || ISO11] (signgam): Do not allow.
18196         [non-C99-based standards] (copysignf): Do not allow.
18197         [non-C99-based standards] (exp2f): Likewise.
18198         [non-C99-based standards] (log2f): Likewise.
18199         [non-C99-based standards] (modff): Allow.
18200         [non-C99-based standards] (erff): Do not allow.
18201         [non-C99-based standards] (erfcf): Likewise.
18202         [non-C99-based standards] (gammaf): Likewise.
18203         [non-C99-based standards] (hypotf): Likewise.
18204         [non-C99-based standards] (j0f): Likewise.
18205         [non-C99-based standards] (j1f): Likewise.
18206         [non-C99-based standards] (jnf): Likewise.
18207         [non-C99-based standards] (lgammaf): Likewise.
18208         [non-C99-based standards] (tgammaf): Likewise.
18209         [non-C99-based standards] (y0f): Likewise.
18210         [non-C99-based standards] (y1f): Likewise.
18211         [non-C99-based standards] (ynf): Likewise.
18212         [non-C99-based standards] (isnanf): Likewise.
18213         [non-C99-based standards] (acoshf): Likewise.
18214         [non-C99-based standards] (asinhf): Likewise.
18215         [non-C99-based standards] (atanhf): Likewise.
18216         [non-C99-based standards] (cbrtf): Likewise.
18217         [non-C99-based standards] (expm1f): Likewise.
18218         [non-C99-based standards] (ilogbf): Likewise.
18219         [non-C99-based standards] (log1pf): Likewise.
18220         [non-C99-based standards] (logbf): Likewise.
18221         [non-C99-based standards] (nextafterf): Likewise.
18222         [non-C99-based standards] (remainderf): Likewise.
18223         [non-C99-based standards] (rintf): Likewise.
18224         [non-C99-based standards] (scalbf): Likewise.
18225         [non-C99-based standards] (copysignl): Likewise.
18226         [non-C99-based standards] (exp2l): Likewise.
18227         [non-C99-based standards] (log2l): Likewise.
18228         [non-C99-based standards] (modfl): Allow.
18229         [non-C99-based standards] (erfl): Do not allow.
18230         [non-C99-based standards] (erfcl): Likewise.
18231         [non-C99-based standards] (gammal): Likewise.
18232         [non-C99-based standards] (hypotl): Likewise.
18233         [non-C99-based standards] (j0l): Likewise.
18234         [non-C99-based standards] (j1l): Likewise.
18235         [non-C99-based standards] (jnl): Likewise.
18236         [non-C99-based standards] (lgammal): Likewise.
18237         [non-C99-based standards] (tgammal): Likewise.
18238         [non-C99-based standards] (y0l): Likewise.
18239         [non-C99-based standards] (y1l): Likewise.
18240         [non-C99-based standards] (ynl): Likewise.
18241         [non-C99-based standards] (isnanl): Likewise.
18242         [non-C99-based standards] (acoshl): Likewise.
18243         [non-C99-based standards] (asinhl): Likewise.
18244         [non-C99-based standards] (atanhl): Likewise.
18245         [non-C99-based standards] (cbrtl): Likewise.
18246         [non-C99-based standards] (expm1l): Likewise.
18247         [non-C99-based standards] (ilogbl): Likewise.
18248         [non-C99-based standards] (log1pl): Likewise.
18249         [non-C99-based standards] (logbl): Likewise.
18250         [non-C99-based standards] (nextafterl): Likewise.
18251         [non-C99-based standards] (remainderl): Likewise.
18252         [non-C99-based standards] (rintl): Likewise.
18253         [non-C99-based standards] (scalbl): Likewise.
18254         [ISO || ISO99 || ISO11] (*_t): Do not allow.
18255         [non-C99-based standards] (FP_*): Do not allow.
18256         [C99-based standards] (FP_*): Change to
18257         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
18258         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
18259         allow.
18260         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
18261         (SIG_ERR): Likewise.
18262         [X/Open-based standards] (SIG_HOLD): Likewise.
18263         (SIG_IGN): Likewise.
18264         (SIGABRT): Use macro-int-constant.  Specify type.  Require
18265         positive value.
18266         (SIGFPE): Likewise.
18267         (SIGILL): Likewise.
18268         (SIGINT): Likewise.
18269         (SIGSEGV): Likewise.
18270         (SIGTER): Likewise.
18271         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
18272         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
18273         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
18274         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
18275         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
18276         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
18277         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
18278         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
18279         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
18280         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
18281         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
18282         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
18283         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
18284         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
18285         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
18286         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
18287         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
18288         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
18289         [X/Open-based standards] (SIGTRAP): Likewise.
18290         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
18291         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
18292         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
18293         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
18294         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
18295         allow.
18297 2012-05-08  Ian Wienand  <ianw@vmware.com>
18299         [BZ #14080]
18300         * time/tzset.c (__tzset_parse_tz): Update default rules for
18301         daylight time changes in the Energy Policy Act of 2005.
18303 2012-05-09  Andreas Jaeger  <aj@suse.de>
18305         [BZ #13983]
18306         * elf/ldconfig.c (parse_conf): Change string to make clear that
18307         ldconfig only issued a warning if ld.so.conf does not exist.
18309 2012-05-08  David S. Miller  <davem@davemloft.net>
18311         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
18312         movxtod instead of popping the value on the stack.
18314         * sysdeps/sparc/fpu/libm-test-ulps: Update.
18316 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
18318         * config.h.in: Add HAVE_ARM_PCS_VFP.
18320 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
18322         [BZ #13979]
18323         * include/features.h: Warn if user requests __FORTIFY_SOURCE
18324         checking but the checks are disabled for any reason.
18326 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
18328         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
18329         and ELF64_R_TYPE with ELFW(R_TYPE).
18331 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
18333         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
18334         (ulimit): Likewise.
18336         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
18337         (settimeofday): Likewise.
18339 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
18341         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
18342         a struct th_u2 inside the union, and move tu_block/tu_code into
18343         a new th_u3 union of tu_block/tu_code inside of that.  Move
18344         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
18345         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
18346         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
18347         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
18348         (th_stuff): Change to th_u1.tu_stuff.
18349         (th_data): Define.
18350         (th_msg): Change to th_u1.th_u2.tu_data.
18352 2012-05-07  David S. Miller  <davem@davemloft.net>
18354         * sysdeps/sparc/fpu/libm-test-ulps: Update.
18356         [BZ #14074]
18357         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
18358         (SETUP_PIC_REG): Use it.
18359         (SETUP_PIC_REG_LEAF): Use it.
18361 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
18363         [BZ #13885]
18364         [BZ #13923]
18365         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
18366         USE_AS_EXPM1L.
18367         (EXPL_FINITE): Likewise.
18368         (FLDLOG): Likewise.
18369         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
18370         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
18371         e_expl.S.
18372         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
18373         USE_AS_EXPM1L.
18374         (EXPL_FINITE): Likewise.
18375         (FLDLOG): Likewise.
18376         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
18377         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
18378         e_expl.S.
18379         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
18380         test of -max_value argument for long double.
18381         * sysdeps/i386/fpu/libm-test-ulps: Update.
18382         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18384 2012-05-06  David S. Miller  <davem@davemloft.net>
18386         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
18387         quad soft-float symbols whose references which are compiler
18388         generated.
18389         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
18391 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
18393         [BZ #13884]
18394         [BZ #13914]
18395         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
18396         USE_AS_EXP10L.
18397         (EXPL_FINITE): Likewise.
18398         (FLDLOG): Likewise.
18399         (c0): Likewise.
18400         (c1): Likewise.
18401         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
18402         Adjust comments for base varying.
18403         (__expl_finite): Change alias to EXPL_FINITE.
18404         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
18405         e_expl.S.
18406         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
18407         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
18408         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
18409         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
18410         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
18411         USE_AS_EXP10L.
18412         (EXPL_FINITE): Likewise.
18413         (FLDLOG): Likewise.
18414         (c0): Likewise.
18415         (c1): Likewise.
18416         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
18417         Adjust comments for base varying.
18418         (__expl_finite): Change alias to EXPL_FINITE.
18419         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
18420         tests for bugs.
18421         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18423         [BZ #14064]
18424         * math/libm-test.inc (check_float_internal): Correct ulp
18425         calculation for subnormal expected results.
18427 2012-05-06  Andreas Jaeger  <aj@suse.de>
18429         * Makeconfig (+math-flags): New, set to -frounding-math.
18430         (+cflags): Add +math-flags so that all of glibc gets compiled with
18431         it.
18433         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
18435 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
18437         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
18438         Disable one test.
18440         [BZ #13787]
18441         [BZ #13922]
18442         [BZ #14036]
18443         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
18444         (__ieee754_expl): Allow for and saturate large arguments.
18445         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
18446         (u_threshold): Likewise.
18447         (__exp): Call __ieee754_exp before checking for overflow and
18448         underflow.
18449         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
18450         (u_threshold): Likewise.
18451         (__expf): Call __ieee754_expf before checking for overflow and
18452         underflow.
18453         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
18454         (u_threshold): Likewise.
18455         (__expl): Call __ieee754_expl before checking for overflow and
18456         underflow.
18457         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
18458         (__ieee754_expl): Allow for and saturate large arguments.
18459         * math/libm-test.inc (exp_test): Add another test.  Do not allow
18460         missing overflow exception on overflow.
18461         (expm1_test): Do not allow missing overflow exception on overflow.
18463         * sysdeps/i386/fpu/e_expl.c: Move to ...
18464         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
18465         rather than using inline asm.
18466         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
18467         * sysdeps/x86_64/fpu/e_expl.S: Copy from
18468         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
18470         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
18471         (nice): Likewise.
18472         (poll): Likewise.
18473         (signal): Likewise.
18474         (time): Likewise.
18475         (times): Likewise.
18477 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
18479         * sysdeps/unix/syscalls.list (adjtime): Add entry from
18480         sysdeps/unix/common/syscalls.list.
18481         (fchmod): Likewise.
18482         (fchown): Likewise.
18483         (ftruncate): Likewise.
18484         (getrusage): Likewise.
18485         (gettimeofday): Likewise.
18486         (setpgid): Likewise.
18487         (setregid): Likewise.
18488         (setreuid): Likewise.
18489         (sigaction): Likewise.
18490         (truncate): Likewise.
18491         (vhangup): Likewise.
18492         * sysdeps/unix/common/syscalls.list: Remove file.
18493         * sysdeps/unix/bsd/Implies: Don't include unix/common.
18494         * sysdeps/unix/sysv/linux/Implies: Likewise.
18496 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
18498         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
18499         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
18500         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
18501         Moved to ...
18502         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
18503         Here.
18504         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
18505         to ...
18506         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
18507         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
18508         to ...
18509         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
18510         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
18511         to ...
18512         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
18513         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
18514         to ...
18515         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
18516         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
18517         to ...
18518         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
18519         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
18520         to ...
18521         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
18522         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
18523         to ...
18524         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
18525         Here.
18526         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
18527         to ...
18528         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
18529         Here.
18530         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
18531         to ...
18532         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
18533         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
18534         Moved to ...
18535         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
18536         Here.
18537         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
18538         to ...
18539         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
18541 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
18543         * sysdeps/unix/common/bits/dirent.h: Remove file.
18544         * sysdeps/unix/common/bits/fcntl.h: Likewise.
18546         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
18547         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
18548         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
18549         * sysdeps/unix/bsd/isatty.c: Likewise.
18550         * sysdeps/unix/bsd/tcdrain.c: Likewise.
18551         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
18552         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
18554 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18556         [BZ #13563]
18557         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
18558         long double comparison inaccuracies.
18559         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
18560         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18562 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
18564         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
18565         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
18567 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
18569         [BZ #14049]
18570         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
18571         nonzero digits before rounding a hex value.
18572         * stdlib/tst-strtod.c (tests): Add another test.
18574 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
18576         * sysdeps/s390/fpu/libm-test-ulps: Update.
18578 2012-05-03  Andreas Jaeger  <aj@suse.de>
18580         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
18581         does not get optimized out.
18582         (malloc_opt_barrier): New.
18584 2012-05-03  Andreas Jaeger  <aj@suse.de>
18585             Roland McGrath  <roland@hack.frob.com>
18587         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
18588         intermediate file deletion.
18589         (generated): Add .symlist files.
18591 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
18593         [BZ #13775]
18594         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
18595         Redirect under this condition.
18596         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
18597         [__USE_GNU] (__dprintf_chk): Not under this condition.
18598         [__USE_GNU] (__vdprintf_chk): Likewise.
18599         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
18600         under this condition.
18601         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
18602         [__USE_XOPEN2K8] (dprintf): Define under this condition.
18603         [__USE_XOPEN2K8] (vdprintf): Likewise.
18604         [__USE_GNU] (__dprintf_chk): Not under this condition.
18605         [__USE_GNU] (__vdprintf_chk): Likewise.
18606         [__USE_GNU] (dprintf): Likewise.
18607         [__USE_GNU] (vdprintf): Likewise.
18609 2012-05-03  Roland McGrath  <roland@hack.frob.com>
18611         * elf/Makefile (common-generated): Set this instead of generated for
18612         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
18613         $(all-built-dso)-derived lists.
18615 2012-05-03  Andreas Jaeger  <aj@suse.de>
18617         * sysdeps/i386/fpu/libm-test-ulps: Update.
18619         * FAQ: Removed.
18620         * FAQ.in: Likewise.
18621         * scripts/gen-FAQ.pl: Likewise.
18622         * manual/install.texi (Installation): Point to online location of
18623         FAQ.
18624         * Makefile (files-for-dist): Remove FAQ.
18625         (FAQ): Remove.
18627 2012-05-02  Allan McRae  <allan@archlinux.org>
18629         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
18630         (LDFLAGS-reldepmod5.so): Likewise.
18631         (LDFLAGS-reldep6mod1.so): Likewise.
18632         (LDFLAGS-reldep6mod4.so): Likewise.
18633         (LDFLAGS-reldep8mod3.so): Likewise.
18634         (LDFLAGS-unload4mod1.so): Likewise.
18635         (LDFLAGS-unload4mod2.so): Likewise.
18636         (LDFLAGS-tst-initorder): Likewise.
18637         (LDFLAGS-tst-initordera2.so): Likewise.
18638         (LDFLAGS-tst-initordera3.so): Likewise.
18639         (LDFLAGS-tst-initordera4.so): Likewise.
18640         (LDFLAGS-tst-initorderb2.so): Likewise.
18641         (LDFLAGS-noload): Likewise.
18642         (LDFLAGS-next): Likewise.
18643         (LDFLAGS-order2mod1.so): Likewise.
18644         (LDFLAGS-order2mod2.so): Likewise.
18645         (LDFLAGS-tst-initorder2): Likewise.
18646         (LDFLAGS-tst-initorder2a.so): Likewise.
18647         (LDFLAGS-tst-initorder2b.so): Likewise.
18648         (LDFLAGS-tst-initorder2c.so): Likewise.
18649         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
18651 2012-05-02  David S. Miller  <davem@davemloft.net>
18653         * sysdeps/sparc/fpu/libm-test-ulps: Update.
18655 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
18657         [BZ #14055]
18658         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
18660 2012-05-02  Andreas Jaeger  <aj@suse.de>
18662         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
18663         since we manipulate rounding mode.
18664         (CPPFLAGS-test-idouble.c): Likewise.
18665         (CPPFLAGS-test-ifloat.c): Likewise.
18666         (CFLAGS-test-ldouble.c): Likewise.
18667         (CFLAGS-test-double.c): Likewise.
18668         (CFLAGS-test-float.c): Likewise.
18669         (CFLAGS-test-misc.c): Likewise.
18670         (CFLAGS-test-test-fenv.c): Likewise.
18672 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18674         [BZ #2550]
18675         [BZ #2570]
18676         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
18677         comparisons to determine direction to adjust input.
18679 2012-05-01  Roland McGrath  <roland@hack.frob.com>
18681         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
18682         output to the target.
18684         * scripts/localplt.awk: New file.
18685         * elf/Makefile ($(objpfx)check-localplt): Target removed.
18686         (check-localplt-CFLAGS): Variable removed.
18687         ($(all-built-dso:=.jmprel)): New static pattern rule.
18688         (generated): Add those targets.
18689         (localplt-built-dso): New variable.
18690         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
18692         * elf/check-localplt.c: File removed.
18694         * scripts/check-execstack.awk: New file.
18695         * elf/Makefile ($(objpfx)check-execstack): Target removed.
18696         (check-execstack-CFLAGS): Variable removed.
18697         ($(objpfx)check-execstack.h): Target removed.
18698         ($(objpfx)execstack-default): New target.
18699         (generated): Add that instead of check-execstack.h.
18700         ($(all-built-dso:=.phdr)): New static pattern rule.
18701         (generated): Add those targets.
18702         * elf/check-execstack.c: File removed.
18704         * scripts/check-textrel.awk: New file.
18705         * elf/Makefile ($(objpfx)check-textrel): Target removed.
18706         (check-textrel-CFLAGS): Variable removed.
18707         (all-built-dso): Use := to define.o
18708         ($(all-built-dso:=.dyn)): New static pattern rule.
18709         (generated): Add those targets.
18710         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
18711         * config.make.in (READELF): New substituted variable.
18712         * elf/check-textrel.c: File removed.
18714 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
18716         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
18717         allow.
18718         * conform/data/ctype.h-data [C99-based standards] (isblank):
18719         Expect function.
18720         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
18721         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
18722         [ISO || ISO99 || ISO11] (*_t): Do not allow.
18723         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
18724         Specify type.  Require positive value.
18725         (EILSEQ): Likewise.
18726         (ERANGE): Likewise.
18727         [ISO || POSIX] (EILSEQ): Do not expect.
18728         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
18729         Specify type.  Require positive value.
18730         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
18731         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
18732         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
18733         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
18734         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
18735         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
18736         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
18737         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
18738         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
18739         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
18740         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
18741         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
18742         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
18743         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
18744         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
18745         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
18746         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
18747         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
18748         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
18749         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
18750         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
18751         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
18752         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
18753         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
18754         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
18755         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
18756         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
18757         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
18758         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
18759         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
18760         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
18761         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
18762         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
18763         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
18764         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
18765         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
18766         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
18767         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
18768         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
18769         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
18770         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
18771         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
18772         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
18773         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
18774         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
18775         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
18776         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
18777         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
18778         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
18779         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
18780         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
18781         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
18782         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
18783         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
18784         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
18785         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
18786         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
18787         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
18788         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
18789         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
18790         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
18791         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
18792         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
18793         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
18794         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
18795         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
18796         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
18797         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
18798         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
18799         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
18800         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
18801         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
18802         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
18803         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
18804         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
18805         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
18806         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
18807         Require >= 2.
18808         (FLT_ROUNDS): Expect as macro, not constant.
18809         (FLT_MANT_DIG): Use macro-int-constant.
18810         (DBL_MANT_DIG): Likewise.
18811         (LDBL_MANT_DIG): Likewise.
18812         (FLT_DIG): Likewise.
18813         (DBL_DIG): Likewise.
18814         (LDBL_DIG): Likewise.
18815         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
18816         (DBL_MIN_EXP): Likewise.
18817         (LDBL_MIN_EXP): Likewise.
18818         (FLT_MAX_EXP): Use macro-int-constant.
18819         (DBL_MAX_EXP): Likewise.
18820         (LDBL_MAX_EXP): Likewise.
18821         (FLT_MAX_10_EXP): Likewise.
18822         (DBL_MAX_10_EXP): Likewise.
18823         (LDBL_MAX_10_EXP): Likewise.
18824         (FLT_MAX): Use macro-constant.
18825         (DBL_MAX): Likewise.
18826         (LDBL_MAX): Likewise.
18827         (FLT_EPSILON): Use macro-constant.  Give upper bound.
18828         (DBL_EPSILON): Likewise.
18829         (LDBL_EPSILON): Likewise.
18830         (FLT_MIN): Likewise.
18831         (DBL_MIN): Likewise.
18832         (LDBL_MIN): Likewise.
18833         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
18834         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
18835         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
18836         [ISO11] (FLT_HAS_SUBNORM): Likewise.
18837         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
18838         [ISO11] (DBL_DECIMAL_DIG): Likewise.
18839         [ISO11] (FLT_DECIMAL_DIG): Likewise.
18840         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
18841         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
18842         [ISO11] (FLT_TRUE_MIN): Likewise.
18843         [ISO11] (LDBL_TRUE_MIN): Likewise.
18844         [ISO || ISO99 || ISO11] (*_t): Do not allow.
18845         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
18846         (SCHAR_MIN): Use macro-int-constant.  Specify type.
18847         (SCHAR_MAX): Likewise.
18848         (UCHAR_MAX): Likewise.
18849         (CHAR_MIN): Likewise.
18850         (CHAR_MAX): Likewise.
18851         (MB_LEN_MAX): Use macro-int-constant.
18852         (SHRT_MIN): Use macro-int-constant.  Specify type.
18853         (SHRT_MAX): Likewise.
18854         (USHRT_MAX): Likewise.
18855         (INT_MAX): Likewise.
18856         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
18857         bound negative.
18858         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
18859         bound with "U".
18860         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
18861         bound with "L".
18862         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
18863         bound negative.  Suffix upper bound with "L".
18864         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
18865         bound with "UL".
18866         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
18867         Specify type.
18868         [C99-based standards] (LLONG_MAX): Likewise.
18869         [C99-based standards] (ULLONG_MAX): Likewise.
18870         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
18871         == 0.
18872         [ISO11] (max_align_t): Require type.
18873         [ISO || ISO99 || ISO11] (*_t): Do not allow.
18875         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
18876         from $CFLAGS, without defining away __attribute__ calls.
18877         (checknamespace): Use $CFLAGS_namespace.
18879         * conform/conformtest.pl (@keywords): Only include C99 keywords
18880         for standards based on C99 or C11.
18882         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
18883         Disable tests.
18884         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
18885         UNIX98]: Likewise.
18887         * conform/conformtest.pl: Handle "macro-int-constant" and test for
18888         usability of symbols in #if.
18890         * conform/conformtest.pl: If macro or constant types start
18891         "promoted:", expect the symbol to be of the following type
18892         promoted by the integer promotions.
18894         * conform/conformtest.pl: Parse all "constant" and "macro" lines
18895         in one place.  Also handle "macro-constant".
18897         * conform/conformtest.pl: Only accept expected macro values with
18898         "==".  Parse all "macro" lines in one place.
18899         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
18901         * conform/conformtest.pl: Handle braced types on "constant" lines
18902         instead of handling "typed-constant".
18903         * conform/data/signal.h-data: Use "constant" instead of
18904         "typed-constant".
18906         * conform/conformtest.pl: Handle "optional-" at start of lines in
18907         one place rather than duplicating several cases.  Handle each
18908         format of "macro" line with initial "optional-".
18910         * conform/conformtest.pl: Only accept expected constant or
18911         optional-constant values with "==".  Parse all "constant" lines in
18912         one place.  Parse all "optional-constant" lines in one place.
18913         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
18914         * conform/data/fmtmsg.h-data: Likewise.
18915         * conform/data/netinet/in.h-data: Likewise.
18916         * conform/data/tar.h-data: Likewise.
18917         * conform/data/limits.h-data: Use "==" form on "constant" and
18918         "optional-constant" lines.
18920         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
18921         Use -std=c99 for XOPEN2K.
18922         (@knownproblems): Remove.
18923         (newtoken): Don't check %isknown.
18925         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
18926         Do not expect macro.
18927         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
18928         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
18929         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
18930         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
18931         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
18932         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
18933         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
18934         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
18935         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
18936         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
18937         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
18938         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
18939         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
18940         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
18941         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
18942         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
18943         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
18944         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
18945         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
18946         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
18947         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
18948         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
18949         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
18950         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
18951         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
18952         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
18953         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
18954         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
18955         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
18956         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
18957         [XPG3] (acosh): Likewise.
18958         [XPG3] (asinh): Likewise.
18959         [XPG3] (atanh): Likewise.
18960         [XPG3] (cbrt): Likewise.
18961         [XPG3] (expm1): Likewise.
18962         [XPG3] (ilogb): Likewise.
18963         [XPG3] (log1p): Likewise.
18964         [XPG3] (logb): Likewise.
18965         [XPG3] (nextafter): Likewise.
18966         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
18967         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
18968         [XPG3] (remainder): Likewise.
18969         [XPG3] (rint): Likewise.
18970         [XPG3 || XPG4 || UNIX98] (round): Likewise.
18971         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
18972         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
18973         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
18974         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
18975         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
18976         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
18977         [UNIX98 || XOPEN2K] (scalb): Expect.
18978         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
18979         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
18980         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
18981         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
18982         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
18983         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
18984         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
18985         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
18986         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
18987         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
18988         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
18989         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
18990         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
18991         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
18992         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
18993         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
18994         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
18995         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
18996         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
18997         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
18998         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
18999         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
19000         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
19001         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
19002         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
19003         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
19004         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
19005         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
19006         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
19007         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
19008         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
19009         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
19010         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
19011         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
19012         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
19013         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
19014         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
19015         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
19016         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
19017         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
19018         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
19019         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
19020         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
19021         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
19022         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
19023         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
19024         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
19025         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
19026         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
19027         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
19028         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
19029         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
19030         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
19031         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
19032         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
19033         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
19034         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
19035         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
19036         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
19037         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
19038         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
19039         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
19040         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
19041         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
19042         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
19043         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
19044         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
19045         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
19046         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
19047         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
19048         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
19049         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
19050         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
19051         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
19052         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
19053         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
19054         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
19055         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
19056         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
19057         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
19058         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
19059         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
19060         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
19061         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
19062         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
19063         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
19064         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
19065         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
19066         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
19067         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
19068         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
19069         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
19070         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
19071         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
19072         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
19073         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
19074         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
19075         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
19076         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
19077         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
19078         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
19079         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
19080         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
19081         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
19082         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
19083         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
19084         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
19085         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
19086         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
19087         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
19088         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
19089         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
19090         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
19091         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
19092         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
19093         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
19094         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
19095         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
19096         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
19097         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
19098         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
19099         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
19100         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
19101         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
19102         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
19103         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
19104         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
19105         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
19106         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
19107         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
19108         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
19109         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
19110         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
19111         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
19112         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
19113         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
19114         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
19116         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
19117         _XOPEN_SOURCE_EXTENDED for XPG4.
19119         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
19121         * Makeconfig (localtime): Remove variable.
19122         (inst_localtime-file): Likewise.
19124 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
19126         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
19127         Update.
19128         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
19129         Update.
19130         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
19131         Update.
19132         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
19133         Update.
19134         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
19135         Update.
19136         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
19137         Update.
19138         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
19139         Update.
19140         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
19141         Update.
19142         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
19143         Update.
19145 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
19147         [BZ #2550]
19148         [BZ #2570]
19149         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
19150         comparisons to determine direction to adjust input.
19151         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
19152         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
19153         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
19154         Likewise.
19155         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
19156         Likewise.
19157         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
19158         Likewise.
19159         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
19160         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
19161         Likewise.
19162         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
19163         Likewise.
19164         * math/libm-test.inc (nexttoward_test): Add more tests.
19166 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
19168         [BZ #14040]
19169         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
19170         in version GLIBC_2.1, not GLIBC_2.0.
19171         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
19172         Likewise.
19174 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
19176         [BZ #13942]
19177         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
19178         (1 - x) * (1 + x).
19179         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
19180         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
19181         * math/libm-test.inc (acos_test): Add more tests.
19182         (asin_test): Likewise.
19183         * sysdeps/i386/fpu/libm-test-ulps: Update.
19184         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19186         [BZ #14034]
19187         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
19188         of square root.
19189         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
19190         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
19191         * math/libm-test.inc (acos_test_tonearest): New function.
19192         (acos_test_towardzero): Likewise.
19193         (acos_test_downward): Likewise.
19194         (acos_test_upward): Likewise.
19195         (asin_test_tonearest): Likewise.
19196         (asin_test_towardzero): Likewise.
19197         (asin_test_downward): Likewise.
19198         (asin_test_upward): Likewise.
19199         (main): Call the new functions.
19200         * sysdeps/i386/fpu/libm-test-ulps: Update.
19201         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19203         [BZ #13884]
19204         [BZ #13924]
19205         * math/e_exp10.c: Include <float.h>.
19206         (__ieee754_exp10): Handle underflow here rather than multiplying
19207         large negative argument by M_LN10.
19208         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
19209         of __ieee754_expf.
19210         * math/e_exp10l.c: Include <float.h>.
19211         (__ieee754_exp10l): Handle underflow here rather than multiplying
19212         large negative argument by M_LN10l.
19213         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
19214         spurious overflow exception on underflow.
19216 2012-04-29  Marek Polacek  <polacek@redhat.com>
19218         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
19219         (__fortify_function): New macro.
19220         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
19221         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
19222         __extern_always_inline.
19223         * libio/bits/stdio2.h: Likewise.
19224         * libio/bits/stdio.h: Likewise.
19225         * string/string.h: Likewise.
19226         * string/bits/string3.h: Likewise.
19227         * include/stdio.h: Likewise.
19228         * stdlib/bits/stdlib.h: Likewise.
19229         * stdlib/stdlib.h: Likewise.
19230         * rt/bits/mqueue2.h: Likewise.
19231         * rt/mqueue.h: Likewise.
19232         * posix/bits/unistd.h: Likewise.
19233         * posix/unistd.h: Likewise.
19234         * io/bits/poll2.h: Likewise.
19235         * io/bits/fcntl2.h: Likewise.
19236         * io/fcntl.h: Likewise.
19237         * io/sys/poll.h: Likewise.
19238         * misc/bits/syslog.h: Likewise.
19239         * misc/bits/syslog-ldbl.h: Likewise.
19240         * misc/sys/syslog.h: Likewise.
19241         * socket/bits/socket2.h: Likewise.
19242         * socket/sys/socket.h: Likewise.
19243         * debug/tst-chk1.c: Likewise.
19244         * wcsmbs/bits/wchar2.h: Likewise.
19245         * wcsmbs/bits/wchar-ldbl.h: Likewise.
19246         * wcsmbs/wchar.h: Likewise.
19248 2012-04-29  Andreas Jaeger  <aj@suse.de>
19250         * Makerules (tests): Remove enable-check-abi protection.
19251         (check-abi-warn): Remove.
19252         (check-abi-%): Remove check-abi-warn usage.
19254         * configure.in: Remove check-abi configure option.
19255         * configure: Regenerated.
19256         * config.make.in (enable-check-abi): Remove.
19258 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
19260         [BZ #14033]
19261         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
19262         double functions to double *_finite functions.
19264         [BZ #13941]
19265         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
19266         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
19267         LDBL_MIN_EXP.
19268         * stdio-common/Makefile (tests): Add tst-sprintf3.
19269         * stdio-common/tst-sprintf3.c: New file.
19271         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
19272         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
19274 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
19276         * conform/conformtest.pl: Remove duplicate typed-constant
19277         handling.
19279 2012-04-28  David S. Miller  <davem@davemloft.net>
19281         * Makerules (%.abilist): Add vpath on sysdep_dirs.
19282         (check-abi-%): Remove AWK script prerequisite and explicit
19283         abilist directory.
19284         (check-abi): Rewrite to just diff the symlist with the abilist.
19285         (config-tls, config-abi-config): Delete, no longer used.
19286         (update-abi-%): Remove AWK script and explicit abilist directory.
19287         (update-abi): Rewrite to simply compare and conditionally copy the
19288         symlist and the sysdep abilist file.  Remove update-abi-config
19289         checks.
19290         * abilist/ld.abilist: Remove.
19291         * abilist/libBrokenLocale.abilist: Remove.
19292         * abilist/libanl.abilist: Remove.
19293         * abilist/libcrypt.abilist: Remove.
19294         * abilist/libdl.abilist: Remove.
19295         * abilist/librt.abilist: Remove.
19296         * abilist/libthread_db.abilist: Remove.
19297         * abilist/libutil.abilist: Remove.
19298         * scripts/extract-abilist.awk: Remove.
19299         * scripts/merge-abilist.awk: Remove.
19300         * sysdeps/generic/libcidn.abilist: New file.
19301         * sysdeps/generic/libnss_compat.abilist: New file.
19302         * sysdeps/generic/libnss_db.abilist: New file.
19303         * sysdeps/generic/libnss_dns.abilist: New file.
19304         * sysdeps/generic/libnss_files.abilist: New file.
19305         * sysdeps/generic/libnss_hesiod.abilist: New file.
19306         * sysdeps/generic/libnss_nis.abilist: New file.
19307         * sysdeps/generic/libnss_nisplus.abilist: New file.
19308         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
19309         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
19310         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
19311         file.
19312         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
19313         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
19314         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
19315         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
19316         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
19317         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
19318         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
19319         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
19320         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
19321         file.
19322         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
19323         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
19324         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
19325         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
19326         file.
19327         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
19328         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
19329         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
19330         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
19331         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
19332         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
19333         file.
19334         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
19335         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
19336         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
19337         file.
19338         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
19339         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
19340         New file.
19341         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
19342         New file.
19343         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
19344         New file.
19345         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
19346         New file.
19347         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
19348         New file.
19349         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
19350         New file.
19351         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
19352         New file.
19353         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
19354         New file.
19355         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
19356         New file.
19357         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
19358         New file.
19359         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
19360         New file.
19361         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
19362         New file.
19363         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
19364         New file.
19365         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
19366         file.
19367         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
19368         New file.
19369         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
19370         New file.
19371         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
19372         file.
19373         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
19374         New file.
19375         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
19376         New file.
19377         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
19378         file.
19379         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
19380         New file.
19381         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
19382         New file.
19383         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
19384         New file.
19385         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
19386         New file.
19387         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
19388         New file.
19389         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
19390         New file.
19391         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
19392         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
19393         file.
19394         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
19395         New file.
19396         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
19397         file.
19398         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
19399         file.
19400         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
19401         file.
19402         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
19403         file.
19404         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
19405         file.
19406         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
19407         New file.
19408         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
19409         file.
19410         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
19411         file.
19412         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
19413         New file.
19414         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
19415         file.
19416         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
19417         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
19418         file.
19419         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
19420         New file.
19421         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
19422         file.
19423         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
19424         file.
19425         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
19426         file.
19427         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
19428         file.
19429         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
19430         file.
19431         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
19432         New file.
19433         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
19434         file.
19435         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
19436         file.
19437         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
19438         New file.
19439         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
19440         file.
19441         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
19442         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
19443         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
19444         file.
19445         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
19446         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
19447         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
19448         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
19449         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
19450         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
19451         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
19452         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
19453         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
19454         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
19455         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
19456         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
19457         file.
19458         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
19459         New file.
19460         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
19461         file.
19462         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
19463         file.
19464         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
19465         file.
19466         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
19467         file.
19468         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
19469         file.
19470         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
19471         New file.
19472         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
19473         New file.
19474         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
19475         file.
19476         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
19477         New file.
19478         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
19479         file.
19480         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
19481         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
19482         file.
19483         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
19484         New file.
19485         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
19486         file.
19487         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
19488         file.
19489         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
19490         file.
19491         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
19492         file.
19493         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
19494         file.
19495         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
19496         New file.
19497         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
19498         New file.
19499         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
19500         file.
19501         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
19502         New file.
19503         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
19504         file.
19506 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
19508         * conform/conformtest.pl: Fix typo in handling typed-constant from
19509         allow-header.
19511 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
19513         * README: Cut down references to pre-2.6 Linux kernels and
19514         Linuxthreads.  Update lists of configurations in libc and ports
19515         and sort alphabetically.  Say "or newer" with Linux kernel version
19516         requirements.
19518         * config.h.in [IS_IN_build]: Allow compiling without optimization.
19520 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
19522         [BZ #887]
19523         * math/libm-test.inc (logb_test_downward): New test to expose
19524         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
19525         rounding mode.
19527 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
19529         [BZ #14027]
19530         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
19531         to be done.
19532         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
19533         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
19535 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
19537         * sysdeps/unix/i386/brk.S: Remove file.
19538         * sysdeps/unix/i386/dl-brk.S: Likewise.
19539         * sysdeps/unix/i386/pipe.S: Likewise.
19540         * sysdeps/unix/i386/sigreturn.S: Likewise.
19541         * sysdeps/unix/i386/syscall.S: Likewise.
19542         * sysdeps/unix/i386/vfork.S: Likewise.
19543         * sysdeps/unix/i386/wait.S: Likewise.
19545         * sysdeps/unix/common/tcsendbrk.c: Move to ...
19546         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
19548         * configure.in (arm*-none*): Do not allow without
19549         --enable-hacker-mode.
19550         (netbsd*): Remove case setting base_os.
19551         (386bsd*): Likewise.
19552         (freebsd*): Likewise.
19553         (bsdi*): Likewise.
19554         (osf*): Likewise.
19555         (sunos*): Likewise.
19556         (ultrix*): Likewise.
19557         (newsos*): Likewise.
19558         (dynix*): Likewise.
19559         (*bsd*): Likewise.
19560         (sysv*): Likewise.
19561         (isc*): Likewise.
19562         (esix*): Likewise.
19563         (sco*): Likewise.
19564         (minix*): Likewise.
19565         (irix4*): Likewise.
19566         (irix6*): Likewise.
19567         (solaris[2-9]*): Likewise.
19568         (none): Likewise.
19569         * configure: Regenerated.
19571 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19573         [BZ #11521]
19574         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
19575         overflow or cancellation in calculating denominator.
19576         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
19577         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
19578         down expression to avoid unexpected rounding in newer GCCs.
19579         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
19581 2012-04-26  David S. Miller  <davem@davemloft.net>
19583         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
19584         long-double compat symbols.
19585         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
19586         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
19587         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
19588         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
19589         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
19590         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
19591         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
19592         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
19593         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
19594         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
19595         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
19596         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
19597         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
19599 2012-04-25  David S. Miller  <davem@davemloft.net>
19601         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
19602         HWCAP_* values only after the memory barriers have been defined.
19603         (atomic_full_barrier): Define.
19604         (atomic_read_barrier): Define.
19605         (atomic_write_barrier): Define.
19607 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
19609         * shlib-versions: Add libgcc_s version information.
19610         * sysdeps/generic/libgcc_s.h: Remove.
19611         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
19612         libgcc_s.h.
19613         * sysdeps/gnu/unwind-resume.c: Likewise.
19614         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
19616 2012-04-25  David S. Miller  <davem@davemloft.net>
19618         * sysdeps/unix/sparc/brk.S: Delete.
19619         * sysdeps/unix/sparc/dl-brk.S: Delete.
19620         * sysdeps/unix/sparc/pipe.S: Delete.
19621         * sysdeps/unix/sparc/sysdep.S: Delete.
19622         * sysdeps/unix/sparc/sysdep.h: Delete.
19623         * sysdeps/unix/sparc/vfork.S: Delete.
19624         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
19625         SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
19626         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
19627         ret_ERRVAL, r0, r1, MOVE): Define.
19628         (JUMPTARGET): Remove.
19629         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
19630         sysdeps/unix/sparc/sysdep.h
19631         (ENTRY, END): Remove.
19632         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
19634 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
19636         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
19637         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
19638         -DIS_IN_build.
19640         * timezone/README: Update upstream location and email address for
19641         tzcode and tzdata.
19642         * timezone/zdump.c: Update from tzcode 2012b.
19643         * timezone/zic.c: Likewise.
19645         * configure.in (libc_cv_as_needed): Remove test.
19646         * configure: Regenerated.
19647         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
19648         conditional definition.
19649         [$(have-as-needed) != yes] (no-as-needed): Likewise.
19650         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
19651         * config.make.in (have-as-needed): Remove variable.
19653 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
19654             Paul Pluzhnikov  <ppluzhnikov@google.com>
19656         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
19657         strings correctly.
19659 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
19661         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
19662         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
19663         * sysdeps/sh/strlen.S: Likewise.
19665 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
19667         * sysdeps/unix/fork.S: Remove file.
19668         * sysdeps/unix/i386/fork.S: Likewise.
19669         * sysdeps/unix/sparc/fork.S: Likewise.
19671         * sysdeps/unix/system.c: Remove file.
19672         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
19674         * sysdeps/unix/getegid.S: Remove file.
19675         * sysdeps/unix/geteuid.S: Likewise.
19677 2012-04-24  Roland McGrath  <roland@hack.frob.com>
19679         * scripts/check-localplt.awk: New file.
19680         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
19681         of diff.
19682         * scripts/data/localplt-generic.data: Add a comment.
19684         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
19685         NODE when __dir_mkfile failed.
19686         * sysdeps/mach/hurd/symlinkat.c: Likewise.
19687         Reported by Ludovic Courtès <ludo@gnu.org>.
19689 2012-04-24  Andreas Jaeger  <aj@suse.de>
19691         * Makerules (common-clean): Also remove gen-as-const-headers
19692         files.
19694 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
19696         * Makerules (native-compile): Do not change working directory for
19697         build.  Use $(OUTPUT_OPTION) in command.
19698         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
19700 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19702         [BZ #13886]
19703         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
19704         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
19705         * math/libm-test.inc (floor_test): Add more tests.
19706         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
19708 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
19710         * sysdeps/unix/getdents.c: Remove file.
19711         * sysdeps/unix/sysv/getdents.c: Likewise.
19712         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
19714         * sysdeps/unix/syscalls.list (madvise): Add syscall from
19715         sysdeps/unix/mman/syscalls.list.
19716         (mmap): Likewise.
19717         (mprotect): Likewise.
19718         (msync): Likewise.
19719         (munmap): Likewise.
19720         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
19721         * sysdeps/unix/mman/syscalls.list: Remove.
19722         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
19724         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
19725         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
19726         * configure: Regenerated.
19727         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
19728         $(libgcc_s_suffix).
19729         * config.make.in (libgcc_s_suffix): Remove variable.
19731 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
19733         * sysdeps/unix/sysv/gethostname.c: Move to ...
19734         * sysdeps/posix/gethostname.c: ... here.
19736         * sysdeps/unix/execve.S: Remove file.
19738         * sysdeps/unix/_exit.S: Remove file.
19740 2012-04-23  Andreas Jaeger  <aj@suse.de>
19742         [BZ #13739]
19743         * manual/Makefile: Remove make dist support, there's no
19744         need for a stand-alone documentation tar ball.
19745         (TEXI2DVI): Define always, it's not in Makeconfig.
19746         (dist): Removed.
19747         (tar-it): Removed.
19748         (edition): Removed.
19749         (glibc-doc-$(edition).tar): Removed
19750         (%.Z): Removed.
19751         (%.gz): Removed.
19752         (%.uu): Removed.
19753         (ETAGS): Remove, it's in Makeconfig.
19754         (move-if-change): Remove, it's in Makeconfig.
19756 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
19758         [BZ #13970]
19759         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
19760         (strtod, strtof, strtold, strtol, strtoul, strtoq)
19761         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
19762         (strtod_l, strtof_l, strtold_l): Remove __wur.
19763         It is not necessarily an error to ignore strtol's return value.
19764         One can reliably look at the stored endptr to decide whether
19765         the number had valid syntax.
19767 2012-04-21  Andreas Jaeger  <aj@suse.de>
19769         [BZ #13739]
19770         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
19772 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
19774         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
19775         * sysdeps/unix/sysv/Versions: Remove file.
19777 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
19779         [BZ #13927]
19780         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19782 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
19784         [BZ #7064]
19785         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
19786         version from __vm86.
19788 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
19790         * sysdeps/unix/common/lxstat.c: Remove file.
19791         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
19793         * sysdeps/unix/sysv/Makefile: Remove file.
19795         * sysdeps/unix/sysv/direct.h: Remove file.
19797         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
19798         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
19799         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
19800         * sysdeps/unix/sysv/bits/signum.h: Likewise.
19801         * sysdeps/unix/sysv/bits/stat.h: Likewise.
19802         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
19803         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
19805         * sysdeps/unix/sysv/setrlimit.c: Remove file.
19807         * sysdeps/unix/xmknod.c: Remove file.
19808         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
19810         * sysdeps/unix/sysv/settimeofday.c: Remove file.
19812         * sysdeps/unix/sysv/i386/time.S: Remove file.
19814         * sysdeps/unix/fxstat.c: Remove file.
19815         * sysdeps/unix/xstat.c: Likewise.
19816         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
19818         * sysdeps/unix/sysv/sigaction.c: Remove file.
19820         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
19821         (sysdep_headers): Remove variable.
19822         [termio.h not in sysdep_headers] (generated): Likewise.
19823         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
19824         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
19825         * sysdeps/unix/sysv/tcdrain.c: Likewise.
19826         * sysdeps/unix/sysv/tcflow.c: Likewise.
19827         * sysdeps/unix/sysv/tcflush.c: Likewise.
19828         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
19829         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
19830         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
19831         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
19832         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
19834         * sysdeps/unix/siglist.c: Remove file.
19836         * sysdeps/unix/getppid.S: Remove file.
19838         * sysdeps/unix/mkdir.c: Remove file.
19839         * sysdeps/unix/rmdir.c: Likewise.
19841 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
19843         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
19844         ERR_MAX value.
19845         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
19846         errlist-compat value.
19848 2012-04-18  David S. Miller  <davem@davemloft.net>
19850         * sysdeps/generic/memcopy.h (reg_char): Delete.
19851         * debug/strcat_chk.c: Use char, not reg_char.
19852         * debug/strcpy_chk.c: Likewise.
19853         * debug/strncat_chk.c: Likewise.
19854         * debug/strncpy_chk.c: Likewise.
19855         * string/memchr.c: Likewise.
19856         * string/memrchr.c: Likewise.
19857         * string/rawmemchr.c: Likewise.
19858         * string/strcat.c: Likewise.
19859         * string/strchr.c: Likewise.
19860         * string/strchrnul.c: Likewise.
19861         * string/strcmp.c: Likewise.
19862         * string/strcpy.c: Likewise.
19863         * string/strncat.c: Likewise.
19864         * string/strncmp.c: Likewise.
19865         * string/strncpy.c: Likewise.
19867 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
19869         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
19870         __builtin_memcopy is called when src and dest ranges are known to not
19871         overlap.
19873 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
19875         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
19876         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
19877         fwd_align_merge macro call.
19878         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
19879         bwd_align_merge macro call.
19880         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
19882 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
19884         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
19885         bwd_align_merge macros.
19886         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
19887         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
19888         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
19890 2012-04-18  David S. Miller  <davem@davemloft.net>
19892         * sysdeps/sparc/sparc64/memcopy.h: Delete.
19894 2012-04-18  Andreas Jaeger  <aj@suse.de>
19896         [BZ# 6794]
19897         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
19898         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
19899         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
19901         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
19902         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
19903         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
19905         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
19906         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
19907         Adjust for changed ldbl-128 files.
19909         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
19910         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
19911         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
19913 2012-04-17  David S. Miller  <davem@davemloft.net>
19915         * sysdeps/sparc/sparc32/memcopy.h: Delete.
19917 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
19919         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
19920         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
19921         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
19922         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
19923         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
19924         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
19926 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19928         [BZ #6794]
19929         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
19930         * math/libm-test.inc: Add ilogb errno and exception tests.
19931         * math/w_ilogb.c: New file: ilogb wrapper.
19932         * math/w_ilogbf.c: New file: ilogbf wrapper.
19933         * math/w_ilogbl.c: New file: ilogbl wrapper.
19934         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
19935         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
19936         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
19937         exception being thrown with 0.0 as argument.
19938         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
19939         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
19940         exception being thrown with 0.0 as argument.
19941         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
19942         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
19943         exception being thrown with 0.0 as argument.
19944         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
19945         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
19946         exception being thrown with 0.0 as argument.
19947         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
19948         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
19949         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
19950         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
19951         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
19952         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
19953         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
19954         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
19955         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
19957 2012-04-17  Petr Baudis  <pasky@ucw.cz>
19959         * include/sys/uio.h: Change __vector to __iovec to avoid clash
19960         with altivec.
19962 2012-04-16  Marek Polacek  <polacek@redhat.com>
19964         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
19966 2012-04-16  Marek Polacek  <polacek@redhat.com>
19968         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
19969         operands of fdivp instruction.
19971 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
19973         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
19974         * elf/tst-auditmod3b.c: Likewise.
19975         * elf/tst-auditmod4b.c: Likewise.
19976         * elf/tst-auditmod5b.c: Likewise.
19977         * elf/tst-auditmod6b.c: Likewise.
19978         * elf/tst-auditmod6c.c: Likewise.
19979         * elf/tst-auditmod7b.c: Likewise.
19980         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
19981         * sysdeps/x86_64/preconfigure.in: Likewise.
19982         * sysdeps/x86_64/preconfigure: Regenerated.
19984 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
19986         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
19987         __ILP32__.
19989 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
19991         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
19992         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
19994 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
19996         [BZ #13973]
19997         * locale/iso-639.def: Fix gl language name. Spotted by
19998         Yaron Shahrabani.
20000 2012-04-12  Roland McGrath  <roland@hack.frob.com>
20002         [BZ #2074]
20003         * libio/libio.h (__io_write_fn): Update comment.
20005 2012-04-12  Petr Baudis  <pasky@ucw.cz>
20007         [BZ #2074]
20008         * stdio.texi (Hook Functions): The user provided writer function
20009         is not allowed to return -1.
20011 2012-04-11  David S. Miller  <davem@davemloft.net>
20013         * sysdeps/sparc/fpu/libm-test-ulps: Update.
20015 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
20017         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
20018         Add a leading slash to rtkaio.
20020 2012-04-11  Jim Meyering  <meyering@redhat.com>
20022         [BZ #11959]
20023         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
20024         It is not necessarily an error to ignore fwrite's return
20025         value.  One can reliably use ferror to test for errors after
20026         the fact.
20028 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
20030         * bits/types.h (__snseconds_t): New type.
20031         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
20033         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
20034         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
20035         (__SNSECONDS_T_TYPE): Likewise.
20036         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
20037         (__SNSECONDS_T_TYPE): Likewise.
20038         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
20039         (__SNSECONDS_T_TYPE): Likewise.
20041 2012-04-10  Andreas Jaeger  <aj@suse.de>
20043         [BZ #2636]
20044         * manual/time.texi (Processor Time): Return type of times is
20045         elapsed real time since an arbitrary point in the past.
20046         (CPU Time): Move CLK_TCK from here...
20047         (Processor Time): ...to here.  Correct description.
20048         * manual/conf.texi (Constants for Sysconf): Correct description of
20049         _SC_CLK_TCK.
20051 2012-04-10  David S. Miller  <davem@davemloft.net>
20053         [BZ #13967]
20054         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
20055         where the is a gap between DT_REL(A) and DT_JMPREL.
20057 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
20059         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
20060         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
20061         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
20063 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
20065         * elf/dl-support.c (_dl_inhibit_cache): New variable.
20066         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
20067         (dl_main): Handle --inhibit-cache.
20068         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
20069         _dl_inhibit_cache.
20070         * elf/dl-load.c (_dl_map_object): Use it.
20071         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
20073 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
20075         [BZ #13872]
20076         * sysdeps/i386/fpu/e_powl.S (p78): New object.
20077         (__ieee754_powl): Saturate large exponents rather than testing for
20078         overflow of y*log2(x).
20079         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
20080         * math/libm-test.inc (pow_test): Do not permit spurious overflow
20081         exceptions.
20083         [BZ #11521]
20084         * math/s_ctan.c: Include <float.h>.
20085         (__ctan): Avoid internal overflow or cancellation in calculating
20086         denominator.
20087         * math/s_ctanf.c: Likewise.
20088         * math/s_ctanl.c: Likewise.
20089         * math/s_ctanh.c: Likewise.
20090         * math/s_ctanhf.c: Likewise.
20091         * math/s_ctanhl.c: Likewise.
20092         * math/libm-test.inc (ctan_test): Add more tests.
20093         (ctanh_test): Likewise.
20094         * sysdeps/i386/fpu/libm-test-ulps: Update.
20095         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20097 2012-04-09  Andreas Jaeger  <aj@suse.de>
20099         [BZ #6894]
20100         * manual/filesys.texi (Directory Entries): Mention that d_namlen
20101         is an optional BSD extension.
20103         [BZ #10254]
20104         * manual/stdio.texi (Opening Streams): Document additional fopen
20105         parameters.
20107 2012-04-09  Roland McGrath  <roland@hack.frob.com>
20109         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
20110         %eax without telling the compiler.
20112 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
20114         [BZ # 13963]
20115         * manual/install.texi: Use sourceware.org.
20117 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
20119         [BZ #13873]
20120         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
20121         (__ieee754_pow): Generate overflow and underflow using huge*huge
20122         and tiny*tiny rather than just returning constant infinity or zero
20123         for large exponents.
20124         * math/libm-test.inc (pow_test): Require overflow exceptions for
20125         applicable cases of large exponents.
20127         [BZ #706]
20128         * sysdeps/i386/fpu/e_pow.S (p10): New object.
20129         (__ieee754_pow): Use iterative multiplication algorithm only for
20130         integer exponents with absolute value below 1024.  Check for odd
20131         integer exponents when using algorithm for real exponents.
20132         * math/libm-test.inc (pow_test): Add more tests.
20133         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20135 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
20137         [BZ #13705]
20138         * math/libm-test.inc (exp_test): Do not allow overflow exception
20139         on underflow test.
20141 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
20143         [BZ #13705]
20144         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
20145         instead of __kernel_standard_f.
20147 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
20149         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
20150         * sysdeps/x86_64/memset_chk.S: Likewise.
20152 2012-04-08  Andreas Jaeger  <aj@suse.de>
20154         [BZ #10153]
20155         * manual/startup.texi (Environment Access): Describe return value
20156         for putenv and setenv.
20158         [BZ #6895]
20159         * manual/filesys.texi (Directory Entries): Add description for
20160         DT_LNK.
20162         [BZ #6890]
20163         * manual/filesys.texi (Directory Entries): Clarify that it's file
20164         system not operating system in the description of DT_UNKNOWN.
20166         [BZ #6578]
20167         * manual/syslog.texi (closelog): Fix reference, it's openlog.
20169 2012-04-08  Stephen Compall  <s11@member.fsf.org>
20171         [BZ #6649]
20172         * manual/llio.texi (Opening and Closing Files): Add cross
20173         reference to explain mode argument.
20175 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
20177         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
20178         * sysdeps/x86_64/memset_chk.S: Likewise.
20180 2012-04-07  David S. Miller  <davem@davemloft.net>
20182         * elf/elf.h (R_SPARC_WDISP10): Define.
20183         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
20184         R_SPARC_SIZE32.
20185         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
20186         R_SPARC_SIZE64 and R_SPARC_H34.
20188 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
20190         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
20191         conditions and remove no longer applicable assertion.
20193 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
20195         * bits/byteswap.h: Include <features.h>.
20196         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
20197         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
20199 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
20201         * bits/byteswap.h (__bswap_16): Removed.
20202         Include <bits/byteswap-16.h> to get __bswap_16.
20203         * sysdeps/i386/bits/byteswap.h: Likewise.
20204         * sysdeps/s390/bits/byteswap.h: Likewise.
20205         * sysdeps/x86_64/bits/byteswap.h: Likewise.
20206         * bits/byteswap-16.h: New file.
20207         * sysdeps/i386/bits/byteswap-16.h: Likewise.
20208         * sysdeps/s390/bits/byteswap-16.h: Likewise.
20209         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
20210         * string/Makefile (headers): Add bits/byteswap-16.h.
20212 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
20214         [BZ #13895]
20215         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
20216         extra indirection.
20217         * nss/Makefile (tests-static, tests): Add tst-nss-static.
20218         * nss/tst-nss-static.c: New.
20220 2012-04-06  Robert Millan  <rmh@gnu.org>
20222         [BZ #6486]
20223         * manual/llio.texi (File Position Primitive): lseek
20224         refers to WHENCE when it really means OFFSET.
20226 2012-04-06  Andreas Jaeger  <aj@suse.de>
20228         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
20229         strncmp declarations.
20231         * abilist/libc.abilist: Add __poll and __ppoll.
20233 2012-04-05  David S. Miller  <davem@davemloft.net>
20235         * scripts/check-local-headers.sh: Accept a host triplet in the
20236         path matched by the exclude regexp.
20238         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
20239         definition.
20240         * sysdeps/powerpc/powerpc32/dl-machine.h
20241         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
20242         * sysdeps/s390/s390-32/dl-machine.h
20243         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
20244         * sysdeps/sparc/sparc32/dl-machine.h
20245         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
20246         * sysdeps/sparc/sparc64/dl-machine.h
20247         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
20249         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
20250         lazy binding.
20251         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
20252         undefined symbol errors.
20254         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
20255         DT_NEEDED entries.
20257 2012-04-05  Michael Matz  <matz@suse.de>
20259         [BZ #13592]
20260         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
20262 2012-04-05  Andreas Jaeger  <aj@suse.de>
20264         [BZ #13908]
20265         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
20266         comment.
20268 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
20270         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
20271         which ROUND is no valid rounding mode.
20273 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
20275         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
20276         read again.
20277         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
20279 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
20281         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
20282         an exception using FPU order intentionally.
20284 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
20286         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
20287         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
20288         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
20289         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
20291 2012-04-05  Simon Josefsson  <simon@josefsson.org>
20293         [BZ #12340]
20294         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
20295         EINVAL when BUFLEN is too smal.
20297 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
20299         [BZ #13553]
20300         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
20301         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
20303 2012-04-03  Andreas Jaeger  <aj@suse.de>
20305         [BZ #13938]
20306         * manual/setjmp.texi (System V contexts): Fix sentence.
20308         [BZ #13926]
20309         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
20310         New macro for this case.
20311         [!__GNUC__] (__bswap_64): New inline function for this case.
20312         * sysdeps/x86_64/bits/byteswap.h: Likewise.
20313         * bits/byteswap.h: Likewise.
20314         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
20315         ull, guard with __GLIBC_HAVE_LONG_LONG.
20317         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
20318         __GLIBC_HAVE_LONG_LONG.
20320         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
20321         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
20323 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
20325         [BZ #13691]
20326         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
20327         inptr and inend, rather than using last_ch.
20329 2012-04-02  David S. Miller  <davem@davemloft.net>
20331         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
20332         * stdio-common/printf-parse.h (read_int): Change return type to
20333         'int', return -1 on INT_MAX overflow.
20334         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
20335         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
20336         overflows INT_MAX.  Check for overflow of in-format-string precision
20337         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
20338         SIZE_MAX not INT_MAX for integer overflow test.
20339         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
20340         skip the construct in the format string but do not record anything.
20341         * stdio-common/bug22.c: Adjust to test both width/prevision
20342         INT_MAX overflow as well as total length INT_MAX overflow.  Check
20343         explicitly for proper errno values.
20345 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
20347         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
20348         CHAR_MAX.
20349         * string/test-strcmp.c [! WIDE]: Likewise.
20350         * time/tst-mktime2.c: Likewise for INT_MAX.
20351         * string/test-string.h: #include <sys/param.h> for MIN.
20353         * csu/init-first.c (__libc_init_first): Call __ctype_init.
20354         * sysdeps/i386/init-first.c (init): Likewise.
20355         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
20356         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
20357         * sysdeps/sh/init-first.c (init): Likewise.
20359 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
20361         * po/ru.po: Update from translation team.
20362         * po/vi.po: Likewise.
20364 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
20366         * resolv/nss_dns/dns-host.c: Merge copyright years.
20368 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
20370         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
20371         Optimize memcpy with prefetch if
20372         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
20373         src, dst pointers have unequal 16 byte alignments.
20375 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
20377         [BZ #13928]
20378         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
20379         from a CNAME entry and return the minimum ttl for the query.
20380         (gaih_getanswer_slice): Likewise.
20382 2012-03-30  Jeff Law  <law@redhat.com>
20384         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
20385         due to long keys.
20386         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
20387         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
20389         * resolv/nss_dns/dns-host.c: Update copyright year.
20391 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
20393         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
20394         requests to save a system call.  Fix check that all bytes are sent.
20396         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
20397         comments for sendmmsg.
20399 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
20401         [BZ #13691]
20402         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
20403         with only 1 character between 0x0041 and 0x01b0.
20404         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
20405         * wcsmbs/tst-mbsnrtowcs.c: New file.
20407 2012-03-29  David S. Miller  <davem@davemloft.net>
20409         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
20410         small copies by hand.
20412 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
20414         [BZ #13761]
20415         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
20416         _nss_compat_initgroups_dyn): Fall back to malloc/free
20417         for large group memberships.
20419 2012-03-28  David S. Miller  <davem@davemloft.net>
20421         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
20422         that branches into memcpy.
20423         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
20424         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
20425         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
20426         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
20427         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
20428         bits.
20429         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
20430         implementation too.
20431         * sysdeps/sparc/mempcpy.S: New file.
20433         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
20434         the IFUNC routine in the libc case.
20435         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
20437         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
20438         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
20439         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
20440         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
20441         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
20442         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
20443         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
20444         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
20446         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
20447         loop to 256 bytes instead of 64 bytes and fix test signedness.
20449         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
20450         * sysdeps/sparc/sparc32/Makefile: rather than here...
20451         * sysdeps/sparc/sparc64/Makefile: and here.
20453 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
20455         * malloc/mallocbug.c: Avoid warnings about unused variables.
20457 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
20459         [BZ #13760]
20460         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
20461         in the right place. Discard and retry query if response is
20462         larger than input buffer size.
20464 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
20466         [BZ #369]
20467         [BZ #2678]
20468         [BZ #3866]
20469         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
20470         x for large integer exponent.
20471         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
20472         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
20473         sign of result as needed afterwards.
20474         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
20475         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
20476         result for underflowing pow the same as for overflow.
20477         (__kernel_standard_l): Handle powl overflow and underflow here
20478         rather than calling __kernel_standard.
20479         * math/libm-test.inc (pow_test): Add more tests.
20481         [BZ #3868]
20482         [BZ #13879]
20483         [BZ #13910]
20484         [BZ #13911]
20485         [BZ #13912]
20486         [BZ #13913]
20487         [BZ #13915]
20488         [BZ #13916]
20489         [BZ #13917]
20490         [BZ #13918]
20491         [BZ #13919]
20492         [BZ #13920]
20493         [BZ #13921]
20494         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
20495         * sysdeps/ieee754/k_standard.c: Include <float.h>.
20496         (__kernel_standard_l): New function.
20497         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
20498         __kernel_standard.
20499         * math/w_acosl.c (__acosl): Likewise.
20500         * math/w_asinl.c (__asinl): Likewise.
20501         * math/w_atan2l.c (__atan2l): Likewise.
20502         * math/w_atanhl.c (__atanhl): Likewise.
20503         * math/w_coshl.c (__coshl): Likewise.
20504         * math/w_exp10l.c (__exp10l): Likewise.
20505         * math/w_exp2l.c (__exp2l): Likewise.
20506         * math/w_fmodl.c (__fmodl): Likewise.
20507         * math/w_hypotl.c (__hypotl): Likewise.
20508         * math/w_j0l.c (__j0l, __y0l): Likewise.
20509         * math/w_j1l.c (__j1l, __y1l): Likewise.
20510         * math/w_jnl.c (__jnl, __ynl): Likewise.
20511         * math/w_lgammal.c (__lgammal): Likewise.
20512         * math/w_log10l.c (__log10l): Likewise.
20513         * math/w_log2l.c (__log2l): Likewise.
20514         * math/w_logl.c (__logl): Likewise.
20515         * math/w_powl.c (__powl): Likewise.
20516         * math/w_remainderl.c (__remainderl): Likewise.
20517         * math/w_scalbl.c (sysv_scalbl): Likewise.
20518         * math/w_sinhl.c (__sinhl): Likewise.
20519         * math/w_sqrtl.c (__sqrtl): Likewise.
20520         * math/w_tgammal.c (__tgammal): Likewise.
20521         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
20522         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
20523         * math/libm-test.inc (acos_test): Add more tests.
20524         (acosh_test): Likewise.
20525         (asin_test): Likewise.
20526         (atanh_test): Likewise.
20527         (exp_test): Likewise.
20528         (exp10_test): Likewise.
20529         (exp2_test): Likewise.
20530         (expm1_test): Likewise.
20531         (lgamma_test): Likewise.
20532         (log_test): Likewise.
20533         (log10_test): Likewise.
20534         (log1p_test): Likewise.
20535         (log2_test): Likewise.
20536         (pow_test): Do not allow some spurious overflow exceptions.
20537         (sqrt_test): Add more tests.
20538         (tgamma_test): Likewise.
20539         (y0_test): Likewise.
20540         (y1_test): Likewise.
20541         (yn_test): Likewise.
20543 2012-03-27  Anton Blanchard  <anton@samba.org>
20545         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
20546         MAP_HUGETLB.
20547         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
20548         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
20549         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
20551 2012-03-27  David S. Miller  <davem@davemloft.net>
20553         * conform/Makefile: Run run-conformtest.sh using $(BASH).
20555         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
20556         have-as-vis3 check.
20558 2012-03-27  Andreas Jaeger  <aj@suse.de>
20560         * sysdeps/x86_64/elf/configure.in: Moved to ...
20561         * sysdeps/x86_64/configure.in: ... here.
20562         * sysdeps/x86_64/elf/start.S: Moved to ...
20563         * sysdeps/x86_64/start.S: ... here.
20564         * sysdeps/x86_64/elf/configure: Delete.
20566         * sysdeps/x86_64/configure.in: Merge contents from
20567         sysdeps/i386/configure.in (without i686 check).
20569         * sysdeps/i386/elf/Versions: Merge into ...
20570         * sysdeps/i386/Versions: ... this.
20571         * sysdeps/i386/elf/Versions: Delete file.
20572         * sysdeps/i386/elf/start.S: Moved to ...
20573         * sysdeps/i386/start.S: ...here.
20574         * sysdeps/i386/elf/configure.in: Merge into...
20575         * sysdeps/i386/configure.in: ...here.
20576         * sysdeps/i386/elf/configure.in: Delete file.
20577         * sysdeps/i386/elf/configure: Delete file.
20579         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
20580         * debug/backtracesyms.c: ... here.
20581         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
20582         * debug/backtracesymsfd.c: ... here.
20583         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
20584         * sysdeps/generic/ifunc-sel.h: ... here.
20586         * sysdeps/unix/i386/start.c: Delete file.
20587         * sysdeps/unix/sparc/start.c: Delete file.
20588         * sysdeps/unix/start.c: Delete file.
20590         * sysdeps/sh/elf/configure.in: Moved to ...
20591         * sysdeps/sh/configure.in: ... here.
20592         * sysdeps/sh/elf/start.S: Moved to ...
20593         * sysdeps/sh/start.S: ... here.
20594         * sysdeps/sh/elf/configure: Delete file.
20596         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
20597         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
20598         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
20599         * sysdeps/powerpc/powerpc64/entry.h: ... here.
20600         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
20601         * sysdeps/powerpc/powerpc64/start.S: here.
20602         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
20603         * sysdeps/powerpc/powerpc64/Makefile: ... this.
20604         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
20605         * sysdeps/powerpc/powerpc64/configure.in: ... this.
20606         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
20608         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
20609         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
20610         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
20611         * sysdeps/powerpc/powerpc32/start.S: ... here.
20612         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
20613         * sysdeps/powerpc/powerpc32/configure.in: ... this.
20614         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
20616         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
20617         * sysdeps/powerpc/ifunc-sel.h: ... here.
20618         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
20619         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
20621         * sysdeps/sparc/elf/configure.in: Moved to ...
20622         * sysdeps/sparc/configure.in: ... here.
20623         * sysdeps/sparc/elf/configure: Delete file.
20624         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
20625         * sysdeps/sparc/sparc32/start.S: ... here.
20626         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
20627         * sysdeps/sparc/sparc64/start.S: ... here.
20628         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
20629         * sysdeps/sparc/sparc32/Makefile: ... this.
20630         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
20631         * sysdeps/sparc/sparc64/Makefile: ... this.
20633         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
20634         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
20635         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
20636         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
20637         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
20638         * sysdeps/s390/s390-32/setjmp.S: ... here.
20639         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
20640         * sysdeps/s390/s390-32/configure.in: ... here.
20641         * sysdeps/s390/s390-32/elf/configure: Delete file.
20642         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
20643         * sysdeps/s390/s390-32/start.S: ... here.
20645         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
20646         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
20647         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
20648         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
20649         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
20650         * sysdeps/s390/s390-64/setjmp.S: ... here.
20651         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
20652         * sysdeps/s390/s390-64/configure.in: ... here
20653         * sysdeps/s390/s390-64/elf/configure: Delete file.
20654         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
20655         * sysdeps/s390/s390-64/start.S: ... here.
20656         * sysdeps/s390/s390-64/elf/configure: Delete.
20658         * configure.in: Remove support for elf directories in sysdeps.
20660         * configure: Regenerated.
20661         * sysdeps/i386/configure: Regenerated.
20662         * sysdeps/powerpc/powerpc32/configure: Regenerated.
20663         * sysdeps/powerpc/powerpc64/configure: Regenerated.
20664         * sysdeps/s390/s390-32/configure: Regenerated.
20665         * sysdeps/s390/s390-64/configure: Regenerated.
20666         * sysdeps/sh/configure: Regenerated.
20667         * sysdeps/sparc/configure: Regenerated.
20668         * sysdeps/x86_64/configure: Regenerated.
20670 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
20672         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20674         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
20675         denormal result into account.
20677 2012-03-25  Roland McGrath  <roland@hack.frob.com>
20679         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
20680         Reported by Allan McRae <allan@archlinux.org>.
20682 2012-03-23  Jeff Law  <law@redhat.com>
20684         * nss/getnssent.c (__nss_getent): Fix typo.
20686 2012-03-23  David S. Miller  <davem@davemloft.net>
20688         * sysdeps/sparc/fpu/libm-test-ulps: Update.
20690 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
20692         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
20693         to pad to uint64_t for each field.
20694         (dl_tls_index): Replace unsigned long with uint64_t.
20696 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
20697         Paul Pluzhnikov  <ppluzhnikov@google.com>
20699         [BZ #6528]
20700         * grp/Makefile (otherlibs): Don't set it.
20701         * inet/Makefile (otherlibs): Likewise.
20702         * login/Makefile (otherlibs): Likewise.
20703         * nscd/Makefile (otherlibs): Likewise.
20704         * posix/Makefile (otherlibs): Likewise.
20705         * pwd/Makefile (otherlibs): Likewise.
20706         * rt/Makefile (otherlibs): Likewise.
20707         * sunrpc/Makefile (otherlibs): Likewise.
20708         * nss/Makefile (otherlibs): Likewise.
20709         Add libnss_files to routines and static-only-routines.
20710         ($(objpfx)getent): Remove rule.
20711         * resolv/Makefile: Add libnss_dns and libresolv to routines and
20712         static-only-routines.
20714 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
20716         [BZ #13892]
20717         * math/s_cexp.c: Include <float.h>.
20718         (__cexp): Handle exp result overflowing not necessarily
20719         overflowing both real and imaginary parts of result.
20720         * math/s_cexpf.c: Likewise.
20721         * math/s_cexpl.c: Likewise.
20722         * math/libm-test.inc (cexp_test): Add more tests.
20723         * sysdeps/i386/fpu/libm-test-ulps: Update.
20724         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20726 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
20728         * include/link.h (ELFW): New macro.
20729         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
20730         Replace ELF64_R_TYPE with ELFW(R_TYPE).
20732 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
20734         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
20735         with uint64_t.
20737 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
20739         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
20740         declaration.
20741         (struct La_x32_retval): Likewise.
20743 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
20745         * sysdeps/x86_64/preconfigure.in: New file.
20746         * sysdeps/x86_64/preconfigure: New generated file.
20748 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
20750         [BZ #13824]
20751         * math/e_exp2l.c: Include <float.h>.
20752         (__ieee754_exp2l): Handle overflow and underflow cases
20753         separately.  Only pass fractional part of argument to
20754         __ieee754_expl.
20755         * math/libm-test.inc (exp2_test): Add more tests.
20757         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
20758         negating x to take absolute value.
20759         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
20760         Likewise.
20761         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
20762         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
20763         Likewise.
20764         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
20765         computing low part if x was negated.
20766         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
20768 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
20770         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
20771         la_x32_gnu_pltexit.
20772         (pltexit): Cast int_retval to ptrdiff_t.
20773         * elf/tst-auditmod3b.c: Likewise.
20774         * elf/tst-auditmod4b.c: Likewise.
20775         * elf/tst-auditmod5b.c: Likewise.
20776         * elf/tst-auditmod6b.c: Likewise.
20777         * elf/tst-auditmod6c.c: Likewise.
20778         * elf/tst-auditmod7b.c: Likewise.
20780         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
20781         and x32_gnu_pltexit.
20783         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
20784         __ELF_NATIVE_CLASS.
20785         (La_x32_regs): New macro.
20786         (La_x32_retval): Likewise.
20787         (la_x32_gnu_pltenter): New function prototype.
20788         (la_x32_gnu_pltexit): Likewise.
20790 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
20792         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
20793         exponent.
20795         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20797         * configure.in (libc_cv_cc_nofma): Check for option to disable
20798         generation of FMA instructions.
20799         * configure: Regenerate.
20800         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
20801         * sysdeps/ieee754/dbl-64/Makefile: New file.
20802         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
20803         Remove brandred-fma4.
20804         (CFLAGS-brandred-fma4.c): Remove.
20805         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
20806         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
20807         define.
20808         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
20809         define.
20811 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
20813         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
20814         LLONG_MAX != LONG_MAX.
20815         (_itoa_word): Use _ITOA_WORD_TYPE on value.
20816         (_fitoa_word): Likewise.
20817         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
20818         LLONG_MAX != LONG_MAX.
20819         * stdio-common/_itowa.h: Include <_itoa.h>.
20820         (_itowa_word): Use _ITOA_WORD_TYPE on value.
20821         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
20822         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
20823         only if not defined.
20824         (_ITOA_WORD_TYPE): Likewise.
20825         (_itoa_word): Use _ITOA_WORD_TYPE on value.
20826         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
20828 2012-03-21  David S. Miller  <davem@davemloft.net>
20830         * sysdeps/sparc/fpu/libm-test-ulps: Update.
20832 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
20834         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
20835         of x86_64 when setting libc_cv_slibdir, libdir and
20836         libc_cv_localedir.
20837         * sysdeps/unix/sysv/linux/configure: Regenerated.
20839 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
20841         * manual/lang.texi (Old Varargs): Remove section.
20842         (How Variadic): Update menu.
20843         (va_start): Do not mention varargs.h.
20845 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
20846             Joseph Myers  <joseph@codesourcery.com>
20848         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
20849         link test.
20850         * configure: Regenerated.
20852 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
20854         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
20855         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
20856         conformtest.pl
20858 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
20860         * NOTES: Remove.
20861         * Makefile (files-for-dist): Remove NOTES.
20862         (NOTES): Remove rule.
20863         * README: Don't refer to NOTES.
20864         * manual/creature.texi: Don't include macros.texi.
20865         * manual/intro.texi (creature.texi): Remove comment referring to
20866         NOTES.
20868         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
20869         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
20870         * configure: Regenerated.
20871         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
20872         LIBC_TRY_CC_OPTION.
20873         (libc_cv_as_i686): Likewise.
20874         (libc_cv_cc_avx): Likewise.
20875         (libc_cv_cc_sse2avx): Likewise.
20876         (libc_cv_cc_fma4): Likewise.
20877         (libc_cv_cc_novzeroupper): Likewise.
20878         * sysdeps/i386/configure: Regenerated.
20880         [BZ #13883]
20881         * sysdeps/i386/fpu/s_cexp.S: Remove.
20882         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
20883         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
20884         * math/libm-test.inc (cexp_test): Add more tests.
20885         * sysdeps/i386/fpu/libm-test-ulps: Update.
20886         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20888 2012-03-21  Allan McRae  <allan@archlinux.org>
20890         * timezone/Makefile: Do not install iso3166.tab and zone.tab
20892 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
20894         [BZ #13871]
20895         * math/w_exp2.c: Do not include <float.h>.
20896         (o_threshold, u_threshold): Remove.
20897         (__exp2): Calculate result before checking finiteness and calling
20898         __kernel_standard.
20899         * math/w_exp2f.c: Likewise.
20900         * math/w_exp2l.c: Likewise.
20901         * math/libm-test.inc (exp2_test): Require overflow exception for
20902         1e6 input.
20904         [BZ #3866]
20905         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
20906         range of signed 64-bit integers before using fistpll.  Remove
20907         checks for whether integers fit in mantissa bits.
20908         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
20909         the range of signed 32-bit integers before using fistpl.  Remove
20910         checks for whether integers fit in mantissa bits.
20911         * sysdeps/i386/fpu/e_powl.S (p64): New object.
20912         (__ieee754_powl): Test for y outside the range of signed 64-bit
20913         integers before using fistpll.  Reduce 64-bit values to 63-bit
20914         ones as needed.
20915         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
20916         divide-by-zero is raised for zero to large negative powers.
20917         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
20918         (__ieee754_powl): Test for y outside the range of signed 64-bit
20919         integers before using fistpll.  Reduce 64-bit values to 63-bit
20920         ones as needed.
20921         * math/libm-test.inc (pow_test): Add more tests.
20923 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
20925         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
20926         <stdio-common/_itoa.h>.
20927         * debug/segfault.c: Likewise.
20928         * elf/dl-cache.c: Likewise.
20929         * elf/dl-minimal.c: Likewise.
20930         * elf/dl-misc.c: Likewise.
20931         * elf/dl-sysdep.c: Likewise.
20932         * elf/dl-version.c: Likewise.
20933         * elf/rtld.c: Likewise.
20934         * hurd/hurdsock.c: Likewise.
20935         * hurd/lookup-retry.c: Likewise.
20936         * malloc/malloc.c: Likewise.
20937         * malloc/mtrace.c: Likewise.
20938         * nscd/nscd_getgr_r.c: Likewise.
20939         * nscd/nscd_getpw_r.c: Likewise.
20940         * nscd/nscd_getserv_r.c: Likewise.
20941         * posix/getopt_init.c: Likewise.
20942         * posix/wordexp.c: Likewise.
20943         * stdio-common/_itoa.c: Likewise.
20944         * stdio-common/printf_fphex.c: Likewise.
20945         * stdio-common/vfprintf.c: Likewise.
20946         * string/_strerror.c: Likewise.
20947         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
20948         * sysdeps/i386/i686/hp-timing.h: Likewise.
20949         * sysdeps/mach/_strerror.c: Likewise.
20950         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
20951         * sysdeps/mach/hurd/sethostid.c: Likewise.
20952         * sysdeps/mach/hurd/xmknodat.c: Likewise.
20953         * sysdeps/mach/xpg-strerror.c: Likewise.
20954         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
20955         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
20956         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
20957         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
20958         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
20959         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
20960         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
20961         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
20962         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
20963         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
20964         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
20965         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
20966         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
20967         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
20968         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
20969         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
20970         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
20971         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
20972         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
20973         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
20974         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
20976         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
20978         * stdio-common/_itoa.h: Moved to ...
20979         * sysdeps/generic/_itoa.h: Here.
20981         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
20983         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
20984         instead of "_itoa.h" and "_itowa.h".
20985         * stdio-common/vfprintf.: Likewise.
20987 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
20989         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
20990         <bits/wordsize.h>.
20991         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
20992         (__signbit): Likwise.
20993         (llrintf): Likwise.
20994         (llrint): Likwise.
20996 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
20998         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
20999         __WORDSIZE != 64.
21001 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
21003         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
21004         OVERFLOW_EXCEPTION_OK.
21005         * math/libm-test.inc ("Philosophy"): Update comment about
21006         exception testing.
21007         (OVERFLOW_EXCEPTION): Define.
21008         (OVERFLOW_EXCEPTION_OK): Likewise.
21009         (INVALID_EXCEPTION_OK): Renumber.
21010         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
21011         (IGNORE_ZERO_INF_SIGN): Likewise.
21012         (test_exceptions): Handle FE_OVERFLOW.
21013         (exp10_test): Expect overflow exceptions.
21014         (exp2_test): Likewise.
21015         (expm1_test): Likewise.
21016         (nextafter_test): Likewise.
21017         (pow_test): Likewise.
21018         (scalbn_test): Likewise.
21019         (scalbln_test): Likewise.
21021 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
21023         * sysdeps/x86_64/bits/atomic.h
21024         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
21025         64bit integer.
21026         (atomic_exchange_acq): Likewise.
21027         (__arch_exchange_and_add_body): Likewise.
21028         (__arch_add_body): Likewise.
21029         (atomic_add_negative): Likewise.
21030         (atomic_add_zero): Likewise.
21032 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
21034         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
21035         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
21037 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
21039         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
21040         Check __x86_64__ instead of __WORDSIZE.
21042 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
21044         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
21046 2012-03-19  David S. Miller  <davem@davemloft.net>
21048         * sysdeps/sparc/fpu/libm-test-ulps: Update.
21050         * sysdeps/sparc/fpu/fenv_private.h: New file.
21051         * sysdeps/sparc/fpu/math_private.h: Use it.
21052         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
21053         Remove.
21054         (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
21055         (libc_feholdexcept_setroundl): Remove.
21056         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
21057         Remove.
21058         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
21059         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
21061 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
21063         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
21064         int64_t instead of long int.
21065         (INSERT_WORDS64): Likwise.
21067 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
21069         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
21070         _Unwind_GetCFA return to _Unwind_Ptr first.
21072 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
21074         [BZ #13629]
21075         * math/s_clog.c: Include <float.h>.
21076         (__clog): Scale large or subnormal inputs.
21077         * math/s_clogf.c: Likewise.
21078         * math/s_clogl.c: Likewise.
21079         * math/s_clog10.c: Include <float.h>.
21080         (M_LOG10_2): Define.
21081         (__clog10): Scale large or subnormal inputs.
21082         * math/s_clog10f.c: Likewise.
21083         * math/s_clog10l.c: Likewise.
21084         * math/libm-test.inc (clog_test): Add more tests.
21085         (clog10_test): Likewise.
21086         * sysdeps/i386/fpu/libm-test-ulps: Update.
21087         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21089         [BZ #11451]
21090         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
21091         x and y.
21092         * math/libm-test.inc (atan2_test): Add another test.
21094         * Makerules (common-objdir-compile): Remove.
21095         * sysdeps/unix/Makefile (config-generated): Do not add
21096         $(unix-generated) to variable.
21097         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
21098         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
21099         Remove rule.
21100         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
21101         Likewise.
21102         [generic bits/local_lim.h] (before-compile): Do not append to
21103         variable.
21104         [generic bits/local_lim.h] (common-generated): Likewise.
21105         [generic sys/param.h] (before-compile): Do not append to variable.
21106         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
21107         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
21108         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
21109         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
21110         include.
21111         [generic sys/param.h] (sys/param.h-includes): Remove variable.
21112         [generic sys/param.h] (sys/param.h-includes): Remove rule.
21113         [generic sys/param.h] ($(addprefix
21114         $(common-objpfx),$(sys/param.h-includes))): Likewise.
21115         [generic sys/param.h] (common-generated): Do not append to
21116         variable.
21117         [generic sys/param.h] (sysdep_headers): Likewise.
21118         [generic bits/errno.h] (before-compile): Do not append to
21119         variable.
21120         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
21121         rule.
21122         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
21123         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
21124         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
21125         [generic bits/errno.h] (common-generated): Do not append to
21126         variable.
21127         [generic bits/ioctls.h] (before-compile): Do not append to
21128         variable.
21129         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
21130         rule.
21131         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
21132         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
21133         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
21134         rule.
21135         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
21136         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
21137         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
21138         [generic bits/ioctls.h] (common-generated): Do not append to
21139         variable.
21140         [generic sys/syscall.h] (syscall.h): Remove variable.
21141         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
21142         rule.
21143         [generic sys/syscall.h] (before-compile): Do not append to
21144         variable.
21145         [generic sys/syscall.h] (common-generated): Likewise.
21146         * sysdeps/unix/errnos-tmpl.c: Remove file.
21147         * sysdeps/unix/errnos.awk: Likewise.
21148         * sysdeps/unix/ioctls-tmpl.c: Likewise.
21149         * sysdeps/unix/ioctls.awk: Likewise.
21150         * sysdeps/unix/mk-local_lim.c: Likewise.
21151         * sysdeps/unix/snarf-ioctls: Likewise.
21153 2012-03-19  Richard Henderson  <rth@twiddle.net>
21155         * sysdeps/i386/fpu/fenv_private.h: New file.
21156         * sysdeps/i386/fpu/math_private.h: Use it.
21157         (math_opt_barrier, math_force_eval): Remove.
21158         (libc_feholdexcept_setround_53bit): Remove.
21159         (libc_feupdateenv_53bit): Remove.
21160         * sysdeps/x86_64/fpu/math_private.h: Likewise.
21161         (math_opt_barrier, math_force_eval): Remove.
21162         (libc_feholdexcept): Remove.
21163         (libc_feholdexcept_setround): Remove.
21164         (libc_fetestexcept, libc_fesetenv): Remove.
21165         (libc_feupdateenv_test): Remove.
21166         (libc_feupdateenv, libc_feholdsetround): Remove.
21167         (libc_feresetround): Remove.
21169         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
21170         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
21172         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
21173         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
21174         (libc_feupdateenv_testl): New.
21175         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
21176         (libc_feupdateenv_testf): New.
21177         (libc_feupdateenv): Use libc_feupdateenv_test.
21178         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
21179         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
21181         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
21182         (libc_feholdsetroundf, libc_feholdsetroundl): New.
21183         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
21184         (libc_feresetround_noex): New.
21185         (libc_feresetround_noexf): New.
21186         (libc_feresetround_noexl): New.
21187         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
21188         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
21189         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
21190         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
21191         SET_RESTORE_ROUND.
21192         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
21193         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
21194         (__cos): Likewise.
21195         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
21196         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
21197         SET_RESTORE_ROUND_NOEX.
21198         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
21199         SET_RESTORE_ROUND_NOEXF.
21200         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
21201         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
21202         (libc_feholdsetroundf): New.
21203         (libc_feresetround, libc_feresetroundf): New.
21205         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
21206         (libc_feholdexcept_setround_53bit): Convert from macro to function.
21207         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
21209         * sysdeps/generic/math_private.h: Include <fenv.h>.
21210         (default_libc_feholdexcept): New.
21211         (default_libc_feholdexcept_setround): New.
21212         (default_libc_fesetenv, default_libc_feupdateenv): New.
21213         (libc_feholdexcept): Only define if undefined.
21214         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
21215         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
21216         (libc_feholdexcept_setroundl): Likewise.
21217         (libc_feholdexcept_setround_53bit): Likewise.
21218         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
21219         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
21220         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
21221         (libc_feupdateenv_53bit): Likewise.
21222         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
21223         (libc_feholdexcept): Convert from macro to inline function.
21224         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
21225         (libc_fesetenv, libc_feupdateenv): Likewise.
21227         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
21228         not previously defined.
21229         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
21230         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
21231         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
21232         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
21233         * sysdeps/ieee754/flt-32/math_private.h: New file.
21234         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
21235         math_private.h below SET_FLOAT_WORD.
21236         (__isnan, __isinf_ns, __finite): Remove.
21237         (__isnanf, __isinf_nsf, __finitef): Remove.
21239 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
21241         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21243 2012-03-17  David S. Miller  <davem@davemloft.net>
21245         [BZ #6471]
21246         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
21247         for 2.16.
21249 2012-03-16  David S. Miller  <davem@davemloft.net>
21251         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
21252         warnings.
21254         [BZ #6471]
21255         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
21256         properly.
21257         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
21258         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
21259         sysdep_routines when subdir is sysvipc.
21260         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
21261         __getshmlba helper.
21263         * sysdeps/sparc/fpu/libm-test/ulps: Update.
21265 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
21267         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
21268         [__LP64__].
21270 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
21272         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
21273         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
21274         (__lround): Renamed to ...
21275         (__llround): This.  Replace long int with long long int.
21276         Define lround functions as aliases of llround functions.
21277         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
21279 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
21281         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
21282         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
21283         adresses to uintptr_t.  Replace "long int" and "unsigned long
21284         int" with "greg_t" on va_arg.
21286 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
21288         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
21289         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
21291         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
21292         Move e_machine check before EI_CLASS check.  Handle x32
21293         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
21294         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
21295         SKIP_EM_IA_64 and include
21296         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
21298         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
21299         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
21300         (add_system_dir): New macro.
21302         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
21303         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
21305 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
21307         [BZ #2551]
21308         [BZ #2552]
21309         [BZ #2553]
21310         [BZ #2554]
21311         [BZ #2562]
21312         [BZ #2563]
21313         [BZ #2565]
21314         [BZ #2566]
21315         [BZ #2576]
21316         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
21317         (y0): Likewise.
21318         * math/w_j0f.c (j0f): Likewise.
21319         (y0f): Likewise.
21320         * math/w_j0l.c (__j0l): Likewise.
21321         (__y0l): Likewise.
21322         * math/w_j1.c (j1): Likewise.
21323         (y1): Likewise.
21324         * math/w_j1f.c (j1f): Likewise.
21325         (y1f): Likewise.
21326         * math/w_j1l.c (__j1l): Likewise.
21327         (__y1l): Likewise.
21328         * math/w_jn.c (jn): Likewise.
21329         (yn): Likewise.
21330         * math/w_jnf.c (jnf): Likewise.
21331         (ynf): Likewise.
21332         * math/w_jnl.c (__jnl): Likewise.
21333         (__ynl): Likewise.
21334         * math/libm-test.inc (j0_test): Add more tests.
21335         (j1_test): Likewise.
21336         (jn_test): Likewise.  Add trailing semicolon to existing test.
21337         (y0_test): Likewise.
21338         (y1_test): Likewise.
21339         * sysdeps/i386/fpu/libm-test-ulps: Update.
21340         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21342         [BZ #13851]
21343         [BZ #13854]
21344         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
21345         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
21346         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
21347         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
21348         (__tanl): Set errno for infinite argument.
21349         * sysdeps/i386/fpu/mptan.c: Remove.
21350         * sysdeps/i386/fpu/s_tan.S: Likewise.
21351         * sysdeps/i386/fpu/s_tanl.S: Likewise.
21352         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
21353         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
21354         * math/libm-test.inc (tan_test): Add more tests and enable more
21355         tests for double and long double.
21356         * sysdeps/i386/fpu/libm-test-ulps: Update.
21357         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21359 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
21361         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
21362         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
21364 2012-03-16  Roland McGrath  <roland@hack.frob.com>
21366         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
21367         * configure.in: Use it for both main tree and add-ons.
21368         * configure: Regenerated.
21370 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
21372         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
21374 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
21376         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
21377         in comment.
21379         [BZ #13851]
21380         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
21381         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
21382         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
21383         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
21384         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
21385         infinite argument.
21386         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
21387         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
21388         != 0 for prec == 2.
21389         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
21390         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
21391         * sysdeps/i386/fpu/s_cosl.S: Likewise.
21392         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
21393         * sysdeps/i386/fpu/s_sinl.S: Likewise.
21394         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
21395         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
21396         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
21397         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
21398         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
21399         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
21400         * math/libm-test.inc (cos_test): Add more tests and enable more
21401         tests for long double.
21402         (sin_test): Likewise.
21403         (sincos_test): Likewise.
21404         * sysdeps/i386/fpu/libm-test-ulps: Update.
21405         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21407 2012-03-16  David S. Miller  <davem@davemloft.net>
21409         * sysdeps/sparc/fpu/math_private.h: New file.
21411 2012-03-15  David S. Miller  <davem@davemloft.net>
21413         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
21414         file.
21415         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
21416         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
21417         file.
21418         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
21419         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
21420         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
21421         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
21422         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
21423         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
21424         sysdep routines.
21425         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
21427         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
21428         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
21430         * sysdeps/sparc/sparc-ifunc.h: New file.
21431         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
21432         sparc-ifunc.h
21433         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
21434         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
21435         Likewise.
21436         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
21437         Likewise.
21438         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
21439         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
21440         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
21441         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
21442         Likewise.
21443         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
21444         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
21445         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
21446         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
21447         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
21448         Likewise.
21449         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
21450         Likewise.
21451         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
21452         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
21453         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
21454         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
21455         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
21456         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
21457         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
21458         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
21459         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
21460         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
21461         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
21462         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
21463         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
21464         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
21465         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
21466         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
21467         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
21468         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
21469         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
21470         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
21471         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
21472         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
21473         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
21474         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
21476 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
21478         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
21479         scaling.
21480         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21482 2012-03-15  Andreas Jaeger  <aj@suse.de>
21484         [BZ #13852]
21485         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
21486         ieee754/flt-32 implementation for sin, cos and sincos.
21487         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
21488         * sysdeps/i386/fpu/s_cosf.S: Likewise.
21489         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
21490         * sysdeps/i386/fpu/s_sinf.S: Likewise.
21491         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
21492         ieee754/flt-32 implementation for tan.
21494         * math/libm-test.inc (cos_test): Enable some large input tests for
21495         float as well
21496         (sin_test): Likewise.
21497         (sincos_test): Likewise.
21498         (tan_test): Add tests for large input.
21500         * sysdeps/i386/fpu/libm-test-ulps: Update.
21502 2012-03-15  Andreas Jaeger  <aj@suse.de>
21504         [BZ #13658]
21505         * math/libm-test.inc (cos_test): Add more test cases.
21506         (sin_test): Likewise.
21507         (sincos_test): Likewise.
21509 2012-03-15  Andreas Jaeger  <aj@suse.de>
21511         [BZ #13837]
21512         * math/libm-test.inc (cos_test): Add a test case for large input
21513         value.
21514         (sin_test): Likewise.
21515         (sincos_test): Likewise.
21517 2012-03-15  Andreas Jaeger  <aj@suse.de>,
21518         Joseph Myers  <joseph@codesourcery.com>
21520         [BZ #13658]
21521         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
21522         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
21523         * sysdeps/i386/fpu/branred.c: Likewise.
21524         * sysdeps/i386/fpu/dosincos.c: Likewise.
21525         * sysdeps/i386/fpu/mpa.c: Likewise.
21526         * sysdeps/i386/fpu/s_cos.S: Likewise.
21527         * sysdeps/i386/fpu/s_sin.S: Likewise.
21528         * sysdeps/i386/fpu/s_sincos.S: Likewise.
21529         * sysdeps/i386/fpu/sincos32.c: Likewise.
21531         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
21532         Define.
21533         (libc_feupdateenv_53bit): Define.
21534         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
21535         Define.
21536         (libc_feupdateenv_53bit): Define.
21538         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
21539         53 bit (without extend i386 double precision).
21541         * math/libm-test.inc (sincos_test): Add tests for large input.
21542         (sin): Likewise.
21543         (cos): Likewise.
21545         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
21547 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
21549         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21551 2012-03-15  David S. Miller  <davem@davemloft.net>
21553         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
21554         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
21555         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
21556         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
21557         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
21558         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
21559         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
21560         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
21561         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
21562         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
21563         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
21564         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
21565         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
21566         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
21567         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
21568         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
21569         file.
21570         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
21571         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
21572         file.
21573         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
21574         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
21575         file.
21576         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
21577         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
21578         file.
21579         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
21580         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
21581         fmin/fmax sysdep routines.
21582         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
21584 2012-03-14  David S. Miller  <davem@davemloft.net>
21586         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
21587         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
21588         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
21589         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
21590         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
21591         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
21592         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
21593         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
21594         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
21595         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
21596         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
21597         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
21598         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
21599         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
21600         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
21601         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
21602         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
21603         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
21604         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
21605         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
21606         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
21607         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
21608         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
21609         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
21610         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
21611         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
21612         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
21613         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
21614         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
21615         routines.
21616         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
21617         file.
21618         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
21619         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
21620         file.
21621         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
21622         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
21623         file.
21624         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
21625         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
21626         file.
21627         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
21628         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
21629         file.
21630         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
21631         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
21632         file.
21633         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
21634         file.
21635         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
21636         file.
21637         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
21638         file.
21639         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
21640         New file.
21641         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
21642         file.
21643         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
21644         file.
21645         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
21646         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
21647         file.
21648         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
21649         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
21650         file.
21651         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
21652         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
21653         file.
21654         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
21655         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
21656         VIS3 routines.
21658         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
21659         New file.
21661         * sysdeps/sparc/fpu/libm-test-ulps: Update.
21663         * sysdeps/sparc/configure.in: New file.
21664         * sysdeps/sparc/configure: Generate.
21665         * configure.in (libc_cv_sparc_as_vis3): Substitute.
21666         * configure: Regenerate.
21667         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
21668         * config.make.in (have-as-vis3): New.
21669         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
21670         available use -Av9d instead of -Av9a.
21671         * sysdeps/sparc/sparc64/Makefile: Likewise.
21672         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
21673         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
21674         New file.
21675         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
21676         file.
21677         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
21678         New file.
21679         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
21680         file.
21681         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
21682         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
21683         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
21684         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
21685         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
21687         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
21688         fzeros/fnegs to load 0x80000000 into a float register instead of
21689         using the stack.
21690         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
21692 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
21694         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
21695         bits/syscall.h.
21696         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
21697         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
21698         ($(inst_includedir)/bits/syscall.h): Remove rule.
21699         ($(objpfx)bits/syscall.d): Include instead of
21700         $(objpfx)syscall-list.d.
21701         (generated): Change syscall-list.h and syscall-list.d to
21702         bits/syscall.h and bits/syscall.d.
21704 2012-03-14  Roland McGrath  <roland@hack.frob.com>
21706         [BZ #13846]
21707         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
21709 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
21711         [BZ #13841]
21712         * math/s_csqrt.c: Include <float.h>.
21713         (__csqrt): Scale large or subnormal inputs.
21714         * math/s_csqrtf.c: Likewise.
21715         * math/s_csqrtl.c: Likewise.
21716         * math/libm-test.inc (csqrt_test): Add more tests.
21717         * sysdeps/i386/fpu/libm-test-ulps: Update.
21718         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21720         [BZ #13840]
21721         * math/libm-test.inc (hypot_test): Add more tests.
21723 2012-03-13  David S. Miller  <davem@davemloft.net>
21725         [BZ #13840]
21726         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
21727         double-precision for the calculation instead of scaling.
21729 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
21731         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
21732         manipulate bits before adding and subtracting TWO52[sx].
21733         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
21734         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
21735         Likewise.
21736         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
21738 2012-03-13  David S. Miller  <davem@davemloft.net>
21740         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
21741         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
21742         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
21743         rtld-global-offsets.h
21744         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
21746         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
21747         large parameters.
21749         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
21751         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
21752         'err' in the ifdef scope in which it is actually used.
21754         * nss/nss_db/db-init.c: Include string.h
21756 2012-03-12  David S. Miller  <davem@davemloft.net>
21758         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
21759         masking out of the most significant byte of random value used.
21760         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
21761         Fix coding style in previous change.
21763         * sysdeps/unix/sysv/linux/kernel-features.h
21764         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
21765         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
21766         expression.
21767         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
21768         later.
21770 2012-03-11  David S. Miller  <davem@davemloft.net>
21772         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
21773         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
21774         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
21775         for 'resultvar' otherwise things get truncated on 64-bit.
21777         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
21778         Fix masking out of the most significant byte of random value used.
21780         * sysdeps/sparc/fpu/libm-test-ulps: Update.
21782 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
21784         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21786 2012-03-09  David S. Miller  <davem@davemloft.net>
21788         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
21789         variables with appropriate CPP guards.
21790         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
21791         frame pointer, not the stack pointer.  Correct layout comments.  Fix test
21792         on resulting framesize and the management of the outregs buffer for pltexit.
21793         Preserve floating point return values across _dl_call_pltexit call.
21794         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
21795         framesize and the management of the outregs buffer for pltexit.
21796         Preserve floating point return values across _dl_call_pltexit
21797         call.
21798         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
21799         la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
21800         (print_exit): Fix format string for return register value.
21802 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
21804         * sunrpc/Makefile (others): Add rpcgen.
21805         ($(objpfx)rpcgen): Remove special build rule and dependency on
21806         libc.
21807         * sunrpc/rpcgen.c: New file.
21809 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
21811         [BZ #13673]
21812         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
21813         * stdio-common/bug-vfprintf-nargs.c: Likewise.
21814         * sysdeps/i386/crti.S: Likewise.
21815         * sysdeps/i386/crtn.S: Likewise.
21816         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
21817         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
21818         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
21819         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
21820         * sysdeps/sh/crti.S: Likewise.
21821         * sysdeps/sh/crtn.S: Likewise.
21822         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
21824         [BZ #13673]
21825         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
21826         with URL.
21827         * locale/programs/locfile-kw.gperf: Likewise.
21828         * locale/programs/charmap-kw.h: Regenerated.
21829         * locale/programs/locfile-kw.h: Likewise.
21831         [BZ #13673]
21832         * intl/plural.y: Replace FSF snail mail address with URL.
21833         * intl/plural.c: Regenerated.
21835 2012-03-09  Richard Henderson  <rth@twiddle.net>
21837         * include/math_private.h: Remove file.
21838         * math/math_private.h: Move file ...
21839         * sysdeps/generic/math_private.h: ... here.
21841         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
21842         * sysdeps/powerpc/fpu/math_private.h: Likewise.
21843         * sysdeps/x86_64/fpu/math_private.h: Likewise.
21845         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
21846         and <math_private.h>.
21847         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
21848         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
21849         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
21850         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
21851         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
21852         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
21853         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
21854         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
21855         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
21856         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
21857         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
21858         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
21859         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
21860         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
21861         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
21862         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
21863         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
21864         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
21865         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
21866         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
21867         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
21868         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
21869         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
21870         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
21871         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
21872         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
21873         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
21874         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
21875         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
21876         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
21877         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
21878         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
21879         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
21880         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
21881         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
21882         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
21883         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
21884         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
21885         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
21886         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
21887         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
21888         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
21889         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
21890         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
21891         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
21892         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
21893         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
21894         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
21895         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
21896         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
21897         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
21898         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
21899         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
21900         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
21901         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
21902         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
21903         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
21904         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
21905         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
21906         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
21907         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
21908         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
21909         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
21910         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
21911         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
21912         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
21913         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
21914         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
21915         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
21916         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
21917         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
21918         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
21919         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
21920         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
21921         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
21922         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
21923         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
21924         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
21925         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
21926         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
21927         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
21928         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
21929         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
21930         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
21931         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
21932         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
21933         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
21934         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
21935         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
21936         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
21937         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
21938         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
21939         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
21940         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
21941         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
21942         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
21943         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
21944         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
21945         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
21946         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
21947         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
21948         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
21949         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
21950         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
21951         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
21952         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
21953         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
21954         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
21955         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
21956         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
21957         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
21958         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
21959         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
21960         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
21961         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
21962         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
21963         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
21964         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
21965         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
21966         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
21967         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
21968         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
21969         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
21970         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
21971         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
21972         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
21973         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
21974         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
21975         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
21976         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
21977         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
21978         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
21979         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
21980         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
21981         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
21982         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
21983         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
21984         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
21985         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
21986         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
21987         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
21988         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
21989         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
21990         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
21991         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
21992         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
21993         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
21994         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
21995         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
21996         * sysdeps/ieee754/k_standard.c: Likewise.
21997         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
21998         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
21999         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
22000         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
22001         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
22002         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
22003         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
22004         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
22005         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
22006         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
22007         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
22008         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
22009         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
22010         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
22011         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
22012         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
22013         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
22014         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
22015         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
22016         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
22017         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
22018         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
22019         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
22020         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
22021         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
22022         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
22023         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
22024         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
22025         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
22026         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
22027         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
22028         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
22029         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
22030         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
22031         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
22032         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
22033         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
22034         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
22035         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
22036         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
22037         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
22038         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
22039         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
22040         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
22041         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
22042         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
22043         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
22044         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
22045         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
22046         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
22047         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
22048         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
22049         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
22050         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
22051         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
22052         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
22053         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
22054         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
22055         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
22056         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
22057         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
22058         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
22059         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
22060         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
22061         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
22062         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
22063         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
22064         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
22065         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
22066         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
22067         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
22068         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
22069         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
22070         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
22071         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
22072         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
22073         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
22074         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
22075         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
22076         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
22077         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
22078         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
22079         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
22080         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
22081         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
22082         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
22083         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
22084         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
22085         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
22086         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
22087         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
22088         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
22089         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
22090         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
22091         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
22092         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
22093         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
22094         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
22095         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
22096         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
22097         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
22098         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
22099         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
22100         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
22101         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
22102         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
22103         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
22104         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
22105         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
22106         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
22107         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
22108         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
22109         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
22110         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
22111         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
22112         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
22113         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
22114         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
22115         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
22116         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
22117         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
22118         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
22119         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
22120         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
22121         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
22122         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
22123         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
22124         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
22125         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
22126         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
22127         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
22128         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
22129         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
22130         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
22131         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
22132         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
22133         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
22134         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
22135         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
22136         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
22137         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
22138         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
22139         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
22140         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
22141         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
22142         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
22143         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
22144         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
22145         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
22146         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
22147         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
22148         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
22149         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
22150         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
22151         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
22152         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
22153         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
22154         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
22155         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
22156         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
22157         * sysdeps/ieee754/s_lib_version.c: Likewise.
22158         * sysdeps/ieee754/s_matherr.c: Likewise.
22159         * sysdeps/ieee754/s_signgam.c: Likewise.
22160         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
22161         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
22162         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
22163         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
22164         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
22165         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
22166         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
22167         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
22168         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
22169         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
22170         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
22171         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
22172         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
22173         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
22174         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
22175         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
22176         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
22177         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
22178         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
22179         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
22180         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
22182 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
22184         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
22185         * sunrpc/rpc_main.c: Likewise.
22186         * sunrpc/rpc_svcout.c: Likewise.
22188 2012-03-09  David S. Miller  <davem@davemloft.net>
22190         * include/math_private.h: New file.
22192 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
22194         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
22195         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
22196         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
22197         from <bits/socket_type.h>.
22198         (enum __socket_type): Don't define here.
22199         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
22200         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22201         bits/socket_type.h.
22203         [BZ #13566]
22204         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
22205         checking __USE_GNU.
22207         * Makerules ($(inst_includedir)/%.h): New rule.
22208         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
22209         (install-others): Remove variable setting.
22210         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
22212 2012-03-08  Richard Henderson  <rth@twiddle.net>
22214         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
22215         from macro to inline function; merge with the
22216         !__LIBC_INTERNAL_MATH_INLINES version.
22217         (__ieee754_sqrtf): Likewise.
22219         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
22220         to inline function.
22221         (__rintf, __floor, __floorf): Likewise.
22223         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
22224         macro to inline function.
22225         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
22227         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
22228         not <math/math_private.h>.
22230 2012-03-08  David S. Miller  <davem@davemloft.net>
22232         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
22233         copyright year.
22234         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
22236 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
22238         * resolv/gai_misc.c (handle_requests): Fix struct timespec
22239         normalization.
22240         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
22241         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
22243 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
22245         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
22246         be defined individually, they must be defined as a block.  Define
22247         S for printing a string instead of hidint the different by using a
22248         macro for adding the 'l'.
22249         * stdio-common/tst-fphex-wide.c: Adjust.
22251 2012-03-07  Marek Polacek  <polacek@redhat.com>
22253         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
22255 2012-03-08  Marek Polacek  <polacek@redhat.com>
22257         [BZ #13806]
22258         * stdio-common/Makefile (tests): Add tst-fphex-wide.
22259         * stdio-common/tst-fphex.c: Define a few macros to make the
22260         test reusable.  Use them.
22261         * stdio-common/tst-fphex-wide.c: New file.
22263 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
22265         [BZ #6911]
22266         * manual/macros.texi (gnusystems): New macro.
22267         (nongnusystems): Likewise.
22268         (gnulinuxhurdsystems): Likewise.
22269         (gnuhurdsystems): Likewise..
22270         (gnulinuxsystems): Likewise.
22271         * manual/charset.texi: Use new macros or @theglibc{} to refer to
22272         variants of the GNU system, not "GNU system".
22273         * manual/conf.texi: Likewise.
22274         * manual/errno.texi: Likewise.  Update example of errno macro
22275         expansion.
22276         * manual/filesys.texi: Likewise.
22277         (getumask): Document as specific to GNU/Hurd.
22278         * manual/install.texi: Likewise.  Reword some references to
22279         GNU/Linux.
22280         * manual/intro.texi: Likewise.
22281         * manual/io.texi: Likewise.
22282         (File Name Portability): Detail which constraints are inapplicable
22283         to all GNU systems and which are only inapplicable to GNU/Hurd.
22284         * manual/job.texi: Likewise.
22285         * manual/llio.texi: Likewise.
22286         (O_NOCTTY): Document as present on GNU/Linux.
22287         * manual/maint.texi: Likewise.
22288         * manual/memory.texi: Likewise.
22289         * manual/pattern.texi: Likewise.
22290         * manual/pipe.texi: Likewise.
22291         * manual/process.texi: Likewise.
22292         * manual/resource.texi: Likewise.
22293         (RUSAGE_CHILDREN): Remove statement about specifying a particular
22294         child on GNU/Hurd.
22295         * manual/setjmp.texi: Likewise.
22296         * manual/signal.texi: Likewise.
22297         * manual/startup.texi: Likewise.
22298         * manual/stdio.texi: Likewise.
22299         * manual/terminal.texi: Likewise.
22300         (ONLCR): Document as POSIX.
22301         (OXTABS): Document availability on GNU/Linux as XTABS.
22302         (ONOEOT): Document availability separately from other bits.
22303         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
22304         * manual/time.texi: Likewise.
22305         * manual/users.texi: Likewise.
22306         * INSTALL: Regenerated.
22307         * sysdeps/gnu/errlist.c: Regenerated.
22309         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
22310         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
22311         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
22312         puts.
22313         * configure: Regenerated.
22315 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
22317         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
22318         default includes instead of AC_HEADER_CHECK.
22319         * sysdeps/i386/configure: Regenerated.
22321         [BZ #10716]
22322         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
22323         * math/s_cacoshf.c (__cacoshf): Likewise.
22324         * math/s_cacoshl.c (__cacoshl): Likewise.
22325         * math/s_casinh.c (__casinh): Set signs of result from argument.
22326         * math/s_casinhf.c (__casinhf): Likewise.
22327         * math/s_casinhl.c (__casinhl): Likewise.
22328         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
22329         (casinh_test): Add more tests.
22330         * sysdeps/i386/fpu/libm-test-ulps: Update.
22331         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22333 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
22335         * po/zh_TW.po: Update from translation team.
22337         * login/Makefile (distribute): Remove variable.
22338         * catgets/Makefile: Likewise.
22339         * mach/Makefile: Likewise.
22340         * malloc/Makefile: Likewise.
22341         * misc/Makefile: Likewise.
22342         * iconv/Makefile: Likewise.
22343         * nscd/Makefile: Likewise.
22344         * hurd/Makefile: Likewise.
22345         * manual/Makefile: Likewise.
22346         * locale/Makefile: Likewise.
22347         * intl/Makefile: Likewise.
22348         * conform/Makefile: Likewise.
22349         * nss/Makefile: Likewise.
22350         * time/Makefile: Likewise.
22351         * soft-fp/Makefile: Likewise.
22352         * dirent/Makefile: Likewise.
22353         * gmon/Makefile: Likewise.
22354         * po/Makefile: Likewise.
22355         * rt/Makefile: Likewise.
22356         * socket/Makefile: Likewise.
22357         * math/Makefile: Likewise.
22358         * signal/Makefile: Likewise.
22359         * debug/Makefile: Likewise.
22360         * elf/Makefile: Likewise.
22361         * timezone/Makefile: Likewise.
22362         * stdlib/Makefile: Likewise.
22363         * iconvdata/Makefile: Likewise.
22364         * sunrpc/Makefile: Likewise.
22365         * io/Makefile: Likewise.
22366         * argp/Makefile: Likewise.
22367         * inet/Makefile: Likewise.
22368         * hesiod/Makefile: Likewise.
22369         * grp/Makefile: Likewise.
22370         * csu/Makefile: Likewise.
22371         * wctype/Makefile: Likewise.
22372         * crypt/Makefile: Likewise.
22373         * libio/Makefile: Likewise.
22374         * string/Makefile: Likewise.
22375         * nis/Makefile: Likewise.
22376         * resolv/Makefile: Likewise.
22377         * stdio-common/Makefile: Likewise.
22378         * wcsmbs/Makefile: Likewise.
22379         * dlfcn/Makefile: Likewise.
22380         * posix/Makefile: Likewise.
22382         [BZ #6959]
22383         * timezone/Makefile: Don't install timezone files, just the programs
22384         and scripts.
22386 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
22388         * nss/databases.def: Add missing gshadow entry.
22390         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
22392 2012-03-06  Marek Polacek  <polacek@redhat.com>
22394         [BZ #13726]
22395         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
22396         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
22397         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
22398         * stdio-common/tst-long-dbl-fphex.c: New file.
22400 2012-03-06  David S. Miller  <davem@davemloft.net>
22402         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
22403         (set_obp_int): New function.
22404         (get_obp_int): New function.
22405         (__get_clockfreq_via_dev_openprom): Likewise.
22406         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
22407         Avoid unused variable warnings on 'val' and use builtin_expect.
22408         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
22409         __builtin_expect.
22410         (INLINE_CLONE_SYSCALL): Likewise.
22412 2012-03-05  David S. Miller  <davem@davemloft.net>
22414         * sysdeps/sparc/fpu/libm-test-ulps: Update.
22416 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
22418         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22420         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
22421         only for |x| >= 40.
22422         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
22424 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
22426         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
22427         Replace gettimeofday with __vdso_gettimeofday.
22429         * sysdeps/unix/sysv/linux/x86_64/init-first.c
22430         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
22431         __vdso_clock_gettime and __vdso_getcpu.
22433         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
22434         time with __vdso_time.
22436 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
22438         * manual/lang.texi (size_t): Note types to which size_t may be
22439         equivalent with the GNU C Library, but do not describe when
22440         differences between them are significant.
22442 2012-03-05  Andreas Jaeger  <aj@suse.de>
22444         * sysdeps/i386/fpu/libm-test-ulps: Update.
22446 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
22448         [BZ #3976]
22449         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
22450         (__ieee754_pow): Save and restore rounding mode and use
22451         round-to-nearest for main computations.
22452         * math/libm-test.inc (pow_test_tonearest): New function.
22453         (pow_test_towardzero): Likewise.
22454         (pow_test_downward): Likewise.
22455         (pow_test_upward): Likewise.
22456         (main): Call the new functions.
22457         * sysdeps/i386/fpu/libm-test-ulps: Update.
22458         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22460         [BZ #3976]
22461         * math/libm-test.inc (cosh_test_tonearest): New function.
22462         (cosh_test_towardzero): Likewise.
22463         (cosh_test_downward): Likewise.
22464         (cosh_test_upward): Likewise.
22465         (sinh_test_tonearest): Likewise.
22466         (sinh_test_towardzero): Likewise.
22467         (sinh_test_downward): Likewise.
22468         (sinh_test_upward): Likewise.
22469         (main): Call the new functions.
22470         * sysdeps/i386/fpu/libm-test-ulps: Update.
22471         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22473 2012-03-05  Tom de Vries  <tom@codesourcery.com>
22475         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
22476         default stack guard is set in last bytes.
22477         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
22479 2012-03-05  Kees Cook  <keescook@chromium.org>
22481         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
22483         [BZ #13656]
22484         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
22485         possibly allocate from heap instead of stack.
22486         * stdio-common/bug-vfprintf-nargs.c: New file.
22487         * stdio-common/Makefile (tests): Add nargs overflow test.
22489 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
22491         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22493 2012-03-03  Marek Polacek  <polacek@redhat.com>
22495         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
22496         * math/math_private.h: Likewise.
22497         * stdlib/tst-strtod.c: Likewise.
22498         * sysdeps/i386/i486/bits/atomic.h: Likewise.
22499         * sysdeps/x86_64/bits/atomic.h: Likewise.
22501 2012-03-02  David S. Miller  <davem@davemloft.net>
22503         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
22504         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
22505         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
22506         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
22507         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
22508         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
22509         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
22510         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
22512 2012-03-02  Roland McGrath  <roland@hack.frob.com>
22514         [BZ #13792]
22515         * manual/examples/README: New file, says the example source files
22516         can be used under GPL>=2.
22517         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
22518         line containing just "*/".
22519         * manual/examples/add.c: Add copyright header (GPL>=2).
22520         * manual/examples/argp-ex1.c: Likewise.
22521         * manual/examples/argp-ex2.c: Likewise.
22522         * manual/examples/argp-ex3.c: Likewise.
22523         * manual/examples/argp-ex4.c: Likewise.
22524         * manual/examples/atexit.c: Likewise.
22525         * manual/examples/db.c: Likewise.
22526         * manual/examples/dir.c: Likewise.
22527         * manual/examples/dir2.c: Likewise.
22528         * manual/examples/execinfo.c: Likewise.
22529         * manual/examples/filecli.c: Likewise.
22530         * manual/examples/filesrv.c: Likewise.
22531         * manual/examples/fmtmsgexpl.c: Likewise.
22532         * manual/examples/genpass.c: Likewise.
22533         * manual/examples/inetcli.c: Likewise.
22534         * manual/examples/inetsrv.c: Likewise.
22535         * manual/examples/isockad.c: Likewise.
22536         * manual/examples/longopt.c: Likewise.
22537         * manual/examples/memopen.c: Likewise.
22538         * manual/examples/memstrm.c: Likewise.
22539         * manual/examples/mkfsock.c: Likewise.
22540         * manual/examples/mkisock.c: Likewise.
22541         * manual/examples/mygetpass.c: Likewise.
22542         * manual/examples/pipe.c: Likewise.
22543         * manual/examples/popen.c: Likewise.
22544         * manual/examples/rprintf.c: Likewise.
22545         * manual/examples/search.c: Likewise.
22546         * manual/examples/select.c: Likewise.
22547         * manual/examples/setjmp.c: Likewise.
22548         * manual/examples/sigh1.c: Likewise.
22549         * manual/examples/sigusr.c: Likewise.
22550         * manual/examples/stpcpy.c: Likewise.
22551         * manual/examples/strdupa.c: Likewise.
22552         * manual/examples/strftim.c: Likewise.
22553         * manual/examples/strncat.c: Likewise.
22554         * manual/examples/subopt.c: Likewise.
22555         * manual/examples/swapcontext.c: Likewise.
22556         * manual/examples/termios.c: Likewise.
22557         * manual/examples/testopt.c: Likewise.
22558         * manual/examples/testpass.c: Likewise.
22559         * manual/examples/timeval_subtract.c: Likewise.
22561         [BZ #13792]
22562         * manual/time.texi (Elapsed Time): Move timeval_subtract example
22563         function to ...
22564         * manual/timeval_subtract.c.texi: ... here, new file.
22566 2012-03-02  David S. Miller  <davem@davemloft.net>
22568         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
22570 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
22572         [BZ #3976]
22573         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
22574         (__sin): Save and restore rounding mode and use round-to-nearest
22575         for all computations.
22576         (__cos): Save and restore rounding mode and use round-to-nearest
22577         for all computations.
22578         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
22579         <fenv.h>.
22580         (tan): Save and restore rounding mode and use round-to-nearest for
22581         all computations.
22582         * math/libm-test.inc (cos_test_tonearest): New function.
22583         (cos_test_towardzero): Likewise.
22584         (cos_test_downward): Likewise.
22585         (cos_test_upward): Likewise.
22586         (sin_test_tonearest): Likewise.
22587         (sin_test_towardzero): Likewise.
22588         (sin_test_downward): Likewise.
22589         (sin_test_upward): Likewise.
22590         (tan_test_tonearest): Likewise.
22591         (tan_test_towardzero): Likewise.
22592         (tan_test_downward): Likewise.
22593         (tan_test_upward): Likewise.
22594         (main): Call the new functions.
22595         * sysdeps/i386/fpu/libm-test-ulps: Update.
22596         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22598         [BZ #10135]
22599         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
22600         small n, then large n, before computing and testing k+n.
22601         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
22602         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
22603         Likewise.
22604         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
22605         Likewise.
22606         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
22607         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
22608         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
22609         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
22610         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
22611         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
22612         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
22613         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
22614         * math/libm-test.inc (scalbn_test): Add more tests.
22615         (scalbln_test): Likewise.
22617         * manual/filesys.texi (mode_t): Describe constraints on size and
22618         signedness, not exact equivalence to a particular type.
22619         (ino_t): Likewise.
22620         (ino64_t): Likewise.
22621         (dev_t): Likewise.
22622         (nlink_t): Likewise.
22623         (blkcnt_t): Likewise.
22624         (blkcnt64_t): Likewise.
22625         * manual/llio.texi (off_t): Likewise.
22627         [BZ #3976]
22628         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
22629         (__ieee754_exp): Save and restore rounding mode and use
22630         round-to-nearest for all computations.
22631         * math/libm-test.inc (exp_test_tonearest): New function.
22632         (exp_test_towardzero): Likewise.
22633         (exp_test_downward): Likewise.
22634         (exp_test_upward): Likewise.
22635         (main): Call the new functions.
22636         * sysdeps/i386/fpu/libm-test-ulps: Update.
22637         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22639 2012-03-01  Chris Demetriou  <cgd@google.com>
22641         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
22642         have predictable order.
22644 2012-03-01  David S. Miller  <davem@davemloft.net>
22646         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
22648         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
22649         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
22650         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
22651         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
22653         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
22654         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
22655         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
22656         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
22657         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
22658         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
22659         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
22660         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
22661         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
22663         * sysdeps/sparc/fpu/libm-test-ulps: Update.
22665         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
22666         * sysdeps/sparc/fpu/libm-test-ulps: to here.
22667         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
22669         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
22670         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
22671         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
22672         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
22673         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
22674         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
22675         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
22676         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
22677         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
22678         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
22679         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
22680         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
22681         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
22682         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
22683         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
22684         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
22685         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
22686         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
22687         * sysdeps/sparc/elf/configure: Regenerated.
22689 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
22691         * configure.in (AS, LD): Require binutils 2.20 or later.
22692         * configure: Regenerated.
22693         * manual/install.texi (Tools for Compilation): Give binutils 2.20
22694         as required minimum version.
22695         * INSTALL: Regenerated.
22697         [BZ #2541]
22698         [BZ #4108]
22699         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
22700         before squaring exponent.
22701         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
22702         bottom long double and 27 bits of top long double before squaring
22703         exponent.
22704         * math/libm-test.inc (erfc_test): Add more tests.
22705         * sysdeps/i386/fpu/libm-test-ulps: Update.
22706         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
22707         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22709 2012-03-01  Kai Tietz  <ktietz@redhat.com>
22711         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
22712         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
22713         containing bit-fields.
22714         * soft-fp/extended.h (_FP_UNION_E): Likewise.
22715         * soft-fp/single.h (_FP_UNION_S): Likewise.
22716         * soft-fp/double.h (_FP_UNION_D): Likewise.
22718 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
22720         [BZ #13786]
22721         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
22722         not include ../strcmp.S.
22723         [USE_AS_STRNCASECMP_L]: Likewise.
22724         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
22725         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
22726         * sysdeps/i386/i686/multiarch/strncase_l-c.c
22727         (__strncasecmp_l_ia32): Define as alias to
22728         __strncasecmp_l_nonascii.
22730         [BZ #5794]
22731         * math/libm-test.inc (expm1_test): Add test for bug 5794.
22732         * sysdeps/i386/fpu/libm-test-ulps: Update.
22733         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22735         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
22736         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22738 2012-02-29  Jeff Law  <law@redhat.com>
22740         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
22741         out of bounds read.
22743 2012-02-29  Marek Polacek  <polacek@redhat.com>
22745         [BZ #13706]
22746         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
22747         * elf/Makefile: Add rules to run tst-unused-dep.out.
22749 2012-02-28  David S. Miller  <davem@davemloft.net>
22751         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
22752         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
22753         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
22754         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
22755         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
22756         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
22758 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
22760         * math/libm-test.inc (llround_test): Move one test from
22761         lround_test.  Use TEST_f_L in moved test.
22762         (lround_test): Move misplaced test to llround_test.  Add testcase
22763         from bug 2561.
22765 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
22767         * sysdeps/x86_64/fpu/e_expf.S: New file.
22768         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
22770 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
22772         [BZ #13637]
22773         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
22774         of remain_len that may cause incomplete multi-byte character and
22775         false match.
22776         * posix/bug-regex33.c: New file.
22777         * posix/Makefile (tests): Add bug-regex33.
22779 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
22781         * manual/macros.texi: New file.
22782         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
22783         * manual/libc.texinfo: Include macros.texi.
22784         * manual/creatute.texi: Likewise.
22785         * manual/install.texi: Likewise.
22786         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
22787         @glibcadj{} in references to the GNU C Library.
22788         * manual/charset.texi: Likewise.
22789         * manual/conf.texi: Likewise.
22790         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
22791         when not using those macros.
22792         * manual/creature.texi: Likewise.
22793         * manual/crypt.texi: Likewise.
22794         * manual/errno.texi: Likewise.
22795         * manual/filesys.texi: Likewise.
22796         * manual/header.texi: Likewise.
22797         * manual/install.texi: Likewise.
22798         * manual/intro.texi: Likewise.
22799         * manual/io.texi: Likewise.
22800         * manual/job.texi: Likewise.
22801         * manual/lang.texi: Likewise.
22802         * manual/libc.texiinfo: Likewise.
22803         * manual/llio.texi: Likewise.
22804         * manual/locale.texi: Likewise.
22805         * manual/maint.texi: Likewise.
22806         * manual/math.texi: Likewise.
22807         * manual/memory.texi: Likewise.
22808         * manual/message.texi: Likewise.
22809         * manual/nss.texi: Likewise.
22810         * manual/pattern.texi: Likewise.
22811         * manual/process.texi: Likewise.
22812         * manual/resource.texi: Likewise.
22813         * manual/search.texi: Likewise.
22814         * manual/setjmp.texi: Likewise.
22815         * manual/signal.texi: Likewise.
22816         * manual/socket.texi: Likewise.
22817         * manual/startup.texi: Likewise.
22818         * manual/stdio.texi: Likewise.
22819         * manual/string.texi: Likewise.
22820         * manual/sysinfo.texi: Likewise.
22821         * manual/syslog.texi: Likewise.
22822         * manual/terminal.texi: Likewise.
22823         * manual/time.texi: Likewise.
22824         * manual/users.texi: Likewise.
22825         * INSTALL: Regenerated.
22826         * NOTES: Regenerated.
22827         * sysdeps/gnu/errlist.c: Regenerated.
22829 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
22831         * include/dirent.h: Include <dirstream.h> before
22832         <dirent/dirent.h>.
22834 2012-02-28  David S. Miller  <davem@davemloft.net>
22836         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
22837         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
22838         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
22839         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
22841 2012-02-27  David S. Miller  <davem@davemloft.net>
22843         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
22844         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
22845         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
22846         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
22848         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
22849         frame pointer instead of stack pointer relative arg slot.
22850         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
22851         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
22852         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
22854 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
22856         [BZ #3992]
22857         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
22859 2012-02-27  David S. Miller  <davem@davemloft.net>
22861         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
22862         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
22863         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
22864         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
22865         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
22866         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
22867         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
22868         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
22870 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
22872         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
22873         later.  Allow versions 5-9.
22874         * configure: Regenerated.
22875         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
22876         required minimum version and 4.6 as recommended version.  Do not
22877         mention bugs in GCC 2.7 and 2.8.
22878         * INSTALL: Regenerated.
22880 2012-02-27  David S. Miller  <davem@davemloft.net>
22882         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
22883         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
22884         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
22885         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
22886         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
22887         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
22888         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
22889         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
22891         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
22892         manipulate bits before adding and subtracting TWO112[sx].
22893         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
22895 2012-02-27  Roland McGrath  <roland@hack.frob.com>
22897         [BZ #13775]
22898         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
22899         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
22900         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
22901         being in POSIX, because they are in 1003.1-2008.
22903         * rt/tst-aio.c: Include <fcntl.h>.
22904         * rt/tst-aio7.c: Likewise.
22905         * rt/tst-aio64.c: Likewise.
22907         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
22909 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
22911         * manual/install.texi (--with-headers): Describe headers as
22912         interface headers, not private headers.
22913         (Specific advice for GNU/Linux systems): Describe use of headers
22914         from "make headers_install", not private headers from older
22915         kernels.
22916         * INSTALL: Regenerated.
22917         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
22918         Change to 2.6.19.
22919         * sysdeps/unix/sysv/linux/configure: Regenerated.
22921         * manual/llio.texi (fclean): Remove documentation.
22923         * manual/Makefile (libc-texi-generated): New variable.  Include
22924         version.texi.
22925         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
22926         $(libc-texi-generated), not duplicated list of files.
22927         (version.texi, stamp-version): New rules.
22928         (realclean): Remove $(libc-texi-generated), not individual files
22929         from that list.  Do not remove dir-add.texinfo.
22930         * manual/libc.texinfo: Comment out uses of edition numbers and
22931         references to printed manual.  Remove last-updated dates.
22932         (EDITION): Comment out.
22933         (ISBN): Likewise.
22934         (VERSION, UPDATED): Remove.
22935         (version.texi): Include.
22937 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
22939         * sysdeps/posix/spawni.c: Include <signal.h>.
22940         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
22941         * sysdeps/pthread/aio_fsync.c: Likewise.
22943 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
22945         * conform/Makefile (tests): Run only when not cross-compiling and
22946         when fast-check is not defined.
22948         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
22949         * conform/data/limits.h-data: Fixes for POSIX2008.
22950         * conform/run-conformtest.sh: Run all tests.
22951         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
22952         headers.
22953         * include/bits/dlfcn.h: Likewise.
22954         * include/langinfo.h: Likewise.
22955         * include/monetary.h: Likewise.
22956         * include/sys/poll.h: Likewise.
22958         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
22959         for __USE_GNU.
22960         * posix/spawn.h: Define __need_sigset_t.
22961         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
22962         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
22963         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
22964         to get sigevent_t only.
22965         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
22966         only for __USE_GNU.
22967         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
22968         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
22969         process_vm_writev only for __USE_GNU.
22970         * termios/termios.h: Declare tcgetsid also for POSIX2008.
22972         * conform/Makefile: For now ignore errors from run-conformtest.
22973         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
22974         POSIX to avoid namespace pollution.  Don't prepend headers.
22975         * conform/data/aio.h-data: Fixes for POSIX testing.
22976         * conform/data/fcntl.h-data: Likewise.
22977         * conform/data/glob.h-data: Likewise.
22978         * conform/data/grp.h-data: Likewise.
22979         * conform/data/pthread.h-data: Likewise.
22980         * conform/data/pwd.h-data: Likewise.
22981         * conform/data/signal.h-data: Likewise.
22982         * conform/data/spawn.h-data: Likewise.
22983         * conform/data/stdio.h-data: Likewise.
22984         * conform/data/stdlib.h-data: Likewise.
22985         * conform/data/stropts.h-data: Likewise.
22986         * conform/data/sys/mman.h-data: Likewise.
22987         * conform/data/sys/stat.h-data: Likewise.
22988         * conform/data/sys/types.h-data: Likewise.
22989         * conform/data/sys/wait.h-data: Likewise.
22990         * conform/data/time.h-data: Likewise.
22991         * conform/data/unistd.h-data: Likewise.
22992         * conform/data/utime.h-data: Likewise.
22994         * io/sys/stat.h: fchmod was always in POSIX.
22995         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
22996         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
22997         * rt/aio.h: Define __need_timespec before including <time.h>.
22998         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
22999         struct.  Add forward declaration of pthread_attr_t and use it in
23000         sigevent.
23001         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
23002         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
23003         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
23004         always remove CLK_TCK definition.
23006 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
23008         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
23010 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
23012         * conform/run-conformtest.sh: New file.
23013         * conform/Makefile: Run run-conformtest for tests.
23014         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
23015         support.
23017         * conform/data/uchar.h-data: New file.
23018         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
23019         * conform/data/arpa/inet.h-data: Likewise.
23020         * conform/data/assert.h-data: Likewise.
23021         * conform/data/complex.h-data: Likewise.
23022         * conform/data/cpio.h-data: Likewise.
23023         * conform/data/ctype.h-data: Likewise.
23024         * conform/data/dirent.h-data: Likewise.
23025         * conform/data/dlfcn.h-data: Likewise.
23026         * conform/data/errno.h-data: Likewise.
23027         * conform/data/fcntl.h-data: Likewise.
23028         * conform/data/float.h-data: Likewise.
23029         * conform/data/fmtmsg.h-data: Likewise.
23030         * conform/data/fnmatch.h-data: Likewise.
23031         * conform/data/ftw.h-data: Likewise.
23032         * conform/data/glob.h-data: Likewise.
23033         * conform/data/grp.h-data: Likewise.
23034         * conform/data/iconv.h-data: Likewise.
23035         * conform/data/inttypes.h-data: Likewise.
23036         * conform/data/langinfo.h-data: Likewise.
23037         * conform/data/libgen.h-data: Likewise.
23038         * conform/data/limits.h-data: Likewise.
23039         * conform/data/locale.h-data: Likewise.
23040         * conform/data/math.h-data: Likewise.
23041         * conform/data/monetary.h-data: Likewise.
23042         * conform/data/mqueue.h-data: Likewise.
23043         * conform/data/ndbm.h-data: Likewise.
23044         * conform/data/net/if.h-data: Likewise.
23045         * conform/data/netdb.h-data: Likewise.
23046         * conform/data/netinet/in.h-data: Likewise.
23047         * conform/data/nl_types.h-data: Likewise.
23048         * conform/data/poll.h-data: Likewise.
23049         * conform/data/pthread.h-data: Likewise.
23050         * conform/data/pwd.h-data: Likewise.
23051         * conform/data/regex.h-data: Likewise.
23052         * conform/data/sched.h-data: Likewise.
23053         * conform/data/search.h-data: Likewise.
23054         * conform/data/semaphore.h-data: Likewise.
23055         * conform/data/setjmp.h-data: Likewise.
23056         * conform/data/signal.h-data: Likewise.
23057         * conform/data/spawn.h-data: Likewise.
23058         * conform/data/stdarg.h-data: Likewise.
23059         * conform/data/stdio.h-data: Likewise.
23060         * conform/data/stdlib.h-data: Likewise.
23061         * conform/data/string.h-data: Likewise.
23062         * conform/data/strings.h-data: Likewise.
23063         * conform/data/stropts.h-data: Likewise.
23064         * conform/data/sys/ipc.h-data: Likewise.
23065         * conform/data/sys/mman.h-data: Likewise.
23066         * conform/data/sys/msg.h-data: Likewise.
23067         * conform/data/sys/resource.h-data: Likewise.
23068         * conform/data/sys/select.h-data: Likewise.
23069         * conform/data/sys/sem.h-data: Likewise.
23070         * conform/data/sys/shm.h-data: Likewise.
23071         * conform/data/sys/socket.h-data: Likewise.
23072         * conform/data/sys/stat.h-data: Likewise.
23073         * conform/data/sys/statvfs.h-data: Likewise.
23074         * conform/data/sys/time.h-data: Likewise.
23075         * conform/data/sys/timeb.h-data: Likewise.
23076         * conform/data/sys/times.h-data: Likewise.
23077         * conform/data/sys/types.h-data: Likewise.
23078         * conform/data/sys/uio.h-data: Likewise.
23079         * conform/data/sys/un.h-data: Likewise.
23080         * conform/data/sys/utsname.h-data: Likewise.
23081         * conform/data/sys/wait.h-data: Likewise.
23082         * conform/data/syslog.h-data: Likewise.
23083         * conform/data/tar.h-data: Likewise.
23084         * conform/data/termios.h-data: Likewise.
23085         * conform/data/utime.h-data: Likewise.
23086         * conform/data/utmpx.h-data: Likewise.
23087         * conform/data/varargs.h-data: Likewise.
23088         * conform/data/wchar.h-data: Likewise.
23089         * conform/data/wctype.h-data: Likewise.
23090         * conform/data/wordexp.h-data: Likewise.
23092         * include/stropts.h: New file.
23093         * include/uchar.h: New file.
23094         * include/aio.h: Changes to allow conformtest.pl to use the headers.
23095         * include/assert.h: Likewise.
23096         * include/ctype.h: Likewise.
23097         * include/dirent.h: Likewise.
23098         * include/dlfcn.h: Likewise.
23099         * include/fcntl.h: Likewise.
23100         * include/fnmatch.h: Likewise.
23101         * include/glob.h: Likewise.
23102         * include/grp.h: Likewise.
23103         * include/libio.h: Likewise.
23104         * include/locale.h: Likewise.
23105         * include/math.h: Likewise.
23106         * include/net/if.h: Likewise.
23107         * include/netdb.h: Likewise.
23108         * include/netinet/in.h: Likewise.
23109         * include/pthread.h: Likewise.
23110         * include/pwd.h: Likewise.
23111         * include/regex.h: Likewise.
23112         * include/sched.h: Likewise.
23113         * include/search.h: Likewise.
23114         * include/setjmp.h: Likewise.
23115         * include/signal.h: Likewise.
23116         * include/stdio.h: Likewise.
23117         * include/stdlib.h: Likewise.
23118         * include/string.h: Likewise.
23119         * include/sys/cdefs.h: Likewise.
23120         * include/sys/mman.h: Likewise.
23121         * include/sys/msg.h: Likewise.
23122         * include/sys/resource.h: Likewise.
23123         * include/sys/select.h: Likewise.
23124         * include/sys/socket.h: Likewise.
23125         * include/sys/stat.h: Likewise.
23126         * include/sys/statvfs.h: Likewise.
23127         * include/sys/time.h: Likewise.
23128         * include/sys/times.h: Likewise.
23129         * include/sys/uio.h: Likewise.
23130         * include/sys/utsname.h: Likewise.
23131         * include/sys/wait.h: Likewise.
23132         * include/termios.h: Likewise.
23133         * include/time.h: Likewise.
23134         * include/ulimit.h: Likewise.
23135         * include/unistd.h: Likewise.
23136         * include/utime.h: Likewise.
23137         * include/wchar.h: Likewise.
23138         * include/wctype.h: Likewise.
23139         * include/wordexp.h: Likewise.
23141         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
23143         * time/time.h: TIME_UTC must be a macro.
23144         Make timespec_get available for ISO C11 only as well.
23146 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
23148         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
23149         Reported by Peng Haitao <penght@cn.fujitsu.com>.
23151 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
23153         * configure.in: Use -o not -a in test for unsupported multi-arch.
23155 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
23157         * manual/texinfo.tex: Update to version 2012-01-19.16.
23159 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
23161         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
23163 2012-02-24  Roland McGrath  <roland@hack.frob.com>
23165         [BZ #13738]
23166         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
23167         * manual/fdl-1.3.texi: New file.
23168         * manual/fdl-1.1.texi: File removed.
23170         [BZ #13738]
23171         * manual/libc.texinfo (FDL_VERSION): New @set.
23172         Use it for mention of FDL in cover text.
23173         (Documentation License): Use it in @include file name.
23175 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
23176             Roland McGrath  <roland@hack.frob.com>
23178         [BZ #5461]
23179         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
23180         not LONG_LONG_MAX and LONG_LONG_MIN.
23181         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
23182         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
23183         name.
23184         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
23186 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
23188         [BZ #2547]
23189         [BZ #11365]
23190         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
23191         manipulate bits before adding and subtracting TWO23[sx].
23192         * math/libm-test.inc (nearbyint_test): Add more tests.
23194 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
23196         [BZ #2548]
23197         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
23198         bits before adding and subtracting TWO23[sx].
23199         * math/libm-test.inc (rint_test): Add more tests.
23200         (rint_test_tonearest): Likewise.
23201         (rint_test_towardzero): Likewise.
23202         (rint_test_downward): Likewise.
23203         (rint_test_upward: Likewise.
23205 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
23207         [BZ #10110]
23208         * include/stdc-predef.h: New file.  Extracted from features.h.
23209         * include/features.h: Include stdc-predef.h.
23210         * Makefile (headers): Add stdc-predef.h.
23211         * CONFORMANCE (Compiler limitations): Update.
23213 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
23215         * manual/libc.texinfo (VERSION, UPDATED): Revert.
23217 2012-02-21  David S. Miller  <davem@davemloft.net>
23219         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
23220         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
23222 2012-02-20  David S. Miller  <davem@davemloft.net>
23224         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
23225         using a normal save/restore sequence, rather than allocating a
23226         dummy stack frame just to store a frame pointer and restore.
23227         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
23229 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
23231         * manual/install.texi: Fix stray word in line-wrapped comment.
23233 2012-02-20  David S. Miller  <davem@davemloft.net>
23235         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
23236         both binutils and gcc support GOTDATA.
23238         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
23239         "rd %pc" in the PIC register setup sequences.
23241         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
23242         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
23243         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
23244         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
23245         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
23246         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
23247         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
23248         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
23249         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
23250         (SYSCALL_ERROR_HANDLER): Likewise.
23251         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
23252         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
23253         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
23254         (SYSCALL_ERROR_HANDLER): Likewise.
23256         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
23257         (HAVE_GCC_GOTDATA): New.
23258         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
23259         relocation support in both binutils and gcc.
23260         * sysdeps/sparc/elf/configure: Regenerate.
23262         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
23263         * sysdeps/sparc/sparc32/elf/configure: Delete.
23264         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
23265         * sysdeps/sparc/sparc64/elf/configure: Delete.
23266         * sysdeps/sparc/elf/configure.in: New file.
23267         * sysdeps/sparc/elf/configure: Generate.
23269         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
23270         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
23271         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
23272         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
23273         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
23275 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
23277         * manual/install.texi: Do not mention specific glibc version
23278         numbers.
23279         * manual/libc.texinfo (VERSION, UPDATED): Update.
23280         (@copying): Use @copyright{} and range of years.
23282 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
23284         [BZ #13695]
23285         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
23286         [crti.S not in sysdirs] (generated): Do not append.
23287         [crti.S not in sysdirs] (omit-deps): Likewise.
23288         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
23289         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
23290         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
23291         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
23292         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
23293         Likewise.
23294         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
23295         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
23296         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
23297         * csu/defs.awk: Remove file.
23298         * sysdeps/generic/initfini.c: Likewise.
23299         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
23300         variable.
23301         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
23302         Likewise.
23304 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
23306         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
23307         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
23308         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
23309         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
23310         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
23311         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
23312         <bits/epoll.h>.
23313         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
23314         (__EPOLL_PACKED): Define to empty if not defined by
23315         <bits/epoll.h>.
23316         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
23317         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23318         bits/epoll.h.
23320 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
23322         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
23323         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
23324         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
23325         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
23326         <bits/timerfd.h>.
23327         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
23328         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23329         bits/timerfd.h.
23331 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
23333         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
23334         in C locale.
23335         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
23336         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
23337         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
23338         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23340 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
23342         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
23343         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
23345 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
23347         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
23348         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
23349         defined.
23350         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
23351         Likewise.
23352         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
23353         entry for 2.16.
23355 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
23357         * math/w_acos.c: Use non-signaling floating-point comparisons.
23358         * math/w_acosf.c: Likewise.
23359         * math/w_acosh.c: Likewise.
23360         * math/w_acoshf.c: Likewise.
23361         * math/w_acoshl.c: Likewise.
23362         * math/w_acosl.c: Likewise.
23363         * math/w_asin.c: Likewise.
23364         * math/w_asinf.c: Likewise.
23365         * math/w_asinl.c: Likewise.
23366         * math/w_atanh.c: Likewise.
23367         * math/w_atanhf.c: Likewise.
23368         * math/w_atanhl.c: Likewise.
23369         * math/w_exp2.c: Likewise.
23370         * math/w_exp2f.c: Likewise.
23371         * math/w_exp2l.c: Likewise.
23372         * math/w_j0.c: Likewise.
23373         * math/w_j0f.c: Likewise.
23374         * math/w_j0l.c: Likewise.
23375         * math/w_j1.c: Likewise.
23376         * math/w_j1f.c: Likewise.
23377         * math/w_j1l.c: Likewise.
23378         * math/w_jn.c: Likewise.
23379         * math/w_jnf.c: Likewise.
23380         * math/w_log.c: Likewise.
23381         * math/w_log10.c: Likewise.
23382         * math/w_log10f.c: Likewise.
23383         * math/w_log10l.c: Likewise.
23384         * math/w_log2.c: Likewise.
23385         * math/w_log2f.c: Likewise.
23386         * math/w_log2l.c: Likewise.
23387         * math/w_logf.c: Likewise.
23388         * math/w_logl.c: Likewise.
23389         * math/w_sqrt.c: Likewise.
23390         * math/w_sqrtf.c: Likewise.
23391         * math/w_sqrtl.c: Likewise.
23392         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
23393         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
23394         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
23395         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
23396         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
23398 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
23400         [BZ #9739]
23401         * manual/string.texi (strnlen): Use correct parameter name in
23402         equivalent expression.
23404 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
23406         [BZ #11174]
23407         * manual/users.texi (seteuid): Consistently use neweuid for
23408         argument name.
23410 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
23412         [BZ #13704]
23413         * manual/nss.texi (Services in the NSS configuration): Correct
23414         list of services in example configuration file.
23416 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
23418         [BZ #11322]
23419         * manual/arith.texi: Remove statements about negative zero
23420         behaving identically to zero.
23422 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
23424         [BZ #5993]
23425         * manual/install.texi: Do not document upgrading from libc5.
23427 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
23429         [BZ #4596]
23430         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
23432 2012-02-18  David S. Miller  <davem@davemloft.net>
23434         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
23435         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
23436         %o7 across the call.
23437         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
23438         instead.
23439         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
23440         SETUP_PIC_REG_LEAF.
23441         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
23442         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
23443         * sysdeps/sparc/crtn.S: Likewise.
23445 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
23447         * aout/Makefile: Remove.
23449 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
23451         [BZ #13058]
23452         * manual/examples/argp-ex1.c (main): Format definition in GNU
23453         style.
23454         * manual/examples/argp-ex2.c (main): Likewise.
23455         * manual/examples/argp-ex3.c (main): Likewise.
23456         * manual/examples/argp-ex4.c (main): Likewise.
23457         * manual/examples/longopt.c (main): Use new-style prototype
23458         definition.
23459         * manual/examples/strncat.c (main): Specify return type and use
23460         (void) for arguments.
23461         * manual/examples/subopt.c (main): Use char **argv argument.
23463 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
23465         [BZ #5077]
23466         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
23467         rounding modes.
23469 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
23471         [BZ #6907]
23472         * manual/string.texi (strchr): Change when strchrnul is
23473         recommended.
23475 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
23477         [BZ #174]
23478         * manual/locale.texi (setlocale): Document LOCPATH.
23480 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
23482         [BZ #10210]
23483         * manual/process.texi (execle): Move @dots{} before last argument.
23485 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
23487         [BZ #12047]
23488         * manual/charset.texi (Generic Charset Conversion): Fix typo
23489         (LC_TYPE -> LC_CTYPE).
23491 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
23493         [BZ #5805]
23494         * manual/arith.texi (scalbn): Use @var{} on parameter names.
23495         (scalbnf): Likewise.
23496         (scalbnl): Likewise.
23497         (scalbln): Likewise.
23498         (scalblnf): Likewise.
23499         (scalblnl): Likewise.
23500         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
23501         (vwarnx): Likewise.
23502         (verr): Likewise.
23503         (verrx): Likewise.
23504         * manual/filesys.texi (telldir): Use braces around return type.
23505         * manual/llio.texi (mmap): Add space after comma.
23506         (mmap64): Likewise.
23507         * manual/math.texi (jn): Use @var{} on parameter names.
23508         (jnf): Likewise.
23509         (jnl): Likewise.
23510         (yn): Likewise.
23511         (ynf): Likewise.
23512         (ynl): Likewise.
23513         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
23514         line.
23515         * manual/resource.texi (ulimit): Use @dots{} instead of literal
23516         "...".
23517         (sched_get_priority_min): Remove semicolon on @deftypefun line.
23518         (sched_get_priority_max): Likewise.
23519         * manual/signal.texi (sigvec): Add space after comma.
23520         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
23521         names.
23522         (if_indextoname): Likewise.
23523         (if_freenameindex): Likewise.
23524         (sendto): Use ',' instead of '.' in prototype.
23525         * manual/startup.texi (syscall): Use @dots{} instead of literal
23526         "...".
23527         * manual/stdio.texi (__fpending): Separate initial words of
23528         paragraph from @deftypefun line.
23529         * manual/syslog.texi (syslog): Use @dots{} instead of literal
23530         "...".
23531         (vsyslog): Use @var{} on parameter names.
23532         * manual/terminal.texi (stty): Use @var{} on parameter names.
23533         * manual/users.texi (getutmp): Use @var{} on parameter names.
23534         (getutmpx): Likewise.
23536 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
23538         [BZ #6884]
23539         * manual/stdio.texi (fopen): Fix typos in description of
23540         ",ccs=STRING".
23542 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
23544         [BZ #4026]
23545         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
23546         get clock_id definition.
23548 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
23550         [BZ #4822]
23551         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
23552         (madvise): Cast every argument to void on its own.
23554 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
23556         [BZ #9902]
23557         * manual/startup.texi (Exit Status): Fix typo.
23559 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
23561         [BZ #10140]
23562         * manual/examples/argp-ex1.c: Include <stdlib.h>.
23563         * manual/examples/argp-ex2.c: Likewise.
23564         * manual/examples/argp-ex3.c: Likewise.
23566 2012-02-16  Richard Henderson  <rth@redhat.com>
23568         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
23569         * sysdeps/s390/s390-32/initfini.c: Remove.
23570         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
23571         * sysdeps/s390/s390-64/initfini.c: Remove.
23573 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
23575         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
23576         compiler output for sysdeps/generic/initfini.c.
23577         * sysdeps/sh/elf/initfini.c: Remove file.
23579 2012-02-16  David S. Miller  <davem@davemloft.net>
23581         [BZ #11494]
23582         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
23584         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
23585         * sysdeps/sparc/crti.S: New file.
23586         * sysdeps/sparc/crtn.S: New file.
23587         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
23588         * sysdeps/sparc/sparc64/Makefile: Likewise.
23590 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
23592         [BZ #3335]
23593         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
23595 2012-02-15  Roland McGrath  <roland@hack.frob.com>
23597         [BZ #4822]
23598         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
23600         * mach/devstream.c (cookie_io_functions_t): Macro removed.
23601         (write, read, close): Likewise.
23602         Patch by Aurelien Jarno <aurelien@aurel32.net>.
23604 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
23606         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
23607         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
23608         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
23609         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
23610         <bits/signalfd.h>.
23611         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
23612         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23613         bits/signalfd.h.
23615 2012-02-14  Marek Polacek  <polacek@redhat.com>
23617         * sysdeps/x86_64/crti.S: New file.
23618         * sysdeps/x86_64/crtn.S: New file.
23619         * sysdeps/x86_64/elf/initfini.c: Remove file.
23621 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
23623         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
23624         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
23625         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
23626         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
23627         <bits/inotify.h>.
23628         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
23629         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23630         bits/inotify.h.
23632 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
23634         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
23635         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
23636         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
23637         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
23638         <bits/eventfd.h>.
23639         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
23640         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23641         bits/eventfd.h.
23643 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
23645         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
23646         __feraiseexcept instead of feraiseexcept.
23648         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
23649         nanosleep invocations.
23650         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
23651         strings, and add error checking for a nanosleep invocations.
23653 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
23655         Replace FSF snail mail address with URLs, as per GNU coding standards.
23656         Most of the snail mail addresses were wrong anyway, and omitting
23657         them makes the source code easier to maintain.  Almost all of the
23658         changes are to license notices and to locale LC_IDENTIFICATION
23659         addresses, except for this one:
23660         * manual/libc.texinfo: In "Published by", give the FSF's URL,
23661         not its snail mail address.
23663 2012-02-09  Richard Henderson  <rth@twiddle.net>
23665         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
23666         of kernel-features.h.
23668         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
23670 2012-02-08  Marek Polacek  <polacek@redhat.com>
23672         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
23673         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
23674         * sysdeps/gnu/_G_config.h: Likewise.
23675         * sysdeps/generic/_G_config.h: Likewise.
23677 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
23679         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
23680         tests.
23681         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23683         * sysdeps/powerpc/powerpc32/crti.S: New file.
23684         * sysdeps/powerpc/powerpc32/crtn.S: New file.
23685         * sysdeps/powerpc/powerpc64/crti.S: New file.
23686         * sysdeps/powerpc/powerpc64/crtn.S: New file.
23688         * Makeconfig (have-initfini): Don't set.
23689         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
23690         * configure.in (nopic_initfini): Don't substitute.
23691         * config.h.in (HAVE_INITFINI): Don't #undef.
23692         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
23693         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
23695 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
23697         Support crti.S and crtn.S provided directly by architectures.
23698         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
23699         [crti.S in sysdirs] (omit-deps): Likewise.
23700         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
23701         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
23702         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
23703         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
23704         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
23705         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
23706         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
23707         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
23708         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
23709         compiler output for sysdeps/generic/initfini.c.
23710         * sysdeps/i386/elf/Makefile: Remove file.
23711         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
23713 2012-02-07  Marek Polacek  <polacek@redhat.com>
23715         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
23716         * sysdeps/gnu/_G_config.h: Likewise.
23717         * sysdeps/mach/hurd/_G_config.h: Likewise.
23719 2012-02-07  Marek Polacek  <polacek@redhat.com>
23721         * math/Makefile (tests): Add tst-CMPLX2.
23722         * math/tst-CMPLX2.c: New file.
23724 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
23726         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
23728         * math/libm-test.inc (jn_test): Add missing L suffix.
23730 2012-02-06  Marek Polacek  <polacek@redhat.com>
23732         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
23733         * sysdeps/i386/fpu/e_powf.S: Likewise.
23734         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
23735         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
23736         * sysdeps/i386/fpu/e_acosh.S: Likewise.
23737         * sysdeps/i386/fpu/e_pow.S: Likewise.
23738         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
23739         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
23740         * sysdeps/i386/fpu/s_expm1.S: Likewise.
23741         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
23742         * sysdeps/i386/fpu/e_log2.S: Likewise.
23743         * sysdeps/i386/fpu/e_log2l.S: Likewise.
23744         * sysdeps/i386/fpu/e_scalb.S: Likewise.
23745         * sysdeps/i386/fpu/e_powl.S: Likewise.
23746         * sysdeps/i386/fpu/s_log1p.S: Likewise.
23747         * sysdeps/i386/fpu/e_log10f.S: Likewise.
23748         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
23749         * sysdeps/i386/fpu/e_logl.S: Likewise.
23750         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
23751         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
23752         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
23753         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
23754         * sysdeps/i386/fpu/e_log2f.S: Likewise.
23755         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
23756         * sysdeps/i386/fpu/e_log.S: Likewise.
23757         * sysdeps/i386/fpu/s_cexp.S: Likewise.
23758         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
23759         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
23760         * sysdeps/i386/fpu/e_logf.S: Likewise.
23761         * sysdeps/i386/fpu/e_log10l.S: Likewise.
23762         * sysdeps/i386/fpu/e_atanh.S: Likewise.
23763         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
23764         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
23765         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
23766         * sysdeps/i386/fpu/e_log10.S: Likewise.
23767         * sysdeps/i386/fpu/s_frexp.S: Likewise.
23768         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
23769         * sysdeps/i386/fpu/s_asinh.S: Likewise.
23770         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
23771         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
23772         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
23773         * sysdeps/i386/asm-syntax.h: Likewise.
23774         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
23775         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
23776         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
23777         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
23778         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
23779         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
23780         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
23781         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
23782         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
23783         * sysdeps/powerpc/sysdep.h: Likewise.
23784         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
23785         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
23787 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
23789         [BZ #411]
23790         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
23792 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
23794         * sysdeps/i386/sysdep.h: Include <features.h>.
23795         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
23796         version.
23798 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
23800         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
23801         Define.
23802         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
23803         LOAD_PIC_REG_STR.
23805 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
23807         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
23808         (SETUP_PIC_REG): Use GET_PC_THUNK.
23809         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
23810         macro.
23812 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
23814         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
23815         for non-PIC compilation.
23816         (SETUP_PIC_REG): Add .p2align directive.
23817         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
23818         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
23819         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
23820         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
23821         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
23822         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
23823         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
23824         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
23825         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
23826         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
23827         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
23828         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
23829         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
23830         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
23831         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
23832         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
23833         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
23834         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
23835         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
23836         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
23837         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
23838         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
23839         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
23840         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
23841         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
23842         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
23843         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
23844         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
23845         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
23846         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
23847         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
23848         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
23849         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
23850         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
23851         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
23852         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
23853         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
23854         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
23855         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
23856         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
23857         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
23859 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
23861         * math/tst-CMPLX.c: Include <stdio.h>.
23863 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
23865         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
23866         float.
23867         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
23868         * sysdeps/sparc/bits/mathdef.h: Likewise.
23870 2012-01-31  Marek Polacek  <polacek@redhat.com>
23872         * libio/libio.h: Don't define _PARAMS.
23873         * locale/programs/config.h: Don't define PARAMS.
23874         * stdlib/strtol_l.c: Likewise.
23875         (__strtol_l): Remove PARAMS from the prototype.
23877 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
23879         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
23880         names.  Just use the correct names.  Remove unnecessary wrapper
23881         functions.
23882         * malloc/arena.c: Likewise.
23883         * malloc/hooks.c: Likewise.
23885         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
23886         ARENA_TEST says not to.  Simplify test for creation of a new arena.
23887         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
23889 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
23891         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
23892         into tail calls.
23893         (update_get_addr): New function.
23894         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
23895         GET_ADDR_MODULE parameter.
23897 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
23899         * crypt/cert.c: Remove __STDC__ conditionals.
23900         * crypt/crypt-entry.c: Likewise.
23901         * crypt/crypt_util.c: Likewise.
23902         * libio/filedoalloc.c: Likewise.
23903         * libio/fileops.c: Likewise.
23904         * libio/genops.c: Likewise.
23905         * libio/iofclose.c: Likewise.
23906         * libio/iofdopen.c: Likewise.
23907         * libio/iofopen.c: Likewise.
23908         * libio/iofopen64.c: Likewise.
23909         * libio/iogetdelim.c: Likewise.
23910         * libio/iopopen.c: Likewise.
23911         * libio/obprintf.c: Likewise.
23912         * libio/oldfileops.c: Likewise.
23913         * libio/oldiofclose.c: Likewise.
23914         * libio/oldiofdopen.c: Likewise.
23915         * libio/oldiofopen.c: Likewise.
23916         * libio/oldiopopen.c: Likewise.
23917         * libio/wfiledoalloc.c: Likewise.
23918         * libio/wgenops.c: Likewise.
23919         * locale/programs/xmalloc.c: Likewise.
23920         * misc/syslog.c: Likewise.
23921         * stdio-common/xbug.c: Likewise.
23922         * string/memchr.c: Likewise.
23923         * string/memcmp.c: Likewise.
23924         * string/memrchr.c: Likewise.
23925         * string/rawmemchr.c: Likewise.
23926         * sysdeps/posix/getcwd.c: Likewise.
23927         * time/strftime_l.c: Likewise.
23929 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
23931         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
23932         * config.make.in (config-cflags-sse2avx): Define.
23933         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
23934         Fix typo.
23936 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
23938         * scripts/config.guess: Update from upstream config git repository.
23939         * scripts/config.sub: Likewise.
23941 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
23943         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
23944         (EM_NUM): Update.
23945         (R_TILEPRO_*, R_TILEGX_*): New macros.
23947         * scripts/firstversions.awk: Fix bug in version range handling.
23949         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
23951         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
23953         * include/sys/epoll.h: New file.
23954         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
23955         libc_hidden_def.
23957 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
23959         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
23960         Avoid unnecessary __WORDSIZE == 64 test.
23961         (fmaxf): Use VEX format if possible.
23962         (fmax): Likewise.
23963         (fminf): Likewise.
23964         (fmin): Likewise.
23966         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
23967         * math/math_private.h: Remove libc_fegetround* and
23968         libc_fesetround*.
23969         * sysdeps/i386/configure.in: Check for -msse2avx.
23970         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
23971         also if SSE2AVX is defined.
23972         Remove libc_fegetround* and libc_fesetround*.
23973         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
23974         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
23975         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
23976         of HAS_YMM_USABLE.
23977         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
23978         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
23979         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
23980         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
23981         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
23983         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
23985 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23987         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
23988         size is not set.
23989         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
23991 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
23993         [BZ #13618]
23994         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
23995         relocation.
23996         * Makeconfig (libm): Define.
23997         * elf/Makefile: Add rules to build and run tst-relsort1.
23998         * elf/tst-relsort1.c: New file.
23999         * elf/tst-relsort1mod1.c: New file.
24000         * elf/tst-relsort1mod2.c: New file.
24002 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
24004         * math/s_ldexp.c: Remove __STDC__ conditionals.
24005         * math/s_ldexpf.c: Likewise.
24006         * math/s_ldexpl.c: Likewise.
24007         * math/s_nextafter.c: Likewise.
24008         * math/s_nexttowardf.c: Likewise.
24009         * math/s_significand.c: Likewise.
24010         * math/s_significandf.c: Likewise.
24011         * math/s_significandl.c: Likewise.
24012         * math/w_jnl.c: Likewise.
24013         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
24014         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
24015         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
24016         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
24017         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
24018         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
24019         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
24020         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
24021         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
24022         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
24023         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
24024         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
24025         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
24026         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
24027         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
24028         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
24029         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
24030         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
24031         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
24032         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
24033         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
24034         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
24035         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
24036         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
24037         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
24038         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
24039         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
24040         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
24041         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
24042         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
24043         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
24044         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
24045         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
24046         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
24047         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
24048         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
24049         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
24050         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
24051         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
24052         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
24053         * sysdeps/ieee754/k_standard.c: Likewise.
24054         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
24055         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
24056         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
24057         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
24058         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
24059         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
24060         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
24061         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
24062         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
24063         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
24064         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
24065         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
24066         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
24067         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
24068         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
24069         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
24070         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
24071         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
24072         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
24073         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
24074         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
24075         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
24076         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
24077         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
24078         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
24079         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
24080         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
24081         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
24082         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
24083         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
24084         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
24085         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
24086         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
24087         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
24088         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
24089         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
24090         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
24091         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
24092         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
24093         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
24094         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
24095         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
24096         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
24097         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
24098         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
24099         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
24100         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
24101         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
24102         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
24103         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
24104         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
24105         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
24106         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
24107         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
24108         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
24109         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
24110         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
24111         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
24112         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
24113         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
24114         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
24115         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
24116         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
24117         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
24118         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
24119         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
24120         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
24121         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
24122         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
24123         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
24124         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
24125         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
24126         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
24127         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
24128         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
24129         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
24130         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
24131         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
24132         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
24133         * sysdeps/ieee754/s_matherr.c: Likewise.
24134         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
24135         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
24136         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
24137         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
24139 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
24141         * crypt/md5.h: Remove __STDC__ conditionals.
24142         * libio/libioP.h: Likewise.
24143         * locale/programs/config.h: Likewise.
24144         * sysdeps/generic/sysdep.h: Likewise.
24145         * sysdeps/i386/asm-syntax.h: Likewise.
24146         * sysdeps/s390/asm-syntax.h: Likewise.
24147         * sysdeps/unix/sysdep.h: Likewise.
24148         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
24149         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
24151 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
24153         * libio/libio.h: Remove __STDC__ conditionals.
24154         * malloc/obstack.h: Likewise.
24155         * math/complex.h: Likewise.
24156         * math/math.h: Likewise.
24157         * sysdeps/generic/_G_config.h: Likewise.
24158         * sysdeps/gnu/_G_config.h: Likewise.
24159         * sysdeps/mach/hurd/_G_config.h: Likewise.
24160         * sysdeps/powerpc/bits/mathdef.h: Likewise.
24161         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
24162         * sysdeps/sparc/bits/mathdef.h: Likewise.
24164 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
24166         [BZ #13583]
24167         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
24168         Clean up HAS_* macros.
24169         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
24170         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
24171         possible.
24172         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
24173         HAS_AVX.
24174         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
24175         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
24176         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
24177         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
24178         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
24180 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
24182         * elf/tst-unique3.cc (gets): Remove declaration.
24183         * elf/tst-unique3lib.cc (gets): Likewise.
24184         * elf/tst-unique3lib2.cc (gets): Likewise.
24185         * elf/tst-unique4.cc (gets): Likewise.
24187 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
24189         * include/stdio.h: Add C++ protection.  Add gets declarations and
24190         definitions.
24191         * debug/tst-chk1.c: Don't declare gets here.
24192         * stdio-common/tst-gets.c: Likewise.
24194 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
24196         * posix/glob: Remove directory.
24198 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
24200         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
24202 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
24204         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
24205         of the non-standard EPFNOSUPPORT.
24207 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24209         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
24210         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
24211         ANYWHERE set to 1 only on KERN_NO_SPACE error.
24213 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
24215         * wcsmbs/uchar.h: Test __STDC_VERSION__.
24217 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
24219         * nscd/aicache.c (addhstaiX): Do not cache negative results of
24220         transient errors.
24221         * nscd/grpcache.c (cache_addgr): Likewise.
24222         * nscd/hstcache.c (cache_addhst): Likewise.
24223         * nscd/initgrcache.c (addinitgroupsX): Likewise.
24224         * nscd/pwdcache.c (cache_addpw): Likewise.
24225         * nscd/servicescache.c (cache_addserv): Likewise.
24227 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
24229         * malloc/malloc.c: Various cleanups.
24230         * malloc/hooks.c: Likewise.
24232         * stdlib/Makefile (tests): Add bug-fmtmsg1.
24233         * stdlib/bug-fmtmsg1.c: New file.
24235         * stdlib/fmtmsg.c (init): Add missing unlock.
24236         Patch by Peng Haitao <penght@cn.fujitsu.com>.
24238 2012-01-12  Marek Polacek  <polacek@redhat.com>
24240         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
24241         and _GNU_SOURCE.
24243 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
24245         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
24246         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
24247         macro to ensure uniqueness of label name.
24248         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
24249         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
24251 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
24253         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
24255         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
24256         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
24257         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
24258         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
24260 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
24262         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
24264         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
24265         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
24266         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
24268         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
24270         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
24271         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
24272         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
24273         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
24275         * math/bits/math-finite.h: Add ldexp support.
24277 2012-01-10  Marek Polacek  <polacek@redhat.com>
24279         * locale/programs/localedef.h (show_archive_content): Add noreturn
24280         attribute.
24282 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
24284         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
24286 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
24288         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
24290         * io/Makefile (headers): Add bits/poll2.h.
24292 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
24294         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
24295         typo #include statement.
24297 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
24299         * include/sys/cdefs.h: Define __attribute_alloc_size.
24300         * catgets/gencat.c: Add alloc_size attribute and apply consistently
24301         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
24302         * elf/pldd.c: Likewise.
24303         * iconv/iconv_charmap.c: Likewise.
24304         * iconv/iconvconfig.c: Likewise.
24305         * iconv/strtab.c: Likewise.
24306         * locale/programs/locale.c: Likewise.
24307         * locale/programs/localedef.h: Likewise.
24308         * locale/programs/simple-hash.c: Likewise.
24309         * nscd/nscd.h: Likewise.
24310         * nss/makedb.c: Likewise.
24311         * sysdeps/generic/ldconfig.h: Likewise.
24312         * locale/programs/localedef.c: Remove xmalloc prototype.
24313         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
24315 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
24317         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
24318         appropriate.
24320 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
24322         * math/Makefile (tests): Add tst-CMPLX.
24323         * math/tst-CMPLX.c: New file.
24325         * math/complex.h (CMPLXL): Fix typo.
24327         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
24328         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
24329         GLIBC_2.16.
24330         * debug/tst-chk1.c: Add poll and ppoll tests.
24331         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
24332         * include/sys/poll.h: Add hidden proto for ppoll.
24333         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
24334         * sysdeps/mach/hurd/ppoll.c: Likewise.
24335         * io/ppoll.c: Likewise.
24336         * debug/poll_chk.c: New file.
24337         * debug/ppoll_chk.c: New file.
24338         * include/bits/poll2.h: New file.
24339         * io/bits/poll2.h: New file.
24341         [BZ #1350]
24342         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
24344         * configure.in: static is always set to yes.  Remove.
24345         * config.make.in: Don't set build-static.
24346         * Makeconfig: Remove use of build-static.
24347         * dlfcn/Makefile: Likewise.
24348         * elf/Makefile: Likewise.
24349         * math/Makefile: Likewise.
24350         * misc/Makefile: Likewise.
24351         * nptl/Makefile: Likewise.
24352         * sysdeps/mach/hurd/Makefile: Likewise.
24354         * configure.in: PWD_P is not used anymore.
24355         * config.make.in: Remove PWD_P entry.
24357         * configure.in: Remove last remnants of RANLIB.
24358         No need to check for signed size_t anymore.
24359         Don't set libc_commonpagesize and libc_relro_required here for Alpha
24360         and IA-64.
24361         Remove __builtin_expect test because we require at least gcc 3.4.
24362         * aclocal.m4: Likewise.
24364         * wcsmbs/mbrtoc16.c: Implement using towc function.
24365         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
24366         * wcsmbs/wcsmbsload.c: Likewise.
24367         * iconv/gconv_simple.c: Likewise.
24368         * iconv/gconv_int.h: Likewise.
24369         * iconv/gconv_builtin.h: Likewise.
24370         * iconv/iconv_prog.c: Remove CHAR16 handling.
24372         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
24374         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
24376         * configure.in: Remove --with-elf and --enable-bounded options.
24377         Dont set base_machine for ia64.  More non-ELF conditions removed.
24378         Remove testing and setting of leading underscore information.
24379         * config.make.in (build-bounded): Set to no.
24380         * config.h.in: Remove NO_UNDERSCORES entry.
24381         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
24382         them.
24383         * csu/start.c: Remove !NO_UNDERSCORE code.
24384         * locale/localeinfo.h: Likewise.
24385         * sysdeps/generic/machine-gmon.h: Likewise.
24386         * sysdeps/generic/sysdep.h: Likewise.
24387         * sysdeps/i386/sysdep.h: Likewise.
24388         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
24389         * sysdeps/mach/sysdep.h: Likewise.
24390         * sysdeps/s390/s390-32/sysdep.h: Likewise.
24391         * sysdeps/s390/s390-64/sysdep.h: Likewise.
24392         * sysdeps/sh/sysdep.h: Likewise.
24393         * sysdeps/sparc/sparc32/alloca.S: Likewise.
24394         * sysdeps/unix/i386/sysdep.S: Likewise.
24395         * sysdeps/unix/sparc/start.c: Likewise.
24396         * sysdeps/unix/sparc/sysdep.S: Likewise.
24397         * sysdeps/unix/sparc/sysdep.h: Likewise.
24398         * sysdeps/unix/start.c: Likewise.
24399         * sysdeps/unix/x86_64/sysdep.S: Likewise.
24400         * sysdeps/x86_64/sysdep.h: Likewise.
24402 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
24404         [BZ #13553]
24405         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
24406         for non-gcc.
24407         * argp/argp-fmtstream.h: Use const instead __const.
24408         * argp/argp.h: Likewise.
24409         * assert/assert.h: Likewise.
24410         * bits/fenv.h: Likewise.
24411         * bits/sched.h: Likewise.
24412         * bits/sigset.h: Likewise.
24413         * bits/sigthread.h: Likewise.
24414         * catgets/nl_types.h: Likewise.
24415         * conform/data/pthread.h-data: Likewise.
24416         * crypt/crypt-private.h: Likewise.
24417         * crypt/crypt.h: Likewise.
24418         * crypt/crypt_util.c: Likewise.
24419         * ctype/ctype.h: Likewise.
24420         * debug/execinfo.h: Likewise.
24421         * debug/mbsnrtowcs_chk.c: Likewise.
24422         * debug/mbsrtowcs_chk.c: Likewise.
24423         * debug/wcsnrtombs_chk.c: Likewise.
24424         * debug/wcsrtombs_chk.c: Likewise.
24425         * debug/wcstombs_chk.c: Likewise.
24426         * dirent/dirent.h: Likewise.
24427         * dlfcn/dlfcn.h: Likewise.
24428         * elf/neededtest4.c: Likewise.
24429         * grp/grp.h: Likewise.
24430         * gshadow/gshadow.h: Likewise.
24431         * iconv/gconv.h: Likewise.
24432         * iconv/gconv_int.h: Likewise.
24433         * iconv/gconv_simple.c: Likewise.
24434         * iconv/iconv.h: Likewise.
24435         * iconv/loop.c: Likewise.
24436         * iconv/skeleton.c: Likewise.
24437         * include/aio.h: Likewise.
24438         * include/aliases.h: Likewise.
24439         * include/argz.h: Likewise.
24440         * include/arpa/inet.h: Likewise.
24441         * include/assert.h: Likewise.
24442         * include/dirent.h: Likewise.
24443         * include/dlfcn.h: Likewise.
24444         * include/execinfo.h: Likewise.
24445         * include/fcntl.h: Likewise.
24446         * include/fenv.h: Likewise.
24447         * include/glob.h: Likewise.
24448         * include/grp.h: Likewise.
24449         * include/libintl.h: Likewise.
24450         * include/mntent.h: Likewise.
24451         * include/netdb.h: Likewise.
24452         * include/pwd.h: Likewise.
24453         * include/rpc/netdb.h: Likewise.
24454         * include/sched.h: Likewise.
24455         * include/search.h: Likewise.
24456         * include/shadow.h: Likewise.
24457         * include/signal.h: Likewise.
24458         * include/stdio.h: Likewise.
24459         * include/stdlib.h: Likewise.
24460         * include/string.h: Likewise.
24461         * include/sys/socket.h: Likewise.
24462         * include/sys/stat.h: Likewise.
24463         * include/sys/statfs.h: Likewise.
24464         * include/sys/statvfs.h: Likewise.
24465         * include/sys/syslog.h: Likewise.
24466         * include/sys/time.h: Likewise.
24467         * include/sys/uio.h: Likewise.
24468         * include/time.h: Likewise.
24469         * include/unistd.h: Likewise.
24470         * include/utmp.h: Likewise.
24471         * include/wchar.h: Likewise.
24472         * include/wctype.h: Likewise.
24473         * inet/aliases.h: Likewise.
24474         * inet/arpa/inet.h: Likewise.
24475         * inet/netinet/ether.h: Likewise.
24476         * inet/netinet/in.h: Likewise.
24477         * intl/libintl.h: Likewise.
24478         * io/bits/fcntl2.h: Likewise.
24479         * io/fcntl.h: Likewise.
24480         * io/ftw.h: Likewise.
24481         * io/sys/poll.h: Likewise.
24482         * io/sys/stat.h: Likewise.
24483         * io/sys/statfs.h: Likewise.
24484         * io/sys/statvfs.h: Likewise.
24485         * io/utime.h: Likewise.
24486         * libio/bits/stdio.h: Likewise.
24487         * libio/bits/stdio2.h: Likewise.
24488         * libio/libio.h: Likewise.
24489         * libio/libioP.h: Likewise.
24490         * libio/stdio.h: Likewise.
24491         * locale/lc-ctype.c: Likewise.
24492         * locale/locale.h: Likewise.
24493         * login/utmp.h: Likewise.
24494         * malloc/arena.c: Likewise.
24495         * malloc/malloc.c: Likewise.
24496         * malloc/malloc.h: Likewise.
24497         * malloc/mcheck.c: Likewise.
24498         * malloc/mtrace.c: Likewise.
24499         * math/bits/mathcalls.h: Likewise.
24500         * math/fenv.h: Likewise.
24501         * math/math_private.h: Likewise.
24502         * misc/bits/error.h: Likewise.
24503         * misc/bits/syslog.h: Likewise.
24504         * misc/err.h: Likewise.
24505         * misc/error.h: Likewise.
24506         * misc/fstab.h: Likewise.
24507         * misc/mntent.h: Likewise.
24508         * misc/regexp.h: Likewise.
24509         * misc/search.h: Likewise.
24510         * misc/sgtty.h: Likewise.
24511         * misc/sys/mman.h: Likewise.
24512         * misc/sys/syslog.h: Likewise.
24513         * misc/sys/uio.h: Likewise.
24514         * misc/sys/xattr.h: Likewise.
24515         * misc/ttyent.h: Likewise.
24516         * nis/rpcsvc/ypclnt.h: Likewise.
24517         * nss/nss.h: Likewise.
24518         * posix/bits/unistd.h: Likewise.
24519         * posix/fnmatch.h: Likewise.
24520         * posix/glob.h: Likewise.
24521         * posix/sched.h: Likewise.
24522         * posix/spawn.h: Likewise.
24523         * posix/sys/wait.h: Likewise.
24524         * posix/unistd.h: Likewise.
24525         * posix/wordexp.h: Likewise.
24526         * pwd/pwd.h: Likewise.
24527         * resolv/netdb.h: Likewise.
24528         * resource/sys/resource.h: Likewise.
24529         * rt/aio.h: Likewise.
24530         * rt/bits/mqueue2.h: Likewise.
24531         * rt/mqueue.h: Likewise.
24532         * shadow/shadow.h: Likewise.
24533         * signal/signal.h: Likewise.
24534         * socket/send.c: Likewise.
24535         * socket/sendto.c: Likewise.
24536         * socket/sys/socket.h: Likewise.
24537         * stdio-common/printf.h: Likewise.
24538         * stdlib/bits/stdlib.h: Likewise.
24539         * stdlib/fmtmsg.h: Likewise.
24540         * stdlib/monetary.h: Likewise.
24541         * stdlib/stdlib.h: Likewise.
24542         * stdlib/ucontext.h: Likewise.
24543         * streams/stropts.h: Likewise.
24544         * string/argz.h: Likewise.
24545         * string/bits/string2.h: Likewise.
24546         * string/string.h: Likewise.
24547         * string/strings.h: Likewise.
24548         * sunrpc/rpc/auth.h: Likewise.
24549         * sunrpc/rpc/auth_des.h: Likewise.
24550         * sunrpc/rpc/clnt.h: Likewise.
24551         * sunrpc/rpc/netdb.h: Likewise.
24552         * sunrpc/rpc/pmap_clnt.h: Likewise.
24553         * sunrpc/rpc/xdr.h: Likewise.
24554         * sysdeps/generic/inttypes.h: Likewise.
24555         * sysdeps/generic/net/if.h: Likewise.
24556         * sysdeps/generic/sys/swap.h: Likewise.
24557         * sysdeps/gnu/net/if.h: Likewise.
24558         * sysdeps/gnu/utmpx.h: Likewise.
24559         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
24560         * sysdeps/i386/i486/bits/string.h: Likewise.
24561         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
24562         * sysdeps/s390/bits/string.h: Likewise.
24563         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
24564         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
24565         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
24566         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
24567         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
24568         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
24569         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
24570         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
24571         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
24572         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
24573         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
24574         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
24575         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
24576         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
24577         * sysdeps/unix/sysv/linux/readv.c: Likewise.
24578         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
24579         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
24580         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
24581         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
24582         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
24583         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
24584         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
24585         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
24586         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
24587         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
24588         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
24589         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
24590         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
24591         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
24592         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
24593         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
24594         * sysvipc/sys/ipc.h: Likewise.
24595         * sysvipc/sys/msg.h: Likewise.
24596         * sysvipc/sys/sem.h: Likewise.
24597         * sysvipc/sys/shm.h: Likewise.
24598         * termios/termios.h: Likewise.
24599         * time/sys/time.h: Likewise.
24600         * time/time.h: Likewise.
24601         * wcsmbs/bits/wchar2.h: Likewise.
24602         * wcsmbs/uchar.h: Likewise.
24603         * wcsmbs/wchar.h: Likewise.
24604         * wctype/wctype.h: Likewise.
24606         [BZ #13551]
24607         * Makeconfig: Remove all but ELF support including AIX support.
24608         * Makerules: Likewise.
24609         * config.h.in: Likewise.
24610         * config.make.in: Likewise.
24611         * configure: Likewise.
24612         * configure.in: Likewise.
24613         * csu/Makefile: Likewise.
24614         * csu/version.c: Likewise.
24615         * debug/Makefile: Likewise.
24616         * dlfcn/Makefile: Likewise.
24617         * elf/Makefile: Likewise.
24618         * extra-lib.mk: Likewise.
24619         * iconv/Makefile: Likewise.
24620         * include/libc-symbols.h: Likewise.
24621         * include/shlib-compat.h: Likewise.
24622         * resolv/Makefile: Likewise.
24623         * resolv/res_libc.c: Likewise.
24624         * rt/Makefile: Likewise.
24625         * sysdeps/i386/asm-syntax.h: Likewise.
24626         * sysdeps/i386/sysdep.h: Likewise.
24627         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
24628         * sysdeps/mach/sysdep.h: Likewise.
24629         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
24630         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
24631         * sysdeps/s390/asm-syntax.h: Likewise.
24632         * sysdeps/s390/s390-32/sysdep.h: Likewise.
24633         * sysdeps/s390/s390-64/sysdep.h: Likewise.
24634         * sysdeps/sh/sysdep.h: Likewise.
24635         * sysdeps/unix/sparc/sysdep.h: Likewise.
24636         * sysdeps/wordsize-32/divdi3.c: Likewise.
24637         * sysdeps/x86_64/sysdep.h: Likewise.
24639         * argp/Versions: Remove _argp_unlock_xxx.
24641         [BZ #13559]
24642         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
24643         * abilist/libBrokenLocale.abilist: Likewise.
24644         * abilist/libanl.abilist: Likewise.
24645         * abilist/libc.abilist: Likewise.
24646         * abilist/libcrypt.abilist: Likewise.
24647         * abilist/libdl.abilist: Likewise.
24648         * abilist/libm.abilist: Likewise.
24649         * abilist/libnsl.abilist: Likewise.
24650         * abilist/libpthread.abilist: Likewise.
24651         * abilist/libresolv.abilist: Likewise.
24652         * abilist/librt.abilist: Likewise.
24653         * abilist/libthread_db.abilist: Likewise.
24654         * abilist/libutil.abilist: Likewise.
24655         * abilist/libnss_db.abilist: New file.
24657         * scripts/abilist.awk: Add support for indirect functions.
24659         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
24661         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
24663         * shlib-versions: Remove entries for ports architectures.
24665         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
24666         files in ports.
24667         * elf/stackguard-macros.h: Remove support for IA-64.
24668         * elf/tst-auditmod1.c: Likewise.
24669         * sysdeps/generic/ldsodefs.h: Likewise.
24671         * sysdeps/unix/sysv/linux/configure.in: Ports should define
24672         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
24673         configure files.
24675         [BZ #13552]
24676         * configure.in: Remove --enable-omitfp support.
24677         * FAQ.in: Adjust.
24678         * config.make.in: Likewise.
24679         * Makeconfig: Likewise.
24680         * manual/install.texi: Likewise.
24682         In case anyone cares, the IA-64 architecture could move to ports.
24683         * sysdeps/ia64/*: Removed.
24684         * sysdeps/unix/sysv/linux/ia64/*: Removed.
24685         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
24687         [BZ #13555]
24688         * configure.in: Remove entries for unsupported architectures.
24690         [BZ #13533]
24691         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
24692         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
24693         routines.
24694         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
24695         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
24696         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
24697         fall back to using wcrtomb.
24698         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
24699         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
24700         renaming.
24701         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
24702         * wcsmbs/tst-c16c32-1.c: New file.
24704         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
24705         local variable.
24707         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
24709         * elf/tst-unique3.cc: Add explicit declaration of gets.
24710         * elf/tst-unique3lib.cc: Likewise.
24711         * elf/tst-unique3lib2.cc: Likewise.
24712         * elf/tst-unique4.cc: Likewise.
24714         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
24716 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
24718         [BZ #13566]
24719         * assert/assert.h (static_assert): Don't define for C++.
24720         * libio/stdio.h (gets): Do declare for C++ <= C++11.
24721         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
24723 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
24725         * iconv/loop.c (single loop): Fix assertion in storing of
24726         remaining bytes.
24728         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
24730 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
24732         * posix/getconf.c: Update copyright year.
24733         * nss/getent.c: Likewise.
24734         * nss/makedb.c: Likewise.
24735         * iconv/iconvconfig.c: Likewise.
24736         * iconv/iconv_prog.c: Likewise.
24737         * elf/ldconfig.c: Likewise.
24738         * elf/pldd.c: Likewise.
24739         * elf/sotruss.ksh: Likewise.
24740         * catgets/gencat.c: Likewise.
24741         * csu/version.c: Likewise.
24742         * elf/ldd.bash.in: Likewise.
24743         * elf/sprof.c (print_version): Likewise.
24744         * locale/programs/locale.c: Likewise.
24745         * locale/programs/localedef.c: Likewise.
24746         * login/programs/pt_chown.c: Likewise.
24747         * nscd/nscd.c (print_version): Likewise.
24748         * debug/xtrace.sh: Likewise.
24749         * malloc/memusage.sh: Likewise.
24750         * malloc/mtrace.pl: Likewise.
24751         * debug/catchsegv.sh: Likewise.
24753 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
24755         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
24756         pure attribute.
24758 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
24760         [BZ #13533]
24761         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
24762         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
24763         transformations.
24764         * iconv/gconv_int.h: Likewise.
24765         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
24766         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
24767         from libc for GLIBC_2.16.
24768         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
24769         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
24770         * wcsmbs/uchar.h: Really define mbstate_t.
24771         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
24772         * wcsmbs/c16rtomb.c: New file.
24773         * wcsmbs/mbrtoc16.c: New file.
24774         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
24775         for C/POSIX locale.
24776         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
24777         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
24779         * wcsmbs/wchar.h: Add missing __restrict.
24781 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
24783         [BZ #13532]
24784         * time/Makefile (routines): Add timespec_get.
24785         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
24786         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
24787         timespec for ISO C11.
24788         * time/timespec_get.c: New file.
24789         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
24790         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
24792         [BZ #13531]
24793         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
24794         * stdlib/stdlib.h: Declare aligned_alloc.
24795         * Versions.def: Add GLIBC_2.16 for libc.
24796         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
24798         [BZ 13527]
24799         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
24800         ISO C11.
24802         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
24803         code.
24805         [BZ #13528]
24806         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
24808         [BZ #13529]
24809         * assert/assert.h (static_assert): Define.
24811         * version.h: Update for 2.16 development version.
24813         [BZ #13526]
24814         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
24815         _ISOC11_SOURCE.
24817         * version.h (RELEASE): Bump for 2.15 release.
24818         * include/features.h (__GLIBC_MINOR__): Bump to 15.
24820         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
24821         Patch by Marek Polacek <mpolacek@redhat.com>.
24823         * bits/byteswap.h: Protect long long constants with __extension__.
24824         * sysdeps/i386/bits/byteswap.h: Likewise.
24825         * sysdeps/ia64/bits/byteswap.h: Likewise.
24826         * sysdeps/s390/bits/byteswap.h: Likewise.
24827         * sysdeps/x86_64/bits/byteswap.h: Likewise.
24829 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
24831         [BZ #13540]
24832         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
24833         destination buffer.
24834         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
24836 2011-12-23  Marek Polacek  <polacek@redhat.com>
24838         * elf/dl-addr.c (determine_info): Add inline keyword.
24839         * elf/tst-auditmod4b.c (check_avx): Likewise.
24840         * elf/tst-auditmod6b.c (check_avx): Likewise.
24841         * elf/tst-auditmod6c.c (check_avx): Likewise.
24842         * elf/tst-auditmod7b.c (check_avx): Likewise.
24844 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
24846         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
24847         !__SSE_MATH__.
24849 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
24851         [BZ #13540]
24852         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
24853         processing for last bytes.
24855 2011-08-06  Bruno Haible  <bruno@clisp.org>
24857         [BZ #13061]
24858         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
24859         U+0385, not to U+1FEE.
24861         [BZ #13062]
24862         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
24863         entry for U+00A5 U+0301.
24865 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
24867         [BZ #13166]
24868         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
24869         buffer for the output is too small.
24871         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
24872         optimization.
24874         [BZ #13185]
24875         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
24876         SSE flags if possible.
24878 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
24880         [BZ #13540]
24881         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
24882         processing for last bytes.
24884 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
24886         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
24887         (syscall-list-default-options, syscall-list-default-condition)
24888         (syscall-list-includes): Define.
24889         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
24890         list of ABIs and options and #if conditions for each ABI.  Do not
24891         handle common syscalls between ABIs specially.
24892         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
24893         Remove.
24894         (syscall-list-variants, syscall-list-32bit-options)
24895         (syscall-list-32bit-condition, syscall-list-64bit-options)
24896         (syscall-list-64bit-condition): Define.
24897         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
24898         (syscall-list-variants, syscall-list-32bit-options)
24899         (syscall-list-32bit-condition, syscall-list-64bit-options)
24900         (syscall-list-64bit-condition): Define.
24901         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
24902         Remove.
24903         (syscall-list-variants, syscall-list-32bit-options)
24904         (syscall-list-32bit-condition, syscall-list-64bit-options)
24905         (syscall-list-64bit-condition): Define.
24906         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
24907         Remove.
24908         (syscall-list-variants, syscall-list-32bit-options)
24909         (syscall-list-32bit-condition, syscall-list-64bit-options)
24910         (syscall-list-64bit-condition): Define.
24912 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
24914         * locale/iso-639.def: Add brx entry.
24916         [BZ #13328]
24917         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
24918         Proposed by Mariusz_Cukr <marcukr@op.pl>.
24920         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
24921         __feraiseexcept_renamed.
24923 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
24925         [BZ #13538]
24926         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
24927         EPOLLET with unsigned values.
24928         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
24929         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
24931         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
24932         to large cancellation.
24933         * math/s_cacoshf.c: Likewise.
24934         * math/s_cacoshl.c: Likewise.
24936 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
24938         [BZ #13305]
24939         [BZ #12786]
24940         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
24941         * math/s_cacoshf.c: Likewise.
24942         * math/s_cacoshl.c: Likewise.
24944 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
24946         [BZ #13439]
24947         * iconv/gconv.h: Define __GCONV_SWAP.
24948         * iconvdata/unicode.c: The swap bit must be stored in __flags.
24949         * iconvdata/utf-16.c: Likewise.
24950         * iconvdata/utf-32.c: Likewise.
24952 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
24954         [BZ #13524]
24955         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
24956         numerator after shifting it by one limb.
24958 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
24960         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
24961         under [__USE_EXTERN_INLINES].
24963 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
24965         [BZ #13446]
24966         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
24968 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24970         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
24971         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
24972         optimized code.
24973         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
24974         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
24975         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
24976         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
24977         for strncasecmp/strncasecmp_l compilation.
24978         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
24979         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
24981 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
24983         [BZ #13484]
24984         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
24985         of __asm__.
24987 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
24989         [BZ #13506]
24990         * time/tzfile.c (__tzfile_read): Check values from file header.
24992 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
24994         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
24995         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
24996         * powerpc/powerpc32/dl-start.S: Likewise.
24997         * powerpc/powerpc32/elf/start.S: Likewise.
24998         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
24999         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
25000         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
25001         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
25002         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
25003         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
25004         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
25005         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
25006         * powerpc/powerpc32/fpu/s_round.S: Likewise.
25007         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
25008         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
25009         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
25010         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
25011         * powerpc/powerpc32/memset.S: Likewise.
25012         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
25013         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
25014         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
25015         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
25016         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
25017         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
25018         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
25019         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
25020         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
25021         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
25022         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
25023         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
25024         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
25026 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25028         * math/libm-test.inc: Added more nearbyint tests.
25029         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
25030         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
25031         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
25032         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
25034 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
25036         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
25037         FD_CLOEXEC.
25039 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
25041         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
25042         Add wcscpy-ssse3 wcscpy-c.
25043         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
25044         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
25045         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
25046         * sysdeps/x86_64/wcschr.S: New file.
25047         * sysdeps/x86_64/wcsrchr.S: New file.
25048         * string/test-strcmp.c: Remove checking of wcscmp function for
25049         wrong alignments.
25050         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
25051         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
25052         wcsrchr-sse2 wcsrchr-c.
25053         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
25054         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
25055         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
25056         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
25057         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
25058         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
25059         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
25060         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
25061         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
25062         * wcsmbc/wcschr.c (WCSCHR): New macro.
25064 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
25066         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
25067         * wcsmbs/test-wcsrchr.c: New file.
25068         * string/test-strrchr.c: Add wcsrchr support.
25069         (WIDE): New macro.
25070         * wcsmbs/test-wcscpy.c: New file.
25071         * string/test-strcpy.c: Add wcscpy support.
25072         (WIDE): New macro.
25074 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
25076         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
25077         the inner loop.
25079 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
25081         [BZ #13472]
25082         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
25084 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
25086         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
25087         Minor optimizations.
25089         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
25090         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
25091         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
25093 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
25095         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
25096         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
25097         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
25098         for gcc to avoid warnings.
25099         * inet/Makefile (tests): Add tst-checks.
25100         * inet/tst-checks.c: New file.
25102         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
25103         warning.
25105         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
25106         __wmemcmp_sse2.
25108         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
25109         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
25111         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
25113 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
25115         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
25116         problem.
25118         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
25120 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
25122         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
25123         conditional on GCC version.
25124         (__arch_compare_and_exchange_val_8_acq)
25125         (__arch_compare_and_exchange_val_16_acq)
25126         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
25127         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
25128         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
25130 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
25132         * sysdeps/sh/backtrace.c: New file.
25134 2011-12-02  Andreas Schwab  <schwab@redhat.com>
25136         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
25137         parenthesis.
25139 2011-12-01  Andreas Schwab  <schwab@redhat.com>
25141         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
25142         falling back to utime.
25144 2011-11-30  Andreas Schwab  <schwab@redhat.com>
25146         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
25147         expectations for float.
25149 2011-11-29  Andreas Schwab  <schwab@redhat.com>
25151         * locale/weight.h (findidx): Add parameter len.
25152         * locale/weightwc.h (findidx): Likewise.
25153         * posix/fnmatch_loop.c (FCT): Adjust caller.
25154         * posix/regcomp.c (build_equiv_class): Likewise.
25155         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
25156         * posix/regexec.c (check_node_accept_bytes): Likewise.
25157         * string/strcoll_l.c (STRCOLL): Likewise.
25158         * string/strxfrm_l.c (STRXFRM): Likewise.
25160 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
25162         * Makefile.in: Remove CVSOPT handling.
25163         * configure.in: Remove use of AC_REVISION.
25164         * iconvdata/Makefile (distribute): No need to filter out CVS.
25165         * scripts/list-sources.sh: Remove CVS, subversion and monotone
25166         handling.
25168 2011-11-16  Andreas Schwab  <schwab@redhat.com>
25170         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
25171         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
25172         [USE_AS_STRNCASECMP_L]: Likewise.
25173         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
25174         NO_TLS_DIRECT_SEG_REFS.
25175         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
25176         Fix argument offsets for non-PIC.
25177         [USE_AS_STRNCASECMP_L]: Likewise.
25178         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
25179         NO_TLS_DIRECT_SEG_REFS.
25181 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
25183         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
25184         O_CLOEXEC.
25185         * locale/loadlocale.c (_nl_load_locale): Likewise.
25187 2011-11-15  Andreas Schwab  <schwab@redhat.com>
25189         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
25190         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
25191         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
25192         (SYSCALL_GETTIME): Set errno on error.
25194         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
25195         count references to noai6ai_cached.
25197 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
25199         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
25201         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
25202         FD_CLOEXEC for /proc/self/maps.
25204         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
25205         FD_CLOEXEC for /proc/meminfo.
25207         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
25208         gai.conf.
25210         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
25211         FD_CLOEXEC for given file.
25213         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
25215         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
25216         FD_CLOEXEC for /etc/hosts.
25217         (_gethtent): Likewise.
25219         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
25221         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
25222         cancellation and set FD_CLOEXEC for /etc/netgroup.
25224         * nss/nss_files/files-key.c (search): Don't allow cancellation when
25225         reading /etc/publickey.
25227         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
25228         allow cancellation when reading /etc/group.
25230         * nss/nss_files/files-alias.c (internal_setent): Don't allow
25231         cancellation.
25232         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
25234         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
25235         when using data file.
25237         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
25239         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
25240         (write_nis_obj): Use "c" and "e" in fopen.
25242         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
25244         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
25246         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
25248         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
25250         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
25251         locale.alias.
25253         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
25255         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
25257         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
25259         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
25260         file parsing and set FD_CLOEXEC.
25262 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
25264         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
25266 2011-11-14  Andreas Schwab  <schwab@redhat.com>
25268         * malloc/arena.c (arena_get2): Don't call reused_arena when
25269         _int_new_arena failed.
25271 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
25273         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
25274         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
25275         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
25276         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
25277         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
25278         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
25279         to compile strcasecmp and strncasecmp.
25280         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
25281         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
25283         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
25285 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
25287         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
25288         locale-defines.sym to gen-as-const-headers.
25289         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
25290         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
25291         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
25292         to compile strcasecmp and strncasecmp.
25293         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
25294         strcasecmp_l and strncasecmp_l.
25295         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
25296         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
25297         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
25298         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
25299         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
25300         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
25301         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
25302         * sysdeps/i386/i686/multiarch/strncase.S: New file.
25303         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
25304         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
25305         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
25307 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
25309         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
25310         result of SYSDEP_GETTIME_CPU to retval.
25311         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
25312         parameter list to macro.  Remove trailing semicolon.  Adjust users.
25314         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
25315         variable.
25317         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
25318         mantissa words.
25319         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
25321         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
25322         from unused variable.
25324         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
25325         DWARF definitions.
25326         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
25327         for assembling.
25329         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
25330         over namespaces.
25332         * sunrpc/rpc_prot.c (rejected): Fix case value.
25334         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
25335         unsigned long long int to avoid warnings in shift.
25337         * posix/regex_internal.c (re_string_reconstruct): Actually use result
25338         of use of trans.
25339         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
25340         variable tmp.
25342         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
25343         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
25344         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
25346         * nis/nis_table.c (nis_list): Use variable of correct type for
25347         result of __follow_path call.
25349 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25351         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
25352         of math functions ceil, trunc, floor, round, and sqrt, when
25353         avaliable on the platform.
25354         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
25355         name clash.
25356         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
25357         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
25358         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
25360 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
25362         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
25363         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
25365 2011-11-11  Roland McGrath  <roland@hack.frob.com>
25367         * include/unistd.h: Fix __readlink return type.
25368         Reported by Chris Metcalf <cmetcalf@tilera.com>.
25370 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
25372         * stdlib/ucontext.h: Undo last change for makecontext.
25374 2011-11-11  Andreas Schwab  <schwab@redhat.com>
25376         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
25378         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
25379         * setjmp/setjmp.h: Mark functions as non-leaf.
25380         * setjmp/bits/setjmp2.h: Likewise.
25381         * stdlib/ucontext.h: Likewise.
25383 2011-11-10  Andreas Schwab  <schwab@redhat.com>
25385         * malloc/arena.c (_int_new_arena): Don't increment narenas.
25386         (reused_arena): Don't check arena limit.
25387         (arena_get2): Atomically check arena limit.
25389 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
25391         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
25392         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
25394         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
25395         instructions.
25397 2011-11-07  Andreas Schwab  <schwab@redhat.com>
25399         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
25400         handler when locking.
25402         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
25403         Fix size of allocated buffer.
25405 2011-11-04  Andreas Schwab  <schwab@redhat.com>
25407         [BZ #10103]
25408         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
25409         declarations for long double functions.
25410         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
25412         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
25414 2011-11-03  Andreas Schwab  <schwab@redhat.com>
25416         * nscd/nscd.c (main): Don't start AVC thread until credentials are
25417         installed.
25419         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
25420         is disabled.
25422 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25424         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
25426 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
25428         * include/alloca.h (stackinfo_alloca_round): Define.
25429         (extend_alloca): Use it.
25430         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
25431         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
25432         here.
25434         * scripts/check-local-headers.sh: Ignore libaudit.h.
25436         * nscd/Makefile (extra-objs): Make recursively expanded.
25438 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
25440         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
25441         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
25443         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
25444         * posix/tst-rfc3484-2.c: Likewise.
25445         * posix/tst-rfc3484-3.c: Likewise.
25447         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
25448         process_vm_writev.
25449         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
25450         process_vm_writev.
25451         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
25452         process_vm_writev from libc using GLIBC_2.15 version.
25454         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
25456 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
25458         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
25459         stack usage.
25461 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
25463         [BZ #13367]
25464         * nss/getent.c (initgroups_keys): Show error message in case no group
25465         names are given.
25467         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
25468         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
25469         __bump_nl_timestamp.
25470         * nscd/connections (nscd_init): When host database is served open
25471         netlink socket and request notification about configuration changes.
25472         (main_loop_poll): Track netlink file descriptor and bump timestamp
25473         in case data becomes available.
25474         (main_loop_epoll): Likewise.
25475         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
25476         (database_pers_head): Add extra_data fileds.
25477         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
25478         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
25479         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
25480         Adjust caller.
25481         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
25482         in6ai data, call __free_in6ai.
25483         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
25484         Add -DHAVE_NETLINK.
25485         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
25486         interface information.  Reuse previous data if netlink timestamp
25487         is not changed.
25488         (__bump_nl_timestamp): New function.
25489         (__free_in6ai): New function.
25491 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
25493         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
25494         close_not_cancel_no_status here.
25495         (__check_pf): Reorganize code a bit to not call close twice if OOM.
25497 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
25499         [BZ #13276]
25500         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
25501         return value.
25503         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
25504         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
25505         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
25507 2011-07-03  Andreas Jaeger  <aj@suse.de>
25509         [BZ #10709]
25510         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
25511         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
25512         * math/libm-test.inc (sin_test): Add test case.
25514 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
25516         [BZ #13337]
25517         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
25518         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
25520         * elf/chroot_canon.c (chroot_canon): Cleanups.
25522         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
25524         [BZ #13335]
25525         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
25526         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
25528         * string/test-strchr.c: Make usable for strchrnul testing.
25529         * string/test-strchrnul.c: New file.
25530         * string/Makefile (strop-tests): Add strchrnul.
25532         * po/it.po: Update from translation team.
25533         * po/es.po: Likewise.
25535 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
25537         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
25538         the three constants needed as parameters.  Drop the others.
25539         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
25540         __m128i_strloadu_tolower.
25541         Create and initialize variable zero and use it in all the places
25542         where _mm_setzero_si128 was used.
25544         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
25545         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
25546         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
25547         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
25548         anymore.
25549         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
25550         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
25551         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
25552         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
25553         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
25554         __mpranred, __mptan.
25555         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
25556         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
25557         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
25558         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
25559         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
25560         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
25561         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
25562         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
25563         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
25565 2011-10-28  Andreas Schwab  <schwab@redhat.com>
25567         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
25568         redefine if SHARED.
25569         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
25571         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
25572         wide char related routines to wcsmbs subdir.
25574 2011-10-27  Andreas Schwab  <schwab@redhat.com>
25576         [BZ #13344]
25577         * misc/sys/cdefs.h (__THROWNL): Define.
25578         * posix/unistd.h: Use __THREADNL instead of __THREAD
25579         for memory synchronization functions.
25581 2011-10-26  Roland McGrath  <roland@hack.frob.com>
25583         [BZ #13349]
25584         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
25585         doesn't exist.
25586         * manual/stdio.texi (Obstack Streams): Node removed.
25588 2011-10-26  Andreas Schwab  <schwab@redhat.com>
25590         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
25591         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
25592         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
25594         * math/math_private.h (math_force_eval): Allow non-addressable
25595         arguments.
25596         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
25598 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
25600         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
25601         file is not needed.
25603         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
25604         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
25605         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
25606         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
25607         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
25608         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
25609         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
25610         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
25611         Add AVX variants.
25612         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
25613         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
25614         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
25615         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
25616         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
25617         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
25618         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
25619         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
25620         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
25621         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
25622         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
25623         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
25624         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
25625         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
25626         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
25627         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
25628         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
25629         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
25630         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
25632         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
25633         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
25635         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
25636         place.  Use VEX encoding when compiling for AVX.
25638 2011-10-25  Andreas Schwab  <schwab@redhat.com>
25640         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
25641         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
25643         * string/test-strchr.c (do_test): Don't generate NUL bytes.
25645 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
25647         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
25648         useless if() expression.
25649         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
25650         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
25651         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
25652         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
25653         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
25654         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
25655         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
25656         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
25657         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
25658         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
25659         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
25660         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
25661         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
25662         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
25663         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
25664         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
25665         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
25666         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
25667         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
25669         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
25671 2011-10-25  Andreas Schwab  <schwab@redhat.com>
25673         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
25674         condition.
25675         * elf/dl-fini.c (_dl_sort_fini): Likewise.
25677 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
25679         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
25680         .text section.  Avoid duplicate constants.
25681         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
25682         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
25683         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
25684         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
25685         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
25686         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
25687         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
25688         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
25689         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
25690         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
25691         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
25692         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
25693         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
25694         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
25695         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
25696         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
25697         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
25698         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
25699         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
25700         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
25701         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
25702         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
25703         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
25704         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
25705         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
25706         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
25707         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
25708         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
25709         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
25710         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
25711         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
25712         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
25713         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
25714         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
25715         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
25716         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
25717         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
25718         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
25719         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
25720         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
25721         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
25722         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
25723         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
25724         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
25725         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
25727 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
25729         * sysdeps/x86_64/dla.h: Move to ...
25730         * sysdeps/x86_64/fpu/dla.h: ...here.
25731         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
25732         situations.  Use __builtin_fma only for gcc 4.6 and up.
25734         * config.make.in: Add have-mfma4 entry.
25735         * configure.in: Substitute libc_cv_cc_fma4.
25736         * math/Makefile (dbl-only-routines): Add sincostab.
25737         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
25738         Use __sincostab not sincos.
25739         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
25740         name is a macro.
25741         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
25742         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
25743         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
25744         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
25745         using __copysign.
25746         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
25747         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
25748         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
25749         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
25750         and __inv.
25751         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
25752         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
25753         __copysign.
25754         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
25755         define aliases when function name is a macro.
25756         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
25757         sysdeps/ieee754/dbl-64/sincos.tbl.
25758         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
25759         fma4-enabled routines.
25760         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
25761         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
25762         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
25763         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
25764         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
25765         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
25766         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
25767         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
25768         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
25769         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
25770         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
25771         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
25772         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
25773         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
25774         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
25775         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
25776         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
25777         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
25778         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
25779         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
25780         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
25781         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
25782         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
25783         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
25784         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
25785         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
25786         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
25787         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
25788         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
25789         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
25791         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
25792         rename.
25793         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
25794         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
25795         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
25796         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
25797         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
25798         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
25799         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
25800         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
25802 2011-10-24  Andreas Schwab  <schwab@redhat.com>
25804         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
25806 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
25808         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
25810         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
25811         prediction.
25812         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
25814         * string/strnlen.c: Don't define STRNLEN, reverse logic.
25815         Remove unused variable magic_bits.
25816         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
25818         * string/strnlen.c: Define and use STRNLEN macro.
25819         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
25820         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
25821         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
25822         * wcsmbs/wcslen.c: Define and use WCSLEN.
25823         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
25824         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
25825         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
25826         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
25827         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
25828         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
25829         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
25831 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
25833         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
25834         strnlen-sse2-no-bsf.
25835         Rename strlen-no-bsf to strlen-sse2-no-bsf.
25836         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
25837         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
25838         Add strnlen support.
25839         (USE_AS_STRNLEN): New macro.
25840         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
25841         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
25842         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
25843         * sysdeps/x86_64/wcslen.S: New file.
25845 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
25847         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
25848         XMM-moves are used for copying on small sizes.
25850 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
25852         * wcsmbs/Makefile (strop-tests): Add wcschr.
25853         * wcsmbs/test-wcschr.c: New file.
25854         * string/test-strchr.c: Update.
25855         Add wcschr support.
25856         (WIDE): New macro.
25858 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
25860         * wcsmbs/Makefile (strop-tests): Add wcslen.
25861         * wcsmbs/test-wcslen.c: New file.
25862         * string/test-strlen.c: Update.
25863         Add wcslen support.
25864         (WIDE): New macro.
25866 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
25868         * po/it.po: Update from translation team.
25870 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
25872         * sysdeps/x86_64/wcscmp.S: Update.
25873         Fix wrong comparison semantics.
25874         wcscmp shall use signed comparison not unsigned.
25875         Don't use substraction to avoid overflow bug.
25876         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
25877         * wcsmbc/wcscmp.c: Likewise.
25878         * string/test-strcmp.c: Likewise.
25879         Add new tests to check cases with negative values.
25881 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
25883         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
25884         * sysdeps/x86_64/dla.h: ...here.  New file.
25885         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
25886         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
25887         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
25888         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
25889         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
25890         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
25891         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
25892         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
25893         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
25895 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
25897         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
25898         __ynl_finite aliases.
25900 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
25902         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25904         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
25905         define DLA_FMA.
25906         [DLA_FMA] (EMULV): Use DLA_FMA.
25907         [DLA_FMA] (MUL12): Use EMULV.
25908         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
25909         that are not needed.
25910         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
25911         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
25912         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
25913         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
25914         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
25915         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
25916         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
25918 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
25920         * math/s_nan.c: Undef __nan.
25921         * math/s_nanf.c: Undef __nanf.
25922         * math/s_nanl.c: Undef __nanl.
25923         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
25924         "math_private.h".
25926 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
25928         * math/s_catan.c: Add branch predictions.
25929         * math/s_catanf.c: Likewise.
25930         * math/s_catanh.c: Likewise.
25931         * math/s_catanhf.c: Likewise.
25932         * math/s_catanhl.c: Likewise.
25933         * math/s_catanl.c: Likewise.
25934         * math/s_cexp.c: Likewise.
25935         * math/s_cexpf.c: Likewise.
25936         * math/s_cexpl.c: Likewise.
25937         * math/s_clog.c: Likewise.
25938         * math/s_clog10.c: Likewise.
25939         * math/s_clog10f.c: Likewise.
25940         * math/s_clog10l.c: Likewise.
25941         * math/s_clogf.c: Likewise.
25942         * math/s_clogl.c: Likewise.
25943         * math/s_csqrt.c: Likewise.
25944         * math/s_csqrtf.c: Likewise.
25945         * math/s_csqrtl.c: Likewise.
25946         * math/s_ctanf.c: Likewise.
25947         * math/s_ctanh.c: Likewise.
25948         * math/s_ctanhf.c: Likewise.
25949         * math/s_ctanhl.c: Likewise.
25950         * math/s_ctanl.c: Likewise.
25952         * math/math_private.h: Define __nan, __nanf, __nanl.
25953         * math/s_cacosh.c: Include <math_private.h>.
25954         * math/s_cacoshl.c: Likewise.
25955         * math/s_casinh.c: Likewise.
25956         * math/s_casinhf.c: Likewise.
25957         * math/s_casinhl.c: Likewise.
25958         * math/s_ccos.c: Rely entire on ccosh.
25959         * math/s_ccosf.c: Rely entire on ccoshf.
25960         * math/s_ccosl.c: Rely entirely on ccoshl.
25961         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
25962         Remove tests for FE_INVALID.
25963         * math/s_ccoshf.c: Likewise.
25964         * math/s_ccoshl.c: Likewise.
25965         * math/s_csin.c: Likewise.
25966         * math/s_csinf.c: Likewise.
25967         * math/s_csinh.c Likewise.
25968         * math/s_csinhf.c: Likewise.
25969         * math/s_csinhl.c: Likewise.
25970         * math/s_csinl.c: Likewise.
25971         * math/s_ctan.c: Likewise.
25972         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
25973         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
25974         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
25976 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
25978         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
25979         compilation problems.
25981         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
25982         __builtin_expect.
25984 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
25986         * sysdeps/i386/configure.in: Test for -mfma4 option.
25987         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
25988         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
25989         COMMON_CPUID_INDEX_80000001.
25990         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
25991         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
25992         use it if FMA3 is not supported.
25993         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
25995         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
25996         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
25998 2011-10-20  Andreas Schwab  <schwab@redhat.com>
26000         [BZ #12892]
26001         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
26002         it would create a cycle with a link time dependency.
26004 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
26006         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
26007         instruction.
26008         * string/Makefile (strop-tests): Add rawmemchr.
26009         * string/test-rawmemchr.c: New file.
26011         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
26012         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
26013         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
26014         when compiling str{,n}casecmp and when AVX is available.  Hook up
26015         new optimized code in initializers.
26017 2011-10-19  Andreas Schwab  <schwab@redhat.com>
26019         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
26020         __feraiseexcept instead of feraiseexcept.
26022 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
26024         * math/math_private.h: Define defaults for libc_fetestexcept and
26025         libc_feupdateenv.
26026         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
26027         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
26028         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
26029         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
26030         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
26031         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
26032         libc_fetestexcept and libc_feupdateenv.
26034         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
26035         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
26036         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
26037         * sysdeps/x86_64/fpu/math_private.h: Define special version of
26038         libc_feholdexcept_setround.
26040         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
26041         Add s_nearbyint-c and s_nearbyintf-c.
26042         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
26043         nearbyintf inlines.
26044         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
26045         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
26046         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
26047         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
26049         * math/math_private.h: Define defaults for libc_fegetround,
26050         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
26051         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
26052         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
26053         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
26054         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
26055         standard functions.
26056         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
26057         Remove comments and hacks for old compiler versions.
26058         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
26059         libc_fegetround, libc_fesetround, libc_feholdexcept, and
26060         libc_feholdexceptl.
26062 2011-10-18  Andreas Schwab  <schwab@redhat.com>
26064         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
26065         (__feraiseexcept_renamed): Add __NTH.
26066         (feraiseexcept): Add __NTH.  Rename local variables to fix
26067         namespace violations.
26069 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
26071         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
26073         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
26075         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
26076         recently added interfaces.
26077         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
26079         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
26080         about macro parameter expansion.
26082         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
26083         __NO_MATH_INLINES is defined.  Cleanups.
26085         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
26086         and __floorf is target has SSE4.1.
26087         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
26088         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
26089         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
26090         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
26092         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
26093         name.
26094         (floorf): Likewise.
26096         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
26098 2011-10-17  Andreas Schwab  <schwab@redhat.com>
26100         * misc/sys/cdefs.h: Fix last change.
26102         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
26103         database lookup.
26105 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
26107         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
26109         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
26110         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
26111         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
26112         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
26113         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
26114         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
26115         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
26116         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
26117         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
26118         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
26119         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
26120         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
26121         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
26122         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
26123         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
26124         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
26125         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
26126         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
26127         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
26128         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
26129         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
26130         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
26132         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
26133         ceil, ceilf, floor, floorf.
26135         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
26136         Perform IRELATIVE relocations last.
26138         * elf/do-rel.h: Add another parameter nrelative, replacing the
26139         local variable with the same name.  Change name of the function
26140         to end in Rel or Rela (uppercase).
26141         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
26142         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
26143         elf_dynamic_do_##reloc function.
26145 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
26147         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
26148         is sufficient, at least on modern CPUs.
26150         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
26152         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
26153         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
26155         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
26156         __expl_finite.
26157         * math/bits/math-finite.h: Add entries for exp.
26158         * math/e_expl.c: Add __*_finite alias.
26159         * sysdeps/i386/fpu/e_exp.S: Likewise.
26160         * sysdeps/i386/fpu/e_expf.S: Likewise.
26161         * sysdeps/i386/fpu/e_expl.c: Likewise.
26162         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
26163         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
26164         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
26165         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
26166         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
26167         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
26168         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
26170         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
26171         is sufficient, at least on modern CPUs.
26173         * ctype/ctype-info.c (__ctype_init): Define.
26174         * include/ctype.h (__ctype_init): Declare.
26175         (__ctype_b_loc): The variable is always initialized.
26176         (__ctype_toupper_loc): Likewise.
26177         (__ctype_tolower_loc): Likewise.
26178         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
26179         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
26181 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
26183         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
26185         * configure.in: Also look in $cxxmachine/include for C++ system
26186         headers.
26188 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
26190         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
26191         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
26192         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
26193         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
26194         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
26195         (USE_AS_WMEMCMP): New macro.
26196         Fixing indents.
26197         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
26198         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
26199         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
26200         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
26201         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
26202         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
26203         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
26204         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
26205         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
26206         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
26207         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
26208         (USE_AS_WMEMCMP): New macro.
26209         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
26210         * sysdeps/string/test-memcmp.c: Update.
26211         Fix simple_wmemcmp.
26212         Add new tests.
26213         * wcsmbs/wmemcmp.c: Update.
26214         (WMEMCMP): New macro.
26215         Fix overflow bug.
26217 2011-10-12  Andreas Jaeger  <aj@suse.de>
26219         [BZ #13268]
26220         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
26222 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
26224         * libio/iofwide.c (do_length): Avoid warning.
26226         * ctype/ctype.h (__isctype_f): Add missing __THROW.
26228 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
26230         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
26232         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
26233         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
26234         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
26235         * sysdeps/i386/i686/fpu/e_log.S: New file.
26236         * sysdeps/i386/i686/fpu/e_logf.S: New file.
26237         * sysdeps/i386/i686/fpu/e_logl.S: New file.
26239         * ctype/ctype.h: Add support for inlined isXXX functions when
26240         compiling C++ code.
26242 2011-10-14  Andreas Schwab  <schwab@redhat.com>
26244         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
26246         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
26248 2011-10-13  Roland McGrath  <roland@hack.frob.com>
26250         [BZ #13291]
26251         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
26253 2011-10-13  Andreas Schwab  <schwab@redhat.com>
26255         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
26256         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
26257         feraiseexcept.
26259         * sysdeps/x86_64/memrchr.S: Check for zero size.
26261         * string/stratcliff.c: Add memrchr tests.
26263 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
26265         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
26266         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
26267         rawmemchr-sse2 rawmemchr-sse2-bsf.
26268         * sysdeps/i386/i686/multiarch/memchr.S: New file.
26269         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
26270         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
26271         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
26272         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
26273         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
26274         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
26275         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
26276         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
26277         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
26278         * string/memrchr.c (MEMRCHR): New macro.
26280 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
26282         Add integration with gcc's -ffinite-math-only and optimize wrapper
26283         functions in libm.
26284         * Versions.def: Define GLIBC_2.15 version for libm.
26285         * math/Makefile (headers): Add bits/math-finite.h.
26286         * math/bits/math-finite.h: New file.
26287         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
26288         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
26289         * math/e_acoshl.c: Add __*_finite alias.
26290         * math/e_acosl.c: Likewise.
26291         * math/e_asinl.c: Likewise.
26292         * math/e_atan2l.c: Likewise.
26293         * math/e_atanhl.c: Likewise.
26294         * math/e_coshl.c: Likewise.
26295         * math/e_exp10.c: Likewise.
26296         * math/e_exp10f.c: Likewise.
26297         * math/e_exp10l.c: Likewise.
26298         * math/e_exp2l.c: Likewise.
26299         * math/e_fmodl.c: Likewise.
26300         * math/e_gammal_r.c: Likewise.
26301         * math/e_hypotl.c: Likewise.
26302         * math/e_j0l.c: Likewise.
26303         * math/e_j1l.c: Likewise.
26304         * math/e_jnl.c: Likewise.
26305         * math/e_lgammal_r.c: Likewise.
26306         * math/e_log10l.c: Likewise.
26307         * math/e_log2l.c: Likewise.
26308         * math/e_logl.c: Likewise.
26309         * math/e_powl.c: Likewise.
26310         * math/e_sinhl.c: Likewise.
26311         * math/e_sqrtl.c: Likewise.
26312         * math/e_scalb.c: Completely rewritten and optimized.
26313         * math/e_scalbf.c: Likewise.
26314         * math/e_scalbl.c: Likewise.
26315         * math/w_acos.c: Likewise.
26316         * math/w_acosf.c: Likewise.
26317         * math/w_acosl.c: Likewise.
26318         * math/w_acosh.c: Likewise.
26319         * math/w_acoshf.c: Likewise.
26320         * math/w_acoshl.c: Likewise.
26321         * math/w_asin.c: Likewise.
26322         * math/w_asinf.c: Likewise.
26323         * math/w_asinl.c: Likewise.
26324         * math/w_atan2.c: Likewise.
26325         * math/w_atan2f.c: Likewise.
26326         * math/w_atan2l.c: Likewise.
26327         * math/w_atanh.c: Likewise.
26328         * math/w_atanhf.c: Likewise.
26329         * math/w_atanhl.c: Likewise.
26330         * math/w_exp10.c: Likewise.
26331         * math/w_exp10f.c: Likewise.
26332         * math/w_exp10l.c: Likewise.
26333         * math/w_fmod.c: Likewise.
26334         * math/w_fmodf.c: Likewise.
26335         * math/w_fmodl.c: Likewise.
26336         * math/w_j0.c: Likewise.
26337         * math/w_j0f.c: Likewise.
26338         * math/w_j0l.c: Likewise.
26339         * math/w_j1.c: Likewise.
26340         * math/w_j1f.c: Likewise.
26341         * math/w_j1l.c: Likewise.
26342         * math/w_jn.c: Likewise.
26343         * math/w_jnf.c: Likewise.
26344         * math/w_log.c: Likewise.
26345         * math/w_logf.c: Likewise.
26346         * math/w_logl.c: Likewise.
26347         * math/w_log10.c: Likewise.
26348         * math/w_log10f.c: Likewise.
26349         * math/w_log10l.c: Likewise.
26350         * math/w_log2.c: Likewise.
26351         * math/w_log2f.c: Likewise.
26352         * math/w_log2l.c: Likewise.
26353         * math/w_pow.c: Likewise.
26354         * math/w_powf.c: Likewise.
26355         * math/w_powl.c: Likewise.
26356         * math/w_remainder.c: Likewise.
26357         * math/w_remainderf.c: Likewise.
26358         * math/w_remainderl.c: Likewise.
26359         * math/w_scalb.c: Likewise.
26360         * math/w_scalbf.c: Likewise.
26361         * math/w_scalbl.c: Likewise.
26362         * math/w_sqrt.c: Likewise.
26363         * math/w_sqrtf.c: Likewise.
26364         * math/w_sqrtl.c: Likewise.
26365         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
26366         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
26367         used.
26368         * math/math_private.h: Declare __kernel_standard_f.
26369         * math/w_cosh.c: Remove cruft and optimize a bit.
26370         * math/w_coshf.c: Likewise.
26371         * math/w_coshl.c: Likewise.
26372         * math/w_exp2.c: Likewise.
26373         * math/w_exp2f.c: Likewise.
26374         * math/w_exp2l.c: Likewise.
26375         * math/w_hypot.c: Likewise.
26376         * math/w_hypotf.c: Likewise.
26377         * math/w_hypotl.c: Likewise.
26378         * math/w_lgamma.c: Likewise.
26379         * math/w_lgamma_r.c: Likewise.
26380         * math/w_lgammaf.c: Likewise.
26381         * math/w_lgammaf_r.c: Likewise.
26382         * math/w_lgammal.c: Likewise.
26383         * math/w_lgammal_r.c: Likewise.
26384         * math/w_sinh.c: Likewise.
26385         * math/w_sinhf.c: Likewise.
26386         * math/w_sinhl.c: Likewise.
26387         * math/w_tgamma.c: Likewise.
26388         * math/w_tgammaf.c: Likewise.
26389         * math/w_tgammal.c: Likewise.
26390         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
26391         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
26392         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
26393         Minor optimizations.  Pretty printing.  Remove cruft.
26394         * sysdeps/i386/fpu/e_acosf.S: Likewise.
26395         * sysdeps/i386/fpu/e_acosh.S: Likewise.
26396         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
26397         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
26398         * sysdeps/i386/fpu/e_acosl.c: Likewise.
26399         * sysdeps/i386/fpu/e_asin.S: Likewise.
26400         * sysdeps/i386/fpu/e_asinf.S: Likewise.
26401         * sysdeps/i386/fpu/e_atan2.S: Likewise.
26402         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
26403         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
26404         * sysdeps/i386/fpu/e_atanh.S: Likewise.
26405         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
26406         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
26407         * sysdeps/i386/fpu/e_exp10.S: Likewise.
26408         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
26409         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
26410         * sysdeps/i386/fpu/e_exp2.S: Likewise.
26411         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
26412         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
26413         * sysdeps/i386/fpu/e_fmod.S: Likewise.
26414         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
26415         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
26416         * sysdeps/i386/fpu/e_hypot.S: Likewise.
26417         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
26418         * sysdeps/i386/fpu/e_log.S: Likewise.
26419         * sysdeps/i386/fpu/e_log10.S: Likewise.
26420         * sysdeps/i386/fpu/e_log10f.S: Likewise.
26421         * sysdeps/i386/fpu/e_log10l.S: Likewise.
26422         * sysdeps/i386/fpu/e_log2.S: Likewise.
26423         * sysdeps/i386/fpu/e_log2f.S: Likewise.
26424         * sysdeps/i386/fpu/e_log2l.S: Likewise.
26425         * sysdeps/i386/fpu/e_logf.S: Likewise.
26426         * sysdeps/i386/fpu/e_logl.S: Likewise.
26427         * sysdeps/i386/fpu/e_pow.S: Likewise.
26428         * sysdeps/i386/fpu/e_powf.S: Likewise.
26429         * sysdeps/i386/fpu/e_powl.S: Likewise.
26430         * sysdeps/i386/fpu/e_remainder.S: Likewise.
26431         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
26432         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
26433         * sysdeps/i386/fpu/e_scalb.S: Likewise.
26434         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
26435         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
26436         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
26437         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
26438         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
26439         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
26440         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
26441         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
26442         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
26443         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
26444         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
26445         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
26446         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
26447         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
26448         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
26449         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
26450         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
26451         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26452         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
26453         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
26454         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26455         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
26456         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
26457         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
26458         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
26459         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
26460         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
26461         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
26462         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
26463         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
26464         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
26465         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
26466         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
26467         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
26468         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
26469         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
26470         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
26471         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
26472         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
26473         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
26474         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
26475         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
26476         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
26477         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
26478         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
26479         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
26480         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
26481         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
26482         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
26483         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
26484         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
26485         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
26486         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
26487         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
26488         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
26489         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
26490         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
26491         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
26492         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
26493         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
26494         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
26495         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
26496         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
26497         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
26498         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
26499         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
26500         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
26501         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
26502         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
26503         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
26504         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
26505         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
26506         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
26507         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
26508         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
26509         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
26510         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
26511         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
26512         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
26513         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
26514         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
26515         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
26516         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
26517         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
26518         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
26519         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
26520         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
26521         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
26522         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
26523         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
26524         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
26525         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
26526         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
26527         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
26528         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
26529         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
26530         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
26531         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
26532         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
26533         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
26534         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
26535         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
26536         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
26537         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
26538         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
26539         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
26540         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
26541         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
26542         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
26543         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
26544         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
26545         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
26546         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
26547         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
26548         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
26549         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
26550         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
26551         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
26552         (__isnanf): Likewise.
26553         (__isinf_ns): Likewise.
26554         (__isinf_nsf): Likewise.
26555         (__finite): Likewise.
26556         (__finitef): Likewise.
26557         (__ieee754_sqrt): Define as macro.
26558         (__ieee754_sqrtf): Define as macro.
26559         (__ieee754_sqrtl): Define as macro.
26560         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
26561         inlined copy.
26562         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
26563         __FINITE_MATH_ONLY__ consistent.
26564         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
26566 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
26568         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
26569         of rawmemchr.
26571         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
26573 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
26575         * po/ja.po: Update from translation team.
26577 2011-10-08  Roland McGrath  <roland@hack.frob.com>
26579         * locale/programs/locarchive.c (prepare_address_space): New function.
26580         (create_archive, enlarge_archive, open_archive): Use it.
26582         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
26583         inside [SHARED], where it is used.
26585         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
26587         * nss/getent.c (netgroup_keys): Remove unused variable.
26588         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
26590 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
26592         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
26593         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
26594         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
26595         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
26596         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
26597         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
26598         * math/Makefile (libm-calls): Add s_isinf_ns.
26599         * math/divtc3.c: Use __isinf_nsl instead of isinf.
26600         * math/multc3.c: Likewise.
26601         * math/s_casin.c: Likewise.
26602         * math/s_casinf.c: Likewise.
26603         * math/s_casinl.c: Likewise.
26604         * math/s_ccos.c: Likewise.
26605         * math/s_ccosf.c: Likewise.
26606         * math/s_ccosl.c: Likewise.
26607         * math/s_ctan.c: Likewise.
26608         * math/s_ctanf.c: Likewise.
26609         * math/s_ctanh.c: Likewise.
26610         * math/s_ctanhf.c: Likewise.
26611         * math/s_ctanhl.c: Likewise.
26612         * math/s_ctanl.c: Likewise.
26613         * math/w_fmod.c: Likewise.
26614         * math/w_fmodf.c: Likewise.
26615         * math/w_fmodl.c: Likewise.
26616         * math/w_remainder.c: Likewise.
26617         * math/w_remainderf.c: Likewise.
26618         * math/w_remainderl.c: Likewise.
26619         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
26620         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
26621         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
26622         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
26623         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
26624         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
26625         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
26626         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
26628         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
26629         of the number.
26630         * stdio-common/printf_fphex.c: Likewise.
26631         * stdio-common/printf_size.c: Likewise.
26633         * math/e_exp10.c: Include math_private.h using <...> not "...".
26634         * math/e_exp10f.c: Likewise.
26635         * math/e_exp10l.c: Likewise.
26636         * math/e_exp2l.c: Likewise.
26637         * math/e_j0l.c: Likewise.
26638         * math/e_j1l.c: Likewise.
26639         * math/e_jnl.c: Likewise.
26640         * math/e_lgammal_r.c: Likewise.
26641         * math/e_rem_pio2l.c: Likewise.
26642         * math/e_scalb.c: Likewise.
26643         * math/e_scalbf.c: Likewise.
26644         * math/e_scalbl.c: Likewise.
26645         * math/k_cosl.c: Likewise.
26646         * math/k_sinl.c: Likewise.
26647         * math/k_tanl.c: Likewise.
26648         * math/s_cacoshf.c: Likewise.
26649         * math/s_catan.c: Likewise.
26650         * math/s_catanf.c: Likewise.
26651         * math/s_catanh.c: Likewise.
26652         * math/s_catanhf.c: Likewise.
26653         * math/s_catanhl.c: Likewise.
26654         * math/s_catanl.c: Likewise.
26655         * math/s_ccosh.c: Likewise.
26656         * math/s_ccoshf.c: Likewise.
26657         * math/s_ccoshl.c: Likewise.
26658         * math/s_cexp.c: Likewise.
26659         * math/s_cexpf.c: Likewise.
26660         * math/s_cexpl.c: Likewise.
26661         * math/s_clog.c: Likewise.
26662         * math/s_clog10.c: Likewise.
26663         * math/s_clog10f.c: Likewise.
26664         * math/s_clog10l.c: Likewise.
26665         * math/s_clogf.c: Likewise.
26666         * math/s_clogl.c: Likewise.
26667         * math/s_csin.c: Likewise.
26668         * math/s_csinf.c: Likewise.
26669         * math/s_csinh.c: Likewise.
26670         * math/s_csinhf.c: Likewise.
26671         * math/s_csinhl.c: Likewise.
26672         * math/s_csinl.c: Likewise.
26673         * math/s_csqrt.c: Likewise.
26674         * math/s_csqrtf.c: Likewise.
26675         * math/s_csqrtl.c: Likewise.
26676         * math/s_ctan.c: Likewise.
26677         * math/s_ctanf.c: Likewise.
26678         * math/s_ctanh.c: Likewise.
26679         * math/s_ctanhf.c: Likewise.
26680         * math/s_ctanhl.c: Likewise.
26681         * math/s_ctanl.c: Likewise.
26682         * math/s_ldexp.c: Likewise.
26683         * math/s_ldexpf.c: Likewise.
26684         * math/s_ldexpl.c: Likewise.
26685         * math/s_significand.c: Likewise.
26686         * math/s_significandf.c: Likewise.
26687         * math/s_significandl.c: Likewise.
26688         * math/w_acos.c: Likewise.
26689         * math/w_acosf.c: Likewise.
26690         * math/w_acosh.c: Likewise.
26691         * math/w_acoshf.c: Likewise.
26692         * math/w_acoshl.c: Likewise.
26693         * math/w_acosl.c: Likewise.
26694         * math/w_asin.c: Likewise.
26695         * math/w_asinf.c: Likewise.
26696         * math/w_asinl.c: Likewise.
26697         * math/w_atan2.c: Likewise.
26698         * math/w_atan2f.c: Likewise.
26699         * math/w_atan2l.c: Likewise.
26700         * math/w_atanh.c: Likewise.
26701         * math/w_atanhf.c: Likewise.
26702         * math/w_atanhl.c: Likewise.
26703         * math/w_cosh.c: Likewise.
26704         * math/w_coshf.c: Likewise.
26705         * math/w_coshl.c: Likewise.
26706         * math/w_dremf.c: Likewise.
26707         * math/w_exp10.c: Likewise.
26708         * math/w_exp10f.c: Likewise.
26709         * math/w_exp10l.c: Likewise.
26710         * math/w_exp2.c: Likewise.
26711         * math/w_exp2f.c: Likewise.
26712         * math/w_fmod.c: Likewise.
26713         * math/w_fmodf.c: Likewise.
26714         * math/w_fmodl.c: Likewise.
26715         * math/w_hypot.c: Likewise.
26716         * math/w_hypotf.c: Likewise.
26717         * math/w_hypotl.c: Likewise.
26718         * math/w_j0.c: Likewise.
26719         * math/w_j0f.c: Likewise.
26720         * math/w_j0l.c: Likewise.
26721         * math/w_j1.c: Likewise.
26722         * math/w_j1f.c: Likewise.
26723         * math/w_j1l.c: Likewise.
26724         * math/w_jn.c: Likewise.
26725         * math/w_jnf.c: Likewise.
26726         * math/w_jnl.c: Likewise.
26727         * math/w_lgamma.c: Likewise.
26728         * math/w_lgamma_r.c: Likewise.
26729         * math/w_lgammaf.c: Likewise.
26730         * math/w_lgammaf_r.c: Likewise.
26731         * math/w_lgammal.c: Likewise.
26732         * math/w_lgammal_r.c: Likewise.
26733         * math/w_log.c: Likewise.
26734         * math/w_log10.c: Likewise.
26735         * math/w_log10f.c: Likewise.
26736         * math/w_log10l.c: Likewise.
26737         * math/w_log2.c: Likewise.
26738         * math/w_log2f.c: Likewise.
26739         * math/w_log2l.c: Likewise.
26740         * math/w_logf.c: Likewise.
26741         * math/w_logl.c: Likewise.
26742         * math/w_pow.c: Likewise.
26743         * math/w_powf.c: Likewise.
26744         * math/w_powl.c: Likewise.
26745         * math/w_remainder.c: Likewise.
26746         * math/w_remainderf.c: Likewise.
26747         * math/w_remainderl.c: Likewise.
26748         * math/w_scalb.c: Likewise.
26749         * math/w_scalbf.c: Likewise.
26750         * math/w_scalbl.c: Likewise.
26751         * math/w_sinh.c: Likewise.
26752         * math/w_sinhf.c: Likewise.
26753         * math/w_sinhl.c: Likewise.
26754         * math/w_sqrt.c: Likewise.
26755         * math/w_sqrtf.c: Likewise.
26756         * math/w_sqrtl.c: Likewise.
26757         * math/w_tgamma.c: Likewise.
26758         * math/w_tgammaf.c: Likewise.
26759         * math/w_tgammal.c: Likewise.
26761         * po/ja.po: Update from translation team.
26763 2011-09-29  Andreas Jaeger  <aj@suse.de>
26765         [BZ #13179]
26766         * sunrpc/netname.c (netname2host): Fix logic.
26768         [BZ #6779]
26769         [BZ #6783]
26770         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
26771         correctly.
26772         * math/w_remainder.c (__remainder): Likewise.
26773         * math/w_remainderf.c (__remainderf): Likewise.
26774         * math/libm-test.inc (remainder_test): Add test cases.
26776 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
26778         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
26779         sdiv_qrnnd.
26781 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
26783         * string/test-memcmp.c: Avoid unncessary #defines.
26784         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
26786 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
26788         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
26789         Use new sse2 version for core i3 - i7 as it's faster
26790         than sse42 version.
26791         (bit_Prefer_PMINUB_for_stringop): New.
26792         * sysdeps/x86_64/rawmemchr.S: Update.
26793         Replace with faster SSE2 version.
26794         * sysdeps/x86_64/memrchr.S: New file.
26795         * sysdeps/x86_64/memchr.S: Update.
26796         Replace with faster SSE2 version.
26798 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
26800         * elf/dl-load.c (lose): Add cast to avoid warning.
26802 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
26804         * po/ca.po: Update from translation team.
26806         * inet/getnetgrent_r.c: Hook up nscd.
26807         * nscd/Makefile (routines): Add nscd_netgroup.
26808         (nscd-modules): Add netgroupcache.
26809         (CFLAGS-netgroupcache.c): Define.
26810         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
26811         (cache_search): Add const to second parameter.
26812         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
26813         INNETGR.
26814         (dbs): Add netgrdb entry.
26815         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
26816         (verify_persistent_db): Handle netgrdb.
26817         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
26818         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
26819         GETFDNETGR.
26820         (netgroup_response_header): Define.
26821         (innetgroup_response_header): Define.
26822         (datahead): Add netgroup_response_header and innetgroup_response_header
26823         elements.
26824         * nscd/nscd.conf: Add entries for netgroup cache.
26825         * nscd/nscd.h (dbtype): Add netgrdb.
26826         (_PATH_NSCD_NETGROUP_DB): Define.
26827         (netgroup_iov_disabled): Declare.
26828         (xmalloc, xcalloc, xrealloc): Move declarations here.
26829         (cache_search): Adjust prototype.
26830         Add netgroup-related prototypes.
26831         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
26832         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
26833         (__nscd_innetgr): Declare.
26834         * nscd/selinux.c (perms): Use access_vector_t as element type and
26835         add netgroup-related initializers.
26836         * nscd/netgroupcache.c: New file.
26837         * nscd/nscd_netgroup.c: New file.
26838         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
26839         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
26840         For four parameters use innetgr.
26841         * nss/nss_files/files-init.c: Add definition and callback for netgr.
26842         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
26843         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
26844         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
26846         * nscd/connections.c (register_traced_file): Don't register file
26847         for disabled databases.
26849 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
26851         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
26853         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
26854         from tree and freeing node.
26856 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
26858         * nss/nsswitch.c (__nss_database_lookup): Handle
26859         nss_parse_service_list out of memory case.
26861 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
26863         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
26864         out of memory case.
26866 2011-10-04  Andreas Schwab  <schwab@redhat.com>
26868         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
26869         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
26870         pass it down.
26871         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
26872         elf_machine_rela, elf_machine_lazy_rel.
26873         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
26874         (ELF_DYNAMIC_DO_REL): Likewise.
26875         (ELF_DYNAMIC_DO_RELA): Likewise.
26876         (ELF_DYNAMIC_RELOCATE): Likewise.
26877         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
26878         to ELF_DYNAMIC_DO_REL.
26879         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
26880         (dl_main): In trace mode always set __RTLD_NOIFUNC.
26881         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
26882         elf_machine_rela.
26883         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
26884         skip_ifunc, don't call ifunc function if non-zero.
26885         (elf_machine_rela): Likewise.
26886         (elf_machine_lazy_rel): Likewise.
26887         (elf_machine_lazy_rela): Likewise.
26888         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
26889         (elf_machine_lazy_rel): Likewise.
26890         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
26891         Likewise.
26892         (elf_machine_lazy_rel): Likewise.
26893         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
26894         Likewise.
26895         (elf_machine_lazy_rel): Likewise.
26896         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
26897         (elf_machine_lazy_rel): Likewise.
26898         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
26899         (elf_machine_lazy_rel): Likewise.
26900         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
26901         (elf_machine_lazy_rel): Likewise.
26902         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
26903         (elf_machine_lazy_rel): Likewise.
26904         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
26905         (elf_machine_lazy_rel): Likewise.
26906         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
26907         (elf_machine_lazy_rel): Likewise.
26909 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
26911         * nss/nss_files/files-init.c (_nss_files_init): Use static
26912         initialization for all the *_traced_file variables.
26914 2011-09-28  Andreas Schwab  <schwab@redhat.com>
26916         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
26918 2011-09-27  Roland McGrath  <roland@hack.frob.com>
26920         [BZ #13226]
26921         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
26923 2011-09-27  Andreas Schwab  <schwab@redhat.com>
26925         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
26926         Reread the line before reparsing it.
26928 2011-09-26  Andreas Schwab  <schwab@redhat.com>
26930         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
26932 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
26933             Maxim Kuvyrkov  <maxim@codesourcery.com>
26934             Joseph Myers  <joseph@codesourcery.com>
26936         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
26937         if needed for __stack_chk_guard.
26939 2011-09-19  Roland McGrath  <roland@hack.frob.com>
26941         * sysdeps/posix/spawni.c (script_execute): Always define it.
26942         It will be optimized away if unused.
26943         (maybe_script_execute): New function.
26944         (__spawni): Call it.
26946         * Makerules: Don't include tls.make.
26947         (config-tls): Always set to thread.
26948         * tls.make.c: File removed.
26950 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
26952         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
26953         * config.make.in (CPPFLAGS-config): New substituted variable.
26955 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
26957         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
26959         [BZ #13192]
26960         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
26961         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
26963 2011-09-15  Roland McGrath  <roland@hack.frob.com>
26965         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
26966         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
26967         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
26968         (CALL_FAIL): Likewise.
26969         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
26970         (CALL_FAIL): Macro removed.
26971         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
26973 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
26975         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
26976         for __FINITE_MATH_ONLY__ == 1.
26978 2011-09-15  Andreas Schwab  <schwab@redhat.com>
26980         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
26981         __ieee754_sqrt instead of sqrt.
26982         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
26983         __ieee754_sqrtf instead of sqrtf.
26984         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
26985         __floorf instead of floorf.
26986         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
26987         __floorf, __truncf instead of floorf, truncf.
26989 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
26991         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
26993         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
26994         __extern_always_inline.
26995         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
26996         32-bit.
26998 2011-09-14  Andreas Schwab  <schwab@redhat.com>
27000         * elf/rtld.c (dl_main): Also relocate in dependency order when
27001         doing symbol dependency testing.
27003 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
27005         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
27006         Always define `refsym'.
27008 2011-09-13  Andreas Schwab  <schwab@redhat.com>
27010         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
27011         (__FD_ELT): Renamed from __FDELT.
27012         * misc/bits/select2.h (__FD_ELT): Likewise.
27013         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
27014         __FD_MASK instead of __FDELT, __FDMASK.
27015         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
27016         Likewise.
27017         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
27018         Likewise.
27020         * elf/Makefile (gen-ldd): Fix pattern.
27022         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
27023         (init_tls): Likewise.
27025 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
27027         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
27029 2011-09-12  Andreas Schwab  <schwab@redhat.com>
27031         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
27032         `struct cmsghdr *' instead of `void *'.
27033         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
27034         Likewise.
27036 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
27038         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
27039         if non-absolute.
27040         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
27041         ldd_rewrite_script.
27043 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
27045         * configure.in: Remove --with-tls option.
27046         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
27047         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
27048         out in case it is missing.
27049         * sysdeps/ia64/elf/configure.in: Likewise.
27050         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
27051         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
27052         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
27053         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
27054         * sysdeps/sh/elf/configure.in: Likewise.
27055         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
27056         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
27057         * sysdeps/x86_64/elf/configure.in: Likewise.
27058         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
27059         * sysdeps/mach/hurd/tls.h: Likewise.
27061         [BZ #13067]
27062         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
27064         [BZ #13090]
27065         * configure.in: Fix use of AC_INIT.
27067         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
27069 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
27071         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
27072         __set_errno.
27073         * malloc/hooks.c: Likewise.
27075         [BZ #11929]
27076         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
27077         variables statically.
27078         (narenas): Initialize.
27079         (list_lock): Initialize.
27080         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
27081         initializtion of main_arena and list_lock.  Small cleanups.
27082         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
27083         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
27084         Add initializers to main_arena and mp_.
27085         (malloc_state): Remove pagesize member.  Change all users to use
27086         GLRO(dl_pagesize).
27088         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
27089         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
27090         is always initialized.
27092         * malloc/malloc.c: Removed unused configurations and dead code.
27093         * malloc/arena.c: Likewise.
27094         * malloc/hooks.c: Likewise.
27095         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
27097         * include/tls.h: Removed.  USE___THREAD must always be defined.
27098         * bits/libc-tsd.h: Don't handle !USE___THREAD.
27099         * elf/dl-libc.c: Likewise.
27100         * elf/dl-tsd.c: Likewise.
27101         * include/errno.h: Likewise.
27102         * include/netdb.h: Likewise.
27103         * include/resolv.h: Likewise.
27104         * inet/herrno-loc.c: Likewise.
27105         * inet/herrno.c: Likewise.
27106         * malloc/arena.c: Likewise.
27107         * malloc/hooks.c: Likewise.
27108         * malloc/malloc.c: Likewise.
27109         * resolv/res-state.c: Likewise.
27110         * resolv/res_libc.c: Likewise.
27111         * sysdeps/i386/dl-machine.h: Likewise.
27112         * sysdeps/ia64/dl-machine.h: Likewise.
27113         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
27114         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
27115         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
27116         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
27117         * sysdeps/sh/dl-machine.h: Likewise.
27118         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
27119         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
27120         * sysdeps/unix/i386/sysdep.S: Likewise.
27121         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
27122         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
27123         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
27124         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
27125         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
27126         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
27127         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
27128         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
27129         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
27130         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
27131         * sysdeps/unix/x86_64/sysdep.S: Likewise.
27132         * sysdeps/x86_64/dl-machine.h: Likewise.
27133         * tls.make.c: Likewise.
27135         * configure.in: Remove --with-__thread option.  Make tests for
27136         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
27137         tls_model attribute fail if no support is available.  Remove
27138         USE_IN_LIBIO.
27139         * Makeconfig: Adjust for dropped configure option.  All features are
27140         now mandatory.
27141         * Makerules: Likewise.
27142         * Versions.def: Likewise.
27143         * argp/argp-fmtstream.c: Likewise.
27144         * argp/argp-fmtstream.h: Likewise.
27145         * argp/argp-help.c: Likewise.
27146         * assert/assert.c: Likewise.
27147         * config.h.in: Likewise.
27148         * config.make.in: Likewise.
27149         * configure: Likewise.
27150         * configure.in: Likewise.
27151         * csu/Versions: Likewise.
27152         * csu/init.c: Likewise.
27153         * elf/tst-audit2.c: Likewise.
27154         * elf/tst-tls10.c: Likewise.
27155         * elf/tst-tls10.h: Likewise.
27156         * elf/tst-tls11.c: Likewise.
27157         * elf/tst-tls12.c: Likewise.
27158         * elf/tst-tls14.c: Likewise.
27159         * elf/tst-tlsmod11.c: Likewise.
27160         * elf/tst-tlsmod12.c: Likewise.
27161         * elf/tst-tlsmod13.c: Likewise.
27162         * elf/tst-tlsmod13a.c: Likewise.
27163         * elf/tst-tlsmod14a.c: Likewise.
27164         * elf/tst-tlsmod15b.c: Likewise.
27165         * elf/tst-tlsmod16a.c: Likewise.
27166         * elf/tst-tlsmod16b.c: Likewise.
27167         * elf/tst-tlsmod7.c: Likewise.
27168         * elf/tst-tlsmod8.c: Likewise.
27169         * elf/tst-tlsmod9.c: Likewise.
27170         * gmon/gmon.c: Likewise.
27171         * grp/fgetgrent_r.c: Likewise.
27172         * grp/putgrent.c: Likewise.
27173         * hurd/fopenport.c: Likewise.
27174         * include/libc-symbols.h: Likewise.
27175         * include/tls.h: Likewise.
27176         * intl/gettextP.h: Likewise.
27177         * intl/loadinfo.h: Likewise.
27178         * locale/global-locale.c: Likewise.
27179         * locale/localeinfo.h: Likewise.
27180         * mach/devstream.c: Likewise.
27181         * malloc/arena.c: Likewise.
27182         * malloc/set-freeres.c: Likewise.
27183         * misc/err.c: Likewise.
27184         * misc/getttyent.c: Likewise.
27185         * misc/mntent_r.c: Likewise.
27186         * posix/getopt.c: Likewise.
27187         * posix/wordexp.c: Likewise.
27188         * pwd/fgetpwent_r.c: Likewise.
27189         * resolv/Versions: Likewise.
27190         * resolv/res_hconf.c: Likewise.
27191         * shadow/fgetspent_r.c: Likewise.
27192         * shadow/putspent.c: Likewise.
27193         * stdio-common/printf_fphex.c: Likewise.
27194         * stdio-common/tmpfile.c: Likewise.
27195         * stdlib/abort.c: Likewise.
27196         * stdlib/fmtmsg.c: Likewise.
27197         * sunrpc/auth_unix.c: Likewise.
27198         * sunrpc/clnt_perr.c: Likewise.
27199         * sunrpc/clnt_tcp.c: Likewise.
27200         * sunrpc/clnt_udp.c: Likewise.
27201         * sunrpc/clnt_unix.c: Likewise.
27202         * sunrpc/openchild.c: Likewise.
27203         * sunrpc/svc_simple.c: Likewise.
27204         * sunrpc/svc_tcp.c: Likewise.
27205         * sunrpc/svc_udp.c: Likewise.
27206         * sunrpc/svc_unix.c: Likewise.
27207         * sunrpc/xdr.c: Likewise.
27208         * sunrpc/xdr_array.c: Likewise.
27209         * sunrpc/xdr_rec.c: Likewise.
27210         * sunrpc/xdr_ref.c: Likewise.
27211         * sunrpc/xdr_stdio.c: Likewise.
27213 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
27215         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
27217 2011-07-03  Andreas Jaeger  <aj@suse.de>
27219         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
27220         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
27221         regenerate with gen-libm-tests.pl.
27223 2010-05-12  Petr Baudis  <pasky@suse.cz>
27225         [BZ #11589]
27226         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
27227         around j0() zero points by switching to j1().
27228         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
27229         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
27230         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
27231         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
27233 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
27235         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
27236         instead of 0.
27237         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
27238         instead of 0.
27239         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
27240         Patch in part by Pavel Roskin <proski@gnu.org>.
27242         [BZ #13138]
27243         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
27244         realloc.
27245         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
27246         Free memory block if necessary.
27248         [BZ #12847]
27249         * libio/genops.c (INTDEF): For string streams the _lock pointer can
27250         be NULL.  Don't lock in this case.
27252 2011-09-09  Roland McGrath  <roland@hack.frob.com>
27254         * elf/elf.h (ELFOSABI_GNU): New macro.
27255         (ELFOSABI_LINUX): Define to that.
27257 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
27259         * string/strncat.c (strncat): Undef the symbol in case it has been
27260         defined in bits/string.h.
27262 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
27264         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
27266         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
27267         link map.
27269 2011-08-17  Andreas Jaeger  <aj@suse.de>
27271         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
27273 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
27274             Ian Lance Taylor  <iant@google.com>
27276         * math/libm-test.inc (lround_test): New testcase.
27277         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
27279 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
27281         * Makefile: Remove support for automatic cvs check-ins.
27282         * Makerules: Likewise.
27283         * config.make.in: Likewise.
27284         * configure.in: Likewise.
27285         * intl/Makefile: Likewise.
27286         * locale/Makefile: Likewise.
27287         * po/Makefile: Likewise.
27288         * posix/Makefile: Likewise.
27289         * sysdeps/gnu/Makefile: Likewise.
27290         * sysdeps/mach/hurd/Makefile: Likewise.
27291         * sysdeps/sparc/sparc32/Makefile: Likewise.
27293         [BZ #13118]
27294         * posix/Makefile (bug-regex32-ENV): Define.
27295         Patch by John Stanley <jpsinthemix@verizon.net>.
27297         * misc/Makefile (headers): Add bits/select2.h.
27298         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
27299         * misc/bits/select2.h: New file.
27300         * include/bits/select2.h: New file.
27301         * debug/Makefile (routines): Add fdelt_chk.
27302         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
27303         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
27304         FD_ISSET.
27305         * debug/fdelt_chk.c: New file.
27307         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
27308         * wcsmbs/test-wmemcmp.c: Likewise.
27309         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
27310         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
27312 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
27314         * string/Makefile (strop-tests): Add memcmp.
27315         * string/test-wmemcmp.c: New file.
27316         * string/test-memcmp.c: Add wmemcmp support.
27318 2011-09-08  Roland McGrath  <roland@hack.frob.com>
27320         [BZ #13153]
27321         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
27322         2011-07-19 change.
27324         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
27325         garbage value in a __mach_port_mod_refs call in the cases of the
27326         task-self and thread-self ports.
27328 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
27330         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
27332 2011-09-08  Andreas Schwab  <schwab@redhat.com>
27334         * elf/dl-load.c (lose): Check for non-null L.
27336 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
27338         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
27340         * elf/dl-libc.c (dlerror_run): Pass back error code from
27341         dl_catch_error.
27343         [BZ #13123]
27344         * elf/dl-load.c (lose): Free l_origin if it is valid.
27346         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
27347         names.
27348         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
27349         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
27350         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
27351         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
27352         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
27353         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
27355 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27357         * sysdeps/powerpc/fpu/e_hypot.c: New file.
27358         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
27359         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
27360         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
27361         * sysdeps/powerpc/fpu/k_cosf.c: New file.
27362         * sysdeps/powerpc/fpu/k_sinf.c: New file.
27363         * sysdeps/powerpc/fpu/s_cosf.c: New file.
27364         * sysdeps/powerpc/fpu/s_sinf.c: New file.
27365         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
27366         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
27368 2011-08-15  Alan Modra  <amodra@gmail.com>
27370         [BZ #13092]
27371         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
27372         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
27373         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
27374         ppc_mcount to static-only-routines.
27375         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
27376         __mcount_internal.
27377         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
27378         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
27380 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
27382         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
27383         for finite and infinity parameters.
27385 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
27387         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
27388         and add nop instructions for throughput optimization.
27389         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
27391 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
27393         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
27394         aligned copy for power7 with vector-scalar instructions.
27395         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
27397 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
27399         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
27400         AVX check.
27402 2011-09-07  Andreas Schwab  <schwab@redhat.com>
27404         [BZ #13144]
27405         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
27406         last change.
27408 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
27410         * sysdeps/unix/sysv/linux/x86_64/init-first.c
27411         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
27412         syscall wrapper around clock_gettime in __vdso_clock_gettime.
27413         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
27414         clock_gettime.
27416 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
27418         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
27419         Forgot to demangle the pointer.
27421         * sysdeps/i386/sysdep.h: Define atom_text_section.
27422         * sysdeps/x86_64/sysdep.h: Likewise.
27423         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
27424         section with atom_text_section.
27425         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
27426         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
27427         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
27428         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
27429         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
27431         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
27432         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
27433         already be defined.  Change to take two parameters and don't assign
27434         result to variable.  Adjust all users.
27435         Define INTERNAL_GETTIME if not already defined.
27436         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
27437         call.
27438         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
27439         HAVE_CLOCK_GETTIME_VSYSCALL.
27440         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
27442         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
27443         gettimeofday vsyscall, just use time.
27445 2011-09-06  Andreas Schwab  <schwab@redhat.com>
27447         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
27448         <errno.h>.
27450 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
27452         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
27453         syscall on x86-64.
27454         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
27455         syscall.
27456         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
27457         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
27458         syscall if possible.
27460 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
27462         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
27463         e_ident.  Don't pass to find_mapsXX.
27464         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
27466 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
27468         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
27469         strchr-sse2-no-bsf strrchr-sse2-no-bsf
27470         * sysdeps/x86_64/multiarch/strchr.S: Update.
27471         Check bit_slow_BSF bit.
27472         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
27473         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
27474         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
27476 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
27478         [BZ #13134]
27479         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
27480         before glibc 2.15.
27481         (tryshell): Define.
27482         (__spawni): Change last parameter to be flag.  Test
27483         SPAWN_XFLAGS_USE_PATH flag to use path or not.
27484         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
27485         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
27486         * posix/spawni.c: Likewise.
27487         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
27488         * posix/spawnp.c: Likewise.  Change normal version to use
27489         SPAWN_XFLAGS_USE_PATH.
27490         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
27491         SPAWN_XFLAGS_TRY_SHELL.
27493         [BZ #13150]
27494         * posix/glob.h: Remove gcc 1.x support.
27496         [BZ #13068]
27497         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
27499 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
27501         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
27502         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
27503         strrchr-sse2-bsf
27504         * sysdeps/i386/i686/multiarch/strchr.S: New file.
27505         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
27506         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
27507         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
27508         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
27509         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
27511 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
27513         * sysdeps/x86_64/wcscmp.S: New file.
27515         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
27516         wcscmp-c wcscmp-sse2
27517         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
27518         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
27519         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
27520         * wcsmbs/wcscmp.c: Allow renaming.
27522 2011-09-05  David S. Miller  <davem@davemloft.net>
27524         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
27525         stack slot, rather than the struct return pointer slot.
27526         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
27527         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
27528         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
27529         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
27531 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
27533         * po/ja.po: Update from translation team.
27535         [BZ #13144]
27536         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
27537         kernel in 64-bit binaries.
27539 2011-09-01  David S. Miller  <davem@davemloft.net>
27541         * elf/elf.h (HWCAP_SPARC_*): Move to..
27542         * sysdeps/sparc/sysdep.h: this new file and add new values.
27543         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
27544         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
27545         _DL_HWCAP_COUNT to 24.
27546         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
27547         entries.
27548         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
27549         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
27550         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
27551         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
27552         instead of magic constants.
27553         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
27555 2011-08-31  David S. Miller  <davem@davemloft.net>
27557         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
27558         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
27559         Reimplement to do errno handling inline.
27560         (SYSCALL_ERROR_HANDLER): New macro.
27561         (__SYSCALL_STRING): Do not do errno handling in asm.
27562         (__CLONE_SYSCALL_STRING): Delete.
27563         (__INTERNAL_SYSCALL_STRING): Delete.
27564         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
27565         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
27566         (PSEUDO): Reimplement to do errno handling inline.
27567         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
27568         (SYSCALL_ERROR_HANDLER): New macro.
27569         (__SYSCALL_STRING): Do not do errno handling in asm.
27570         (__CLONE_SYSCALL_STRING): Delete.
27571         (__INTERNAL_SYSCALL_STRING): Delete.
27572         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
27573         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
27574         i386.
27575         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
27576         (inline_syscall*): Add 'err' argument.
27577         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
27578         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
27579         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
27580         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
27582         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
27583         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
27585 2011-08-30  Andreas Schwab  <schwab@redhat.com>
27587         * elf/rtld.c (dl_main): Relocate objects in dependency order.
27589 2011-08-29  Jiri Olsa <jolsa@redhat.com>
27591         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
27592         directive.
27594 2011-08-24  David S. Miller  <davem@davemloft.net>
27596         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
27598 2011-08-24  Andreas Schwab  <schwab@redhat.com>
27600         * elf/Makefile: Add rules to build and run unload8 test.
27601         * elf/unload8.c: New file.
27602         * elf/unload8mod1.c: New file.
27603         * elf/unload8mod1x.c: New file.
27604         * elf/unload8mod2.c: New file.
27605         * elf/unload8mod3.c: New file.
27607         * elf/dl-close.c (_dl_close_worker): Reset private search list if
27608         it wasn't used.
27610 2011-08-23  David S. Miller  <davem@davemloft.net>
27612         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
27613         subtract stack bias.
27614         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
27615         %sp not %fp in calculations.
27616         (_JMPBUF_UNWINDS_ADJ): Likewise.
27618         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
27619         (aio_suspend): Call it to force an exception region around the
27620         AIO_MISC_WAIT() invocation.
27622 2011-08-23  Andreas Schwab  <schwab@redhat.com>
27624         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
27625         backslash.
27627 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
27629         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
27630         protection macro.
27631         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
27632         and <dl-machine.h>.
27633         (Elf64_FuncDesc): Remove.
27635 2011-08-22  David S. Miller  <davem@davemloft.net>
27637         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
27638         sigaltstack check, add missing cfi directives.
27639         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
27640         missing cfi directives, and sigaltstack handling.
27642 2011-08-16  Andreas Schwab  <schwab@redhat.com>
27644         [BZ #11724]
27645         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
27646         object is seen twice.
27647         * elf/dl-fini.c (_dl_sort_fini): Likewise.
27649         * elf/Makefile (distribute): Add tst-initorder2.c.
27650         (tests): Add tst-initorder2.
27651         (modules-names): Add tst-initorder2a tst-initorder2b
27652         tst-initorder2c tst-initorder2d.  Add rules to build them.
27653         ($(objpfx)tst-initorder2.out): New rule.
27654         * elf/tst-initorder2.c: New file.
27655         * elf/tst-initorder2.exp: New file.
27657 2011-08-22  Andreas Schwab  <schwab@redhat.com>
27659         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
27661         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
27662         dependencies back to end of function.
27664         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
27665         $(elfobjdir)/ld.so.
27667 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
27669         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
27670         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
27671         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
27672         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
27673         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
27674         of __vdso_gettimeofday.
27675         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
27676         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
27677         attribute_hidden.
27678         (_libc_vdso_platform_setup): Remove initialization of
27679         __vdso_gettimeofday and __vdso_time.
27681 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
27683         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
27684         and fgetc_unlocked.
27685         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
27686         getc_unlocked.
27688         * elf/dl-open.c (add_to_global): Report additions to the global scope
27689         for LD_DEBUG=scopes.
27690         (dl_open_worker): Also print scope of newly loaded dependencies.
27691         (_dl_show_scope): Indicate if there is no scope.
27693         [BZ #13114]
27694         * stdio-common/Makefile (tests): Add bug24.
27695         * stdio-common/bug24.c: New file.
27697 2011-08-19  Andreas Jaeger  <aj@suse.de>
27699         [BZ #13114]
27700         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
27701         non-existant file when using close-on-exec mode.
27703 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
27705         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
27706         the very first instruction.
27708         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
27709         the CFI state in the end.
27710         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
27711         inclusion of dl-trampoline.h.
27712         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
27714 2011-08-19  Andreas Schwab  <schwab@redhat.com>
27716         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
27717         expectations for long double.
27719         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
27720         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
27722 2011-08-14  David S. Miller  <davem@davemloft.net>
27724         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
27725         artificual limit depends upon the system page size.
27727 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
27729         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
27730         * resolv/Makefile: Define CFLAGS-libresolv.
27732 2011-08-17  Andreas Schwab  <schwab@redhat.com>
27734         * nss/makedb.c (compute_tables): Make variables used in nested
27735         function static.
27737 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
27739         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
27740         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
27741         if buffer was too small.
27743         * elf/pldd.c (main): Attach to all threads in the process.
27744         Rewrite /proc handling to use *at functions.
27746 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
27748         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
27749         specifies first scope to show.
27750         (dl_open_worker): Update callers.  Move printing scope of new
27751         object to before the relocation.
27752         * elf/rtld.c (dl_main): Update _dl_show_scope call.
27753         * sysdeps/generic/ldsodefs.h: Update declaration.
27755         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
27756         string for the scope number.
27758 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
27760         * nscd/servicescache.c (cache_addserv): Make sure written is always
27761         initialized.
27763 2011-08-14  Roland McGrath  <roland@hack.frob.com>
27765         * sysdeps/i386/i486/bits/atomic.h
27766         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
27767         statement expression, so as to suppress "set but not used" warning.
27768         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
27770         * string/strncat.c (STRNCAT): Use prototype definition.
27772         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
27773         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
27774         -Iprograms here.
27775         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
27776         (localedef-modules): Add localedef.
27777         (locale-modules): Add locale.
27779         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
27780         * elf/rtld.c (dl_main): Invert order of assignment in last change,
27781         to avoid a warning.
27783 2011-08-14  David S. Miller  <davem@davemloft.net>
27785         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
27786         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
27788 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
27790         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
27791         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
27792         * elf/rtld.c (dl_main): Set l_name of vDSO.
27793         Call _dl_show_scope when DL_DEBUG_SCOPES.
27794         (process_dl_debug): Recognize scopes flag and also set it for all.
27795         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
27796         Declare _dl_show_scope.
27798         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
27799         (do_dlopen): Pass caller_dlopen to dl_open.
27800         (__libc_dlopen_mode): Initialize caller_dlopen.
27802         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
27803         of libc.  Make tolower call locale-independent.  Optimize a bit by
27804         using isdigit instead of isalnum.
27805         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
27807 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
27809         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
27810         was a dependency or dynamically loaded.
27812 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
27814         * intl/l10nflist.c: Allow architecture-specific pop function.
27815         * sysdeps/x86_64/l10nflist.c: New file.
27817         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
27818         classification.
27820 2011-08-10  Andreas Schwab  <schwab@redhat.com>
27822         * include/dirent.h: Add libc_hidden_proto for scandirat and
27823         scandirat64.  Don't declare __scandirat64.
27824         * dirent/scandirat.c: Add libc_hidden_def.
27825         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
27826         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
27828 2011-08-10  David S. Miller  <davem@davemloft.net>
27830         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
27831         enum.
27832         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
27833         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
27834         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
27836 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
27838         * Versions.def [libc]: Add GLIBC_2.15.
27839         * dirent/Makefile (routines): Add scandirat and scandirat64.
27840         * dirent/Versions [libc]: Export scandirat and scandirat64 for
27841         GLIBC_2.15.
27842         * dirent/dirent.h: Declare scandirat and scandirat64.
27843         * dirent/scandirat.c: New file.
27844         * dirent/scandirat64.c: New file.
27845         * sysdeps/wordsize-64/scandirat.c: New file.
27846         * sysdeps/wordsize-64/scandirat64.c: New file.
27847         * dirent/opendir.c: Define opendirat.
27848         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
27849         using scandirat.
27850         * dirent/scandir64.c: Adjust for scandir.c change.
27851         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
27852         __scandirat64, and __scandir_cancel_handler.
27853         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
27854         additional parameter and use openat instead of open (outside of ld.so).
27855         Add new __opendir as wrapper around __opendirat.
27856         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
27857         here without requiring old scandirat implementation.
27859 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
27861         * dirent/scandir.c (cancel_handler): Renamed to
27862         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
27863         defined.  Adjust users.
27864         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
27865         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
27867 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
27869         * string/test-string.h (IMPL): Use __STRING to expand name and then
27870         stringify it.
27872         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
27873         of cleanups.
27875 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
27877         * string/Makefile: Update.
27878         (strop-tests): Append strncat.
27879         * string/test-wcscmp.c: New file.
27880         New comprehensive test for wcscmp.
27881         * string/test-strcmp.c: Update.
27882         (WIDE): New define.
27884 2011-07-22  Andreas Schwab  <schwab@redhat.com>
27886         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
27887         line.
27889 2011-07-26  Andreas Schwab  <schwab@redhat.com>
27891         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
27892         encoding to ACE if AI_IDN.
27894 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
27896         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
27897         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
27899 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
27901         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
27902         Fix overflow bug in strncat.
27903         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
27905         * string/test-strncat.c: Update.
27906         Add new tests for checking overflow bugs.
27908 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
27910         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
27911         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
27912         * sysdeps/i386/i686/multiarch/strcat.S: New file.
27913         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
27914         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
27915         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
27916         * sysdeps/i386/i686/multiarch/strncat.S: New file.
27917         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
27918         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
27920         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
27921         (USE_AS_STRCAT): Define.
27922         Add strcat and strncat support.
27923         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
27925 2011-07-25  Andreas Schwab  <schwab@redhat.com>
27927         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
27928         __n bigger than INT_MAX+1.
27929         (__strncmp_g): Likewise.
27931 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
27933         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
27934         * libio/stido.h: Likewise.
27936         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
27937         (AF_NFC): Define.
27938         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
27939         (AF_NFC): Define.
27941         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
27942         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
27943         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
27944         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
27945         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
27947         [BZ #13021]
27948         * scripts/test-installation.pl: Don't expect libnss_test1 to be
27949         installed.
27951         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
27952         typo.
27953         (_dl_x86_64_save_sse): Likewise.
27955 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
27957         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
27958         OSXSAVE.
27959         (_dl_x86_64_save_sse): Likewise.
27961         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
27963         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
27965 2011-07-21  Andreas Schwab  <schwab@redhat.com>
27967         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
27968         change.
27969         (_dl_x86_64_save_sse): Use correct AVX check.
27971 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
27973         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
27974         bug in strncpy/strncat.
27975         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
27977 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
27979         * string/tester.c (test_strcat): Add tests for different alignments
27980         of source and destination.
27981         (test_strncat): Likewise.
27983 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
27985         [BZ #12852]
27986         * posix/glob.c (glob): Check passed in values before using them in
27987         expressions to avoid some overflows.
27988         (glob_in_dir): Likewise.
27990         [BZ #13007]
27991         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
27992         check for AVX enablement so that we don't crash with old kernels and
27993         new hardware.
27994         * elf/tst-audit4.c: Add same checks here.
27995         * elf/tst-audit6.c: Likewise.
27997         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
27999 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
28001         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
28003 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
28005         * po/cs.po: Update from translation team.
28006         * po/bg.po: Likewise.
28008 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
28010         * misc/sys/cdefs.h: Add support for const attribute.
28011         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
28012         to gnu_dev_{major,minor,makedev} functions.
28014 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
28016         * intl/dcigettext.c (get_output_charset): Add missing bracket.
28018 2011-07-20  Andreas Schwab  <schwab@redhat.com>
28020         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
28021         strlen results.
28023 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
28025         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
28026         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
28027         register in order to avoid conflicts with the soft frame pointer
28028         being held in r11 when necessary.
28029         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
28030         (INTERNAL_VSYSCALL_NCS): Likewise.
28032 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
28034         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
28035         * elf/dl-fini.c (_dl_fini): Adjust caller.
28036         * elf/dl-close.c (_dl_close_worker): Likewise.
28037         * sysdeps/generic/ldsodefs.h: Adjust declaration.
28039 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
28041         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
28042         "aux_cache->nlibs < 0".
28044         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
28045         in the reload-count case.
28047 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
28049         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
28050         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
28051         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
28052         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
28053         * sysdeps/x86_64/multiarch/strcat.S: New file.
28054         * sysdeps/x86_64/multiarch/strncat.S: New file.
28055         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
28056         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
28057         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
28058         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
28059         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
28060         (USE_AS_STRCAT): Define.
28061         Add strcat and strncat support.
28062         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
28063         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
28064         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
28065         * string/strncat.c: Update.
28066         (USE_AS_STRNCAT): Define.
28067         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28068         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
28069         and i7.
28070         * sysdeps/x86_64/multiarch/init-arch.h
28071         (bit_Prefer_PMINUB_for_stringop): New.
28072         (index_Prefer_PMINUB_for_stringop): Likewise.
28073         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
28074         bit_Prefer_PMINUB_for_stringop.
28076 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
28078         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
28079         buffer64.
28080         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
28081         of casting of buffer.
28082         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
28083         buffer32 and buffer64.
28084         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
28085         writes instead of casting of buffer.
28086         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
28087         buffer32.
28088         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
28089         casting of buffer.
28091 2011-07-19  Andreas Schwab  <schwab@redhat.com>
28093         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
28095 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
28097         * nscd/nscd.c (termination_handler): Don't do anything for a database
28098         if it has not yet been initialized.
28100 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
28102         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
28104 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
28106         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
28108 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
28110         * po/nl.po: Update from translation team.
28111         * po/sv.po: Likewise.
28113 2011-07-16  Roland McGrath  <roland@hack.frob.com>
28115         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
28116         now disallowed by GCC.
28118         * configure.in (use-default-link): Default to yes if a test -shared
28119         link meets our qualifications.
28120         * configure: Regenerated.
28122         * config.make.in (output-format): New variable.
28123         * configure.in: Check for ld --print-output-format support.
28124         * configure: Regenerated.
28125         * Makerules ($(common-objpfx)format.lds)
28126         [$(output-format) != unknown]: Just use $(output-format),
28127         instead of the linker-script munging.
28129 2011-07-14  Roland McGrath  <roland@hack.frob.com>
28131         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
28132         of $(common-objpfx)shlib.lds.
28133         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
28135         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
28136         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
28138         * configure.in (-z relro check): Adjust test code to add a large
28139         writable data section after it.
28140         * configure: Regenerated.
28142 2011-07-11  Roland McGrath  <roland@hack.frob.com>
28144         * configure.in (-z relro check): Fix test code to make the variable
28145         truly const.
28146         * configure: Regenerated.
28148 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
28150         * nscd/nscd.h (struct traced_file): Define.
28151         (struct database_dyn): Remove inotify_descr, reset_res, and filename
28152         elements.  Add traced_files.
28153         (inotify_fd): Declare.
28154         (register_traced_file): Declare.
28155         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
28156         (inotify_fd): Export.
28157         (resolv_conf_descr): Remove.
28158         (nscd_init): Move inotify descriptor creation to main.
28159         Don't register files for notification here.
28160         (register_traced_file): New function.
28161         (invalidate_cache): Don't use reset_res to determine whether to call
28162         res_init, go through the list of registered files.
28163         (main_loop_poll): The inotify descriptors are now stored in the
28164         structures for the traced files.
28165         (main_loop_epoll): Likewise
28166         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
28167         to __nss_disable_nscd.
28168         * nscd/cache.c (prune_cache): There is no single inotify descriptor
28169         for a database anymore.  Check the records for all the registered
28170         files instead.
28171         * nss/Makefile (libnss_files-routines): Add files-init.
28172         (libnss_db-routines): Add db-init.
28173         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
28174         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
28175         * nss/nss_db/db-init.c: New file.
28176         * nss/nss_files/files-init.c: New file.
28177         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
28178         __nss_lookup_function.
28179         (__nss_lookup_function): Call nss_load_library.
28180         (nss_load_all_libraries): New function.
28181         (__nss_disable_nscd): Take parameter with callback function for files
28182         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
28183         used for the cached services.
28184         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
28185         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
28186         options for features to all the files in nscd.
28188         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
28190 2011-07-10  Roland McGrath  <roland@hack.frob.com>
28192         * csu/elf-init.c (__libc_csu_init): Comment typo.
28194 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
28196         * po/pl.po: Update from translation team.
28197         * po/ja.po: Likewise.
28198         * po/ru.po: Likewise.
28199         * po/ko.po: Likewise.
28200         * po/fr.po: Likewise.
28202 2011-07-09  Roland McGrath  <roland@hack.frob.com>
28204         * configure.in (.ctors/.dtors header and trailer check):
28205         Use an empirical test on a built program.
28206         * configure: Regenerated.
28208         * configure.in (-z relro check): Use an empirical test on a built DSO.
28209         Detect, but do not require, on ia64.
28210         * configure: Regenerated.
28212         * configure.in (READELF): Find it with AC_CHECK_TOOL.
28213         Update tests that use readelf to use $READELF instead.
28214         * configure: Regenerated.
28216 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
28218         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
28219         if the result is not used.
28221 2011-07-05  Andreas Jaeger  <aj@suse.de>
28223         [BZ#9696]
28224         * stdlib/tst-strtod.c: Add testcase.
28226 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
28228         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
28229         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
28230         The latter has a higher limit.  Take additional parameter to pass to
28231         the new function.
28232         (__pathconf): Pass file to __statfs_link_max.
28233         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
28234         __statfs_link_max.
28235         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
28236         __statfs_link_max.
28238         [BZ #12868]
28239         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
28240         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
28241         Handle Lustre.
28242         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
28243         (__statfs_filesize_max): Likewise.
28244         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
28246 2011-07-05  Andreas Jaeger  <aj@suse.de>
28248         * resolv/res_comp.c (dn_skipname): Remove unused variable.
28250 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
28252         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
28253         `status' variable.
28254         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
28255         Likewise.
28257 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
28259         * Makefile (strop-tests): Add strncat.
28260         * string/test-strncat.c: New file.
28262 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
28264         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
28266 2011-06-21  Andreas Jaeger  <aj@suse.de>
28268         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
28269         Copy rule from iconvdata/Makefile.
28271 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
28273         [BZ #12922]
28274         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
28275         but no long options are defined, just return 'W'.
28277 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
28279         [BZ #9696]
28280         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
28282 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
28284         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
28285         netgroups to read.
28286         (innetgr): Likewise.
28288 2011-07-05  Roland McGrath  <roland@hack.frob.com>
28290         * config.make.in (install_root): Default to $(DESTDIR).
28292 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
28294         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
28296 2011-07-02  Roland McGrath  <roland@hack.frob.com>
28298         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
28300         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
28301         containing directory rather than embedding absolute directory names.
28303         * scripts/check-local-headers.sh: Rewritten using awk.
28304         Match by word, not by line.  Print error messages for matches.
28305         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
28307         * Makerules [shlib-lds-flags empty]:
28308         ($(common-objpfx)libc_pic.opts): New target.
28309         ($(common-objpfx)libc_pic.os.clean): New target.
28310         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
28312         * config.make.in (OBJCOPY): New variable.
28313         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
28314         * configure: Regenerated.
28316         * config.make.in (use-default-link): New variable.
28317         * configure.in (use_default_link): Grok --with-default-link to set it.
28318         * configure: Regenerated.
28319         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
28320         (shlib-lds, shlib-lds-flags): Define to empty.
28322         * Makerules (shlib-lds): New variable.
28323         (shlib-lds-flags): New variable.
28324         (build-shlib, build-moduile, build-module-asneeded): Use it.
28325         ($(common-objpfx)libc.so): Use $(shlib-lds).
28326         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
28327         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
28329         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
28330         DT_FLAGS/DT_FLAGS_1 with zero flags.
28332         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
28333         linker script munging.
28335 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
28337         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
28338         as 128-bit value.
28339         * crypt/sha512.c (sha512_process_block): Perform total addition using
28340         128-bit if possible.
28341         (__sha512_finish_ctx): Likewise.
28342         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
28343         as 64-bit value.
28344         * crypt/sha256.c (SWAP64): Define.
28345         (sha256_process_block): Perform total addition using 64-bit if
28346         possible.
28347         (__sha256_finish_ctx): Likewise.
28349 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
28351         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
28352         * nscd/initgrcache.c (addinitgroupsX): Likewise.
28353         * nscd/hstcache.c (cache_addhst): Likewise.
28354         * nscd/grpcache.c (cache_addgr): Likewise.
28355         * nscd/aicache.c (addhstaiX): Likewise
28356         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
28358 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
28360         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
28361         * nscd/initgrcache.c (addinitgroupsX): Likewise.
28362         * nscd/hstcache.c (cache_addhst): Likewise.
28363         * nscd/grpcache.c (cache_addgr): Likewise.
28364         * nscd/aicache.c (addhstaiX): Likewise
28366 2011-07-01  Andreas Schwab  <schwab@redhat.com>
28368         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
28369         domain only when needed.
28371 2011-06-30  Andreas Schwab  <schwab@redhat.com>
28373         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
28374         is always restored.
28376 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
28378         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
28379         are re-adding the entry.
28380         * nscd/servicescache.c (cache_addserv): Likewise.
28382 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
28384         * sysdeps/generic/dl-irel.h: fix protection against multiple
28385         inclusions.
28386         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
28388 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
28390         [BZ #12935]
28391         * malloc/memusage.sh: Fix quoting in message.
28392         * debug/xtrace.sh: Likewise.
28394         * configure.in: Remove support for --experimental-malloc option, make
28395         it the default.
28396         * config.make.in: Likewise.
28397         * malloc/Makefile: Likewise.
28399 2011-06-27  Andreas Schwab  <schwab@redhat.com>
28401         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
28402         two-byte characters.
28404 2011-06-27  Roland McGrath  <roland@hack.frob.com>
28406         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
28407         AC_CACHE_CHECK invocation.
28408         * configure: Regenerated.
28410         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
28412 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
28414         [BZ #12350]
28415         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
28416         bit from old_res_options.
28418         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
28420         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
28421         value type for setfct.
28423 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
28425         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
28426         __gettimeofday instead of gettimeofday.
28428 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
28430         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
28432 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
28434         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
28436         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
28437         info.
28439 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
28441         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
28442         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
28443         strcpy-sse2-unaligned strncpy-sse2-unaligned
28444         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
28445         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
28446         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
28447         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
28448         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
28449         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
28450         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
28451         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
28452         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
28453         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
28454         (STRCPY): Support SSE2 and SSSE3 versions.
28456 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
28458         [BZ #12874]
28459         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
28460         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
28461         kernels which artificially limit size of requests.
28463 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
28465         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
28466         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
28467         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
28468         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
28469         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
28470         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
28471         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
28472         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
28473         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
28474         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
28475         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
28476         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
28477         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
28478         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
28479         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
28480         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28481         Enable unaligned load optimization for Intel Core i3, i5 and i7
28482         processors.
28483         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
28484         Define.
28485         (index_Fast_Unaligned_Load): Define.
28486         (HAS_FAST_UNALIGNED_LOAD): Define.
28488 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
28490         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
28492 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
28494         [BZ #12907]
28495         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
28496         until it is clear that the information is realy needed.
28497         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
28499 2011-06-22  Andreas Schwab  <schwab@redhat.com>
28501         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
28503 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
28505         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
28506         /sys/devices/system/cpu/online if it is usable.
28508         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
28509         reading the information from the /proc filesystem to once a second.
28511 2011-06-21  Andreas Jaeger  <aj@suse.de>
28513         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
28514         NULL after inclusion of kernel headers.
28516 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
28518         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
28519         calls to internal_setent.
28521         [BZ #12885]
28522         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
28523         addresses using gethostbyname4_r ignore IPv4 addresses.
28525         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
28526         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
28528         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
28530 2011-06-20  David S. Miller  <davem@davemloft.net>
28532         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
28533         inclusions.
28534         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
28536         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
28537         (elf_irel): Use it.
28538         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
28539         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
28540         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
28541         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
28542         * sysdeps/x86_64/dl-irel.h: Likewise.
28544         * elf/dl-runtime.c: Use elf_ifunc_invoke.
28545         * elf/dl-sym.c: Likewise.
28547 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
28549         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
28550         need to dereference resplen2.
28552 2011-06-14  Andreas Schwab  <schwab@redhat.com>
28554         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
28556 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
28558         * Makeconfig: Define vardbdir and inst_vardbdir.
28559         * nss/Makefile: Add rules to install db-Makefile.
28561         * nss/nss_db/db-XXX.c: Cleanup.
28563         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
28564         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
28565         GLIBC_PRIVATE.
28566         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
28567         * nss/makedb.c: Implement -g option to specify that value strings
28568         are generated and should not be added to table iterated over for
28569         get*ent calls.
28570         * nss/nss_db/db-initgroups.c: New file.
28572         * nss/getent.c: Add support for initgroups lookups through getgrouplist
28573         interface.
28575         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
28576         (internal_getgrouplist): Adjust to name change.
28577         Update use_initgroups_entry if this is not the first call.
28578         * nss/databases.def: Add initgroups entry.
28580         * nss/makedb.c (compute_tables): Check result of multiple hash table
28581         sizes to minimize maximum chain length.
28583 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
28585         * Versions.def: Add entry for libnss_db.
28586         * shlib-versions: Likewise.
28587         * nss/Makefile: Add rules to build libnss_db.
28588         * nss/Versions: Add libnss_db information.  Organize libnss_files
28589         entries better.
28590         * nss/db-Makefile: Add gshadow support.  Change rules for the new
28591         makedb progra.  Some minor improvements to generate smaller files.
28592         * nss/nss_db/nss_db.h: Move NSS database header data structures to
28593         here from...
28594         * nss/makedb.c: ...here.
28595         Improve database format to be smaller and require less memory at
28596         runtime.
28597         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
28598         db anymore.
28599         * nss/nss_db/db-netgrp.c: Likewise.
28600         * nss/nss_db/db-open.c: Likewise.
28601         * nss/nss_files/flies-XXX.x: Adjust comments.
28602         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
28603         * nss/nss_files/files-grp.c: Likewise.
28604         * nss/nss_files/files-hosts.c: Likewise.
28605         * nss/nss_files/files-network.c: Likewise.
28606         * nss/nss_files/files-proto.c: Likewise.
28607         * nss/nss_files/files-pwd.c: Likewise.
28608         * nss/nss_files/files-rpc.c: Likewise.
28609         * nss/nss_files/files-service.c: Likewise.
28610         * nss/nss_files/files-sgrp.c: Likewise.
28611         * nss/nss_files/files-spwd.c: Likewise.
28612         * nss/nss_db/db-alias.c: Removed.
28613         * nss/nss_db/dummy-db.h: Removed.
28615 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
28617         * nss/makedb.c: Rewritten to not use database library.
28618         * nss/Makefile: Update to build new makedb program.
28620 2011-06-14  Andreas Jaeger  <aj@suse.de>
28622         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
28623         memset declaration.
28625 2011-06-10  Andreas Schwab  <schwab@redhat.com>
28627         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
28628         tmpbuf.
28630 2011-06-10  Roland McGrath  <roland@hack.frob.com>
28632         * Makerules (shlib.lds): Fail if the linker script comes out empty.
28633         * elf/Makefile ($(objpfx)ld.so): Likewise.
28635         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
28636         Don't list ld.so twice in dependencies.
28638         * posix/bug-regex31.c: Include <stdlib.h>.
28640         * nscd/hstcache.c (cache_addhst): Remove unused variable.
28642         * nis/nss_compat/compat-spwd.c
28643         (getspent_next_nss_netgr): Remove unused variable.
28644         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
28646         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
28647         nonmembers" output to use the right array.
28649         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
28651         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
28653         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
28654         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
28655         * catgets/gencat.c (read_input_file): Likewise.
28656         * locale/programs/locarchive.c (enlarge_archive): Likewise.
28658         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
28659         variable definition inside #if's controlling its use.
28661         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
28663         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
28665         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
28667         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
28668         unreachable code.
28670         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
28672         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
28673         * configure: Regenerated.
28675         * Makerules: Revert last change.
28676         * elf/Makefile: Likewise.
28678 2011-06-09  Roland McGrath  <roland@hack.frob.com>
28680         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
28681         * elf/Makefile ($(objpfx)librtld.os): Likewise.
28682         (reloc-link): Likewise.
28684 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
28686         * elf/Makefile: Add rules to build pldd.
28687         * elf/pldd.c: New file.
28688         * elf/pldd-xx.c: New file.
28690 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
28692         * version.h: Update for 2.15 development version.
28694 2011-06-07  David S. Miller  <davem@davemloft.net>
28696         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
28697         ifuncs.
28698         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
28699         elf_machine_lazy_rel): Likewise.
28700         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
28701         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
28702         elf_machine_lazy_rel): Likewise.
28703         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
28704         dl_hwcap via passed in argument.
28705         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
28706         Likewise.
28708 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
28710         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
28712 2011-06-06  Roland McGrath  <roland@hack.frob.com>
28714         [BZ #12849]
28715         * manual/fdl-1.1.texi: New file, verbatim from:
28716         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
28717         * manual/lgpl-2.1.texi: New file, verbatim from:
28718         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
28719         * manual/Makefile (licenses): New variable, list those new file names.
28720         (texis): Use it.
28721         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
28723         * manual/fdl.texi: File removed.
28724         * manual/lesser.texi: File removed.
28725         * manual/libc.texinfo (Copying, Documentation License):
28726         Use new @include file names, put @appendix directive before @include.
28728 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
28730         [BZ #12841]
28731         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
28732         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
28733         (mq_open): Add __NTH.
28735 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
28737         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28738         Assume Intel Core i3/i5/i7 processor if AVX is available.
28740 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
28742         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
28743         typo.
28745 2011-05-31  Andreas Schwab  <schwab@redhat.com>
28747         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
28748         memory.  Use alloca_account.  Fix memory leak when retrying.
28750 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
28752         * version.h (RELEASE): Bump for 2.14 release.
28753         * include/features.h (__GLIBC_MINOR__): Bump to 14.
28755         * config.make.in (RANLIB): Remove entry.
28757 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
28759         * po/Makefile (po-sed-cmd): Add ksh to extensions.
28760         (libc.pot): Work around missing support for .ksh extension in xgettext.
28762         [BZ #12684]
28763         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
28764         if both request failed.
28765         (send_dg): In case of server errors clear resplen or *resplen2.
28767         [BZ #12454]
28768         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
28769         when there are multiple maps.
28770         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
28771         (_dl_fini): Remove test here.
28773         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
28775 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
28777         [BZ #12350]
28778         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
28779         bit from old_res_options.
28780         (gaih_inet): Likewise.
28782         [BZ #11099]
28783         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
28784         as signed.
28786         * resolv/res_init.c (res_setoptions): Make the code more compact.
28788         [BZ #11558]
28789         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
28790         set RES_USEVC.
28792         [BZ #11634]
28793         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
28795         * malloc/malloc.h: Mark malloc hook variables as deprecated.
28797         [BZ #11781]
28798         * malloc/malloc.h: Declare malloc hook variables as volatile.
28800         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
28801         in last patch.
28803         [BZ #11799]
28804         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
28805         raise in the comment.
28806         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
28807         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
28808         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
28810 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
28812         [BZ #12811]
28813         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
28814         grow the buffers more if it already has to be sufficient.
28815         (build_wcs_upper_buffer): Likewise.
28816         * posix/regexec.c (check_matching): Likewise.
28817         (clean_state_log_if_needed): Likewise.
28818         (extend_buffers): Don't enlarge buffers beyond size of the input
28819         buffer.
28820         Patches mostly by Emil Wojak <emil@wojak.eu>.
28821         * posix/bug-regex32.c: New file.
28822         * posix/Makefile (tests): Add bug-regex32.
28824         * locale/findlocale.c (_nl_find_locale): Return right away if
28825         _nl_explode_name failed.
28826         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
28828         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
28830         * debug/xtrace.sh: Unify messages.
28831         * malloc/memusage.sh: Likewise.
28833         [BZ #12813]
28834         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
28835         time symbol from vDSO.  Substitute with vsyscall if not available.
28836         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
28837         __vdso_time.
28839         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
28840         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
28841         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
28842         Add sendmmsg and internal_sendmmsg.
28843         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
28844         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
28845         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
28847         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
28848         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
28849         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
28851 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
28853         [BZ #12813]
28854         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
28855         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
28856         available.
28857         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
28858         __vdso_getcpu.
28860         [BZ #12814]
28861         * iconvdata/Makefile (tests): Add bug-iconv9.
28862         * iconvdata/bug-iconv9.c: New file.
28864 2011-05-27  Andreas Schwab  <schwab@redhat.com>
28866         [BZ #12814]
28867         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
28869 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
28871         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
28872         (struct user_regs_struct): Change intcs field back to cs.
28874 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
28876         * po/ja.po: Update from translation team.
28878 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
28880         [BZ #12795]
28881         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
28882         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
28884 2011-05-20  Andreas Schwab  <schwab@redhat.com>
28886         * stdlib/longlong.h: Update from GCC.
28888 2011-05-23  Andreas Schwab  <schwab@redhat.com>
28890         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
28891         parameter name.
28892         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
28893         Add parameter name.
28894         (__sysconf): Pass it down.
28896 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
28898         [BZ #12671]
28899         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
28900         some situations.
28901         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
28902         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
28903         add in in __libc_use_alloca calls.  Adjust callers.
28904         (glob): Use malloc in some situations.
28906         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
28907         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
28908         pltexit.
28910 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
28912         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
28913         and CLOCK_BOOTTIME_ALARM.
28915         [BZ #12782]
28916         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
28917         is returned.
28919         * string/_strerror.c (__strerror_r): Print negative errors as signed
28920         numbers.
28922         [BZ #12777]
28923         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
28924         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
28925         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
28927         * configure.in: Fix typo in redirection and correct removal of test
28928         files in two cases.
28930         [BZ #12788]
28931         * locale/setlocale.c (new_composite_name): Fix test to check for
28932         identical name of all categories.
28934         [BZ #12792]
28935         * libio/filedoalloc.c (local_isatty): New function.
28936         (_IO_file_doallocate): Use local_isatty.
28937         * stdio-common/perror.c (perror): In case a new stream is used
28938         forward the stream error.
28939         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
28940         error flag.
28942 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
28944         [BZ #11869]
28945         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
28946         alloca.
28947         * include/alloca.h (extend_alloca_account): Define.
28949         [BZ #11857]
28950         * posix/regex.h: Fix comments with documentation of user-accessible
28951         fields after compilation and describe correct free'ing of pattern
28952         after re_compile_pattern.
28953         Patch by Reuben Thomas <rrt@sc3d.org>.
28955 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
28957         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
28958         and -mno-altivec to prevent the compiler from using Altivec and/or
28959         VSX instructions when the corresponding registers are not available.
28961 2011-05-19  Andreas Schwab  <schwab@redhat.com>
28963         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
28965 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
28967         * libio/freopen.c (freopen): Use __dup2, not dup2.
28968         * libio/freopen64.c (freopen64): Likewise.
28970 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
28972         [BZ #12775]
28973         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
28974         * math/Makefile (tests): Add test-powl.
28975         (CFLAGS-test-powl.c): Define.
28976         * math/test-powl.c: New file.
28978 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
28980         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
28982 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
28984         [BZ #11837]
28985         * iconvdata/gb18030.c: Update to GB18020-2005.
28987 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
28989         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
28990         RE_SYNTAX_POSIX_AWK): Update to match recent development.
28991         Patch by Aharon Robbins <arnold@skeeve.com>.
28993         [BZ #11892]
28994         * stdlib/putenv.c (putenv): Don't always create copy of the variable
28995         on the stack.
28997         [BZ #11895]
28998         * misc/pselect.c (__pselect): Handle timeout value errors hidden
28999         through underflows.
29001         [BZ #12766]
29002         * misc/error.c (error_at_line): Ensure file_name and old_file_name
29003         point to strings before performing equality test for error_one_per_line
29004         mode.
29006         [BZ #11697]
29007         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
29009         [BZ #11820]
29010         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
29011         (struct user_fpregs_struct): Avoid __uint*_t types.
29013         [BZ #6420]
29014         * malloc/mtrace.c (tr_where): Add additional parameter to point to
29015         symbol info.  Use it instead of calling _dl_addr locally.
29016         (lock_and_info): New function.
29017         (tr_freehook): Call lock_and_info and pass symbol info as additional
29018         parameter to tr_where.
29019         (tr_mallochook): Likewise.
29020         (tr_reallochook): Likewise.
29021         (tr_memalignhook): Likewise.
29023         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
29024         used and couldn't be at all thread-safe.
29026 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
29028         * libio/freopen.c (freopen): Don't close old file descriptor
29029         before the new one is opened.  Instead dup the new file descriptor
29030         to the old one after the new stream is created.
29031         * libio/freopen64.c (freopen64): Likewise.
29032         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
29033         * libio/fileops.c (_IO_new_file_close_it): Handle new
29034         _IO_FLAGS2_NOCLOSE flag.
29035         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
29036         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
29037         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
29038         _IO_FLAGS2_NOCLOSE flag.
29039         * include/unistd.h: Add hidden_proto for dup3.
29040         Define __have_dup3.
29041         * io/dup3.c: Define hidden symbol.
29042         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
29044         [BZ #7101]
29045         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
29046         when an incomplete long option is used.
29047         * posix/tst-getopt_long1.c: New file.
29048         * posix/Makefile (tests): Add tst-getopt_long1.
29050         [BZ #10138]
29051         * scripts/config.guess: Update from autoconf-2.68.
29052         * scripts/config.sub: Likewise.
29054         [BZ #10157]
29055         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
29056         tests into ...
29057         (has_cpuclock): ...this.  New function.
29058         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
29059         macro here based on has_cpuclock code.
29061         [BZ #10149]
29062         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
29063         First byte (not low byte) is now always NUL.
29064         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
29066         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
29067         Use non-cancelable interfaces.
29069         [BZ #9809]
29070         * locale/iso-639.def: Add entry for Sorani.
29072         [BZ #11901]
29073         * include/stdlib.h: Move include protection to the right place.
29074         Define abort_msg_s.  Declare __abort_msg with it.
29075         * stdlib/abort.c (__abort_msg): Adjust type.
29076         * assert/assert.c (__assert_fail_base): New function.  Majority
29077         of code from __assert_fail.  Allocate memory for __abort_msg with
29078         mmap.
29079         (__assert_fail): Now call __assert_fail_base.
29080         * assert/assert-perr.c: Remove bulk of implementation.  Use
29081         __assert_fail_base.
29082         * include/assert.hL Declare __assert_fail_base.
29083         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
29084         mmap.
29085         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
29087 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
29089         [BZ #11952]
29090         [BZ #12453]
29091         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
29092         until all modules are registered in the DTV.
29093         * elf/Makefile: Add rules to build and run tst-tls19.
29094         * elf/tst-tls19.c: New file.
29095         * elf/tst-tls19mod1.c: New file.
29096         * elf/tst-tls19mod2.c: New file.
29097         * elf/tst-tls19mod3.c: New file.
29098         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
29100         [BZ #12083]
29101         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
29102         correctly.
29104         [BZ #12601]
29105         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
29106         two-byte sequence errors.
29107         * iconvdata/Makefile (tests): Add bug-iconv8.
29108         * iconvdata/bug-iconv8.c: New file.
29110         [BZ #12626]
29111         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
29112         buf2 definition.
29114         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
29116         [BZ #12432]
29117         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
29118         (dummy_getcfa): New function.
29119         (init): Get _Unwind_GetCFA address, use dummy if not found.
29120         (backtrace_helper): In recursion check, also check whether CFA changes.
29121         (__backtrace): Completely initialize arg.
29123         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
29124         storing incomplete byte sequence in state object.  Avoid testing for
29125         guaranteed too small input if we know there is enough data available.
29127 2011-05-11  Andreas Schwab  <schwab@redhat.com>
29129         * Makeconfig (+link-pie): Indent.
29130         * Rules (binaries-pie): Define if $(have-fpie) and
29131         $(build-shared).
29132         (binaries-shared): Also filter out $(binaries-pie).
29133         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
29134         * nscd/Makefile (others-pie): Add nscd.
29135         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
29136         ($(objpfx)nscd): Remove command override.
29137         * login/Makefile (others-pie): Add pt_chown.
29138         ($(objpfx)pt_chown): Remove command override.
29139         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
29140         remove command overrides.
29142 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
29144         * libio/tst_putwc.c: Fix error messages.
29146         [BZ #12724]
29147         * libio/fileops.c (_IO_new_file_close_it): Always flush when
29148         currently writing and seek to current position when not.
29149         * libio/Makefile (tests): Add bug-fclose1.
29150         * libio/bug-fclose1.c: New file.
29152 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
29154         [BZ #12511]
29155         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
29156         don't set DF_1_NODELETE here.
29157         (do_lookup_x): When entering new entry test for copy relocation
29158         and if necessary set DF_1_NODELETE flag.
29159         * elf/tst-unique4.cc: New file.
29160         * elf/tst-unique4.h: New file.
29161         * elf/tst-unique4lib.cc: New file.
29162         * elf/Makefile: Add rules to build and run tst-unique4.
29163         Patch by Piotr Bury <pbury@goahead.com>.
29165 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
29167         [BZ #12052]
29168         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
29170         [BZ #12625]
29171         * misc/mntent_r.c (addmntent): Flush the stream after the output
29173         [BZ #12393]
29174         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
29175         (is_trusted_path_normalize): Skip initial colon.  Append slash
29176         to empty buffer.  Duplicate is_trusted_path code but allow
29177         constructed patch to be prefix.
29178         (is_dst): Allow $ORIGIN followed by /.
29179         (_dl_dst_substitute): Correct clearing of check_for_trusted.
29180         Correct testing of result of is_trusted_path_normalize
29181         (decompose_rpath): Fix warning.
29183 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
29185         [BZ #11257]
29186         * grp/initgroups.c (internal_getgrouplist): When we found the service
29187         list through the initgroups entry in nsswitch.conf do not always
29188         continue on a successful lookup.  Don't always use the
29189         __nss_group_database value if it is set.
29190         * nss/nsswitch.conf (initgroups): Change action for successful db
29191         lookup to continue for compatibility.
29193 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
29195         [BZ #11532]
29196         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
29197         and CP774 modules.
29198         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
29199         and CP774 modules.
29200         * iconvdata/tst-tables.sh: Likewise.
29201         * iconvdata/cp770.c: New file.
29202         * iconvdata/cp771.c: New file.
29203         * iconvdata/cp772.c: New file.
29204         * iconvdata/cp773.c: New file.
29205         * iconvdata/cp774.c: New file.
29206         * iconvdata/testdata/CP770: New file.
29207         * iconvdata/testdata/CP770..UTF8: New file.
29208         * iconvdata/testdata/CP771: New file.
29209         * iconvdata/testdata/CP771..UTF8: New file.
29210         * iconvdata/testdata/CP772: New file.
29211         * iconvdata/testdata/CP772..UTF8: New file.
29212         * iconvdata/testdata/CP773: New file.
29213         * iconvdata/testdata/CP773..UTF8: New file.
29214         * iconvdata/testdata/CP774: New file.
29215         * iconvdata/testdata/CP774..UTF8: New file.
29217         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
29218         END CHARMAP line.
29219         * iconvdata/gen-8bit-gap.sh: Likewise.
29220         * iconvdata/gen-8bit.sh: Likewise.
29222         * locale/iso-639.def: Add ary entry.
29224         [BZ #11258]
29225         * locale/C-translit.h.in: Add U20A1 transliteration.
29227         [BZ #12178]
29228         * locale/iso-639.def: Add wae entry.
29229         Patch by Kevin Bortis <bortis@translate-wae.ch>.
29231         [BZ #12545]
29232         * locale/programs/localedef.c (construct_output_path): Use ssize_t
29233         for n.
29235         [BZ #12711]
29236         * locale/C-translit.h.in: Add entry for U20B9.
29237         Patch by pravin.d.s@gmail.com.
29239 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
29241         [BZ #12713]
29242         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
29243         ENAMETOOLONG use generic getcwd.
29244         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
29245         in rtld.  Use *stat64.
29246         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
29247         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
29248         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
29249         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
29250         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
29251         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
29252         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
29253         __fstatat64 macros.
29254         * include/dirent.h: Add libc_hidden_proto for rewinddir.
29255         * dirent/rewinddir.c: Add libc_hidden_def.
29256         * sysdeps/mach/hurd/rewinddir.c: Likewise.
29257         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
29259         * include/dirent.h (__alloc_dir): Add flags parameter.
29260         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
29261         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
29262         __alloc_dir.
29263         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
29264         from fdopendir if O_CLOEXEC is already set.
29266 2011-03-15  Alan Modra  <amodra@gmail.com>
29268         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
29269         l_tls_firstbyte_offset non-zero.  Save padding offset in
29270         l_tls_firstbyte_offset for later use.
29271         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
29272         freeing static tls block.
29274 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
29276         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
29277         where #ifdef was intended.  The intent is to prevent ARG_MAX from
29278         being defined by the kernel headers.
29280 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
29282         [BZ #12734]
29283         * resolv/resolv.h: Define RES_NOTLDQUERY.
29284         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
29285         no-tld-query and set RES_NOTLDQUERY.
29286         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
29287         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
29288         modern BIND to search name as TLD unless forbidden.
29290 2011-05-07  Petr Baudis  <pasky@suse.cz>
29291             Ulrich Drepper  <drepper@gmail.com>
29293         [BZ #12393]
29294         * elf/dl-load.c (fillin_rpath): Move trusted path check...
29295         (is_trusted_path): ...to here.
29296         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
29297         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
29298         using is_trusted_path_normalize() in setuid scripts.
29300 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
29302         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
29303         __BEGIN/__END_DECLS.
29305 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
29307         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
29308         NSS_STATUS_NOTFOUND if no record was found.
29310 2011-05-05  Andreas Schwab  <schwab@redhat.com>
29312         * sunrpc/Makefile (headers): Add rpc/netdb.h.
29313         (headers-not-in-tirpc): Remove rpc/netdb.h
29314         * resolv/netdb.h: Revert last change.
29316 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
29318         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
29319         circular dependency between libgcc.a and libc.a.
29321 2011-05-05  Andreas Schwab  <schwab@redhat.com>
29323         * resolv/netdb.h: Don't include <rpc/netdb.h>.
29324         * nis/Makefile: Don't install rpcsvc/*.
29325         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
29326         instead of <rpc/types.h>.
29327         (MAXHOSTNAMELEN): Define.
29329 2011-05-03  Andreas Schwab  <schwab@redhat.com>
29331         * elf/ldconfig.c (add_dir): Don't crash on empty path.
29333 2011-04-28  Maciej Babinski  <mbabinski@google.com>
29335         [BZ #12714]
29336         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
29337         gethostbyname4_r when IPv6 results are possible.
29339 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
29341         [BZ #12723]
29342         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
29343         _PC_PIPE_BUF handling.
29345 2011-04-30  Bruno Haible  <bruno@clisp.org>
29347         [BZ #12717]
29348         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
29349         * resolv/netdb.h (getnameinfo): Change type of flags parameter
29350         to 'int'.
29351         * inet/getnameinfo.c (getnameinfo): Likewise.
29353 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
29355         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
29356         to groups setting in database lookup.
29357         * nss/nsswitch.conf: Add initgroups entry.
29359 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
29361         [BZ #12685]
29362         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
29363         mode string.
29364         Patch by Eric Blake <eblake@redhat.com>.
29366 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
29368         * sunrpc/Makefile (need-export-routines): Add svc_run.
29369         (routines): Remove svc_run.
29370         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
29371         * sunrpc/clnt_perr.c (clnt_perrno): Export.
29372         * sunrpc/svc_run.c (svc_run): Likewise.
29373         * sunrpc/svc_udp.c (svcudp_create): Likewise.
29375 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
29377         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
29378         problem in reallocation in last patch.
29380 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
29382         * sunrpc/Makefile: Move inclusion of Rules.
29384 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
29386         * nss/nss_files/files-initgroups.c: New file.
29387         * nss/Makefile (libnss_files-routines): Add files-initgroups.
29388         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
29389         _nss_files_initgroups_dyn.
29391 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
29393         * elf/elf.h (R_ARM_IRELATIVE): Define.
29395 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
29397         * po/ru.po: Update from translation team.
29399 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
29401         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
29402         dependencies.
29404 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
29406         [BZ #12653]
29407         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
29408         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
29409         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
29410         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
29411         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
29413 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
29415         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
29416         differing bytes.
29417         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
29418         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
29419         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
29421 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
29423         [BZ #12420]
29424         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
29425         storing it.
29426         * stdlib/bug-getcontext.c: New file.
29427         * stdlib/Makefile: Add rules to build and run bug-getcontext.
29429 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
29431         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
29432         instructions into .machine "z9-109".
29433         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
29434         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
29436 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
29438         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
29439         between environment variables and auxiliary vector.
29441 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
29443         * Makefile: Add rules to build linkobj/libc.so.
29444         * include/libc-symbols.h: Define libc_hidden_nolink.
29445         * include/rpc/auth.h: Mark functions which are to be hidden.
29446         * include/rpc/auth_des.h: Likewise.
29447         * include/rpc/auth_unix.h: Likewise.
29448         * include/rpc/clnt.h: Likewise.
29449         * include/rpc/des_crypt.h: Likewise.
29450         * include/rpc/key_prot.h: Likewise.
29451         * include/rpc/pmap_clnt.h: Likewise.
29452         * include/rpc/pmap_prot.h: Likewise.
29453         * include/rpc/pmap_rmt.h: Likewise.
29454         * include/rpc/rpc_msg.h: Likewise.
29455         * include/rpc/svc.h: Likewise.
29456         * include/rpc/svc_auth.h: Likewise.
29457         * include/rpc/xdr.h: Likewise.
29458         * nis/Makefile: Link all DSOs against linkobj/libc.so.
29459         * nss/Makefile: Likewise.
29460         * sunrpc/Makefile: Don't install headers.  Build library with normal
29461         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
29462         * sunrpc/auth_des.c: Hide exported symbols by default, export some
29463         for the compat linking library.  Remove use of INTDEF/INTUSE.
29464         * sunrpc/auth_none.c: Likewise.
29465         * sunrpc/auth_unix.c: Likewise.
29466         * sunrpc/authdes_prot.c: Likewise.
29467         * sunrpc/authuxprot.c: Likewise.
29468         * sunrpc/clnt_gen.c: Likewise.
29469         * sunrpc/clnt_perr.c: Likewise.
29470         * sunrpc/clnt_raw.c: Likewise.
29471         * sunrpc/clnt_simp.c: Likewise.
29472         * sunrpc/clnt_tcp.c: Likewise.
29473         * sunrpc/clnt_udp.c: Likewise.
29474         * sunrpc/clnt_unix.c: Likewise.
29475         * sunrpc/des_crypt.c: Likewise.
29476         * sunrpc/des_soft.c: Likewise.
29477         * sunrpc/get_myaddr.c: Likewise.
29478         * sunrpc/key_call.c: Likewise.
29479         * sunrpc/key_prot.c: Likewise.
29480         * sunrpc/netname.c: Likewise.
29481         * sunrpc/pm_getmaps.c: Likewise.
29482         * sunrpc/pm_getport.c: Likewise.
29483         * sunrpc/pmap_clnt.c: Likewise.
29484         * sunrpc/pmap_prot.c: Likewise.
29485         * sunrpc/pmap_prot2.c: Likewise.
29486         * sunrpc/pmap_rmt.c: Likewise.
29487         * sunrpc/publickey.c: Likewise.
29488         * sunrpc/rpc_cmsg.c: Likewise.
29489         * sunrpc/rpc_common.c: Likewise.
29490         * sunrpc/rpc_dtable.c: Likewise.
29491         * sunrpc/rpc_prot.c: Likewise.
29492         * sunrpc/rpc_thread.c: Likewise.
29493         * sunrpc/rtime.c: Likewise.
29494         * sunrpc/svc.c: Likewise.
29495         * sunrpc/svc_auth.c: Likewise.
29496         * sunrpc/svc_authux.c: Likewise.
29497         * sunrpc/svc_raw.c: Likewise.
29498         * sunrpc/svc_run.c: Likewise.
29499         * sunrpc/svc_simple.c: Likewise.
29500         * sunrpc/svc_tcp.c: Likewise.
29501         * sunrpc/svc_udp.c: Likewise.
29502         * sunrpc/svc_unix.c: Likewise.
29503         * sunrpc/svcauth_des.c: Likewise.
29504         * sunrpc/xcrypt.c: Likewise.
29505         * sunrpc/xdr.c: Likewise.
29506         * sunrpc/xdr_array.c: Likewise.
29507         * sunrpc/xdr_float.c: Likewise.
29508         * sunrpc/xdr_intXX_t.c: Likewise.
29509         * sunrpc/xdr_mem.c: Likewise.
29510         * sunrpc/xdr_rec.c: Likewise.
29511         * sunrpc/xdr_ref.c: Likewise.
29512         * sunrpc/xdr_sizeof.c: Likewise.
29513         * sunrpc/xdr_stdio.c: Likewise.
29515 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
29517         [BZ #12650]
29518         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
29519         * sysdeps/ia64/dl-tls.h: Likewise.
29520         * sysdeps/powerpc/dl-tls.h: Likewise.
29521         * sysdeps/s390/dl-tls.h: Likewise.
29522         * sysdeps/sh/dl-tls.h: Likewise.
29523         * sysdeps/sparc/dl-tls.h: Likewise.
29524         * sysdeps/x86_64/dl-tls.h: Likewise.
29525         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
29527 2011-03-14  Andreas Schwab  <schwab@redhat.com>
29529         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
29530         rpath element also skip the following colon.
29531         (expand_dynamic_string_token): Add is_path parameter and pass
29532         down to DL_DST_REQUIRED and _dl_dst_substitute.
29533         (decompose_rpath): Call expand_dynamic_string_token with
29534         non-zero is_path.  Ignore empty rpaths.
29535         (_dl_map_object_from_fd): Call expand_dynamic_string_token
29536         with zero is_path.
29538 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
29540         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
29541         Make cancelable.
29543 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
29545         [BZ #12655]
29546         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
29547         Patch by Filipe David Manana <fdmanana@apache.org>.
29549 2011-04-07  Andreas Schwab  <schwab@redhat.com>
29551         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
29552         Maintain aligned stack.
29553         (CHECK_RSP): Remove unused macro.
29555 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
29557         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
29558         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
29560 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
29562         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
29564         * include/features.h: Mention __USE_XOPEN2K8 in comment.
29566 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
29568         [BZ #12518]
29569         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
29570         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
29571         * sysdeps/x86_64/memmove.c: New file.
29572         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
29573         (memcpy): Renamed to ...
29574         (__new_memcpy): This.
29575         (memcpy): Provide GLIBC_2_14 memcpy.
29576         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
29577         (memcpy): Provide GLIBC_2_2_5 memcpy.
29579 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
29581         [BZ #12631]
29582         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
29584 2011-03-30  Andreas Schwab  <schwab@redhat.com>
29586         * misc/syncfs.c: New file.
29587         * misc/Makefile (routines): Add syncfs.
29588         * posix/unistd.h: Declare syncfs.
29589         * sysdeps/unix/syscalls.list: Add syncfs.
29591 2011-04-01  Andreas Schwab  <schwab@redhat.com>
29593         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
29594         open_by_handle_at.
29595         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
29596         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
29597         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
29598         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
29599         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
29600         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
29601         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
29603 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
29605         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
29606         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
29607         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
29608         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
29609         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
29610         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
29611         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
29613         * io/Makefile: Compile fallocate.c, fallocate64.c, and
29614         sync_file_range.c with -fexceptions.
29615         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
29616         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
29617         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
29618         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
29619         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
29620         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
29621         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
29622         sync_file_range as cancellation point
29623         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
29624         now a wrapper around __call_sync_file_range with cancellation handling.
29625         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
29626         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
29627         function name to __call_sync_file_range.
29628         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
29629         Add call_sync_file_range.
29631 2011-04-01  Andreas Schwab  <schwab@redhat.com>
29633         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29634         bits/timex.h.
29636 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
29638         * iconv/iconv.h: Fix typo in comment.
29639         * io/fcntl.h: Likewise.
29640         * libio/stdio.h: Likewise.
29641         * posix/spawn.h: Likewise.
29642         * posix/unistd.h: Likewise.
29643         * stdlib/stdlib.h: Likewise.
29644         * time/time.h: Likewise.
29645         * wcsmbs/wchar.h: Likewise.
29647         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
29648         open_by_handle): Add.
29649         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
29650         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
29651         Augment a few comments.
29652         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
29653         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
29654         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
29655         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
29656         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
29657         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
29658         open_by_handle.
29660         * io/fcntl.h (AT_EMPTY_PATH): Define.
29662 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
29664         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
29665         * sysdeps/unix/sysv/linux/bits/time.h: New file.
29666         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
29667         to...
29668         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
29669         * Versions.def: Add GLIBC_2.14.
29670         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
29671         Export.
29673 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
29675         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
29676         round counter.
29677         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
29679 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
29681         [BZ #12597]
29682         * string/test-strncmp.c (do_page_test): New function.
29683         (check2): Likewise.
29684         (test_main): Call check2.
29685         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
29687 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
29689         [BZ #12587]
29690         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
29691         Handle cache information in CPU leaf 4.
29692         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
29694 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
29696         [BZ #12583]
29697         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
29698         character representation.
29699         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
29701 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
29703         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
29704         END(__isnan) to END(__isnanf) to match function entry point/label
29705         EALIGN(__isnanf,...).
29707 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
29709         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
29711 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
29713         [BZ #12510]
29714         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
29715         copy from the symbol referenced in the relocation to initialize the
29716         used variable.
29717         Patch by Piotr Bury <pbury@goahead.com>.
29718         * elf/Makefile: Add rules to build and tst-unique3.
29719         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
29720         * elf/tst-unique3.cc: New file.
29721         * elf/tst-unique3.h: New file.
29722         * elf/tst-unique3lib.cc: New file.
29723         * elf/tst-unique3lib2.cc: New file.
29725         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
29727 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
29729         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
29730         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
29731         to _start.
29733 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
29735         * elf/dl-load.c (_dl_map_object): If we are looking for the first
29736         to-be-loaded object along a path to loader is ld.so.
29738 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
29739             Ulrich Drepper  <drepper@gmail.com>
29741         * sysdeps/x86_64/memset.S: After aligning destination, code
29742         branches to different locations depending on the value of
29743         misalignment, when multiarch is enabled. Fix this.
29745 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
29747         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
29748         Set _x86_64_preferred_memory_instruction for AMD processsors.
29749         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29750         Set bit_Prefer_SSE_for_memop for AMD processors.
29752 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
29754         * libio/fmemopen.c (fmemopen): Optimize a bit.
29756 2011-03-03  Andreas Schwab  <schwab@redhat.com>
29758         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
29760 2011-03-03  Roland McGrath  <roland@redhat.com>
29762         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
29764 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
29766         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
29767         __bzero_ultra1 instead of __memset_ultra1.
29769 2011-02-23  Andreas Schwab  <schwab@redhat.com>
29770             Ulrich Drepper  <drepper@gmail.com>
29772         [BZ #12509]
29773         * include/link.h (struct link_map): Add l_orig_initfini.
29774         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
29775         returning unsuccessfully.
29776         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
29777         close of a file loaded at startup, restore the original l_initfini
29778         list.
29779         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
29780         list, store the pointer.
29781         * elf/Makefile ($(objpfx)noload-mem): New rule.
29782         (noload-ENV): Define.
29783         (tests): Add $(objpfx)noload-mem.
29784         * elf/noload.c: Include <memcheck.h>.
29785         (main): Call mtrace.  Close all opened handles.
29787 2011-02-17  Andreas Schwab  <schwab@redhat.com>
29789         [BZ #12454]
29790         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
29791         dependencies are missing.
29793 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
29795         Fix __if_freereq crash: Unlike the generic version which uses free,
29796         Hurd needs munmap.
29797         * sysdeps/mach/hurd/ifreq.h: New file.
29799 2011-01-27  Petr Baudis  <pasky@suse.cz>
29800             Ulrich Drepper  <drepper@gmail.com>
29802         [BZ 12445]#
29803         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
29804         to extend_alloca().
29805         * stdio-common/bug23.c: New file.
29806         * stdio-common/Makefile (tests): Add bug23.
29808 2010-09-28  Andreas Schwab  <schwab@redhat.com>
29809             Ulrich Drepper  <drepper@gmail.com>
29811         [BZ #12489]
29812         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
29813         before performing relro protection.  At old place add assertion
29814         to make sure nothing changed.
29816 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
29817             Glauber de Oliveira Costa  <glommer@gmail.com>
29819         * elf/elf.h: Add new ARM TLS relocs.
29821 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
29823         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
29824         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
29825         cast from r3.
29826         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
29827         'tests' variable.
29828         * sysdeps/wordsize-64/tst-writev.c: New file.
29830 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
29832         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
29833         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
29834         insns in _dl_start to prevent a TOC reference before relocs are
29835         resolved.
29837 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
29839         [BZ #12469]
29840         * Makeconfig: Remove RANLIB definition.
29841         * Makerules: Don't use RANLIB.
29842         * aclocal.m4: Remove ranlib test.
29843         * configure.in: No need to check for ranlib.
29844         * elf/rtld-Rules: Don't use RANLIB.
29846 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
29848         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
29849         protection macro.
29850         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
29851         inclusion protection macro.
29853         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
29854         SIGRTMIN and SIGRTMAX and print information in that case only when
29855         SIGRTMIN is defined.
29857 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
29859         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
29860         arginfo fn returning -1.
29862         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
29863         and thousands string is zero terminated.
29865 2011-02-03  Andreas Schwab  <schwab@redhat.com>
29867         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
29868         sysdeps/unix/sysv/linux/bits/socket.h.
29870 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
29872         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
29873         (__CPU_COUNT): Remove old macros.
29874         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
29875         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
29876         (__CPU_ALLOC, __CPU_FREE): Add macros.
29877         (__sched_cpualloc, __sched_cpufree): Add declarations.
29879 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
29881         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
29882         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
29883         * nscd/aicache.c (addhstaiX): Return timeout of added value.
29884         (readdhstai): Return value of addhstaiX call.
29885         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
29886         (addgrbyX): Return value returned by cache_addgr.
29887         (readdgrbyname): Return value returned by addgrbyX.
29888         (readdgrbygid): Likewise.
29889         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
29890         (addpwbyX): Return value returned by cache_addpw.
29891         (readdpwbyname): Return value returned by addhstbyX.
29892         (readdpwbyuid): Likewise.
29893         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
29894         (addservbyX): Return value returned by cache_addserv.
29895         (readdservbyname): Return value returned by addservbyX:
29896         (readdservbyport): Likewise.
29897         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
29898         (addhstbyX): Return value returned by cache_addhst.
29899         (readdhstbyname): Return value returned by addhstbyX.
29900         (readdhstbyaddr): Likewise.
29901         (readdhstbynamev6): Likewise.
29902         (readdhstbyaddrv6): Likewise.
29903         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
29904         (readdinitgroups): Return value returned by addinitgroupsX.
29905         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
29906         (prune_cache): Keep track of timeout value of re-added entries.
29907         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
29908         * nscd/nscd.h: Adjust prototypes of readd* functions.
29910 2011-02-04  Roland McGrath  <roland@redhat.com>
29912         * nis/nis_server.c (nis_servstate): Use the right name for 0.
29913         (nis_stats): Likewise.
29914         * nis/nis_modify.c (nis_modify): Likewise.
29915         * nis/nis_remove.c (nis_remove): Likewise.
29916         * nis/nis_add.c (nis_add): Likewise.
29918         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
29920         * posix/fnmatch_loop.c: Add some consts.
29922         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
29924 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
29926         [BZ #12460]
29927         * config.make.in (config-cflags-novzeroupper): Define.
29928         * configure.in: Substitute libc_cv_cc_novzeroupper.
29929         * elf/Makefile (AVX-CFLAGS): Define.
29930         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
29931         (CFLAGS-tst-auditmod4a.c): Likewise.
29932         (CFLAGS-tst-auditmod4b.c): Likewise.
29933         (CFLAGS-tst-auditmod6b.c): Likewise.
29934         (CFLAGS-tst-auditmod6c.c): Likewise.
29935         (CFLAGS-tst-auditmod7b.c): Likewise.
29936         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
29938 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
29940         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
29941         function to the callback.
29942         Patch partly by Jiri Olsa <jolsa@redhat.com>.
29944 2011-02-02  Andreas Schwab  <schwab@redhat.com>
29946         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
29947         of errno.
29949 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
29951         [BZ #11724]
29952         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
29953         of constructors.
29954         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
29955         of destructors.
29956         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
29958         [BZ #11724]
29959         * elf/Makefile: Add rules to build and run new test.
29960         * elf/tst-initorder.c: New file.
29961         * elf/tst-initorder.exp: New file.
29962         * elf/tst-initordera1.c: New file.
29963         * elf/tst-initordera2.c: New file.
29964         * elf/tst-initordera3.c: New file.
29965         * elf/tst-initordera4.c: New file.
29966         * elf/tst-initorderb1.c: New file.
29967         * elf/tst-initorderb2.c: New file.
29968         * elf/tst-order-a1.c: New file.
29969         * elf/tst-order-a2.c: New file.
29970         * elf/tst-order-a3.c: New file.
29971         * elf/tst-order-a4.c: New file.
29972         * elf/tst-order-b1.c: New file.
29973         * elf/tst-order-b2.c: New file.
29974         * elf/tst-order-main.c: New file.
29975         New test case by George Gensure <werkt0@gmail.com>.
29977 2010-10-01  Andreas Schwab  <schwab@redhat.com>
29979         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
29980         decoding ACE if AI_CANONIDN.
29982 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
29984         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
29986 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
29988         * version.h (RELEASE): Bump for 2.13 release.
29989         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
29991         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
29993         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
29994         MADV_NOHUGEPAGE.
29995         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
29996         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
29997         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
29998         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
29999         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
30000         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
30002         * posix/getconf.c: Update copyright year.
30003         * catgets/gencat.c: Likewise.
30004         * csu/version.c: Likewise.
30005         * debug/catchsegv.sh: Likewise.
30006         * debug/xtrace.sh: Likewise.
30007         * elf/ldconfig.c: Likewise.
30008         * elf/ldd.bash.in: Likewise.
30009         * elf/sprof.c (print_version): Likewise.
30010         * iconv/iconv_prog.c: Likewise.
30011         * iconv/iconvconfig.c: Likewise.
30012         * locale/programs/locale.c: Likewise.
30013         * locale/programs/localedef.c: Likewise.
30014         * malloc/memusage.sh: Likewise.
30015         * malloc/mtrace.pl: Likewise.
30016         * nscd/nscd.c (print_version): Likewise.
30017         * nss/getent.c: Likewise.
30019         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
30020         PF_CAIF, and PF_ALG.
30021         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
30023 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
30025         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
30026         (modules-names): Use them.
30027         (ifunc-test-modules, ifunc-pie-tests): Define.
30028         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
30029         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
30030         (test-extras): Likewise.
30031         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
30032         $(compile-command.c).
30033         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
30034         (all-built-dso): Define.
30035         (check-textrel.out, check-execstack.out): Depend on it.
30037         * configure.in: Don't override --enable-multi-arch.
30039 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
30041         [BZ #6812]
30042         * nscd/hstcache.c (tryagain): Define.
30043         (cache_addhst): Return tryagain not notfound for temporary errors.
30044         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
30045         failed.
30047 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
30049         [BZ #10563]
30050         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
30051         to make the syscall.
30052         * sysdeps/unix/sysv/linux/setgroups.c: New file.
30054         [BZ #12378]
30055         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
30056         and fall back to matching as normal character if the string ends before
30057         the matching ']' is found.  This is what POSIX requires.
30058         * posix/testfnm.c: Adjust test result.
30059         * posix/globtest.sh: Adjust test result.  Add new test.
30060         * posix/tst-fnmatch.input: Likewise.
30061         * posix/tst-fnmatch2.c: Add new test.
30063 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
30065         * elf/Makefile (check-execstack): Revert last change.  Depend on
30066         check-execstack.h.
30067         (check-execstack.h): New target.
30068         (generated): Add check-execstack.h.
30069         * elf/check-execstack.c: Include "check-execstack.h".
30070         (main): Revert last change.
30071         (handle_file): Return zero if GNU_STACK is absent and
30072         DEFAULT_STACK_PERMS doesn't include PF_X.
30074 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
30076         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
30077         in child fails because the descriptor is already closed.
30078         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
30079         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
30080         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
30082         [BZ #12397]
30083         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
30084         syscall.
30086         [BZ #10484]
30087         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
30088         temporary buffer used to handle multi lookups locally.
30089         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
30091 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
30093         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
30094         loader is ld.so.
30096 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
30098         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
30099         alignment for SSE2.
30101 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
30103         [BZ #12394]
30104         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
30105         characters.  When rounding increased number of integer digits recompute
30106         number of groups.
30107         * stdio-common/tst-grouping.c: New file.
30108         * stdio-common/Makefile: Add rules to build and run tst-grouping.
30110 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
30112         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
30113         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
30115         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
30116         void.
30117         * bits/select.h: Likewise.
30119 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
30121         * po/ja.po: Update from translation team.
30123 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
30125         [BZ #11155]
30126         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
30127         implementation just like for lxstat, fxstatat, et al.
30129 2010-12-27  Jim Meyering  <meyering@redhat.com>
30131         [BZ #12348]
30132         * posix/regexec.c (build_trtable): Return failure indication upon
30133         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
30135 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
30137         [BZ #12201]
30138         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
30139         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
30140         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
30141         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
30143         [BZ #12207]
30144         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
30146         [BZ #12204]
30147         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
30148         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
30150 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
30152         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
30153         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
30154         script has SORT_BY_INIT_PRIORITY.
30155         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
30156         NO_CTORS_DTORS_SECTIONS is defined.
30157         * elf/soinit.c: Likewise.
30158         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
30159         NO_CTORS_DTORS_SECTIONS is defined.
30160         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
30161         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
30162         * sysdeps/sh/init-first.c: Likewise.
30163         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
30165 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
30167         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
30168         always use the slow path.
30170 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
30172         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
30173         similar rule which adds the sysdep directories to the header search in
30174         order to pick up the correct platform stackinfo.h.
30175         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
30176         perform test if it is, otherwise return successfully without testing.
30177         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
30178         DEFAULT_STACK_PERMS define in stackinfo.h.
30179         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
30180         defined in stackinfo.h.
30181         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
30182         DEFAULT_STACK_PERMS defined in stackinfo.h.
30183         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
30184         * sysdeps/ia64/stackinfo.h: Likewise.
30185         * sysdeps/s390/stackinfo.h: Likewise.
30186         * sysdeps/sh/stackinfo.h: Likewise.
30187         * sysdeps/sparc/stackinfo.h: Likewise.
30188         * sysdeps/x86_64/stackinfo.h: Likewise.
30189         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
30190         PF_X for powerpc64.  Retain PF_X for powerpc32.
30192 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
30194         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
30195         accurately.
30196         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
30197         GETDENTS_64BIT_ALIGNED.
30199 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
30201         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
30203 2010-12-10  Andreas Schwab  <schwab@redhat.com>
30205         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
30206         _GNU_SOURCE.
30208         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
30209         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
30210         Remove __restrict.
30211         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
30212         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
30214 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
30216         [BZ #11655]
30217         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
30218         are initialized.
30220 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
30222         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
30224 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
30226         * po/it.po: Update from translation team.
30228 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
30230         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
30231         unused codes.
30233 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
30235         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
30237 2010-11-24  Andreas Schwab  <schwab@redhat.com>
30239         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
30240         specially.
30241         (gaih_getanswer_slice): Likewise.
30243 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
30245         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
30247 2010-05-31  Petr Baudis  <pasky@suse.cz>
30249         [BZ #11149]
30250         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
30251         silently even in the chroot mode.
30253 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
30255         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
30256         last patch a bit.  Pretty printing
30258 2010-05-31  Petr Baudis <pasky@suse.cz>
30260         [BZ #10085]
30261         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
30262         initialization of skip_initgroups_dyn.
30264 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
30266         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
30267         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
30269 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
30271         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
30273 2010-11-11  Andreas Schwab  <schwab@redhat.com>
30275         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
30276         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
30277         (tst-fnmatch-ENV): Set MALLOC_TRACE.
30278         ($(objpfx)tst-fnmatch-mem): New rule.
30279         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
30280         * posix/tst-fnmatch.c (main): Call mtrace.
30282 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
30284         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30285         Support Intel processor model 6 and model 0x2c.
30287 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
30289         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
30290           signed comparison.
30292 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
30294         [BZ #12205]
30295         * string/test-strncasecmp.c (check_result): New function.
30296         (do_one_test): Use it.
30297         (check1): New function.
30298         (test_main): Use it.
30299         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
30300         Support strcasecmp and strncasecmp.
30302 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
30304         [BZ #12194]
30305         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
30306         * sysdeps/x86_64/bits/byteswap.h: Likewise.
30308 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
30310         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
30311         IFUNC support.
30312         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
30313         memset-x86-64.
30314         * sysdeps/x86_64/multiarch/bzero.S: New file.
30315         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
30316         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
30317         * sysdeps/x86_64/multiarch/memset.S: New file.
30318         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
30319         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30320         Set bit_Prefer_SSE_for_memop for Intel processors.
30321         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
30322         Define.
30323         (index_Prefer_SSE_for_memop): Define.
30324         (HAS_PREFER_SSE_FOR_MEMOP): Define.
30326 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
30328         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
30329         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
30331 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
30333         [BZ #12191]
30334         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
30335         (__x86_64_raw_data_cache_size_half): Likewise.
30336         (__x86_64_raw_shared_cache_size): Likewise.
30337         (__x86_64_raw_shared_cache_size_half): Likewise.
30339         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
30340         (__x86_64_raw_data_cache_size_half): Likewise.
30341         (__x86_64_raw_shared_cache_size): Likewise.
30342         (__x86_64_raw_shared_cache_size_half): Likewise.
30343         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
30344         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
30345         and __x86_64_raw_shared_cache_size_half.  Round
30346         __x86_64_data_cache_size_half, __x86_64_data_cache_size
30347         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
30348         to multiple of 256 bytes.
30350 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
30352         [BZ #12167]
30353         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
30354         of inacessible symlinks.  Verify result of symlink before returning it.
30355         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
30356         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
30358 2010-10-28  Erich Ritz  <erichritz@gmail.com>
30360         * math/math.h (isinf): Fix typo in comment.
30362 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
30364         * po/da.po: Update from translation team.
30366 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
30368         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
30369         is added to the list.
30371 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
30372             Ulrich Drepper  <drepper@gmail.com>
30374         * elf/dl-object.c (_dl_new_object): Don't append the new object to
30375         the global list here.  Move code to...
30376         (_dl_add_to_namespace_list): ...here.  New function.
30377         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
30378         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
30379         * elf/dl-load.c (lose): Don't remove the element from the list.
30380         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
30381         (_dl_map_object): Likewise.
30383 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
30385         [BZ #12159]
30386         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
30387         into all bytes of SSE register.
30388         Patch by Richard Li <richardpku@gmail.com>.
30390 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
30392         [BZ #12140]
30393         * malloc/malloc.c (_int_free): Fill correct number of bytes when
30394         perturbing.
30396 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
30398         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
30399         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
30400         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
30401         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
30402         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
30403         submachine.
30404         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
30406 2010-10-22  Andreas Schwab  <schwab@redhat.com>
30408         * include/dlfcn.h (__RTLD_SECURE): Define.
30409         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
30410         mode & __RTLD_SECURE instead.
30411         (open_path): Rename preloaded parameter to secure.
30412         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
30413         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
30414         * elf/dl-deps.c (openaux): Likewise.
30415         * elf/rtld.c (struct map_args): Remove is_preloaded.
30416         (map_doit): Don't use it.
30417         (dl_main): Likewise.
30418         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
30419         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
30421 2010-09-09  Andreas Schwab  <schwab@redhat.com>
30423         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
30424         (sysd-rules-targets): Remove duplicates.
30425         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
30426         rtld-%.$o dependency.
30428 2010-10-18  Andreas Schwab  <schwab@redhat.com>
30430         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
30431         _dl_map_object do it.
30433 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
30435         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
30436         fast fma builtins, define the macros in the C99 standard.
30437         (FP_FAST_FMAF): Likewise.
30438         (FP_FAST_FMAL): Likewise.
30439         * sysdeps/x86_64/bits/mathdef.h: Likewise.
30441         * bits/mathdef.h: Update copyright year.
30442         * sysdeps/powerpc/bits/mathdef.h: Likewise.
30444 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
30446         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
30447         builtins, define the macros in the C99 standard.
30448         (FP_FAST_FMAF): Likewise.
30449         (FP_FAST_FMAL): Likewise.
30450         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
30451         multiply/add.
30452         (FP_FAST_FMAF): Likewise.
30454 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
30456         [BZ #3268]
30457         * math/libm-test.inc (fma_test): Some new testcases.
30458         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
30459         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
30460         y and infinite z.  Do multiplication by C already in long double.
30461         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
30462         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
30463         y and infinite z.  Do bitwise or of inexact bit into u.d.
30464         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
30465         * sysdeps/i386/fpu/s_fmaf.S: Removed.
30466         * sysdeps/i386/fpu/s_fma.S: Removed.
30467         * sysdeps/i386/fpu/s_fmal.S: Removed.
30469 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
30471         [BZ #3268]
30472         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
30473         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
30474         computation is not scheduled after fetestexcept.  Fix value
30475         of minimum denormal long double.
30477 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
30479         [BZ #3268]
30480         * math/libm-test.inc (fma_test): Add some more tests.
30481         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
30482         correctly.
30484 2010-10-15  Andreas Schwab  <schwab@redhat.com>
30486         * scripts/data/localplt-s390-linux-gnu.data: New file.
30487         * scripts/data/localplt-s390x-linux-gnu.data: New file.
30489 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
30491         [BZ #3268]
30492         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
30493         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
30494         instead of dbl-64.
30495         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
30496         inlines.
30497         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
30498         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
30499         if one of x and y is very large and the other is subnormal.
30500         * sysdeps/s390/fpu/s_fmaf.c: New file.
30501         * sysdeps/s390/fpu/s_fma.c: New file.
30502         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
30503         * sysdeps/powerpc/fpu/s_fma.S: New file.
30504         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
30505         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
30506         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
30508 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
30510         [BZ #3268]
30511         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
30512         fma tests.
30513         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
30514         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
30515         * sysdeps/i386/i686/multiarch/s_fma.c: Include
30516         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
30517         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
30518         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
30519         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
30521 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
30523         [BZ #12078]
30524         * posix/regcomp.c (parse_branch): One more memory leak plugged.
30525         * posix/bug-regex31.input: Add test case.
30527 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
30529         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
30530         * posix/bug-regex31.input: New file.
30532         [BZ #12078]
30533         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
30534         (parse_sub_exp): Fix last change, use postorder.
30536         * posix/bug-regex31.c: New file.
30537         * posix/Makefile: Add rules to build and run bug-regex31.
30539         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
30541         [BZ #12078]
30542         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
30544         [BZ #12108]
30545         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
30546         to have entries in sys_siglist.
30548         [BZ #12093]
30549         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
30550         be NULL.
30552 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
30554         [BZ #3268]
30555         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
30556         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
30557         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
30558         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
30559         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
30560         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
30561         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
30562         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
30563         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
30564         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
30565         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
30566         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
30567         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
30568         * math/ftestexcept.c (fetestexcept): Likewise.
30569         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
30570         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
30571         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
30572         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
30573         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
30574         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
30575         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
30577 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
30579         [BZ #12107]
30580         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
30581         newline.
30583 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
30585         * string/bug-strstr1.c: New file.
30586         * string/Makefile: Add rules to build and run bug-strstr1.
30588 2010-10-05  Eric Blake  <eblake@redhat.com>
30590         [BZ #12092]
30591         * string/str-two-way.h (two_way_long_needle): Always clear memory
30592         when skipping input due to the shift table.
30594 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
30596         [BZ #12005]
30597         * malloc/mcheck.c: Handle large requests.
30599         [BZ #12077]
30600         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
30601         for strncmp and strncasecmp.
30602         * string/stratcliff.c: Add tests for strcmp and strncmp.
30603         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
30605 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
30607         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
30608         __set_fpscr.
30610 2010-09-30  Andreas Jaeger  <aj@suse.de>
30612         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
30613         (CGROUP_SUPER_MAGIC): Define.
30614         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
30615         Handle btrfs and cgroup file systems.
30616         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
30617         Likewise.
30619 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
30621         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
30622         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
30624 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
30626         [BZ #12067]
30627         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
30628         trying to locate the ELF header.
30630 2010-09-27  Andreas Schwab  <schwab@redhat.com>
30632         [BZ #11611]
30633         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
30634         Mask out sign-bit copies when constructing f_fsid.
30636 2010-09-24  Petr Baudis <pasky@suse.cz>
30638         * debug/stack_chk_fail_local.c: Add missing licence exception.
30639         * debug/warning-nop.c: Likewise.
30641 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
30643         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
30644         implementing getdents64 using getdents syscall, set d_type if
30645         __ASSUME_GETDENTS32_D_TYPE.
30647 2010-09-16  Andreas Schwab  <schwab@redhat.com>
30649         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
30650         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
30652 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
30654         [BZ #12037]
30655         * posix/unistd.h: Undo change of feature selection for ftruncate from
30656         2010-01-11.
30658 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
30660         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
30661         detection.
30663 2010-09-20  Andreas Schwab  <schwab@redhat.com>
30665         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
30666         fanotify_mark.
30667         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
30669 2010-09-14  Andreas Schwab  <schwab@redhat.com>
30671         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
30672         variables after CHECK_SP call.
30673         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
30675 2010-09-13  Andreas Schwab  <schwab@redhat.com>
30676             Ulrich Drepper  <drepper@redhat.com>
30678         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
30679         re-relocationg ld.so.
30680         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
30681         _dl_init_paths call.
30682         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
30683         here anymore.
30685 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
30687         * resolv/res_init.c (__res_vinit): Count the default server we added.
30689 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
30690             Ulrich Drepper  <drepper@redhat.com>
30692         [BZ #11968]
30693         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
30694         (____longjmp_chk): Use %ebx for saving value across system call.
30695         Add unwind info.
30697 2010-09-06  Andreas Schwab  <schwab@redhat.com>
30699         * manual/Makefile: Don't mix pattern rules with normal rules.
30701 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
30703         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
30704         operation.
30705         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
30706         * libio/iofopncook.c (_IO_cookie_init): Likewise.
30707         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
30708         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
30709         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
30710         Likewise.
30712 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
30714         [BZ #11979]
30715         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
30716         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
30718 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
30720         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
30721         * sysdeps/x86_64/addmul_1.S: Likewise.
30722         * sysdeps/x86_64/lshift.S: Likewise.
30723         * sysdeps/x86_64/mul_1.S: Likewise.
30724         * sysdeps/x86_64/rshift.S: Likewise.
30725         * sysdeps/x86_64/sub_n.S: Likewise.
30726         * sysdeps/x86_64/submul_1.S: Likewise.
30728 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
30730         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
30731         Define __sched_param instead of SCHED_* and sched_param when
30732         <bits/sched.h> is included with __need_schedparam defined.
30733         * bits/sched.h [__need_schedparam]
30734         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
30735         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
30736         (__defined_schedparam): Define to 1.
30737         (__sched_param): New structure, identical to sched_param.
30738         (__need_schedparam): Undefine.
30740 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
30742         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
30743         (epoll_create1): Declare.
30745         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
30747 2010-08-31  Andreas Schwab  <schwab@redhat.com>
30749         [BZ #7066]
30750         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
30751         shifting retval into place.
30753 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
30755         * nis/rpcsvc/nis.h: Update copyright notice.
30756         * nis/rpcsvc/nis.x: Likewise.
30757         * nis/rpcsvc/nis_callback.h: Likewise.
30758         * nis/rpcsvc/nis_callback.x: Likewise.
30759         * nis/rpcsvc/nis_object.x: Likewise.
30760         * nis/rpcsvc/nis_tags.h: Likewise.
30761         * nis/rpcsvc/yp.h: Likewise.
30762         * nis/rpcsvc/yp.x: Likewise.
30763         * nis/rpcsvc/ypupd.h: Likewise.
30764         * nis/yp_xdr.c: Likewise.
30765         * nis/ypupdate_xdr.c: Likewise.
30767         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
30768         mainly the body of pmap_getport.  Add parameters to specify timeouts.
30769         (pmap_getport): Use __libc_rpc_getport.
30770         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
30771         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
30772         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
30774 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
30776         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
30777         fanotify_mark.
30779 2010-08-27  Roland McGrath  <roland@redhat.com>
30781         * sysdeps/i386/i686/multiarch/Makefile
30782         (CFLAGS-varshift.c): New variable.
30784 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
30786         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
30787         * sysdeps/i386/i686/multiarch/varshift.c: New file.
30789         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
30791         * sysdeps/x86_64/strlen.S: Minimal code improvement.
30793 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
30795         * sysdeps/x86_64/strlen.S: Unroll the loop.
30796         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
30797         strlen-sse2 strlen-sse2-bsf.
30798         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
30799         __strlen_no_bsf if bit_Slow_BSF is set.
30800         (__strlen_sse42): Removed.
30801         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
30802         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
30804 2010-08-25  Roland McGrath  <roland@redhat.com>
30806         * sysdeps/x86_64/multiarch/varshift.S: File removed.
30807         * sysdeps/x86_64/multiarch/varshift.c: New file.
30808         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
30809         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
30810         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
30811         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
30813 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
30815         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
30816         strlen-sse2 strlen-sse2-bsf.
30817         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
30818         __strlen_sse2_bsf if bit_Slow_BSF is unset.
30819         (__strlen_sse2): Removed.
30820         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
30821         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
30822         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
30823         bit_Slow_BSF for Atom.
30824         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
30825         (index_Slow_BSF): Define.
30826         (HAS_SLOW_BSF): Define.
30828 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
30830         [BZ #10851]
30831         * resolv/res_init.c (__res_vinit): When no server address at all
30832         is given default to loopback.
30834 2010-08-24  Roland McGrath  <roland@redhat.com>
30836         * configure.in: Remove config-name.h generation.
30837         * configure: Regenerated.
30838         * config-name.in: File removed.
30839         * scripts/config-uname.sh: New file.
30840         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
30841         ($(objdir)config-name.h): New target.
30843         * sunrpc/rpc_parse.h: Avoid nested comment.
30845 2010-08-24  Richard Henderson  <rth@redhat.com>
30846             Ulrich Drepper  <drepper@redhat.com>
30847             H.J. Lu  <hongjiu.lu@intel.com>
30849         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
30850         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
30851         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
30852         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
30853         _mm_alignr_epi8 with _mm_loadu_si128.
30854         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
30855         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
30856         (__m128i_shift_right): Removed.
30857         * sysdeps/i386/i686/multiarch/varshift.h: New file.
30858         * sysdeps/i386/i686/multiarch/varshift.S: New file.
30859         * sysdeps/x86_64/multiarch/varshift.h: New file.
30860         * sysdeps/x86_64/multiarch/varshift.S: New file.
30862 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
30864         * configure.in: Move assembler checks to before sysdep dir checking.
30866 2010-08-20  Petr Baudis  <pasky@suse.cz>
30868         * LICENSES: Sync the sunrpc license.
30870 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
30872         * sunrpc/auth_des.c: Update copyright notice once again.
30873         * sunrpc/auth_none.c: Likewise.
30874         * sunrpc/auth_unix.c: Likewise.
30875         * sunrpc/authdes_prot.c: Likewise.
30876         * sunrpc/authuxprot.c: Likewise.
30877         * sunrpc/bindrsvprt.c: Likewise.
30878         * sunrpc/clnt_gen.c: Likewise.
30879         * sunrpc/clnt_perr.c: Likewise.
30880         * sunrpc/clnt_raw.c: Likewise.
30881         * sunrpc/clnt_simp.c: Likewise.
30882         * sunrpc/clnt_tcp.c: Likewise.
30883         * sunrpc/clnt_udp.c: Likewise.
30884         * sunrpc/clnt_unix.c: Likewise.
30885         * sunrpc/des_crypt.c: Likewise.
30886         * sunrpc/des_soft.c: Likewise.
30887         * sunrpc/get_myaddr.c: Likewise.
30888         * sunrpc/getrpcport.c: Likewise.
30889         * sunrpc/key_call.c: Likewise.
30890         * sunrpc/key_prot.c: Likewise.
30891         * sunrpc/openchild.c: Likewise.
30892         * sunrpc/pm_getmaps.c: Likewise.
30893         * sunrpc/pm_getport.c: Likewise.
30894         * sunrpc/pmap_clnt.c: Likewise.
30895         * sunrpc/pmap_prot.c: Likewise.
30896         * sunrpc/pmap_prot2.c: Likewise.
30897         * sunrpc/pmap_rmt.c: Likewise.
30898         * sunrpc/rpc/auth.h: Likewise.
30899         * sunrpc/rpc/auth_unix.h: Likewise.
30900         * sunrpc/rpc/clnt.h: Likewise.
30901         * sunrpc/rpc/des_crypt.h: Likewise.
30902         * sunrpc/rpc/key_prot.h: Likewise.
30903         * sunrpc/rpc/netdb.h: Likewise.
30904         * sunrpc/rpc/pmap_clnt.h: Likewise.
30905         * sunrpc/rpc/pmap_prot.h: Likewise.
30906         * sunrpc/rpc/pmap_rmt.h: Likewise.
30907         * sunrpc/rpc/rpc.h: Likewise.
30908         * sunrpc/rpc/rpc_des.h: Likewise.
30909         * sunrpc/rpc/rpc_msg.h: Likewise.
30910         * sunrpc/rpc/svc.h: Likewise.
30911         * sunrpc/rpc/svc_auth.h: Likewise.
30912         * sunrpc/rpc/types.h: Likewise.
30913         * sunrpc/rpc/xdr.h: Likewise.
30914         * sunrpc/rpc_clntout.c: Likewise.
30915         * sunrpc/rpc_cmsg.c: Likewise.
30916         * sunrpc/rpc_common.c: Likewise.
30917         * sunrpc/rpc_cout.c: Likewise.
30918         * sunrpc/rpc_dtable.c: Likewise.
30919         * sunrpc/rpc_hout.c: Likewise.
30920         * sunrpc/rpc_main.c: Likewise.
30921         * sunrpc/rpc_parse.c: Likewise.
30922         * sunrpc/rpc_parse.h: Likewise.
30923         * sunrpc/rpc_prot.c: Likewise.
30924         * sunrpc/rpc_sample.c: Likewise.
30925         * sunrpc/rpc_scan.c: Likewise.
30926         * sunrpc/rpc_scan.h: Likewise.
30927         * sunrpc/rpc_svcout.c: Likewise.
30928         * sunrpc/rpc_tblout.c: Likewise.
30929         * sunrpc/rpc_util.c: Likewise.
30930         * sunrpc/rpc_util.h: Likewise.
30931         * sunrpc/rpcinfo.c: Likewise.
30932         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
30933         * sunrpc/rpcsvc/key_prot.x: Likewise.
30934         * sunrpc/rpcsvc/klm_prot.x: Likewise.
30935         * sunrpc/rpcsvc/mount.x: Likewise.
30936         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
30937         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
30938         * sunrpc/rpcsvc/rex.x: Likewise.
30939         * sunrpc/rpcsvc/rstat.x: Likewise.
30940         * sunrpc/rpcsvc/rusers.x: Likewise.
30941         * sunrpc/rpcsvc/sm_inter.x: Likewise.
30942         * sunrpc/rpcsvc/spray.x: Likewise.
30943         * sunrpc/rpcsvc/yppasswd.x: Likewise.
30944         * sunrpc/rtime.c: Likewise.
30945         * sunrpc/svc.c: Likewise.
30946         * sunrpc/svc_auth.c: Likewise.
30947         * sunrpc/svc_authux.c: Likewise.
30948         * sunrpc/svc_raw.c: Likewise.
30949         * sunrpc/svc_run.c: Likewise.
30950         * sunrpc/svc_simple.c: Likewise.
30951         * sunrpc/svc_tcp.c: Likewise.
30952         * sunrpc/svc_udp.c: Likewise.
30953         * sunrpc/svc_unix.c: Likewise.
30954         * sunrpc/svcauth_des.c: Likewise.
30955         * sunrpc/xcrypt.c: Likewise.
30956         * sunrpc/xdr.c: Likewise.
30957         * sunrpc/xdr_array.c: Likewise.
30958         * sunrpc/xdr_float.c: Likewise.
30959         * sunrpc/xdr_mem.c: Likewise.
30960         * sunrpc/xdr_rec.c: Likewise.
30961         * sunrpc/xdr_ref.c: Likewise.
30962         * sunrpc/xdr_sizeof.c: Likewise.
30963         * sunrpc/xdr_stdio.c: Likewise.
30965         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
30966         handling.
30968 2010-08-19  Andreas Schwab  <schwab@redhat.com>
30970         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
30972 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
30974         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
30975         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
30976         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
30977         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
30978         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
30979         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
30980         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
30981         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
30982         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
30983         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
30984         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
30985         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
30986         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
30987         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
30989 2010-07-26  Anton Blanchard  <anton@samba.org>
30991         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
30992         * malloc/arena.c (heap_trim): Likewise.
30994 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
30996         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
30997         here.  Not...
30998         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
30999         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
31001 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
31003         * sysdeps/i386/elf/Makefile: New file.
31005 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
31007         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
31008         from fanotify_init.
31009         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
31010         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
31012 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
31014         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
31015         of strncasecmp_l.
31016         * sysdeps/multiarch/strcmp.S: Likewise.
31018 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
31020         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
31021         strncase_l-nonascii.
31022         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
31023         Add strncase_l-ssse3.
31024         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
31025         * sysdeps/x86_64/strcmp.S: Likewise.
31026         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
31027         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
31028         * sysdeps/x86_64/strncase.S: New file.
31029         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
31030         * sysdeps/x86_64/strncase_l.S: New file.
31031         * string/Makefile (strop-tests): Add strncasecmp.
31032         * string/test-strncasecmp.c: New file.
31034         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
31035         warning.
31037         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
31038         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
31040 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
31042         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
31044 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
31046         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
31047         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
31048         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
31050 2010-05-01  Alan Modra  <amodra@gmail.com>
31052         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
31053         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
31054         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
31055         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
31056         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
31057         tidying.  Don't tail-call __sigjmp_save for static lib.
31058         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
31059         save location.
31060         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
31061         (CALL_MCOUNT): Add eh info, and nop after bl.
31062         (TAIL_CALL_SYSCALL_ERROR): New macro.
31063         (PSEUDO_RET): Use it.
31064         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
31065         Correct save location of integer regs and cr.
31066         (_dl_profile_resolve): Correct cr save location.  Delete nops
31067         after bl when SHARED.  Reduce cfi size a little by better
31068         placement of cfi directives.
31069         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
31070         make a stack frame.  Instead use parm save area as a temp.
31071         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
31072         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
31073         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
31074         Don't make a stack frame for parent, use parm save area.
31075         Increase child stack frame to 112 bytes.  Don't save unused reg,
31076         and adjust reg usage.  Set up cfi on error recovery and
31077         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
31078         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
31079         (__makecontext): Add dummy nop after jump to exit.
31080         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
31081         Use correct parm save area and cr save, reduce stack frame.
31082         Correct cfi for possible PSEUDO_RET frame setup.
31083         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
31084         Branch to local label emitted by PSEUDO_RET rather than
31085         __syscall_error.
31087 2010-08-12  Andreas Schwab  <schwab@redhat.com>
31089         [BZ #11904]
31090         * locale/programs/locale.c (print_assignment): New function.
31091         (show_locale_vars): Use it.
31093 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
31095         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
31096         field.
31097         (struct statfs64): Likewise.
31098         (_STATFS_F_FLAGS): Define.
31099         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
31100         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
31101         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
31102         (ST_VALID): Define locally.
31103         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
31104         __statvfs_getflags, use the provided value.
31105         * sysdeps/unix/sysv/linux/kernel-features.h: Define
31106         __ASSUME_STATFS_F_FLAGS.
31108         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
31110         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
31111         Add sys/fanotify.h.
31112         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
31113         fanotify_mask for GLIBC_2.13.
31114         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
31115         fanotify_init and fanotify_mark.
31116         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
31117         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
31119         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
31120         Add prlimit.
31121         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
31122         prlimit64 for GLIBC_2.13.
31123         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
31124         prlimit64.
31125         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
31126         syscall.
31127         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
31128         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
31129         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
31130         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
31131         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
31132         add prlimit alias.
31133         * sysdeps/unix/sysv/linux/prlimit.c: New file.
31135         [BZ #11903]
31136         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
31137         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
31139         * nss/Makefile: Add rules to build and run tst-nss-test1.
31140         * shlib-versions: Add entry for libnss_test1.
31141         * nss/nss_test1.c: New file.
31142         * nss/tst-nss-test1.c: New file.
31144         * nss/nsswitch.c (__nss_database_custom): Define new variable.
31145         (__nss_configure_lookup): Set appropriate entry in
31146         __nss_configure_lookup to true.
31147         * nss/nsswitch.h: Define enum with indeces of databases in
31148         databases and __nss_database_custom arrays.  Declare
31149         __nss_database_custom.
31150         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
31151         to avoid using nscd when custom rules are installed.
31152         * nss/getXXbyYY_r.c: Likewise.
31153         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
31155         * nss/nss_files/files-parse.c: Whitespace fixes.
31157 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
31159         [BZ #11883]
31160         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
31161         * posix/fnmatch_loop.c: Likewise.
31163 2010-07-17  Andi Kleen  <ak@linux.intel.com>
31165         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
31166         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
31167         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
31168         * Versions.def [GLIBC_2.13]: Add.
31170 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
31172         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
31173         Also fail if tpwd after pwuid call is NULL.
31175 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
31177         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
31178         when converting to ms.
31180 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
31182         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
31183         EOPNOTSUPP errors with ENOTTY.
31184         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
31185         EOPNOTSUPP errors with ENOTTY.
31187 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
31189         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
31190         Add strcasecmp_l-ssse3.
31191         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
31192         strcasecmp.
31193         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
31194         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
31195         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
31197 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
31199         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
31201         * string/Makefile (strop-tests): Add strcasecmp.
31202         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
31203         strcasecmp_l-nonascii.
31204         (gen-as-const-headers): Add locale-defines.sym.
31205         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
31206         * sysdeps/x86_64/strcasecmp.S: New file.
31207         * sysdeps/x86_64/strcasecmp_l.S: New file.
31208         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
31209         * sysdeps/x86_64/locale-defines.sym: New file.
31210         * string/test-strcasecmp.c: New file.
31212         * string/test-strcasestr.c: Test both ends of the range of characters.
31213         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
31215 2010-07-29  Roland McGrath  <roland@redhat.com>
31217         [BZ #11856]
31218         * manual/locale.texi (Yes-or-No Questions): Fix example code.
31220 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
31222         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
31223         for ld.so.
31225 2010-07-27  Andreas Schwab  <schwab@redhat.com>
31227         * manual/memory.texi (Malloc Tunable Parameters): Document
31228         M_PERTURB.
31230 2010-07-26  Roland McGrath  <roland@redhat.com>
31232         [BZ #11840]
31233         * configure.in (-fgnu89-inline check): Set and substitute
31234         gnu89_inline, not libc_cv_gnu89_inline.
31235         * configure: Regenerated.
31236         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
31238 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
31240         * string/test-strnlen.c: New file.
31241         * string/Makefile (strop-tests): Add strnlen.
31242         * string/tester.c (test_strnlen): Add a few more test cases.
31243         * string/tst-strlen.c: Better error reporting.
31245         * sysdeps/x86_64/strnlen.S: New file.
31247 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
31249         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
31250         lower-latency instructions.
31252 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
31254         * string/test-strcasestr.c: New file.
31255         * string/test-strstr.c: New file.
31256         * string/Makefile (strop-tests): Add strstr and strcasestr.
31257         * string/str-two-way.h: Don't undefine MAX.
31258         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
31260 2010-07-21  Andreas Schwab  <schwab@redhat.com>
31262         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
31263         strcasestr-nonascii.
31264         (CFLAGS-strcasestr-nonascii.c): Define.
31265         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
31266         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
31267         Remove unused attribute.
31269 2010-07-20  Roland McGrath  <roland@redhat.com>
31271         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
31272         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
31273         ld.so.cache was broken.  With it, there is no way to disable dsocaps
31274         like LD_HWCAP_MASK can disable hwcaps.
31276 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
31278         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
31280 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
31282         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
31283         call in strcasestr.
31284         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
31285         __strcasestr_sse42_nonascii.
31286         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
31287         strcasestr-nonascii.c.
31288         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
31290 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
31292         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
31293         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
31294         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
31295         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
31297 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
31299         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
31300         fcntl.
31302 2010-07-06  Andreas Schwab  <schwab@redhat.com>
31304         [BZ #11577]
31305         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
31306         dl_signal_cerror.
31308 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
31310         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
31311         _PC_PIPE_BUF using F_GETPIPE_SZ.
31313 2010-07-05  Roland McGrath  <roland@redhat.com>
31315         * manual/arith.texi (Rounding Functions): Fix rint description
31316         implicit in round description.
31318 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
31320         * elf/Makefile: Fix linking for a few tests to make recent linker
31321         happy.
31323 2010-06-30  Andreas Schwab  <schwab@redhat.com>
31325         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
31326         $(common-objpfx)libc_nonshared.a.
31328 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
31330         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
31331         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
31332         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
31333         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
31334         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
31335         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
31336         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
31337         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
31338         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
31339         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
31340         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
31341         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
31342         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
31343         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
31344         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
31345         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
31346         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
31347         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
31348         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
31349         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
31350         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
31351         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
31352         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
31353         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
31354         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
31355         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
31356         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
31357         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
31358         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
31359         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
31360         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
31361         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
31362         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
31363         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
31364         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
31365         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
31366         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
31367         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
31368         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
31369         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
31370         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
31371         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
31372         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
31373         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
31374         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
31375         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
31376         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
31377         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
31379 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
31381         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
31382         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
31383         * string/memmove.c (memmove): Renamed to ...
31384         (MEMMOVE): ...this.  Default to memmove.
31385         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
31386         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
31387         (END_CHK): Define.
31388         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
31389         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
31390         mempcpy-ssse3-back memmove-ssse3-back.
31391         * sysdeps/x86_64/multiarch/bcopy.S: New file .
31392         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
31393         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
31394         * sysdeps/x86_64/multiarch/memcpy.S: New file.
31395         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
31396         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
31397         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
31398         * sysdeps/x86_64/multiarch/memmove.c: New file.
31399         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
31400         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
31401         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
31402         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
31403         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
31404         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
31405         Define.
31406         (index_Fast_Copy_Backward): Define.
31407         (HAS_ARCH_FEATURE): Define.
31408         (HAS_FAST_REP_STRING): Define.
31409         (HAS_FAST_COPY_BACKWARD): Define.
31411 2010-06-21  Andreas Schwab  <schwab@redhat.com>
31413         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
31414         Restore proper fallback handling.
31416 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
31418         [BZ #11701]
31419         * posix/group_member.c (__group_member): Correct checking loop.
31421         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
31422         OOM in getpwuid_r correctly.  Return error number when the caller
31423         should return, otherwise -1.
31424         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
31425         call returning > 0 value.
31426         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
31428 2010-06-07  Andreas Schwab  <schwab@redhat.com>
31430         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
31431         libc_nonshared.a from targets in modules-names.
31433 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
31435         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
31436         requires it.
31438 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
31440         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
31441         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
31442         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
31443         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
31445 2010-06-02  Andreas Schwab  <schwab@redhat.com>
31447         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
31449 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
31451         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
31452         and F_GETPIPE_SZ.
31453         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
31454         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
31455         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
31456         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
31457         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
31458         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
31460 2010-06-14  Roland McGrath  <roland@redhat.com>
31462         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
31464 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
31466         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
31467         __REDIRECT followed by __THROW.
31468         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
31469         * posix/getopt.h (getopt): Likewise.
31471 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
31473         * hurd/lookup-at.c (__file_name_lookup_at): Accept
31474         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
31475         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
31476         in AT_FLAGS.
31477         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
31478         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
31480 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
31482         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
31484 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
31486         [BZ #11640]
31487         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31488         Properly check family and model.
31490 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
31492         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
31494 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
31496         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
31498 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
31500         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
31501         symbol reference.
31503 2010-05-19  Andreas Schwab  <schwab@redhat.com>
31505         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
31506         symbol reference.
31508 2010-05-21  Andreas Schwab  <schwab@redhat.com>
31510         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
31511         and internal_recvmmsg.
31512         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
31513         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
31514         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
31515         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
31517         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
31518         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
31519         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
31521 2010-05-20  Andreas Schwab  <schwab@redhat.com>
31523         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
31525 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
31527         POWER7 optimizations.
31528         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
31529         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
31531 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
31533         * version.h: Update for 2.13 development version.
31535 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
31537         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
31538         exceptions.  Return 0.
31540 2010-05-07  Roland McGrath  <roland@redhat.com>
31542         * elf/ldconfig.c (main): Add a const.
31544 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
31546         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
31547         (args_options): Add no-idn option.
31548         (ahosts_keys_int): Add idn_flags to ai_flags.
31549         (parse_option): Handle 'i' option to clear idn_flags.
31551         * malloc/malloc.c (_int_free): Possible race in the most recently
31552         added check.  Only act on the data if no current modification
31553         happened.
31555 See ChangeLog.17 for earlier changes.